[pacman-dev] pacman-5.0:error run updpkgsums when there is source_i686 or source_x86_64 in PKGBUILD

Allan McRae allan at archlinux.org
Mon Jan 25 02:37:56 UTC 2016


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=23f128ad5e2b26733376d16f5095d36085a97747
> 

Thanks - patch pushed to my patchqueue branch.

Allan


More information about the pacman-dev mailing list