[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686433: marked as done (live-build: cannot build i386 live-cd under ppc)



Your message dated Sat, 01 Sep 2012 16:16:04 +0200
with message-id <504218A4.3080105@progress-technologies.net>
and subject line Re: Bug#686433: live-build: cannot build i386 live-cd under ppc
has caused the Debian Bug report #686433,
regarding live-build: cannot build i386 live-cd under ppc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
686433: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686433
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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/

--- End Message ---

Reply to: