[buildd-tools-devel] Bug#709864: sbuild-createchroot does not observe the --foreign flag.
Likai Liu
debianreportbug at likai.org
Sun May 26 04:11:33 UTC 2013
Package: sbuild
Version: 0.63.2-1.1
Severity: normal
Dear Maintainer,
sbuild-createchroot does not appear to observe the --foreign flag. As a
result, when cross-compiling, debootstrap ended with the following error:
chroot: failed to run command `mount': Exec format error
The solution is to change line 96 of /usr/sbin/sbuild-createchroot like
this:
- $self->set_conf('FOREIGN', 0);
+ $self->set_conf('FOREIGN', 1);
liulk
-- System Information:
Debian Release: 7.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sbuild depends on:
ii adduser 3.113+nmu3
ii apt-utils 0.9.7.8
ii libsbuild-perl 0.63.2-1.1
ii perl 5.14.2-21
ii perl-modules 5.14.2-21
Versions of packages sbuild recommends:
ii debootstrap 1.0.48
ii fakeroot 1.18.4-2
Versions of packages sbuild suggests:
pn deborphan <none>
ii wget 1.13.4-3
-- no debconf information
More information about the Buildd-tools-devel
mailing list