FS#48311 - makepkg -si: ==> ERROR: arch should be an array
Attached to Project:
Pacman
Opened by roland puntaier (puntaier_gtec) - Tuesday, 23 February 2016, 13:17 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 23 February 2016, 14:06 GMT
Opened by roland puntaier (puntaier_gtec) - Tuesday, 23 February 2016, 13:17 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 23 February 2016, 14:06 GMT
|
Details
Summary and Info:
I ran into this following the instructions on https://archlinux.fr/yaourt-en even with https://github.com/elieux/pacman/commit/23f128ad5e2b Reason and correction: I debugged into this and found that "$(declare -p $i)" expands to "declare -ax arch=...". So a possible solution is to remove the blank after "-a" Instead of if [[ "$(declare -p $i)" != "declare -a "* ]]; then do if [[ "$(declare -p $i)" != "declare -a"* ]]; then |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 23 February 2016, 14:06 GMT
Reason for closing: Fixed
Additional comments about closing: already fixed upstream: https://projects.archlinux.org/pacman.gi t/commit/?id=3cb1669e07106e9108976
Tuesday, 23 February 2016, 14:06 GMT
Reason for closing: Fixed
Additional comments about closing: already fixed upstream: https://projects.archlinux.org/pacman.gi t/commit/?id=3cb1669e07106e9108976
Comment by
Dave Reisner (falconindy) - Tuesday,
23 February 2016, 13:38 GMT
https://projects.archlinux.org/pacman.git/commit/?id=3cb1669e07106e9108976
is the correct fix.
Comment by
roland puntaier (puntaier_gtec) -
Tuesday, 23 February 2016, 14:00 GMT
Yes.