Public bug reported: The file /usr/lib/pbuilder/pbuilder-buildpackage parses options and builds the command line for debuild. It includes the line:
DEBBUILDOPTS="${DEBBUILDOPTS:+$DEBBUILDOPTS }-rfakeroot" 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://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status ** Affects: pbuilder (Ubuntu) Importance: Undecided Status: New ** Tags: debuild fakeroot pbuilder -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1206215 Title: pbuilder forces use of fakeroot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1206215/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs