Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247082 - dev-libs/xalan-c: fails with --as-needed
Summary: dev-libs/xalan-c: fails with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-11-16 15:54 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-07-27 00:13 UTC (History)
2 users (show)

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


Attachments
Build log (dev-libs:xalan-c-1.11.0_pre705082:20081116-154723.log,20.07 KB, text/plain)
2008-11-16 15:55 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-16 15:54:38 UTC
I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details).

Check the attached build log.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-16 15:55:16 UTC
Created attachment 171988 [details]
Build log
Comment 2 Patrizio Bassi 2008-11-22 15:28:20 UTC
and even without forced bug LDFLAGS only...

amd64 


x86_64-pc-linux-gnu-g++ -DLINUX -fPIC -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -pthread   -DXALAN_INMEM_MSG_LOADER   \                     
         -lm  -lpthread  -L/usr/include/xercesc/lib -lxerces-c ../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator                                                                                       
../../../../obj/MsgFileOutputStream.o: In function `xalanc_1_10::MsgFileOutputStream::writeAsASCII(unsigned short const*, unsigned long)':                                              
MsgFileOutputStream.cpp:(.text+0x1ac): undefined reference to `xercesc_3_0::XMLPlatformUtils::fgMemoryManager'                                                                          
MsgFileOutputStream.cpp:(.text+0x1b8): undefined reference to `xercesc_3_0::XMLString::transcode(unsigned short const*, xercesc_3_0::MemoryManager*)'                                   
MsgFileOutputStream.cpp:(.text+0x1d9): undefined reference to `xercesc_3_0::XMLString::release(char**, xercesc_3_0::MemoryManager*)'                                                    
../../../../obj/MsgFileOutputStream.o: In function `xalanc_1_10::MsgFileOutputStream::write(char const*, unsigned long)':                                                               
MsgFileOutputStream.cpp:(.text+0x24c): undefined reference to `xercesc_3_0::XMLPlatformUtils::fgMemoryManager'                                                                          
MsgFileOutputStream.cpp:(.text+0x258): undefined reference to `xercesc_3_0::XMLString::transcode(char const*, xercesc_3_0::MemoryManager*)'                                             
                                                                                                                            
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator'                                                
make[2]: *** [../../../bin/MsgCreator] Error 2                                                                                                                                          
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'                                                           
make[1]: *** [locale] Error 2                                                                                                                                                           
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc'                                                                 
make: *** [all] Error 2                                                                                                                                                                 
 *                                                                                                                                                                                      
 * ERROR: dev-libs/xalan-c-1.11.0_pre705082 failed.                                                                                                                                     
 * Call stack:                                                                                                                                                                          
 *               ebuild.sh, line   49:  Called src_compile                                                                                                                              
 *             environment, line 2473:  Called die                                                                                                                                      
 * The specific snippet of code:
 *       emake -j1 || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/temp/build.log'.
 * The ebuild environment file is located at '/mnt/Dati/Gentoo/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/temp/environment'.
 *

Comment 3 Patrizio Bassi 2009-02-07 12:42:07 UTC
ping!
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2009-02-08 16:36:29 UTC
(In reply to comment #3)
> ping!
> 

Comments like this are not helpful.  We can see that the bug is still open and will resolve it as time allows.
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2009-07-27 00:13:56 UTC
fixed in latest version bump.