Bug#646008: pbuilder dependency resolving failing under Etch chroot

David wizzardx at gmail.com
Thu Oct 20 14:51:04 UTC 2011


Package: pbuilder
Version: 0.203
Severity: important

Hi there.

I'm attempting to build a backported package under a Debian Etch
chroot, and having this problem:

----------
I: Installing the build-deps
dpkg-architecture: warning: no utmp entry available and LOGNAME not
defined; using uid of process (0)
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: i386
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude -
created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: xmms-dev
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in
`/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 10428 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from
.../pbuilder-satisfydepends-dummy.deb) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but
configuring anyway as you request:
 pbuilder-satisfydepends-dummy depends on xmms-dev; however:
  Package xmms-dev is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Initializing package states...
Building tag database...
The following packages are BROKEN:
  pbuilder-satisfydepends-dummy
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
  pbuilder-satisfydepends-dummy: Depends: xmms-dev but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
pbuilder-satisfydepends-dummy

Score is -210

The following packages will be automatically REMOVED:
  pbuilder-satisfydepends-dummy
The following packages will be REMOVED:
  pbuilder-satisfydepends-dummy
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
(Reading database ... 10428 files and directories currently installed.)
Removing pbuilder-satisfydepends-dummy ...
Aptitude couldn't satisfy the build dependencies
E: pbuilder-satisfydepends failed.
----------

Basically, if I set the "Build-Depends" package options, then pbuilder
is no longer able to resolve them in the
/usr/lib/pbuilder/pbuilder-satisfydepends script.

However, if I edit that script, to add this line just before the
"$CHROOTEXEC aptitude" line:

"$CHROOTEXEC aptitude install xmms-dev"

Then the dependences are installed inside the chroot by that line, and
the complex aptitude line just below that, is able to complete
successfully.

Fyi, "xmmxs-dev" is just an example dependency package. Any packages I
attempt to put in the "Build-Depends" area of the package (being
built), have this problem.

If I install the squeeze version of pbuilder (0.199), then this
problem goes away.

For reference, this is how I prepared /var/cache/pbuilder/base.tgz:

    sudo pbuilder --create --distribution etch --override-config
--mirror http://192.168.0.18/debian-archive

That's a local mirror of debian-archive, that contains Etch, that we
use internally for several backports.

And here's the line I'm using to attempt to build the package, that's failing:

    pdebuild --buildresult /tmp/.my_built_package/

For now I'll revert back to the Debian Squeeze version of pbuilder.
Let me know if you need more information

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils              8.5-1
ii  debconf [debconf-2.0]  1.5.40
ii  debianutils            4.0.2
ii  debootstrap            1.0.36
ii  wget                   1.13-1

Versions of packages pbuilder recommends:
ii  devscripts  2.11.1
ii  fakeroot    1.17-1
ii  sudo        1.8.2-2

Versions of packages pbuilder suggests:
pn  cowdancer     <none>
pn  gdebi-core    0.8.2
pn  pbuilder-uml  <none>

-- debconf information:
  pbuilder/rewrite: false
  pbuilder/mirrorsite: http://192.168.0.18/debian/
  pbuilder/nomirror:





More information about the Pbuilder-maint mailing list