Bug#534936: pbuilder-buildpackage reinstalls fakeroot and breaks the build environment that way

Junichi Uekawa dancer at netfort.gr.jp
Sun Jun 28 12:49:27 UTC 2009


Hi,

Hmmm.. when fakeroot is broken you have an option of running the build
as root (unset BUILDUSERNAME and BUILDUSERID), so that's a quick
workaround.

On the other hand, I wonder what would be a better solution for
working around a broken fakeroot.

At Sun, 28 Jun 2009 13:47:16 +0200,
Andreas Beckmann wrote:
> 
> Package: pbuilder
> Version: 0.188
> Severity: normal
> 
> Hi Junichi,
> 
> fakeroot in testing is currently broken (in respect to libc6-dev-i386
> because of the /emul/ia32-linux/ transition in unstable), so I manually
> downgraded it to the working version from stable in my squeeze builder
> after the last update. Unfortunately pbuilder-buildpackage installs
> fakeroot after satisfying the build dependencies causing an update of
> the already installed version and breaking everything else (if
> libc6-dev-i386 installed). If the reinstallation could be skipped if the
> package is already present everything should work out fine.
> fakeroot gets added to the EXTRAPACKAGES list at the beginning of
> /usr/lib/pbuilder/pbuilder-buildpackage.
> 
> For now I will block the bad version in /etc/apt/preferences:
> 
> Package: fakeroot
> Pin: release stable
> Pin-Priority: 501
> 
> Unfortunately the following intuitive solution does not work (#454080):
> 
> Package: fakeroot
> Pin: version 1.12.4
> Pin-Priority: -1
> 
> 
> Andreas
> 
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (800, 'testing'), (800, 'stable'), (600, 'unstable'), (130, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.28-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages pbuilder depends on:
> ii  coreutils                   7.4-2        The GNU core utilities
> ii  debconf [debconf-2.0]       1.5.26       Debian configuration management sy
> ii  debianutils                 3.1.3        Miscellaneous utilities specific t
> ii  debootstrap                 1.0.10lenny1 Bootstrap a basic Debian system
> ii  wget                        1.11.4-2     retrieves files from the web
> 
> Versions of packages pbuilder recommends:
> ii  devscripts                    2.10.50    scripts to make the life of a Debi
> ii  fakeroot                      1.12.2     Gives a fake root environment
> ii  sudo                          1.7.0-1    Provide limited super user privile
> 
> Versions of packages pbuilder suggests:
> ii  cowdancer             0.56               Copy-on-write directory tree utili
> ii  gdebi                 0.3.11debian1+nmu1 Simple tool to install deb files
> pn  pbuilder-uml          <none>             (no description available)
> 
> -- debconf information excluded
> 
> 
> 
> _______________________________________________
> Pbuilder-maint mailing list
> Pbuilder-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pbuilder-maint
> 





More information about the Pbuilder-maint mailing list