[Reproducible-builds] Bug#829113: Bug#829113: Bug#829113: reprotest: Should unset $DISPLAY to avoid GUI popups from some build tools

Mattia Rizzolo mattia at debian.org
Fri Jul 1 16:34:47 UTC 2016


On Fri, Jul 01, 2016 at 06:00:24PM +0200, Jérémy Bobbio wrote:
> One take though, maybe reprotest should ensure that $HOME is set to an
> existing (temporary) directory; other building tools might get unhappy.

by some criteria I'm now too lazy to look up/remember, packages are not
supposed to require an existing writable directory (I assume that's
because don't really want a build process to temper your home¹), and to
impose that both sbuild and pbuilder sets HOME to a non-existing
directory.
Thus having packages FTBFSing with a non-existent HOME inside the
archive is highly improbable (probable set reduced to packages building
only arch-indep binaries that were always manually uploaded and not
built in sbuild (or recent pbuilder).

FTR, let me also remember you about debian policy §9.9 "A program must
not depend on environment variables to get reasonable defaults.".  Like
that, a out of context quote.


¹ I kinda agree though that building untrusted sources (or whatever,
  fwiw) in your home as your user, and expecting everything to go well
  it's naive.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160701/5c5a9843/attachment.sig>


More information about the Reproducible-builds mailing list