Bug#780725: PATH used for building is not specified
* Holger Levsen <holger@layer-acht.org>, 2015-03-18, 12:48:
buildd.debian.org uses
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
while pbuilder uses
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
So this brings up three questions: a.) should /usr/games be in PATH
when building packages? b.) should /usr/local/* be part of PATH? and
finally, c.) what should PATH be, what must PATH include, what must not
be included in PATH?
IMO, every package should be buildable by a normal user, who might want
to remove /usr/games from their $PATH.
In other words, packages can rely only on /bin and /usr/bin in $PATH.
--
Jakub Wilk
Reply to: