Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556954 - sys-power/suspend-1.0_p20150622 with USE="fbsplash": fbsplash_funcs.c:(.text+0x19): undefined reference to `fbsplash_lib_init'
Summary: sys-power/suspend-1.0_p20150622 with USE="fbsplash": fbsplash_funcs.c:(.text+...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
Depends on: 408283 557126
Blocks: 442106 442826 531372
  Show dependency tree
Reported: 2015-08-07 13:28 UTC by Matt
Modified: 2015-08-13 13:26 UTC (History)
2 users (show)

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

sys-power/suspend-1.0_p20150622 build fail (sys-power:suspend-1.0_p20150622:20150807-132235.log,30.74 KB, text/plain)
2015-08-07 13:28 UTC, Matt
suspend-1.0_p20150622-pkgconfig-static.patch (suspend-1.0_p20150622-pkgconfig-static.patch,963 bytes, patch)
2015-08-09 22:56 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2015-08-07 13:28:52 UTC
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/ 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.
Comment 1 Andrew Savchenko gentoo-dev 2015-08-07 16:45:14 UTC
This bug concerns only fbsplash builds, I'll look at it.
Comment 2 Andrew Savchenko gentoo-dev 2015-08-09 22:56:48 UTC
Created attachment 408694 [details, diff]

Use pkg-config --static for libsplashrender queries.
Comment 3 Andrew Savchenko gentoo-dev 2015-08-09 23:05:19 UTC
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):

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).
Comment 4 Conrad Kostecki gentoo-dev 2015-08-12 14:52:32 UTC
(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):

Using your splashutils-eBuild and the patch for suspend makes suspend compiling again :)
Comment 5 Andrew Savchenko gentoo-dev 2015-08-13 08:46:20 UTC
In git.
Comment 6 Matt 2015-08-13 13:26:45 UTC
Sorry for the delay....

I sync'ed this morning and got the 


versions of suspend and fbsplash.  Everything compiles / installs perfect now.