On Sat, Oct 28, 2006 at 10:24:22PM +0200, Jonas Genannt wrote:
> Steve Langasek wrote:
> > Then the test needs fixing, because autobuilders will not necessarily have
> > home directories for the buildd user, and packages need to build correctly
> > in such an environment because they're not supposed to mess with anything
> > outside the build tree.

> We can rewrite the test that the test uses (not the current user that starts)
> the root account to perform all tests.

> But I think that's not a very clean solution, because than the current user
> needs permission to access the /root directory.

That's a wrong solution.  You need to fix the package so that it doesn't
require writing to *any* external home directory during the build.  If you
need a "home directory" to use for tests, please set HOME=./tmp or similar,
creating the directory in the build target and deleting it in the clean
target.

> Perhaps we should disable the make test in the build process?

That's an option; I don't think setting HOME is an unreasonable solution, so
that's what I would recommend so that you can preserve the benefits of
having build-time tests, but dropping the tests wouldn't be the end of the
world either.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to