See summary. Build log: MAKE libfreetype.a Making all in src CREATE fbsplash.h Making all in . In file included from common.h:4, from mng_render.c:17: ../config.h:48:1: warning: "HAVE_STDLIB_H" redefined In file included from /usr/include/jpeglib.h:28, from /usr/include/libmng_types.h:197, from /usr/include/libmng.h:386, from mng_render.c:15: /usr/include/jconfig.h:12:1: warning: this is the location of the previous definition In file included from common.h:4, from mng_callbacks.c:15: ../config.h:48:1: warning: "HAVE_STDLIB_H" redefined In file included from /usr/include/jpeglib.h:28, from /usr/include/libmng_types.h:197, from /usr/include/libmng.h:386, from mng_callbacks.c:12: /usr/include/jconfig.h:12:1: warning: this is the location of the previous definition CC fbcondecor_helper-kernel.o CC fbcondecor_helper-libfbsplash.o CC fbcondecor_helper-libfbsplashrender.o CC fbcondecor_helper-fbcon_decor.o CC fbcondecor_helper-common.o CC fbcondecor_helper-parse.o CC fbcondecor_helper-list.o CC fbcondecor_helper-render.o CC fbcondecor_helper-image.o CC fbcondecor_helper-effects.o CC fbcondecor_helper-ttf.o CREATE libfbsplash.pc CREATE libfbsplashrender.pc LD fbcondecor_helper /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfbsplash collect2: ld returned 1 exit status make[4]: *** [libfbsplashrender.la] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 * * ERROR: media-gfx/splashutils-1.5.4.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2207: Called die * The specific snippet of code: * emake KLCC="${CC}" CC="${CC}" STRIP="true" || die "failed to build splashutils"; * The die message: * failed to build splashutils It works when I set MAKEOPTS to "-j1".
Created attachment 177036 [details, diff] A patch to fix the concurrent make problem. Could you please check whether the attached patch fixes the problem or changes it in any way?
Created attachment 177046 [details] build.log after applying the patch.
Well, it doesn't quite fix the issue, but I get a different output now. See attachment.
By the way, you should be able to reproduce it by unmerging splashutils first. (If it's already installed, it works because it finds the lib. That's probably also why nobody encounters this bug, because upgrading works without problems when e.g. 1.5.4.2 is already present.)
Created attachment 177133 [details, diff] Updated patch to fix the dependencies in the Makefile. Here's an updated version of the patch. I was unable to reproduce the problem even after uninstalling splashutils, but I think I figured out the missing dependency.
Created attachment 177135 [details, diff] A patch for the splashutils ebuild. Please apply this diff to the ebuild to use the previously uploaded patch.
Yes, that fixes it. Good work. :)
Thanks :) The fix is now included in CVS.