← Back to team overview

touch-packages team mailing list archive

[Bug 1322178] Re: new armhf click build chroot is DEB_BUILD_ARCH=amd64

 

I think it is not a bug, but indeed a confusing behavior. But this multi
arch click chroot is the very essence of the click build story.

I agree that the default arch when installing a package in the click
chroot should be the target arch, as developers install more typically
libs, headers, qml plugins than developer tools.

Anyhow, I think the click package is the best address for this issue and
not the QtC plugin.

** Project changed: qtcreator-plugin-ubuntu => click (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1322178

Title:
  new armhf click build chroot is DEB_BUILD_ARCH=amd64

Status in The Savilerow project:
  New
Status in “click” package in Ubuntu:
  Confirmed

Bug description:
  (note sure which project to file this against..)

  I just created a 14.04 armhf click build target from the Ubuntu SDK.

  A terminal into the chroot (from the Maintain button) shows this:

  (click-ubuntu-sdk-14.04-armhf)root@chroma:/home/knitzsche# dpkg-architecture 
  DEB_BUILD_ARCH=amd64
  DEB_BUILD_ARCH_BITS=64
  DEB_BUILD_ARCH_CPU=amd64
  DEB_BUILD_ARCH_ENDIAN=little
  DEB_BUILD_ARCH_OS=linux
  DEB_BUILD_GNU_CPU=x86_64
  DEB_BUILD_GNU_SYSTEM=linux-gnu
  DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
  DEB_BUILD_MULTIARCH=x86_64-linux-gnu
  DEB_HOST_ARCH=amd64
  DEB_HOST_ARCH_BITS=64
  DEB_HOST_ARCH_CPU=amd64
  DEB_HOST_ARCH_ENDIAN=little
  DEB_HOST_ARCH_OS=linux
  DEB_HOST_GNU_CPU=x86_64
  DEB_HOST_GNU_SYSTEM=linux-gnu
  DEB_HOST_GNU_TYPE=x86_64-linux-gnu
  DEB_HOST_MULTIARCH=x86_64-linux-gnu

  I expected (perhaps naively) :DEB_BUILD_ARCH=armhf (and probably
  others).

  When I install pkgs in the chroot with apt-get install, the amd64 arch
  one is installed unless I specify armhf, which I did not expect
  either.

  Some pkgs/vers on my host system:
  $ apt-cache policy qtcreator-plugin-ubuntu
  qtcreator-plugin-ubuntu:
    Installed: 3.0.1+14.10.20140521.1-0ubuntu1~0trusty1

  $ apt-cache policy click
  click:
    Installed: 0.4.23.1ubuntu1i~0trusty1

To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1322178/+subscriptions