Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Dave Reisner (falconindy) - Tuesday, 23 February 2016, 13:38 GMT Comment by roland puntaier (puntaier_gtec) - Tuesday, 23 February 2016, 14:00 GMT
Yes.

Loading...