Bug#780724: Bug#780725: PATH used for building is not specified

Thorsten Glaser t.glaser at tarent.de
Thu Mar 26 08:33:37 UTC 2015


On Wed, 18 Mar 2015, Bill Allombert wrote:

> On Wed, Mar 18, 2015 at 12:48:13PM +0100, Holger Levsen wrote:

> > buildd.debian.org uses
> >
> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

Urgh! /usr/local in package builds?

It’s unquestionable it should be set like this, and possibly
in this order, in login shells (though Debian misses the sbin
ones for regular users), but for system tasks? No.

> > while pbuilder uses
> >
> > PATH="/usr/sbin:/usr/bin:/sbin:/bin"

That *is* a sane one…

> In any case, policy currently has:
>
> 10.10. File names
> -----------------
>
>      The name of the files installed by binary packages in the system PATH
>      (namely `/bin', `/sbin', `/usr/bin', `/usr/sbin' and `/usr/games')
>      must be encoded in ASCII.
>
> though it is a strange place to define the system path.

… but, yes, there is this.

So, both the buildds and pbuilder should be changed to use…

	PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

… for builds, right? Where does one assigne the buildd part
to, the buildd package? (AIUI, the Debian buildds, in contrast
to many debian-ports buildds, do not use the buildd package
from Debian.)

bye,
//mirabilos
-- 
[16:04:33] bkix: "veni vidi violini"
[16:04:45] bkix: "ich kam, sah und vergeigte"...



More information about the Pkg-games-devel mailing list