Summary: | dev-cpp/muParser-1.25 fails to build. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik Zeek <zeekec> |
Component: | New packages | Assignee: | Caleb Tennis (RETIRED) <caleb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Erik Zeek
2006-02-10 09:03:02 UTC
I can't recreate this, it seems. It's a race condition with: MAKEOPTS="-j2". It hasn't finished building the library before it tries to link against it. I can build it with MAKEOPTS="-j1", and then I can reemerge the ebuild with MAKEOPTS="-j2". In fact, I had to unmerge muParser _and_ remove the temporary directory to get it to fail again. If you look below you'll see that the final error message is slightly different. The symlinking hasn't completed before the example is linked. I think that is the cause of the problem. ./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserError.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC -O2 ./src/muParserError.cpp ./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserCallback.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC -O2 ./src/muParserCallback.cpp ./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserBase.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC -O2 ./src/muParserBase.cpp ./bk-deps i686-pc-linux-gnu-g++ -c -o example1_Example1.o -DNDEBUG -I./include -O2 ./samples/example1/Example1.cpp i686-pc-linux-gnu-g++ -shared -fPIC -o lib/libmuparser.so.0.0.0 muParser_dll_muParserBytecode.o muParser_dll_muParserTest.o muParser_dll_muParser.o muParser_dll_muParserDLL.o muParser_dll_muParserInt.o muParser_dll_muParserTokenReader.o muParser_dll_muParserError.o muParser_dll_muParserCallback.o muParser_dll_muParserBase.o -Wl,-soname,libmuparser.so.0 i686-pc-linux-gnu-g++ -o samples/example1/example1 example1_Example1.o -Llib -L./lib -lmuparser /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lmuparser collect2: ld returned 1 exit status make: *** [samples/example1/example1] Error 1 make: *** Waiting for unfinished jobs.... (cd lib/; rm -f libmuparser.so libmuparser.so.0; ln -s libmuparser.so.0.0.0 libmuparser.so.0; ln -s libmuparser.so.0 libmuparser.so) !!! ERROR: dev-cpp/muParser-1.25 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Gotcha. I added a -j1 force to the ebuild. That did it, thanks. |