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

gregor herrmann gregoa at debian.org
Sat Mar 28 21:26:00 UTC 2015


Control: severity -1 important

On Fri, 27 Mar 2015 17:57:18 +0100, Thibaut Paumard wrote:

> On Wed, 18 Mar 2015 13:58:10 +0100 Holger Levsen <holger at layer-acht.org>
> wrote:
> > clone 780724 -1
> > reassign -1 pbuilder
> > severity -1 serious
> > retitle -1 pbuilder must defines PATH as in debian-policy (and as on buildds)
> > # justification: breaks package builds, see 780724
> 
> I challenge this justification. Also I'm not going to downgrade it
> myself, pbuilder should not be removed from jessie just because of this
> bug, this is just not a reasonable possible outcome.

Agreed. And downgrading for the time being, see also below.
 
> I don't think that "serious" is the right severity. This bug does not
> provoke FTBFS on the auto-builders and it remains possible to build the
> package by invoking dpkg-buildpackage by hand. The fact that pbuilder
> fails to build a certain package does not means that if breaks the build
> of this package.

Agreed.

Additionally I'd like to mention that pbuilder doesn't "set" (as in
hard-code) $PATH somewhere; it recommends a default in
/etc/pbuilderrc which can be changed there or set in ~/.pbuilderrc.
So this seems more like a question for the user config.

Addmittedly, it might make sense to change the default in
/etc/pbuilderrc but ...
 
> > > 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.
> 
> This section is intended to mean that file names in these directory must
> be encoded in ASCII. I find it contrived to use this section as a
> definition of a the PATH that should be used for building.

... I agree here as well, and as long as we don't have a canonical
definition of "$PATH for package builds" I think this bug is worth
fixing [0], but it's not serious IMO.


Cheers,
gregor


[0] 
e.g. by setting PATH to "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" as
proposed by mirabilos earlier)


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Mercedes Sosa: Pescadores De Mi Rio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20150328/6105dfb6/attachment.sig>


More information about the Pbuilder-maint mailing list