[Bug 1206215] Re: pbuilder forces use of fakeroot

Launchpad Bug Tracker 1206215 at bugs.launchpad.net
Sun Nov 11 09:23:15 UTC 2018


This bug was fixed in the package pbuilder - 0.230

---------------
pbuilder (0.230) unstable; urgency=medium

  [ Mattia Rizzolo ]
  * d/control:
    + Bump Standards-Version to 4.2.1, no changes needed.
    + Use the new debhelper-compat(=11) notation and drop d/compat.
  * d/rules: Change Ubuntu default DISTRIBUTION to "devel".
  * t: Add regression tests for 54e072c5ebb7d353e674873c96e5d837e52f345c.
  * checkparams:
    + Add a --no-source-only-chnages option to override a configured
      SOURCE_ONLY_CHANGES=yes.  Closes: #904716
    + Add more information in the slice name and scope description
      to ease the life of those running many pbuilder instances.
  * buildpackage:
    + Don't explicitly pass -rfakeroot to dpkg-buildpackage.
      dpkg-buildpackage uses it by default if present since v1.14.7, so no
      need to tell it to.  LP: #1206215
    + Unless specified, look for .changes file of the architecture of the
      chroot, not of the host's system.   LP: #1762890
  * modules:
    + Shut down some extra translators in umountproc.  Closes: #912636
      Thanks to Samuel Thibault for the patch.

  [ Thorsten Glaser ]
  * buildpackage:
    + Create consistent /etc/hosts in build chroots with USENETWORK=no.
      Policy 4.2.0 ยง4.9 explicitly allows loopback access, which is already
      allowed, and we also already clean resolv.con.
      Add a clean hosts file which ships 127.0.0.1 as localhost and ::1 as
      localhost6 to avoid trouble.  See also the policy bug #904248.
      Closes: #905307

  [ Daniel Schepler ]
  * Wrap the chroot calls inside a systemd slice when running on Linux systems
    with systemd.  Closes: #905550
    This allows proper cleanup of stray processes left behind, among easier
    resource control by the system administrator.

  [ James Clarke ]
  * modules: Mount fdescfs under /dev/fd on kFreeBSD.
  * pbuilderrc.5: Update link to the user manual.
  * t/test_pbuilder-apt-config:
    + Fix Ubuntu-related tests on non-Ubuntu architectures.

 -- Mattia Rizzolo <mattia at debian.org>  Fri, 09 Nov 2018 13:51:04 +0100

** Changed in: pbuilder (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/1206215

Title:
  pbuilder forces use of fakeroot

Status in pbuilder package in Ubuntu:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1206215/+subscriptions



More information about the foundations-bugs mailing list