[buildd-tools-devel] Bug#695273: sbuild: Fix thinko with chroot arch lookups, and allow for build-host cross chroot names

Adam Conrad adconrad at debian.org
Thu Dec 6 13:54:17 UTC 2012


Package: sbuild
Version: 0.63.2-1ubuntu2
Severity: normal

Attached is a patch to change the chroot lookup code to allow for
cross chroots to be named dist-build-host instead of just dist-arch,
so one doesn't run into namespace clashes between native and cross
chroots on the same machine.  Manpage is updated to match.

Also, this fixes a thinko in Build.pm, where chroot lookups were
looking for BUILD_ARCH instead of HOST_ARCH, which didn't seem to
make much sense.  It doesn't change anything for the non-cross case.

... Adam

-- System Information:
Debian Release: wheezy/sid
  APT prefers raring-updates
  APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.0-4-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii  adduser         3.113+nmu3ubuntu1
ii  apt-utils       0.9.7.6ubuntu5
ii  libsbuild-perl  0.63.2-1ubuntu2
ii  perl            5.14.2-15
ii  perl-modules    5.14.2-15

Versions of packages sbuild recommends:
ii  debootstrap  1.0.44
ii  fakeroot     1.18.4-2ubuntu1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.14-1ubuntu1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross-chroot.patch
Type: text/x-diff
Size: 2942 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20121206/c1d0945f/attachment.patch>


More information about the Buildd-tools-devel mailing list