Created attachment 408478 [details] sys-power/suspend-1.0_p20150622 build fail sys-power/suspend-1.0_p20150622 fails to build. ~~~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../lib/libfbsplashrender.a(libfbsplashrender_la-image.o):(.text+0xd92): more undefined references to `config' follow collect2: error: ld returned 1 exit status Makefile:819: recipe for target 'resume' failed make[2]: *** [resume] Error 1 make[2]: *** Waiting for unfinished jobs.... /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: libsuspend-common.a(fbsplash_funcs.o): undefined reference to symbol 'fbsplash_is_silent' /lib/libfbsplash.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:827: recipe for target 's2disk' failed ~~~~~~~~~ Attaching full build log.
This bug concerns only fbsplash builds, I'll look at it.
Created attachment 408694 [details, diff] suspend-1.0_p20150622-pkgconfig-static.patch Use pkg-config --static for libsplashrender queries.
This issue is a combination of multiple bugs: 1. media-gfx/splashutils provides incomplete list of libraries for static linking. See bug 408283. 2. media-gfx/splashutils contains bogus entry in the list of static libraries. See bug 557126. 3. suspend asks splashutils for a list of dynamic libs instead of static. This is fixed in the patch above. In order to get suspend build with splashutils one needs to apply all patches referenced above, update splashutils and then update/rebuild suspend. Alternatively one may fetch updated splashutils and suspend from my dev overlay (or add it via layman): https://gitweb.gentoo.org/dev/bircoph.git After bugs 408283, 557126 will get fixed, I'll push updated suspend to the tree as well (splashutils is maintained by another person, so I can't fix it myself right now).
(In reply to Andrew Savchenko from comment #3) > Alternatively one may fetch updated splashutils and suspend from my dev > overlay (or add it via layman): > https://gitweb.gentoo.org/dev/bircoph.git Thanks! Using your splashutils-eBuild and the patch for suspend makes suspend compiling again :)
In git.
Sorry for the delay.... I sync'ed this morning and got the media-gfx/splashutils-1.5.4.4-r6 sys-power/suspend-1.0_p20150810 versions of suspend and fbsplash. Everything compiles / installs perfect now. THANK YOU! M.