Bug#845715: debian-policy: Please document that packages are not allowed to write outside their source directories

2016-11-29 Thread Josh Triplett
On Sat, 26 Nov 2016 03:34:22 + Johannes Schauer wrote: > Package: debian-policy > Severity: wishlist > Tags: patch > > Hi, > > source packages are forced to not write into $HOME by sbuild and > pbuilder, so any package attempting to do so currently FTBFS. It would > be

Bug#845715: debian-policy: Please document that packages are not allowed to write outside their source directories

2016-11-28 Thread Johannes Schauer
Hi Stuart, Quoting Stuart Prescott (2016-11-27 13:38:56) > I assume we're not worried that if the local admin installs ccache, then the > build will store files outside the build directory violating the prohibition > that a 'required target must not attempt to write outside of the source >

Bug#845715: debian-policy: Please document that packages are not allowed to write outside their source directories

2016-11-27 Thread Stuart Prescott
Hi josch, The sentiment is entirely sensible. Builds shouldn't be scribbling all over the filesystem and build systems most definitely shouldn't be storing state between builds. I assume we're not worried that if the local admin installs ccache, then the build will store files outside the

Re: Bug#845715: debian-policy: Please document that packages are not allowed to write outside their source directories

2016-11-26 Thread Simon McVittie
On Sat, 26 Nov 2016 at 12:54:12 +, Johannes Schauer wrote: > Quoting Adam D. Barratt (2016-11-26 09:40:17) > > On Sat, 2016-11-26 at 03:34 +, Johannes Schauer wrote: > > > + None of the required targets must attempt to write outside of > > > the > > > > the current wording means

Bug#845715: debian-policy: Please document that packages are not allowed to write outside their source directories

2016-11-26 Thread Johannes Schauer
Hi Adam, thanks for having a look and your comments! Quoting Adam D. Barratt (2016-11-26 09:40:17) > On Sat, 2016-11-26 at 03:34 +, Johannes Schauer wrote: > > + None of the required targets must attempt to write outside of the > > You either mean "The required targets must not

Bug#845715: debian-policy: Please document that packages are not allowed to write outside their source directories

2016-11-26 Thread Adam D. Barratt
On Sat, 2016-11-26 at 03:34 +, Johannes Schauer wrote: > + None of the required targets must attempt to write outside of the You either mean "The required targets must not attempt" or "None of the required targets may attempt"; the current wording means "None of the required targets

Bug#845715: debian-policy: Please document that packages are not allowed to write outside their source directories

2016-11-25 Thread Johannes Schauer
Package: debian-policy Severity: wishlist Tags: patch Hi, source packages are forced to not write into $HOME by sbuild and pbuilder, so any package attempting to do so currently FTBFS. It would be nice to have this requirement be documented in policy. I propose the following patch: diff --git