Package: cowbuilder Version: 0.73 Severity: important Dear Maintainer,
this is possibly related to https://bugs.debian.org/567995 but surely no sudo issue. It's a somewhat more general issue. This is my current /etc/pbuilderrc for debugging this issue: ---snip-- MIRRORSITE=http://debian.ethz.ch/debian if [ -z "${DIST}" ]; then DIST=sid fi BASEDIST="${DIST}" if [ "${DIST}" = "experimental" ]; then BASEDIST="sid" fi UBUNTU_SUITES=(utopic trusty saucy raring quantal precise oneiric lucid) if echo ${UBUNTU_SUITES[@]} | grep -q ${DIST}; then MIRRORSITE=http://ubuntu.ethz.ch/ubuntu COMPONENTS="main restricted universe multiverse" DEBOOTSTRAPOPTS=("--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg") fi BASETGZ="`dirname $BASETGZ`/$BASEDIST-base.tgz" BASEPATH="`echo $BASETGZ | sed -e 's/tgz$/cow/'`" # Bail out and show $BASEPATH echo $BASEPATH exit 1 DISTRIBUTION="$DIST" BUILDRESULT="/var/cache/pbuilder/result/" APTCACHE="/var/cache/pbuilder/$BASEDIST/aptcache/" HOOKDIR=/etc/pbuilder/hook.d ---snap--- Please note the "exit 1" and the printing of $BASEPATH. This is from cowbuilder's man page: ---snip--- cowbuilder reads the following configuration files per default. /usr/share/pbuilder/pbuilderrc Application default, not to be changed. /etc/pbuilderrc System-wide default. ~/.pbuilderrc User default [...] CONFIGURATION FILE OPTIONS The possible configuration options are as follows. Others are ignored. DISTRIBUTION=distribution BUILDRESULT=directory BUILDPLACE=directory BASEPATH=path MIRRORSITE=http://mirror ---snap--- # cowbuilder --update -> Copying COW directory forking: rm -rf /var/cache/pbuilder/build//cow.26656 forking: cp -al /var/cache/pbuilder/base.cow /var/cache/pbuilder/build//cow.26656 cp: cannot stat `/var/cache/pbuilder/base.cow': No such file or directory Failed cowcopy. # It clearly ignores the settings from /etc/pbuilderrc and doesn't even try to parse it. Another try # cowbuilder --create -> Invoking pbuilder forking: pbuilder create --buildplace /var/cache/pbuilder/base.cow --mirror http://cdn.debian.net/debian --distribution sid --no-targz --extrapackages cowdancer /var/cache/pbuilder/sid-base.cow pbuilder create failed forking: rm -rf /var/cache/pbuilder/base.cow # It clearly ignores the settings from /etc/pbuilderrc (namely $BASEMATH, $MIRRORSITE and in other cases also $DISTRIBUTION) and even overrides them by passing different settings to pbuilder. The line "/var/cache/pbuilder/sid-base.cow" comes from the echo in my /etc/pbuilderrc and the "pbuilder create failed" is a result of the "exit 1" This makes cowbuilder unusable for anyone who tries to build packages for more than one distribution as documented on http://pbuilder.alioth.debian.org/#DISTRIBUTIONSWITCH -- that's what this bug report has in common with https://bugs.debian.org/567995. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.15-rc5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cowbuilder depends on: ii cowdancer 0.73 ii libc6 2.18-7 ii pbuilder 0.215 cowbuilder recommends no packages. cowbuilder suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

