Bug#477416: [pbuilder] debootstrap/cdebootstrap failed.

Muammar El Khatib muammarelkhatib at gmail.com
Wed Apr 23 04:40:58 UTC 2008


Package: pbuilder
Version: 0.179
Severity: important

Hi,

When I try to create a clean environment using:

pbuilder create --distribution sid --debootstrap debootstrap

or

pbuilder create --distribution sid --debootstrap cdebootstrap

I get:

I: Unpacking perl...
I: Unpacking perl-modules...
I: Configuring the base system...
I: Configuring libgdbm3...
I: Configuring lzma...
I: Configuring cpp-4.2...
I: Configuring linux-libc-dev...
I: Configuring patch...
I: Configuring cpp...
I: Configuring debian-archive-keyring...
I: Configuring make...
I: Configuring cpio...
I: Configuring binutils...
I: Configuring libc6-dev...
I: Configuring bzip2...
I: Configuring gcc-4.2...
I: Configuring gcc...
I: Configuring libstdc++6-4.2-dev...
I: Configuring g++-4.2...
I: Configuring perl-modules...
I: Configuring g++...
I: Configuring perl...
I: Configuring libtimedate-perl...
I: Configuring dpkg-dev...
W: Failure while configuring base packages.
I: Configuring debian-archive-keyring...
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
pbuilder: debootstrap failed
  -> Aborting with an error
  -> cleaning the build env
     -> removing directory /var/cache/pbuilder/build//10950 and its subdirectories


I tried using other repositories (e.g. ftp.es.debian.org, ftp.us.debian.org and 
ftp.jp.debian.org), using debootstrap instead of cdebootstrap and It fails, too. 
Then, I made a jail using debootstrap and it worked, that's why I think problem 
is related to pbuilder. I'd like to point out that I tested it in 3 different 
computers and the problem is the same.

I have in my /etc/pbuilderrc:

############################### Beginning ####################################
# this is your configuration file for pbuilder.
# the file in /usr/share/pbuilder/pbuilderrc is the default template.
# /etc/pbuilderrc is the one meant for editing.
#
# read pbuilderrc.5 document for notes on specific options.

BASETGZ=/var/cache/pbuilder/base.tgz
#EXTRAPACKAGES=gcc3.0-athlon-builder
#export DEBIAN_BUILDARCH=athlon
BUILDPLACE=/var/cache/pbuilder/build/
MIRRORSITE=http://ftp.es.debian.org/debian
#OTHERMIRROR="deb http://www.home.com/updates/ ./"
#export http_proxy=http://your-proxy:8080/
USEPROC=yes
USEDEVPTS=yes
USEDEVFS=no
BUILDRESULT=/var/cache/pbuilder/result/

# specifying the distribution forces the distribution on "pbuilder update"
DISTRIBUTION=sid
# specifying the components of the distribution
COMPONENTS="main"
#specify the cache for APT
APTCACHE="/var/cache/pbuilder/aptcache/"
APTCACHEHARDLINK="yes"
REMOVEPACKAGES="lilo"
#HOOKDIR="/usr/lib/pbuilder/hooks"
HOOKDIR=""

# make debconf not interact with user
export DEBIAN_FRONTEND="noninteractive"

DEBEMAIL="muammarelkhatib at gmail.com"

#for pbuilder debuild
BUILDSOURCEROOTCMD="fakeroot"
PBUILDERROOTCMD="sudo"

# command to satisfy build-dependencies; the default is an internal shell
# implementation which is relatively slow; there are two alternate
# implementations, the "experimental" implementation,
# "pbuilder-satisfydepends-experimental", which might be useful to pull
# packages from experimental or from repositories with a low APT Pin Priority,
# and the "aptitude" implementation, which will resolve build-dependencies and
# build-conflicts with aptitude which helps dealing with complex cases but does
# not support unsigned APT repositories
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends"

#Command-line option passed on to dpkg-buildpackage.
#DEBBUILDOPTS="-IXXX -iXXX"
DEBBUILDOPTS=""

#APT configuration files directory
APTCONFDIR=""

# the username and ID used by pbuilder, inside chroot. Needs fakeroot, really
BUILDUSERID=1234
BUILDUSERNAME=pbuilder

# BINDMOUNTS is a space separated list of things to mount
# inside the chroot.
BINDMOUNTS=""

# Set the debootstrap variant to 'buildd' type.
DEBOOTSTRAPOPTS[0]='--variant=buildd'
# or unset it to make it not a buildd type.
# unset DEBOOTSTRAPOPTS
# Set the PATH I am going to use inside pbuilder: default is 
"/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"

# SHELL variable is used inside pbuilder by commands like 'su'; and they need 
sane values
export SHELL=/bin/bash

# The name of debootstrap command.
DEBOOTSTRAP="debootstrap"

# default file extension for pkgname-logfile
PKGNAME_LOGFILE_EXTENTION="_$(dpkg --print-architecture).build"

# default PKGNAME_LOGFILE
PKGNAME_LOGFILE=""

################################## End #######################################


If you need another information, just tell me.


Best Regards,


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.24-1-686

Debian Release: lenny/sid
   500 unstable        www.debian-multimedia.org
   500 unstable        ftp.us.debian.org
   500 stable          dl.google.com

--- Package information. ---
Depends             (Version) | Installed
=============================-+-=============
cdebootstrap                  | 0.5.1
  OR debootstrap               | 1.0.8
coreutils        (>= 4.5.8-1) | 6.10-6
debconf             (>= 0.5)  | 1.5.21
  OR debconf-2.0               |
debianutils       (>= 1.13.1) | 2.28.4
gcc                           | 4:4.2.3-8
wget                          | 1.11.1-1


-- 
Muammar El Khatib.
Linux user: 403107.
Key fingerprint = 90B8 BFC4 4A75 B881 39A3  1440 30EB 403B 1270 29F1
http://muammarelkhatib.net | http://teorex.org | http://taciturna.com
   ,''`.
  : :' :
  `. `'
    `-





More information about the Pbuilder-maint mailing list