doesn't look in correct directory for multiarch includes

Bug #775054 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
klibc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

-I/usr/lib/klibc/include/x86_64-linux-gnu -I/usr/lib/klibc/include/arch/x86_64 -I/usr/lib/klibc/include/bits64 -I/usr/lib/klibc/include

The latest upload should have fixed that, in the patch header it reads
"Description: Include the multiarch include directory in klcc's path
 The multiarch include directory, /usr/include/<triplet>, needs to be
 explicitly added to klcc's path; without this, klcc is incompatible
 with recent Ubuntu versions of linux-libc-dev and fails to find any asm/
 headers."

Yet, the actual include is:

-I/usr/lib/klibc/include/x86_64-linux-gnu

instead of

-I/usr/include/x86_64-linux-gnu
.

Related branches

Revision history for this message
Andreas Moog (ampelbein) wrote :

The attached branch fixes that issue by hardcoding '/usr' instead of using $prefix.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package klibc - 1.5.20-1ubuntu7

---------------
klibc (1.5.20-1ubuntu7) oneiric; urgency=low

  * debian/patches/multiarch-include-path: append -I/usr/include/<triplet>
    instead of -I/usr/lib/klibc/include/<triplet> (LP: #775054)
 -- Andreas Moog <email address hidden> Sun, 01 May 2011 20:30:30 +0200

Changed in klibc (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.