Bug#378283: [Buildd-tools-devel] Bug#378283: Fails with "dpkg
--set-selections failed"
Martin Michlmayr
tbm at cyrius.com
Sat Jul 15 13:34:24 UTC 2006
* Roger Leigh <rleigh at whinlatter.ukfsn.org> [2006-07-15 13:47]:
> Could I have a copy of the full build log?
Attached.
> > When I go into the chroot I get this:
> > sh-3.1# /bin/su -p root -c 'ls -la' ; echo $? 127
>
> What command did you run to go into the chroot? i.e., what is the
> context of this output?
This is when I enter the chroot manually, but the commands sbuild runs
has the same problem.
247:tbm at prehension: ~/build] sudo chroot chroot-unstable1 bin/sh
sh-3.1# /bin/su -p root -c 'ls -la' ; echo $?
127
sh-3.1#
--
Martin Michlmayr
http://www.cyrius.com/
-------------- next part --------------
266:tbm at prehension: ~/build] sbuild --debug jack_3.1.1+cvs20050801-11
Reading source dependencies from /var/lib/sbuild/source-dependencies-unstable
/bin/sh -c '/usr/bin/apt-cache CHROOT_APT_OPTIONS -q showsrc jack 2>&1 </dev/null'
Automatic build of jack_3.1.1+cvs20050801-11 on prehension by sbuild/sparc 0.48
Build started at 20060715-1531
******************************************************************************
Checking available source versions...
Fetching source files...
/bin/sh -c '/usr/bin/apt-get CHROOT_APT_OPTIONS --only-source -q -d source jack=3.1.1+cvs20050801-11 2>&1 </dev/null'
Reading Package Lists...
Building Dependency Tree...
Need to get 379kB of source archives.
Get:1 http://mirror.flexserv.de sid/main jack 3.1.1+cvs20050801-11 (dsc) [687B]
Get:2 http://mirror.flexserv.de sid/main jack 3.1.1+cvs20050801-11 (tar) [320kB]
Get:3 http://mirror.flexserv.de sid/main jack 3.1.1+cvs20050801-11 (diff) [57.4kB]
Fetched 379kB in 0s (1397kB/s)
Download complete and in download only mode
Parsing jack_3.1.1+cvs20050801-11.dsc
./jack_3.1.1+cvs20050801.orig.tar.gz: 9f8dca42e07d8c2a9419985e8c01e746
./jack_3.1.1+cvs20050801-11.diff.gz: b638b221b5d72e8648cc1017d0c42094
Arch check ok (sparc included in any)
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 5.0.0), cdbs, python, python-dev (>= 2.3), libncurses5-dev
Merging pkg deps: debhelper (>= 5.0.0), cdbs, python, python-dev (>= 2.3), libncurses5-dev,
/bin/sh -c '/usr/bin/apt-cache CHROOT_APT_OPTIONS show base-files base-passwd bash bsdutils coreutils debianutils diff dpkg e2fsprogs findutils grep gzip hostname login mktemp mount ncurses-base ncurses-bin perl-base sed sysvinit tar util-linux libc6-dev libc-dev libc6-dev-sparc64 gcc g++ make dpkg-dev 2>&1'
/bin/sh -c '/usr/bin/apt-cache CHROOT_APT_OPTIONS show awk libc6 libncurses5 libacl1 libselinux1 e2fslibs libblkid1 libcomerr2 libdevmapper1.02 libsepol1 libss2 libuuid1 libpam-modules libpam0g libpam-runtime initscripts sysv-rc file-rc lsb-base linux-kernel-headers libc6-sparc64 lib64gcc1 cpp gcc-4.1 g++-4.1 perl5 perl-modules cpio patch binutils 2>&1'
/bin/sh -c '/usr/bin/apt-cache CHROOT_APT_OPTIONS show tzdata libattr1 libcap1 libdb4.3 gcc-4.1-base cpp-4.1 libgcc1 libssp0 libstdc++6-4.1-dev perl 2>&1'
/bin/sh -c '/usr/bin/apt-cache CHROOT_APT_OPTIONS show libstdc++6 libdb4.4 libgdbm3 2>&1'
Dependency-expanded build essential packages:
base-files, base-passwd, bash, bsdutils, coreutils, debianutils, diff, dpkg, e2fsprogs, findutils, grep, gzip, hostname, login, mktemp, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, tar, util-linux, libc6-dev|libc-dev, libc6-dev-sparc64, gcc (>= 4:4.1.1), g++ (>= 4:4.1.1), make, dpkg-dev (>= 1.13.5), awk, libc6, libncurses5, libacl1, libselinux1, e2fslibs, libblkid1, libcomerr2, libdevmapper1.02, libsepol1, libss2, libuuid1, libpam-modules, libpam0g, libpam-runtime, initscripts, sysv-rc, file-rc, lsb-base, linux-kernel-headers, libc6-sparc64, lib64gcc1, cpp, gcc-4.1, g++-4.1, perl5, perl-modules, cpio, patch, binutils, tzdata, libattr1, libcap1, libdb4.3, gcc-4.1-base, cpp-4.1, libgcc1, libssp0, libstdc++6-4.1-dev, perl, libstdc++6, libdb4.4, libgdbm3
Source dependencies of jack: debhelper (>= 5.0.0), cdbs, python, python-dev (>= 2.3), libncurses5-dev
/usr/bin/sudo /usr/sbin/chroot /srv/build/chroot-unstable /bin/su -p root -c '/usr/bin/dpkg --set-selections'
Filtering dependencies
Checking for already installed source dependencies...
Requesting dpkg status for packages: libncurses5-dev python cdbs python-dev debhelper
debhelper: pos dep, installed, no versioned dep or version ok
debhelper: already installed (5.0.37.3 >= 5.0.0 is satisfied)
cdbs: pos dep, installed, no versioned dep or version ok
cdbs: already installed (0.4.44)
python: pos dep, installed, no versioned dep or version ok
python: already installed (2.3.5-11)
python-dev: pos dep, installed, no versioned dep or version ok
python-dev: already installed (2.3.5-11 >= 2.3 is satisfied)
libncurses5-dev: pos dep, installed, no versioned dep or version ok
libncurses5-dev: already installed (5.5-2)
Checking for source dependency conflicts...
No srcdep conflicts
Writing srcdep lock file /srv/build/chroot-unstable//var/lib/sbuild/srcdep-lock/3084-1:
Job jack_3.1.1+cvs20050801-11 pid 3084 user tbm
debhelper
cdbs
python
python-dev
libncurses5-dev
Installing positive dependencies:
Added to installed list:
Added to removed list:
Removing negative dependencies:
Added to removed list:
Checking correctness of source dependencies...
Requesting dpkg status for packages: libncurses5-dev python g++-4.1 gcc-4.1 libc6-dev cdbs libstdc++6-4.1-dev binutils debhelper python-dev linux-kernel-headers libstdc++6
Kernel: Linux 2.6.17-rc6 sparc (sparc64)
Toolchain package versions: libc6-dev_2.3.6-15 linux-kernel-headers_2.6.17.3-1 gcc-4.1_4.1.1-8 g++-4.1_4.1.1-8 binutils_2.17-1 libstdc++6-4.1-dev_4.1.1-8 libstdc++6_4.1.1-8
/usr/bin/dpkg --set-selections failed
------------------------------------------------------------------------------
/bin/sh -c '/usr/bin/dpkg-source -sn -x /srv/build/jack_3.1.1+cvs20050801-11.dsc 2>&1'
dpkg-source: extracting jack in jack-3.1.1+cvs20050801
/usr/bin/sudo /usr/sbin/chroot /srv/build/chroot-unstable /bin/su -p tbm -c 'cd /build/tbm/jack-3.1.1+cvs20050801 && PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/games exec dpkg-buildpackage -us -uc -B -m"Martin Michlmayr <tbm at cyrius.com>" -r/usr/bin/fakeroot 2>&1'
******************************************************************************
Build finished at 20060715-1532
FAILED [dpkg-buildpackage died]
/usr/bin/sudo /usr/sbin/chroot /srv/build/chroot-unstable /bin/su -p root -c '/usr/bin/du -s /build/tbm/jack-3.1.1+cvs20050801 2>/dev/null'
Purging /srv/build/chroot-unstable/build/tbm/jack-3.1.1+cvs20050801
/usr/bin/sudo /usr/sbin/chroot /srv/build/chroot-unstable /bin/su -p root -c 'rm -rf /build/tbm/jack-3.1.1+cvs20050801'
------------------------------------------------------------------------------
Running post scripts of special dependencies:
Reinstalling removed packages:
Installed were:
Removed were:
Removed from removed list:
Removed from installed list:
Removing installed packages:
Removed from installed list:
Removing srcdep lock file /srv/build/chroot-unstable//var/lib/sbuild/srcdep-lock/3084-1
Removed jack_3.1.1+cvs20050801-11.dsc
Removed jack_3.1.1+cvs20050801.orig.tar.gz
Removed jack_3.1.1+cvs20050801-11.diff.gz
******************************************************************************
Finished at 20060715-1532
Build needed 00:00:01, 0k disk space
More information about the Buildd-tools-devel
mailing list