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#46959 - "should be an array" check reports false positives

Attached to Project: Pacman
Opened by David Macek (Elieux) - Tuesday, 03 November 2015, 16:03 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 November 2015, 23:13 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version 5.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

libmakepkg (variable.sh, to be precise) reports false positives sometimes. See example below.

dreisner: variable.sh is at fault because it uses grep instead of the extraction voodoo that i wrote

Steps to Reproduce:

$ cat PKGBUILD
pkgname=boo
pkgver=0
pkgrel=1
arch=('any')
package() {
echo --with-arch=${_arch}
}

$ makepkg
==> ERROR: arch should be an array
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 28 November 2015, 23:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 23f128ad5e2b

Loading...