On 24/01/16 16:15, Zuyi Hu wrote:
I am using the pacman's latest master branch,When I run updpkgsums when there is source_i686 or source_x86_64 in PKGBUILD. it will complain: /usr/share/makepkg/lint_pkgbuild/variable.sh: line 60: declare: sha512sums: not found ==> ERROR: sha512sums_i686 should be an array /usr/share/makepkg/lint_pkgbuild/variable.sh: line 60: declare: source: not found ==> ERROR: source_i686 should be an array /usr/share/makepkg/lint_pkgbuild/variable.sh: line 60: declare: sha512sums: not found ==> ERROR: sha512sums_x86_64 should be an array /usr/share/makepkg/lint_pkgbuild/variable.sh: line 60: declare: source: not found ==> ERROR: source_x86_64 should be an array ==> ERROR: Failed to generate new checksums
for example, you can use nvidia's PKGBUILD in extra repo, and try run updpkgsums.
I think this bug is introduced by this commit: https://projects.archlinux.org/pacman.git/commit/?id=23f128ad5e2b26733376d16...
Thanks - patch pushed to my patchqueue branch. Allan