Package Details: yabsnap 2.1.2-1

Git Clone URL: (read-only, click to copy)
Package Base: yabsnap
Description: Btrfs automated snapshot manager.
Upstream URL:
Licenses: Apache
Submitter: hirak99
Maintainer: hirak99
Last Packager: hirak99
Votes: 3
Popularity: 0.61
First Submitted: 2022-10-08 18:00 (UTC)
Last Updated: 2023-11-14 19:16 (UTC)

Latest Comments

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

Confirmed it's fixed for paru,

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).

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

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/ /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/ $PKGDIR/usr/bin/yabsnap shold be ln -sf $PKGDIR/usr/share/yabsnap/ $PKGDIR/usr/bin/yabsnap or removing /? There seems to be a missing point here and yabsnap-git has the same error.