[Pbuilder-maint] Bug#396054: pdebuild -- --preserve-buildplace always fail

Yann Dirson dirson at debian.org
Sun Oct 29 16:05:14 CET 2006


Package: pbuilder
Version: 0.159, 0.160
Severity: important

Building packages with "pdebuild  --logfile ../build.log --
--preserve-buildplace" does not work.

Adding a "set -x" in /usr/lib/pbuilder/pbuilder-buildpackage I could get
the log below.
It looks like under some circumstances the PID is left out from the path
used to construct the builddir name.

It looks tightly related to the following lines in pdebuild-checkparam:

if [ "${INTERNAL_BUILD_UML}" != "yes" -a "${PRESERVE_BUILDPLACE}" != "yes" ]; then
    BUILDPLACE="$BUILDPLACE/$$"
fi


The log:

+ echo 'Current time: Sun Oct 29 15:26:33 CET 2006'
Current time: Sun Oct 29 15:26:33 CET 2006
++ date +%s
+ echo 'pbuilder-time-stamp: 1162131993'
pbuilder-time-stamp: 1162131993
+ extractbuildplace
+ '[' '' '!=' yes -a '!' '(' yes = yes -a -d
/export/work/pbuilder/build/ ')' ']'
+ copy_local_configuration
+ echo ' -> copying local configuration'
 -> copying local configuration
+ for a in hosts hostname resolv.conf
+ rm -f /export/work/pbuilder/build//etc/hosts
+ '[' '!' -f /etc/hosts ']'
++ readlink -f /etc/hosts
+ cp /etc/hosts /export/work/pbuilder/build//etc/hosts
cp: cannot create regular file `/export/work/pbuilder/build//etc/hosts': No such file or directory


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (90, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.4-smp-gbbde1285
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.3.11     Bootstrap a Debian system
ii  coreutils                     5.97-5     The GNU core utilities
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
ii  gcc                           4:4.1.1-13 The GNU C compiler
ii  wget                          1.10.2-2   retrieves files from the web

Versions of packages pbuilder recommends:
ii  cowdancer                     0.23       Copy-on-write directory tree utili
ii  devscripts                    2.9.22     Scripts to make the life of a Debi
ii  fakeroot                      1.5.10     Gives a fake root environment
ii  sudo                          1.6.8p12-4 Provide limited super user privile

-- no debconf information




More information about the Pbuilder-maint mailing list