← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1564208] Re: fix for linux_tools when cross-compiling

 

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: Incomplete

** Changed in: linux (Ubuntu Xenial)
       Status: Incomplete => In Progress

** Changed in: linux (Ubuntu Xenial)
     Assignee: (unassigned) => Tim Gardner (timg-tpi)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1564208

Title:
  fix for linux_tools when cross-compiling

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  When cross-compiling with do_tools,  dh_shlibdeps needs to be told to
  look in /usr/<target>/lib otherwise it will fail the build.

  I am cross-building in ubuntu-xenial.git (master) on x86_64 for an
  armhf target:

           archtriple=arm-linux-gnueabihf
           flavour=generic
           dpkg-architecture -t $archtriple -c fakeroot \
                  debian/rules \
                  binary-$flavour binary-perarch \
                  AUTOBUILD=true \
                  abi_suffix= \
                  do_linux_tools=true \
                  do_tools=true \
                  do_tools_usbip=false \
                  do_tools_cpupower=false \
                  do_tools_perf=true \
                  do_tools_x86=false

  This will fail later with errors like:
    dh_shlibdeps -plinux-headers-4.4.0-15-generic
    arm-linux-gnueabihf-objdump: .../asn1_compiler: File format not recognized
    arm-linux-gnueabihf-objdump: .../extract-cert: File format not recognized

  I have had success with a fix that adds a -l option to dh_shlibdeps as
  per manual pages. (See attached patch)

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