icu-config lies about include dir

Bug #1247024 reported by Tobias Leich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
icu (Ubuntu)
Won't Fix
Undecided
Dimitri John Ledkov

Bug Description

The include dir is no longer PREFIX/include, but rather PREFIX/include/x86_64-linux-gnu.

This breaks building parrot, nqp and rakudo (Perl6) from source. And I guess other source builds which rely on libicu are also affected.

A patch how icu-config should look like is attached, but I dunno if this is a generated file.

Tags: patch
Revision history for this message
Tobias Leich (cppege430-e079f-9ei9nyjpw) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "icu-config.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

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

Please stop using icu-config, instead use provided pkg-config files.

Icu has transitioned to be multiarch, and thus one can have i686, amd64, armhf etc libicu-dev's co-installed and icu-config is not flexible enough to tell one which one should be used.

pkg-config on the other hand can resolve it.

Furthermore, one doesn't need to add /usr/include/$(tripplet) cflags / search directories as they are default in the compiler.

icu-config cannot encode any single architecture.

Changed in icu (Ubuntu):
assignee: nobody → Dmitrijs Ledkovs (xnox)
status: New → Won't Fix
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Please help affected projects to check pkg-config first for icu, and only if not available fall back to icu-config.

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.