Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253189 - media-gfx/splashutils-1.5.4.3 fails to build without -j1
Summary: media-gfx/splashutils-1.5.4.3 fails to build without -j1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 21:13 UTC by Tobias Heinlein (RETIRED)
Modified: 2009-01-02 22:07 UTC (History)
0 users

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


Attachments
A patch to fix the concurrent make problem. (splashutils-makefile.patch,865 bytes, patch)
2009-01-01 22:48 UTC, Michal Januszewski (RETIRED)
Details | Diff
build.log after applying the patch. (build.log,14.69 KB, text/plain)
2009-01-02 00:51 UTC, Tobias Heinlein (RETIRED)
Details
Updated patch to fix the dependencies in the Makefile. (splashutils-1.5.4.3-makefile.patch,1.23 KB, patch)
2009-01-02 19:41 UTC, Michal Januszewski (RETIRED)
Details | Diff
A patch for the splashutils ebuild. (splashutils-1.5.4.3.ebuild.diff,933 bytes, patch)
2009-01-02 19:42 UTC, Michal Januszewski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Heinlein (RETIRED) gentoo-dev 2008-12-30 21:13:49 UTC
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".
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2009-01-01 22:48:44 UTC
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?
Comment 2 Tobias Heinlein (RETIRED) gentoo-dev 2009-01-02 00:51:26 UTC
Created attachment 177046 [details]
build.log after applying the patch.
Comment 3 Tobias Heinlein (RETIRED) gentoo-dev 2009-01-02 00:52:01 UTC
Well, it doesn't quite fix the issue, but I get a different output now. See attachment.
Comment 4 Tobias Heinlein (RETIRED) gentoo-dev 2009-01-02 00:54:10 UTC
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.)
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2009-01-02 19:41:02 UTC
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.
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2009-01-02 19:42:06 UTC
Created attachment 177135 [details, diff]
A patch for the splashutils ebuild.

Please apply this diff to the ebuild to use the previously uploaded patch.
Comment 7 Tobias Heinlein (RETIRED) gentoo-dev 2009-01-02 20:19:22 UTC
Yes, that fixes it. Good work. :)
Comment 8 Michal Januszewski (RETIRED) gentoo-dev 2009-01-02 22:07:27 UTC
Thanks :) The fix is now included in CVS.