fix for linux_tools when cross-compiling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned | ||
Xenial |
Fix Committed
|
Undecided
|
Unassigned |
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:
This will fail later with errors like:
dh_shlibdeps -plinux-
arm-linux-
arm-linux-
I have had success with a fix that adds a -l option to dh_shlibdeps as per manual pages. (See attached patch)
tags: | added: patch |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
assignee: | Tim Gardner (timg-tpi) → nobody |
Changed in linux (Ubuntu Xenial): | |
assignee: | Tim Gardner (timg-tpi) → nobody |
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.