[pacman-dev] [PATCH 1/7] libmakepkg: disallow empty arch

Eli Schwartz eschwartz at archlinux.org
Fri Jun 8 19:33:32 UTC 2018


On 06/08/2018 02:18 PM, morganamilo wrote:
> We already ensure arch is an array but if arch is never defined
> this error never triggers. Add an explicit check for a missing arch.

Good catch! We'd usually abort with
==> ERROR: foo is not available for the 'x86_64' architecture.

but not if we're doing some IGNOREARCH operation that doesn't check
this, e.g. --source or --printsrcinfo or --packagelist

Or, makepkg --ignorearch.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20180608/2658d57f/attachment.asc>


More information about the pacman-dev mailing list