pbuilder forces use of fakeroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pbuilder (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The file /usr/lib/
DEBBUILDOPT
Note that it unequivocally appends "-rfakeroot" to the debuild command line. In turn, debuild parses the command line such that the last instance of the -r option is used. So even if you set DEBBUILDOPTS to have an alternative -r option, it will have no effect.
This can be worked around by making "-rfakeroot" appear at the beginning, so any user-supplied -r option appears last and will take effect. But this depends on behavior coded into debuild. A better solution would be to check of DEBBUILDOPTS contains a -r or --rootcmd option, and only force the inclusion of -rfakeroot if not provided.
Description: Ubuntu 12.04.2 LTS
Release: 12.04
pbuilder:
Installed: 0.208ubuntu1
Candidate: 0.208ubuntu1
Version table:
*** 0.208ubuntu1 0
500 http://
100 /var/lib/
tags: | removed: debuild fakeroot pbuilder |
Changed in pbuilder (Debian): | |
status: | Unknown → New |
commit the relevant change to pbuilder's git, just removing the option.
If needed dpkg-buildpackage uses it by default anyway.