Summary: | media-libs/SoQt doesn'T build against media-libs/coin-3.1.3 with forced as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | /var/tmp/portage/media-libs/SoQt-1.5.0/temp/build.log |
Description
Justin Lecher (RETIRED)
2010-06-26 11:16:11 UTC
Created attachment 236627 [details]
/var/tmp/portage/media-libs/SoQt-1.5.0/temp/build.log
build.log
Hmm, strange but unable to reproduce :| Works here, maybe it depends on some coin USE flag? Please reemerge coin and try again (there were some minor changes since 3.1.3 was initially added). Okay I think the problem is that either there is a missing lib or libcoin is missing symbols. From the config log configure:23752: x86_64-pc-linux-gnu-g++ -o conftest -O2 -march=core2 -pipe -fomit-frame-pointer -mssse3 -mcx16 -mmmx -frecord-gcc-switches -g -Wno-deprecated -O2 -march=core2 -pipe -fomit-frame-pointer -mssse3 -mcx16 -mmmx -frecord-gcc-switches -g -Wno-deprecated -I/usr/include/coin -I/usr/include/coin/Inventor/annex -I/usr/include/freetype2 -DUSE_SYSTEM_EXPAT -D_REENTRANT -Wl,-O1,--hash-style=gnu,--sort-common,--as-needed -L/usr/lib64 -Wl,-O1,--hash-style=gnu,--sort-common,--as-needed conftest.cpp -lCoin -lGL -lXext -lSM -lICE -lX11 -lbz2 -lz -lfreetype -lfontconfig -ldl -lpthread >&5nce to `XML_SetUserData' /usr/lib64/libCoin.so: undefined reference to `XML_GetCurrentLineNumber' /usr/lib64/libCoin.so: undefined reference to `XML_ParserFree' /usr/lib64/libCoin.so: undefined reference to `XML_SetElementHandler' /usr/lib64/libCoin.so: undefined reference to `XML_GetCurrentColumnNumber' /usr/lib64/libCoin.so: undefined reference to `XML_SetCharacterDataHandler' /usr/lib64/libCoin.so: undefined reference to `XML_GetErrorCode' /usr/lib64/libCoin.so: undefined reference to `XML_SetProcessingInstructionHandler' /usr/lib64/libCoin.so: undefined reference to `XML_GetBuffer' /usr/lib64/libCoin.so: undefined reference to `XML_ParserCreate' /usr/lib64/libCoin.so: undefined reference to `XML_UseParserAsHandlerArg' /usr/lib64/libCoin.so: undefined reference to `XML_Parse' /usr/lib64/libCoin.so: undefined reference to `XML_ParseBuffer' collect2: ld returned 1 exit status configure:23752: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoQt" | #define PACKAGE_TARNAME "soqt" Expat. surprise, surprise Ok, here's a story. media-libs/coin bundles expat, in 3.1.3 upstream provides --enable-system-expat which... doesn't work. And because they don't provide their .m4 files in tarball (they are available at http://hg.sim.no/simacros/default/file/c9c336b0ae4f/cfg/m4), we cannot easily bootstrap autotools after playing with Makefile.am/configure.ac files to fix this without them. And I'm not going to bother with patching generated files - those two or three (coin, SoQt, quarter) packages are not worth the effort. I've applied workaround which appears to not really work and now I've reverted it to use bundled expat so your linking issue will be gone. As for using system expat, I'm going to wait for next patch release. currently it is fixed. |