libsemanage: Add crossbuild support

Bug #1103271 reported by Wookey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libsemanage (Ubuntu)
Fix Released
Undecided
Dimitri John Ledkov

Bug Description

libsemanage has no cross-build support. It builds for the wrong arch and fails to find libraries in multiarch directories.

This patch makes it use the HOST arch compiler and linker and multiarch libary paths, and also fixes an issue with the package not running make clean properly. I have a separate patch adding build-profile information which cannot be uploaded yet.

Revision history for this message
Wookey (wookey) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "libsemanage-2.1.6-6ubuntu1-crossbuild.patch" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I am so sorry about duplicate work, but I think I have mostly uploaded this to raring already.

libsemanage (2.1.6-6ubuntu1) raring; urgency=low

  * Add a DEB_STAGE=1 build variant that skips ruby & python bindings.
  * Fix FTBFS with multiarched python2.7.
 -- Dmitrijs Ledkovs <email address hidden> Tue, 08 Jan 2013 22:41:24 +0000

I see that this has been done in a slightly different way, so I need to double check if there is anything missing from the proposed (wookey's) patch.

Thanks for pushing this though.

Changed in libsemanage (Ubuntu):
assignee: nobody → Dmitrijs Ledkovs (xnox)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

applied in debian and synced into ubuntu. if there are any cross-building bugs, they should be reported in debian.

Changed in libsemanage (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.