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

Re: dpkg-buildpackage and fakeroot



Steve Langasek wrote:

> 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?
> 
> dpkg-buildpackage -rfakeroot.
> 
> '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 this nature.
> 
> 'fakeroot dpkg-buildpackage -rfakeroot' is a double-invocation of fakeroot
> which may fail altogether.
> 

Thank you Nico, Thomas and Steve. Your replies answered my questions and
helped me a lot.

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



Reply to: