[Bug 1319153] Re: Fails to create x86 chroot

Colin Watson cjwatson at canonical.com
Tue May 20 11:35:34 UTC 2014


By the way, for the case of an amd64 chroot on an i386 host system,
we'll deal with this by just creating a native amd64 chroot; this is our
only option because there's no i386-to-amd64 cross-compiler as such in
the archive (and "gcc -m64" is a somewhat different kettle of fish that
requires explicit build system support).  This is perfectly workable,
but only if you've taken special measures to install a 64-bit kernel on
the i386 system so that it can execute 64-bit binaries.

I suspect that this is a fairly niche case; i386 chroot on amd64 host
will likely be rather more common.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1319153

Title:
  Fails to create x86 chroot

Status in “click” package in Ubuntu:
  In Progress

Bug description:
  The `sudo click chroot -a i386 -f ubuntu-sdk-14.04 create` command
  fails with this error:

  E: Unable to locate package g++-i686-linux-gnu
  E: Couldn't find any package by regex 'g++-i686-linux-gnu'
  E: Unable to locate package pkg-config-i686-linux-gnu
  Command returned 100: schroot -u root -c source:click-ubuntu-sdk-14.04-i386 -- /finish.sh

  The same with amd64 on my i386 machine fails as expected in a bit more
  spectacular way: http://pastebin.ubuntu.com/7459031/

  
  1) $ lsb_release -rd
  Description:	Ubuntu Utopic Unicorn (development branch)
  Release:	14.10

  2) $ apt-cache policy click
  click:
    Installed: 0.4.21.1
    Candidate: 0.4.21.1
    Version table:
   *** 0.4.21.1 0
          500 http://archive.ubuntu.com/ubuntu/ utopic/main i386 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1319153/+subscriptions



More information about the foundations-bugs mailing list