Bug#1002626: debian-policy: building packages should not require to be root

2021-12-27 Thread Vincent Lefevre
On 2021-12-27 17:54:24 -0700, Sean Whitton wrote: > The sort of case I have in mind is an 'RRR: no'%e package that does not > FTBFS when built as root, but does do so as non-root. I agree that > that's an FTBFS bug, but is it release-critical? For a relatively new > feature like RRR, I'm not

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-27 Thread Russ Allbery
Sean Whitton writes: > I said that the requirement is only advisory based on how there is no > requirement on packages expressed must/should/etc. in the description of > Rules-Requires-Root: no in Policy. The target of the advice would be > authors and maintainers of package builders. >

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-27 Thread Sean Whitton
Hello Russ, On Sat 25 Dec 2021 at 06:45PM -08, Russ Allbery wrote: > Vincent Lefevre writes: >> On 2021-12-25 14:48:33 -0800, Russ Allbery wrote: >>> Vincent Lefevre writes: > Here, the build via "debuild" is failing even when fakeroot is available (installed on the machine). Note

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Russ Allbery
Guillem Jover writes: > But, the builder in this context is the program driving debian/rules and > not any external wrappers, in this case dpkg-buildpackage, which has > honored the field since it got implemented in 1.19.0. We drafted it as > "the builder" to allow for other potential drivers,

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Guillem Jover
On Sat, 2021-12-25 at 18:45:08 -0800, Russ Allbery wrote: > Vincent Lefevre writes: > > On 2021-12-25 14:48:33 -0800, Russ Allbery wrote: > >> Vincent Lefevre writes: > >>> Here, the build via "debuild" is failing even when fakeroot is > >>> available (installed on the machine). Note that

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Russ Allbery
Vincent Lefevre writes: > On 2021-12-25 14:48:33 -0800, Russ Allbery wrote: >> Vincent Lefevre writes: >>> Here, the build via "debuild" is failing even when fakeroot is >>> available (installed on the machine). Note that Rules-Requires-Root >>> has been set to "no". IMHO, the policy should say

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Vincent Lefevre
On 2021-12-25 14:48:33 -0800, Russ Allbery wrote: > Vincent Lefevre writes: > > > Here, the build via "debuild" is failing even when fakeroot is available > > (installed on the machine). Note that Rules-Requires-Root has been set > > to "no". IMHO, the policy should say that when

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Vincent Lefevre
Hi Sean, On 2021-12-25 15:55:32 -0700, Sean Whitton wrote: > Okay, I've attempted to retitle this bug in accordance with your > suggestion. The relevant change would not be in ch. 4, but under ch. 5. > What you suggest is to add to the meaning of "Rules-Requires-Root: no" > that packages which

Processed: Re: Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Debian Bug Tracking System
Processing control commands: > retitle -1 When Rules-Require-Root: no, packages should not fail to build as > non-root Bug #1002626 [debian-policy] debian-policy: building packages should not require to be root Changed Bug title to 'When Rules-Require-Root: no, packages should no

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Russ Allbery
Vincent Lefevre writes: > Here, the build via "debuild" is failing even when fakeroot is available > (installed on the machine). Note that Rules-Requires-Root has been set > to "no". IMHO, the policy should say that when Rules-Requires-Root is > set to "no", being root or using fakeroot should

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Sean Whitton
control: retitle -1 When Rules-Require-Root: no, packages should not fail to build as non-root Hello Vincent, On Sat 25 Dec 2021 at 11:37PM +01, Vincent Lefevre wrote: > When a package is built as a normal user, Rules-Requires-Root assumes > that using fakeroot would be fine. > > Here, the

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Vincent Lefevre
Hello Bill, On 2021-12-25 22:58:25 +0100, Bill Allombert wrote: > On Sat, Dec 25, 2021 at 10:38:47PM +0100, Vincent Lefevre wrote: > > Building packages should not require to be root. > > Hello Vincent! > > Currently, packages are allowed to require root to build. > See Rules-Requires-Root for

Processed: Re: Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Debian Bug Tracking System
Processing control commands: > reopen -1 Bug #1002626 {Done: Sean Whitton } [debian-policy] debian-policy: building packages should not require to be root Bug reopened Ignoring request to alter fixed versions of bug #1002626 to the same values previously set -- 1002626:

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Vincent Lefevre
Control: reopen -1 On 2021-12-25 14:55:37 -0700, Sean Whitton wrote: > Hello, > > On Sat 25 Dec 2021 at 10:38PM +01, Vincent Lefevre wrote: > > > Package: debian-policy > > Version: 4.6.0.1 > > Severity: important > > > > Building packages should not require to be root. > > > > I don't know

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Bill Allombert
On Sat, Dec 25, 2021 at 10:38:47PM +0100, Vincent Lefevre wrote: > Package: debian-policy > Version: 4.6.0.1 > Severity: important > > Building packages should not require to be root. Hello Vincent! Currently, packages are allowed to require root to build. See Rules-Requires-Root for more

Bug#1002626: debian-policy: building packages should not require to be root

2021-12-25 Thread Vincent Lefevre
Package: debian-policy Version: 4.6.0.1 Severity: important Building packages should not require to be root. I don't know what's going on, but see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002497#31 -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug