Skip to content

Commands from base-devel not recognised

Problem description

The AUR package bluespec-git updates its pkgrel using pacman, cut, and awk.
When checking the PKGBUILD using namcap PKGBUILD, namcap complains that it cannot find the above commands and declares the PKGBUILD invalid.

The commands are part of base-devel and are assumed to be installed when running makepkg, as such the PKGBUILD cannot actually fail because of this. Rather it seems to me that namcap should know about the base-devel packages and not mark the PKGBUILD as invalid.

What are your thoughts on this?

System information

OS: Arch Linux
Kernel: Linux 6.3.2-arch1-1
namcap: 3.4.0-3

Error log

[bluespec-git]$ namcap PKGBUILD
Error: error: invalid package file

Error: PKGBUILD: line 16: pacman: command not found
PKGBUILD: line 16: cut: command not found
PKGBUILD: line 16: cut: command not found
PKGBUILD: line 16: awk: command not found

Error: PKGBUILD is not a valid PKGBUILD

PKGBUILD

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information