This bug is missing log files that will aid in diagnosing the problem.
>From a terminal window please run:

apport-collect 1564208

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1564208

Title:
  fix for linux_tools when cross-compiling

Status in linux package in Ubuntu:
  Incomplete

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to