On Fri, Jun 13, 2008 at 12:26:30AM +0100, Dominic Hargreaves wrote:

> dpkg-buildpackage only uses fakeroot et al for the clean and binary
> targets, not the build target; your binary-src target is depended upon
> by your build target, which gets run without fakeroot (before the binary
> targets).
> 
> I believe this done specifically as compiling software often doesn't
> work too well with fakeroot.
> 
> From inspection, it look like if you simply remove the 'binary-src'
> dependency from your build target, dpkg-buildpackage will work happily,
> but I haven't tested this.

Just noticed how Ubuntu fixes this:

http://patches.ubuntu.com/q/qmail/qmail_1.03-45ubuntu1.patch

I think this is an incorrect fix; the rules file shouldn't be invoking
fakeroot itself! May be worth pointing this out to them if you fix this.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



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

Reply via email to