Package Details: yabsnap 2.1.6-1

Git Clone URL: https://aur.archlinux.org/yabsnap.git (read-only, click to copy)
Package Base: yabsnap
Description: Btrfs automated snapshot manager.
Upstream URL: https://github.com/hirak99/yabsnap
Licenses: Apache
Submitter: hirak99
Maintainer: hirak99
Last Packager: hirak99
Votes: 5
Popularity: 1.11
First Submitted: 2022-10-08 18:00 (UTC)
Last Updated: 2024-05-09 12:50 (UTC)

Latest Comments

hirak99 commented on 2023-07-11 07:28 (UTC)

Confirmed it's fixed for paru, https://github.com/hirak99/yabsnap/issues/10

Thanks for reporting it!

hirak99 commented on 2023-07-11 06:58 (UTC)

Ahh that line (without $PKGDIR/) is correct, since the link needs to target the final destination of the file which is outside $PKGDIR and in the actual root.

But the chmod was an error and is unnecessary (since chmod apparently does not do anything on symlinks).

I couldn't reproduce with yay - I believe paru catches the error.

Updated, could you please try once more?

The version should be 2.0.4 now (please wait for the cache to update if you see 2.0.3).

wustdsh commented on 2023-07-11 05:35 (UTC) (edited on 2023-07-11 05:59 (UTC) by wustdsh)

I can't built with this error

+ chmod -R g-w,a-w src/ /home/djw/.cache/paru/clone/yabsnap/pkg/yabsnap/usr/share/yabsnap
++ which selinuxenabled
+ mkdir -p /home/djw/.cache/paru/clone/yabsnap/pkg/yabsnap/usr/bin
+ ln -sf /usr/share/yabsnap/yabsnap.sh /home/djw/.cache/paru/clone/yabsnap/pkg/yabsnap/usr/bin/yabsnap
+ chmod 755 /home/djw/.cache/paru/clone/yabsnap/pkg/yabsnap/usr/bin/yabsnap
chmod: 无法对悬空符号链接 '/home/djw/.cache/paru/clone/yabsnap/pkg/yabsnap/usr/bin/yabsnap' 进行操作==> 错误: 在 package() 中发生一个错误。    正在放弃...
错误: 未能构建 'yabsnap-2.0.2-1': 

The ln -sf /usr/share/yabsnap/yabsnap.sh $PKGDIR/usr/bin/yabsnap shold be ln -sf $PKGDIR/usr/share/yabsnap/yabsnap.sh $PKGDIR/usr/bin/yabsnap or removing /? There seems to be a missing point here and yabsnap-git has the same error.