Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83794

Summary: libxmlpp-1.0.4 contains wrong pkg-config information
Product: Gentoo Linux Reporter: Dennis Frommknecht <d.frommknecht>
Component: [OLD] LibraryAssignee: Aaron Walker (RETIRED) <ka0ttic>
Status: RESOLVED FIXED    
Severity: major CC: gnome, mr_bones_
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to remove bogus path from pc file
patch to ebuild

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.