[pacman-dev] (no subject)
eschwartz at archlinux.org
Thu Oct 24 14:31:19 UTC 2019
On 10/24/19 3:28 AM, arch at eckner.net wrote:
> Since the update to pacman 5.2.0, `makepkg --printsrcinfo` may emmit
> warnings about invalid packager format. However, all config variables in
> /etc/makepkg.conf, as well as directory permissions are not relevant if
> `--printsrcinfo` is given. So we simply skip the lint_conf and directory
> permisison checks then.
The warning about PACKAGER is already fixed on master, by only emitting
the warning when the value is both non-default (by default it is unset
and therefore uses the internal fallback "Unknown Packager") and an
invalid format. So we should no longer have issues when using the stock,
unmodified makepkg.conf -- is it actually worth skipping it entirely?
The directory permission checks skipping argument logically applies to
--packagelist too, and to go one step further, if we're going to have
special handling of this we should also avoid, for example, checking
BUILDDIR when running --verifysource or --geninteg. (But we'd still want
to check SRCDEST, then).
All that being said, the only directory being checked at all is $PWD
unless you've overridden it via your makepkg.conf, in which case I
would've presumed it would be writable. :/
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1601 bytes
Desc: OpenPGP digital signature
More information about the pacman-dev