Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83794 - libxmlpp-1.0.4 contains wrong pkg-config information
Summary: libxmlpp-1.0.4 contains wrong pkg-config information
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 03:04 UTC by Dennis Frommknecht
Modified: 2005-04-24 12:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to remove bogus path from pc file (libxmlpp-1.0.4-pc.patch,323 bytes, text/plain)
2005-03-06 21:51 UTC, Mr. Bones. (RETIRED)
Details
patch to ebuild (libxmlpp-1.0.4.ebuild.patch,1.25 KB, text/plain)
2005-03-06 21:52 UTC, Mr. Bones. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Frommknecht 2005-03-02 03:04:04 UTC
When compiling applications that are using libxmlpp and get their flags from pgk-cpnfig (wormux in my case), then the build fails.
The problem is the file /usr/lib/pkgconfig/libxml++-1.0.pc
The line 
  Cflags: -I${includedir}/libxml++-1.0 -I${libdir}/libxml++-1.0/include
should read
  Cflags: -I${includedir}/libxml++-1.0
as the last directory does not exist and g++ complains about that missing directory.


Reproducible: Always
Steps to Reproduce:
1.using "pkg-config libxml++-1.0 --cflags" with g++
2.
3.

Actual Results:  
g++ complains about missing directory
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-03-06 21:51:41 UTC
Created attachment 52827 [details]
patch to remove bogus path from pc file

This patch should fix it up.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-03-06 21:52:30 UTC
Created attachment 52828 [details]
patch to ebuild

... and this patch against the 1.0.4 ebuild uses it.
Comment 3 Eric Shattow 2005-03-10 19:48:49 UTC
In cvs. thanks for the submissions.
Comment 4 foser (RETIRED) gentoo-dev 2005-03-11 10:33:14 UTC
like i said to mr_bones on irc, this applies not just to the 1.0.4 slot, but all slots. Please fix it all the way (& more importantly, also get the fix upstream).
Comment 5 Aaron Walker (RETIRED) gentoo-dev 2005-04-23 11:55:14 UTC
Mr_Bones_ I've removed your patch from portage.  All ebuilds now call dosed in src_install to fix the pkgconfig file.  A bug has been lodged upstream[1].

[1] http://bugzilla.gnome.org/show_bug.cgi?id=301727
Comment 6 Aaron Walker (RETIRED) gentoo-dev 2005-04-24 12:48:16 UTC
Fixed upstream.