Bug#686433: live-build: cannot build i386 live-cd under ppc
Package: live-build
Version: 3.0~a58-1
Severity: normal
On a ppc computer, the command list mkdir foo && cd foo && lb config -a i386 && lb build fails.
Here is the log:
--8<-----
root@coutosuisse:/home/pirbo# mkdir temppp
root@coutosuisse:/home/pirbo# cd temppp
root@coutosuisse:/home/pirbo/temppp# lb config -a i386 --verbose
[2012-09-01 15:32:49] lb config -a i386 --verbose
P: Considering defaults defined in /etc/live/build.conf
P: Creating config tree for a debian/i386 system
root@coutosuisse:/home/pirbo/temppp# lb build --verbose
[2012-09-01 15:32:58] lb build --verbose
[2012-09-01 15:32:58] lb bootstrap --verbose
P: Setting up cleanup function
[2012-09-01 15:32:59] lb bootstrap_cache restore --verbose
W: skipping /usr/lib/live/build/bootstrap_cache, foreign architecture(s).
[2012-09-01 15:32:59] lb bootstrap_copy --verbose
[2012-09-01 15:32:59] lb bootstrap_cdebootstrap --verbose
[2012-09-01 15:32:59] lb bootstrap_debootstrap --verbose
W: skipping /usr/lib/live/build/bootstrap_debootstrap, foreign architecture(s).
[2012-09-01 15:33:00] lb bootstrap_cache save --verbose
W: skipping /usr/lib/live/build/bootstrap_cache, foreign architecture(s).
P: Begin unmounting filesystems...
P: Saving caches...
chroot: impossible de changer le répertoire racine vers chroot: Aucun fichier ou dossier de ce type
[2012-09-01 15:33:00] lb chroot --verbose
P: Setting up cleanup function
[2012-09-01 15:33:00] lb chroot_cache restore --verbose
[2012-09-01 15:33:00] lb chroot_devpts install --verbose
[2012-09-01 15:33:00] lb testroot
P: Begin mounting /dev/pts...
[2012-09-01 15:33:01] lb chroot_proc install --verbose
[2012-09-01 15:33:01] lb testroot
P: Begin mounting /proc...
[2012-09-01 15:33:02] lb chroot_selinuxfs install --verbose
[2012-09-01 15:33:02] lb testroot
[2012-09-01 15:33:02] lb chroot_sysfs install --verbose
[2012-09-01 15:33:02] lb testroot
P: Begin mounting /sys...
[2012-09-01 15:33:03] lb chroot_debianchroot install --verbose
P: Configuring file /etc/debian_chroot
/usr/lib/live/build/chroot_debianchroot: 50: /usr/lib/live/build/chroot_debianchroot: cannot create chroot/etc/debian_chroot: Directory nonexistent
P: Begin unmounting filesystems...
P: Saving caches...
chroot: failed to run command `/usr/bin/env': No such file or directory
--8<-----
I've tried using ~a51 and ~a58 versions and with debootstrap and cdebootstrap.
-- Package-specific info:
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 3.2.0-3-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages live-build depends on:
ii cdebootstrap 0.5.9
ii debootstrap 1.0.42
Versions of packages live-build recommends:
ii cpio 2.11-8
ii gnu-fdisk 1.2.4-3.1
ii live-boot-doc 3.0~a35-1
ii live-config-doc 3.0~a43-1
ii live-manual-html [live-manual] 1:3.0~a13-1
Versions of packages live-build suggests:
ii dosfstools 3.0.13-1
ii fakeroot 1.18.4-2
ii genisoimage 9:1.1.11-2
ii git 1:1.7.10.4-1
pn memtest86+ | memtest86 <none>
ii mtools 4.0.17-1
pn parted <none>
pn squashfs-tools | mtd-tools <none>
ii sudo 1.8.5p2-1
pn syslinux | grub <none>
pn uuid-runtime <none>
pn win32-loader <none>
-- no debconf information
Reply to: