Bug#845715: Required targets must not write outside of the source package tree
On Sun, Nov 11, 2018 at 07:42:15AM -0700, Sean Whitton wrote:
> Hello Bill,
>
> On Sun 11 Nov 2018 at 11:41AM +0100, Bill Allombert wrote:
>
> > I am not sure I see the difference. Do you imply something like
> >
> > but files created in that directory SHOULD be deleted before the
> > targets completes and MUST not be reused by subsequent executions of
> > the target.
>
> That's basically how I was reading it, yes.
Then this should be written to be less ambiguous.
> > What about the severity of using /tmp even if TMPDIR is set ?
> > I do not think it is RC outside of the build process so it would
> > be inconvenient.
>
> The current wording makes that RC-buggy, indeed.
>
> What exactly do you mean by "not RC outside of the build process"?
Debian policy does not mandate that packages support TMPDIR,
so it is valid to package a program that does not support TMPDIR and
always use /tmp instead.
However if some other package use this program in its own build process,
then this other package is RC buggy under this new rule. This can be
inconvenient.
Do we have some data about how many packages fails to honor TMPDIR ?
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: