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

2010-02-11 Thread Goswin von Brederlow
Jan Hauke Rahm writes: > On Thu, Feb 11, 2010 at 07:42:37AM +0100, Goswin von Brederlow wrote: >> Sven Joachim writes: >> >> > On 2010-02-10 21:37 +0100, Goswin von Brederlow wrote: >> > >> >> Sven Joachim writes: >> >> >> >>> On 2010-02-10 19:02 +0100, Goswin von Brederlow wrote: >> >>> >> >>

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 th

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 writes: > > > On 2010-02-10 21:37 +0100, Goswin von Brederlow wrote: > > > >> Sven Joachim writes: > >> > >>> On 2010-02-10 19:02 +0100, Goswin von Brederlow wrote: > >>> > I often see sources where debian/

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

2010-02-10 Thread Goswin von Brederlow
Sven Joachim writes: > On 2010-02-10 21:37 +0100, Goswin von Brederlow wrote: > >> Sven Joachim 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 faker

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 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 >>> p

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

2010-02-10 Thread Goswin von Brederlow
Sven Joachim 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 debian/rules clean

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 thi

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 anoy