[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_testroot wants root even with fakeroot



On Tue, Feb 26, 2002 at 11:33:24AM -0800, Ossama Othman wrote:
> dh_testroot: You must run this as root (or use fakeroot).
> make: *** [install-stamp] Error 1
> debuild: fatal error at line 322:
> dpkg-buildpackage failed!
> 
> I do have fakeroot installed.  "fakeroot dh_testroot" succeeds, too.
> I've attached the `debian/rules' file in question.  Any ideas?

ah, but having it installed is not the same as using it.

debuild will use fakeroot by default.  dpkg-buildpackage will not.
see dpkg-buildpackage man page for how to invoke it with fakeroot
as the root command or use debuild instead.

Ben
-- 
    nSLUG       http://www.nslug.ns.ca      synrg@sanctuary.nslug.ns.ca
    Debian      http://www.debian.org       synrg@debian.org
[ pgp key fingerprint = 7F DA 09 4B BA 2C 0D E0  1B B1 31 ED C6 A9 39 4F ]
[ gpg key fingerprint = 395C F3A4 35D3 D247 1387  2D9E 5A94 F3CA 0B27 13C8 ]



Reply to: