Debian Bug report logs - #686433
live-build: cannot build i386 live-cd under ppc

Package: live-build; Maintainer for live-build is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-build is src:live-build.

Reported by: Pierre Boutillier <pierre.boutillier@laposte.net>

Date: Sat, 1 Sep 2012 13:51:01 UTC

Severity: normal

Done: Daniel Baumann <daniel.baumann@progress-technologies.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#686433; Package live-build. (Sat, 01 Sep 2012 13:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Boutillier <pierre.boutillier@laposte.net>:
New Bug report received and forwarded. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sat, 01 Sep 2012 13:51:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Pierre Boutillier <pierre.boutillier@laposte.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-build: cannot build i386 live-cd under ppc
Date: Sat, 01 Sep 2012 15:46:54 +0200
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 sent to daniel.baumann@progress-technologies.net:
You have taken responsibility. (Sat, 01 Sep 2012 14:09:03 GMT) Full text and rfc822 format available.

Notification sent to Pierre Boutillier <pierre.boutillier@laposte.net>:
Bug acknowledged by developer. (Sat, 01 Sep 2012 14:09:03 GMT) Full text and rfc822 format available.

Message #10 received at 686433-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: Pierre Boutillier <pierre.boutillier@laposte.net>
Cc: 686433-done@bugs.debian.org
Subject: Re: Bug#686433: live-build: cannot build i386 live-cd under ppc
Date: Sat, 01 Sep 2012 16:16:04 +0200
On 09/01/2012 03:46 PM, Pierre Boutillier wrote:
> On a ppc computer, the command list mkdir foo&&  cd foo&&  lb config -a i386&&  lb build fails.

we require the host architecture to natively execute the targets 
architectures binaries. this is a known and documented limitation of 
live-build.

in certain cases, we do support using qemu (e.g. to 'cross' build arm on 
i386/amd64), this requires proper qemu/binftm support. in the case of 
ppc, this is broken upstream for years, therefore, no value in keeping 
the bug open.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 30 Sep 2012 07:28:18 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 14:07:24 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.