Debian Developers - Bug#395262: "Arch: all" package FTBFS due to test needing network access - R

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > November 2006 > Bug#395262: "Arch: all" package FTBFS due to test needing network access - R





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Bug#395262: "Arch: all" package FTBFS due to test needing network access - R
Peter Samuelson

2006-11-13, 9:05 am


[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 this environment variable, which is
often set by interactive shells.


> And why do they fail? Is there some specific test they do just to
> detect fakeroot or is it a shortcomming of fakeroot that makes the
> build suddenyl behave differently and succeed?


fakeroot does not emulate root completely. It does not wrap the
access(2) systen call, which _should_ pretty much always succeed when
run as root. Succeeding can cause a test failure if the test is
testing permissions that are supposed to be denied.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com