[Bug 872422] Re: kbd fails to cross-build

Launchpad Bug Tracker 872422 at bugs.launchpad.net
Sat Mar 31 21:00:12 UTC 2012


This bug was fixed in the package kbd - 1.15.2-3ubuntu4

---------------
kbd (1.15.2-3ubuntu4) precise; urgency=low

  * Fix cross-building (LP: #872422):
    - Use dh_auto_configure.
    - Pass CC=$(DEB_HOST_GNU_TYPE)-gcc when cross-building contrib.
 -- Colin Watson <cjwatson at ubuntu.com>   Sat, 31 Mar 2012 21:54:20 +0100

** Changed in: kbd (Ubuntu)
       Status: New => Fix Released

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

Title:
  kbd fails to cross-build

Status in “kbd” package in Ubuntu:
  Fix Released

Bug description:
  kdb fails to cross-build.

  The build command is:
  xdeb --only-explicit -a armel --prefer-apt --apt-source --debug --force-rebuild kbd

  The actual build command xdeb issues is:
  debuild --no-lintian -eUSER -eCONFIG_SITE=/etc/dpkg-cross/cross-config.armel -eDEB_BUILD_OPTIONS=nocheck -eGTEST_INCLUDEDIR=/usr/arm-linux-gnueabi/include -eGTEST_LIBDIR=/usr/arm-linux-gnueabi/lib -ePKG_CONFIG_LIBDIR=/usr/arm-linux-gnueabi/lib/pkgconfig:/usr/arm-linux-gnueabi/share/pkgconfig:/usr/share/pkgconfig -eDH_VERBOSE=1 -aarmel -b -uc -us -tc

  To easily reproduce the build environment in which this bug was discovered follow the HOWTO here:
  https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossBuildNano

  The build uses the wrong (build-arch) compiler, and thus fails with a
  strip error when packaging at the end:

  dh binary-arch --after dh_installdocs
     dh_strip -a
  	arm-linux-gnueabi-strip --remove-section=.comment --remove-section=.note debian/kbd/usr/bin/splitfont
  arm-linux-gnueabi-strip:debian/kbd/usr/bin/splitfont: File format not recognized

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




More information about the foundations-bugs mailing list