how to handle dangling symlinks while makepkg
#3685
-
On running makepkg -CLf for the PKGBUILD file (took from arch) for kakoune, following error is shown: $ makepkg -CLf
...
==> Extracting sources...
-> Extracting kakoune-2022.10.31.tar.bz2 with bsdtar
kakoune-2022.10.31/CHANGELOG: Can't create 'kakoune-2022.10.31/CHANGELOG': No such file or directory
kakoune-2022.10.31/libexec/kak/kak: Can't create 'kakoune-2022.10.31/libexec/kak/kak': No such file or directory
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract kakoune-2022.10.31.tar.bz2
Aborting... Looking at |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
Does your user have required privileges during the run? |
Beta Was this translation helpful? Give feedback.
-
Alternatively, you can extract the tar file twice. For example, noextract=("foo.tar.xz")
prepare() {
tar -xf foo.tar.xz || tar -xf foo.tar.xz
} |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Alternatively, you can extract the tar file twice. For example,