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

Bug#444669: E: lh_chroot_proc missing and then chroot Exec format error



Package: live-helper
Version: 1.0~a29-1
Severity: important

live-helper, run on ppc box with i386 target, fails.

Firstly lh_build stop with lh_chroot_proc missing

when restarted it looks run better, but no iso is generated. log show:
chroot: cannot run command `/usr/bin/env': Exec format error
at some places

Here the log:
$ lh_config -a i386
$ sudo lh_build
P: Begin caching bootstrap stage...
P: Begin bootstrapping system...
P: Retrieving Release
P: Retrieving Release.gpg
P: Validating Release
I: Good signature from "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster at debian.org>"
P: Parsing Release
P: Retrieving Packages.gz
P: Validating Packages.gz
P: Parsing Packages
P: Retrieving gcc-4.2-base
P: Validating gcc-4.2-base
P: Retrieving libgcc1
[...]
P: Retrieving whiptail
P: Validating whiptail
P: Retrieving Release
P: Retrieving Release.gpg
P: Validating Release
I: Good signature from "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster at debian.org>"
P: Parsing Release
P: Validating Packages.gz
P: Parsing Packages
P: Validating gcc-4.2-base
P: Validating libgcc1
[...]
P: Validating wget
P: Validating whiptail
P: Extracting gcc-4.2-base
P: Extracting libc6
[...]
P: Extracting tzdata
P: Extracting util-linux
E: Couldn't install system due to errors!
P: Begin caching bootstrap stage...
P: Begin caching chroot stage...
P: Begin mounting /proc...
E: lh_chroot_proc missing

===> looks better whn a second run is done

$ LANG=C sudo lh_build
P: Begin caching bootstrap stage...
W: skipping bootstrap_cache.restore
P: Begin bootstrapping system...
W: skipping bootstrap
P: Begin caching bootstrap stage...
W: skipping bootstrap_cache.save
P: Begin caching chroot stage...
P: Begin mounting /proc...
P: Begin mounting /sys...
P: Configuring file /etc/debian_chroot
P: Configuring file /sbin/start-stop-daemon
P: Configuring file /usr/sbin/policy-rc.d
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
P: Configuring file /etc/apt/apt.conf
P: Configuring file /etc/apt/sources.list
chroot: cannot run command `/usr/bin/env': Exec format error
P: Configuring file /etc/kernel-img.conf
chroot: cannot run command `/usr/bin/env': Exec format error
P: Begin executing preseed...
P: Begin executing locale preseed...
P: Begin installing tasks...
P: Begin installing packages lists...
chroot: cannot run command `/usr/bin/env': Exec format error
P: Begin installing packages...
P: Begin installing local packages lists...
P: Begin installing local packages...
P: Begin installing localization packages...
chroot: cannot run command `/usr/bin/env': Exec format error
P: Begin copying chroot local includes...
P: Configuring package sysvinit
P: Begin executing hooks...
P: Begin executing local hooks...
P: Begin executing hacks...
chroot: cannot run command `/usr/bin/env': Exec format error
P: Deconfiguring file /etc/kernel-img.conf
P: Deconfiguring file /etc/apt/sources.list
P: Deconfiguring file /etc/apt/apt.conf
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
P: Deconfiguring file /etc/resolv.conf
P: Deconfiguring file /etc/hosts
P: Deconfiguring file /usr/sbin/policy-rc.d
P: Deconfiguring file /sbin/start-stop-daemon
P: Deconfiguring file /etc/debian_chroot
P: Begin mounting /sys...
P: Begin mounting /proc...
P: Begin caching chroot stage...
P: Begin copying chroot...
W: skipping binary_chroot
P: Begin mounting /proc...
P: Begin mounting /sys...
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
P: Configuring file /etc/apt/sources.list
chroot: cannot run command `/usr/bin/env': Exec format error
P: Begin building root filesystem image...
chroot: cannot run command `/usr/bin/env': Exec format error
P: Begin creating manifest...
chroot: cannot run command `/usr/bin/env': Exec format error
P: Begin install linux-image...
cp: cannot stat `chroot/boot/vmlinuz-*': No such file or directory
P: Begin installing memtest...
chroot: cannot run command `/usr/bin/env': Exec format error
P: Begin installing yaboot...
W: skipping /usr/bin/lh_binary_yaboot, foreign architecture.
P: Begin installing disk information...
W: skipping binary_disk
P: Begin copying binary includes...
W: skipping binary_includes
P: Begin copying binary local includes...
P: Begin executing local hooks...
P: Begin creating binary md5sum.txt...
W: skipping binary_md5sum
P: Begin building binary iso image...
chroot: cannot run command `/usr/bin/env': Exec format error
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
P: Deconfiguring file /etc/resolv.conf
P: Deconfiguring file /etc/hosts
P: Begin mounting /sys...
P: Begin mounting /proc...
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
P: Configuring file /etc/apt/sources.list
chroot: cannot run command `/usr/bin/env': Exec format error
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
P: Deconfiguring file /etc/resolv.conf
P: Deconfiguring file /etc/hosts
$ 



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.21-2-powerpc-smp (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-helper depends on:
ii  cdebootstrap                  0.4.3      Bootstrap a Debian system

live-helper recommends no packages.

-- no debconf information






Reply to: