Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-10 Thread Goswin von Brederlow
Wouter Verhelst [EMAIL PROTECTED] writes: On Thu, Nov 02, 2006 at 10:11:45AM +0100, Goswin von Brederlow wrote: Real or fake makes no difference. Anything that test id or file permissions will (hopefully) behave the same with fakeroot. Wrong; otherwise there wouldn't be packages who fail to

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-10 Thread Peter Samuelson
[Goswin von Brederlow] Do they fail when you use sudo instead of fakeroot or when you run the complete build process as root? The usual reason a package fails with sudo is that it assumes the $(PWD) macro will be available, pointing to the current working directory. sudo does not preserve

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-10 Thread Goswin von Brederlow
Peter Samuelson [EMAIL PROTECTED] writes: [Goswin von Brederlow] Do they fail when you use sudo instead of fakeroot or when you run the complete build process as root? The usual reason a package fails with sudo is that it assumes the $(PWD) macro will be available, pointing to the current

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-09 Thread Wouter Verhelst
On Thu, Nov 02, 2006 at 10:11:45AM +0100, Goswin von Brederlow wrote: Real or fake makes no difference. Anything that test id or file permissions will (hopefully) behave the same with fakeroot. Wrong; otherwise there wouldn't be packages who fail to build when root is, in fact, root, as happens

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-02 Thread Steve Langasek
On Thu, Nov 02, 2006 at 08:42:50AM +0100, Sven Luther wrote: On Wed, Nov 01, 2006 at 11:53:32PM -0600, Peter Samuelson wrote: Robert Collins [EMAIL PROTECTED] writes: I can also note why bazaar wont build as root: its test suite includes a test for the ability to handle read only

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-02 Thread Goswin von Brederlow
Sven Luther [EMAIL PROTECTED] writes: On Wed, Nov 01, 2006 at 11:53:32PM -0600, Peter Samuelson wrote: Robert Collins [EMAIL PROTECTED] writes: I can also note why bazaar wont build as root: its test suite includes a test for the ability to handle read only directories correctly. As

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-02 Thread Peter Samuelson
[Goswin von Brederlow] Real or fake makes no difference. Anything that test id or file permissions will (hopefully) behave the same with fakeroot. Ahh, the difference between theory and practice. fakeroot does not emulate the access(2) system call, which is one obvious thing to use when

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-02 Thread Thiemo Seufer
Sven Luther wrote: On Wed, Nov 01, 2006 at 11:53:32PM -0600, Peter Samuelson wrote: Robert Collins [EMAIL PROTECTED] writes: I can also note why bazaar wont build as root: its test suite includes a test for the ability to handle read only directories correctly. As root, anything

Re: Bug#395262: Arch: all package FTBFS due to test needing network access - RC?

2006-11-01 Thread Sven Luther
On Wed, Nov 01, 2006 at 11:53:32PM -0600, Peter Samuelson wrote: Robert Collins [EMAIL PROTECTED] writes: I can also note why bazaar wont build as root: its test suite includes a test for the ability to handle read only directories correctly. As root, anything is writable, so this