Re: debian/rules clean as root or non-root?

2010-02-11 Thread Jan Hauke Rahm
On Thu, Feb 11, 2010 at 07:42:37AM +0100, Goswin von Brederlow wrote: Sven Joachim svenj...@gmx.de writes: On 2010-02-10 21:37 +0100, Goswin von Brederlow wrote: Sven Joachim svenj...@gmx.de writes: On 2010-02-10 19:02 +0100, Goswin von Brederlow wrote: I often see sources where

Re: debian/rules clean as root or non-root?

2010-02-11 Thread Bernd Zeimetz
Sven Joachim wrote: Why would anyone want to run the build target as root? If you do that, even running the clean target as root might not give you a state where you can build the package as a normal user again. Because there was a time when fakeroot didn't work on some architectures and the

Re: debian/rules clean as root or non-root?

2010-02-11 Thread Goswin von Brederlow
Jan Hauke Rahm j...@debian.org writes: On Thu, Feb 11, 2010 at 07:42:37AM +0100, Goswin von Brederlow wrote: Sven Joachim svenj...@gmx.de writes: On 2010-02-10 21:37 +0100, Goswin von Brederlow wrote: Sven Joachim svenj...@gmx.de writes: On 2010-02-10 19:02 +0100, Goswin von

debian/rules clean as root or non-root?

2010-02-10 Thread Goswin von Brederlow
Hi, I often see sources where debian/rules clean aborts claiming it needs to be run as root. So then I run it with fakeroot. But if the source was previously build as root then running fakeroot debian/rules clean might not be enough. I think the existing dh_testroot helper is insufficient and

Re: debian/rules clean as root or non-root?

2010-02-10 Thread Sven Joachim
On 2010-02-10 19:02 +0100, Goswin von Brederlow wrote: I often see sources where debian/rules clean aborts claiming it needs to be run as root. So then I run it with fakeroot. But if the source was previously build as root then running fakeroot debian/rules clean might not be enough. I think

Re: debian/rules clean as root or non-root?

2010-02-10 Thread Goswin von Brederlow
Sven Joachim svenj...@gmx.de writes: On 2010-02-10 19:02 +0100, Goswin von Brederlow wrote: I often see sources where debian/rules clean aborts claiming it needs to be run as root. So then I run it with fakeroot. But if the source was previously build as root then running fakeroot

Re: debian/rules clean as root or non-root?

2010-02-10 Thread Sven Joachim
On 2010-02-10 21:37 +0100, Goswin von Brederlow wrote: Sven Joachim svenj...@gmx.de writes: On 2010-02-10 19:02 +0100, Goswin von Brederlow wrote: I often see sources where debian/rules clean aborts claiming it needs to be run as root. So then I run it with fakeroot. But if the source was

Re: debian/rules clean as root or non-root?

2010-02-10 Thread Goswin von Brederlow
Sven Joachim svenj...@gmx.de writes: On 2010-02-10 21:37 +0100, Goswin von Brederlow wrote: Sven Joachim svenj...@gmx.de writes: On 2010-02-10 19:02 +0100, Goswin von Brederlow wrote: I often see sources where debian/rules clean aborts claiming it needs to be run as root. So then I run it