Re: dpkg-buildpackage and fakeroot
On Tue, Jul 10, 2007 at 02:19:35PM -0400, Kamaraju S Kusumanchi wrote:
> Hi all
> Can someone please tell me the difference between
> dpkg-buildpackage -rfakeroot
> fakeroot dpkg-buildpackage
> fakeroot dpkg-buildpackage -rfakeroot
> Which one should I use for building packages in Debian?
'fakeroot dpkg-buildpackage' runs the build target under fakeroot, which is
undesirable primarily because Debian 'build' targets are required to not
depend on root privileges, and running them under fakeroot can hide bugs of
'fakeroot dpkg-buildpackage -rfakeroot' is a double-invocation of fakeroot
which may fail altogether.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.