On Jun 15, 2008, at 4:23 AM, Raphael Hertzog wrote:

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.

I've been digging around in this, and have found something extremely peculiar.

This odd behavior only appears when trying to build release -45, but not -44. As far as I can tell, the differences between the two are very minor. I can't figure out what broke between -44 and -45 that has caused dpkg-buildpackage to fail. The rules file is the same in both releases, yet one builds and the other fails.

Do you have any ideas why that might be?

This bug is the last bug holding me back from uploading a new qmail- src for lenny.

Any help you could provide would be appreciated.

Cheers!

Jon




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

Reply via email to