On Thu, 12 Jun 2008, Jon Marler wrote:
> If you use fakeroot to call dpkg-buildpackage, it works prefectly.
>
> Something is wrong with the way that dpkg-buildpackage is calling  
> fakeroot.  The chown calls work perfect, and you can build the package  
> using a different syntax.

There's nothing wrong in dpkg-buildpackage. The "build" target is called
_without_ root rights. Only the clean and binary target are supposed to
have root rights.

However your build target depends on binary-src and binary-src contains
the call "chown -R root.root $(TMPSRC)".

You should arrange your build system to have the operations that require
root to be called when debian/rules binary is called and not when
debian/rules build is called.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



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

Reply via email to