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

Bug 26487

Summary: libxmlpp missing libxml++.a in dev-cpp/libxmlpp-0.21/24.0
Product: Gentoo Linux Reporter: Chris Bainbridge (RETIRED) <chrb>
Component: New packagesAssignee: Caleb Tennis (RETIRED) <caleb>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 1.4_rc4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 26443    

Description Chris Bainbridge (RETIRED) gentoo-dev 2003-08-12 08:47:17 UTC
When emerging kmymoney2:  
  
g++ -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -mfpmath=sse -msse -mmmx -O2  
-pipe -fno-exceptions -fno-check-new -fexceptions -o kmymoney2 kstartuplogo.o  
kmymoney2.o main.o kstartuplogo.moc.o kmymoney2.moc.o  
kmymoney2_meta_unload.o  -L/usr/lib /usr/lib/libxml2.so /usr/lib/libxml++.a  
-L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib ./views/libviews.a  
./dialogs/libdialogs.a ./widgets/libwidgets.a ./mymoney/storage/libstorage.a  
./mymoney/libmymoney.a ./converter/libconverter.a /usr/kde/3.1/lib/libkhtml.so  
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3  
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib  
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. -L/usr/i686-pc-linux-gnu/bin  
-L/usr/i686-pc-linux-gnu/lib  
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib /usr/lib/libjpeg.so  
/usr/kde/3.1/lib/libkdeprint.so /usr/kde/3.1/lib/libkparts.so /usr/kde/3.1/lib/libkutils.so  
/usr/kde/3.1/lib/libkio.so /usr/kde/3.1/lib/libkdesu.so -lutil /usr/lib/libfam.so  
/usr/kde/3.1/lib/libkdeui.so /usr/kde/3.1/lib/libkdecore.so /usr/kde/3.1/lib/libDCOP.so  
-ldl -lXinerama /usr/lib/libart_lgpl_2.so /usr/kde/3.1/lib/libkdefx.so -lstdc++ -lXrender  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lc -lgcc_s -lqt-mt -lpng -lz -lm -lXext  
-lX11 -lSM -lICE -lpthread -lresolv -Wl,--rpath -Wl,/usr/kde/3.1/lib -Wl,--rpath  
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3 -Wl,--rpath -Wl,/usr/kde/3.1/lib -Wl,--rpath  
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3 -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--rpath  
-Wl,/usr/X11R6/lib  
g++: /usr/lib/libxml++.a: No such file or directory  
  
List files from libxmlpp:   
$ qpkg -l libxmlpp|grep "/usr/lib/"  
/usr/lib/libxml++-0.1.so.10.0.0  
/usr/lib/libxml++-0.1.so.10 -> libxml++-0.1.so.10.0.0  
/usr/lib/libxml++-0.1.so -> libxml++-0.1.so.10.0.0  
/usr/lib/libxml++-0.1.la  
/usr/lib/libxml++-0.1.a  
 
Kmymoney2 expects the file libxml++.a but as you can see it isn't installed. Verified in 
versions 0.21 and 0.24.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-08-12 11:07:33 UTC
I would suggest un-commenting the two 'dosym' lines in the libxmlpp ebuild.  This should fix 
the problem.  I need to research why they were commented in the first place. 
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2003-08-13 00:11:33 UTC
That fixes the problem, but I've got no idea why those lines were commented. 
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-10-23 12:50:39 UTC
Closing as it now works for reporter.
Comment 4 Chris Bainbridge (RETIRED) gentoo-dev 2003-10-23 13:22:47 UTC
It works for me after I changed my ebuild. Have you actually changed the
ebuild in portage? My 0.24 and 0.25 tree still have the dosym lines commented
out!
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-10-23 13:32:59 UTC
I didn't change the ebuild, mainly because the reason for why it was commented
out in the first place was rather vague.

However, I can't reproduce the problem on my end based on the way the ebuild
is set up.  My thought is that perhaps your system has some cached version
of the way the old ebuild used to be and that's what is causing the confusion
(since no one else has reported the problem either).