FS#60681 - makepkg breaks if arch happens to be set in the callers environment;
Attached to Project:
Pacman
Opened by Jay O'Neill (fishcake) - Saturday, 03 November 2018, 04:02 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 25 December 2018, 18:14 GMT
Opened by Jay O'Neill (fishcake) - Saturday, 03 November 2018, 04:02 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 25 December 2018, 18:14 GMT
|
Details
Summary and Info:
Steps to Reproduce: $ export arch=linux-x86 $ git clone https://aur.archlinux.org/package-query.git $ cd package-query && makepkg -s ==> ERROR: arch should be an array /usr/share/makepkg/util/util.sh: line 45: declare: conflicts_linux-x86_64: not found ==> ERROR: conflicts_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: depends_linux-x86_64: not found ==> ERROR: depends_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: makedepends_linux-x86_64: not found ==> ERROR: makedepends_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: md5sums_linux-x86_64: not found ==> ERROR: md5sums_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: optdepends_linux-x86_64: not found ==> ERROR: optdepends_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: provides_linux-x86_64: not found ==> ERROR: provides_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: replaces_linux-x86_64: not found ==> ERROR: replaces_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: sha1sums_linux-x86_64: not found ==> ERROR: sha1sums_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: sha224sums_linux-x86_64: not found ==> ERROR: sha224sums_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: sha256sums_linux-x86_64: not found ==> ERROR: sha256sums_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: sha384sums_linux-x86_64: not found ==> ERROR: sha384sums_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: sha512sums_linux-x86_64: not found ==> ERROR: sha512sums_linux-x86_64 should be an array /usr/share/makepkg/util/util.sh: line 45: declare: source_linux-x86_64: not found ==> ERROR: source_linux-x86_64 should be an array $ unset arch $ makepkg -s /* all OK */ |
This task depends upon
Closed by Andrew Gregory (andrewgregory)
Tuesday, 25 December 2018, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: v5.1.2
Tuesday, 25 December 2018, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: v5.1.2
We should cherry-pick this to release/5.1.x, pinging agregory