← Back to team overview

touch-packages team mailing list archive

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

 

This is still an issue, and very confusing. I assume that most
developers who need external dependenices for the click package run into
this and wonder why the linker complains about not finding the library.

I guess most developers find it more convenient to add build rules that
copy prebuilt libraries from the chroot into the click package instead
of adding the library source code to their project. This ensures easy
click package updates whenever Ubuntu updates the library (without API
breaking changes of course). For this use case, running apt-get install
libwhatever-dev in the chroot is the first required step, and the user
expects to have a somewhat sane environment when clicking the "Maintain"
button.

I worked around this by installing libupnp6:armhf and libupnp6-dev:armhf
instead of libupnp-dev.

-- 
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