checksum - unhelpful error message if an archive contains broken symlinks
I had an archive has broken symlinks the error output only says:
(011516) [15:26:23] (native) % chown -R pmos:pmos /home/pmos/build
(011516) [15:26:25] (native) generate checksums for linux-lg-x150
(011516) [15:26:25] (native) % cd /home/pmos/build; busybox su pmos -c HOME=/home/pmos abuild checksum
>>> linux-lg-x150: Updating the sha512sums in APKBUILD...
sha512sum: can't open 'LGX150_L_kernel.tar.gz': No such file or directory
>>> ERROR: linux-lg-x150: sha512sum failed
(011516) [15:26:26] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(011516) [15:26:26] NOTE: The failed command's output is above the ^^^ line in the log file: /home/user/pm/LG-X150/log.txt
The archive was exactly where I APKBUILD said it would be, but had a bunch of broken symlinks, which I only noticed because I extracted it in the same directory. Otherwise I'd only think that the archive itself can't be found.