Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484338 - media-gfx/splashutils-1.5.4.4-r1 USE=gpm - linking fbcondecor_helper: ld: cannot find -lgpm
Summary: media-gfx/splashutils-1.5.4.4-r1 USE=gpm - linking fbcondecor_helper: ld: can...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Asaf Gery
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 13:25 UTC by Francisco Ares
Modified: 2014-01-01 15:34 UTC (History)
2 users (show)

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


Attachments
ebuild environment (environment,111.84 KB, text/plain)
2013-09-09 13:25 UTC, Francisco Ares
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Ares 2013-09-09 13:25:48 UTC
Created attachment 358374 [details]
ebuild environment

All of a sudden, previously built splashutils using "gpm" use flag, interrupts a new build.

Using the information from equery g splashutils , I have successfuly re-emerged all first-level dependencies, including sys-libs/gpm , but that did not affect described results.


# USE="gpm" emerge -vD splashutils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-gfx/splashutils-1.5.4.4-r1  USE="fbcondecor gpm* mng png truetype -hardened" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-gfx/splashutils-1.5.4.4-r1


 * splashutils-lite-1.5.4.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                  [ ok ]
 * splashutils-gentoo-1.0.17.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                 [ ok ]
 * miscsplashutils-0.1.8.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                     [ ok ]
 * libpng-1.4.3.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                              [ ok ]
 * jpegsrc.v8a.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                [ ok ]
 * freetype-2.3.12.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                           [ ok ]
 * zlib-1.2.3.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking splashutils-lite-1.5.4.4.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking splashutils-gentoo-1.0.17.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking miscsplashutils-0.1.8.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking libpng-1.4.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking jpegsrc.v8a.tar.gz to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking freetype-2.3.12.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking zlib-1.2.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Source unpacked in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Preparing source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4 ...
 * Applying splashutils-1.5.4.4-gentoo-typo-fix.patch ...                                                                 [ ok ]
 * Applying splashutils-1.5.4.4-freetype-bz2.patch ...                                                                    [ ok ]
 * Applying splashutils-1.5.4.4-bzip2.patch ...                                                                           [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4' ...
 * Running libtoolize --install --copy --force --automake ...                                                             [ ok ]
 * Running aclocal -I m4 ...                                                                                              [ ok ]
 * Running autoconf ...                                                                                                   [ ok ]
 * Running autoheader ...                                                                                                 [ ok ]
 * Running automake --add-missing --copy ...                                                                              [ ok ]
 * Running elibtoolize in: splashutils-1.5.4.4/libs/freetype-2.3.12/builds/unix/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/jpeg-8a/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/libpng-1.4.3/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4 ...
make -j3 CC=x86_64-pc-linux-gnu-gcc LIB=lib64 STRIP=true 
...

...
  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
daemon.c: In function ‘daemon_start’:
daemon.c:652:7: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:476:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
  LD      fbcondecor_helper
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgpm
collect2: ld returned 1 exit status
make[4]: *** [fbsplashctl] 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
emake failed
 * ERROR: media-gfx/splashutils-1.5.4.4-r1 failed (compile phase):
 *   failed to build splashutils
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 3043:  Called die
 * The specific snippet of code:
 *       emake CC="${CC}" STRIP="true" || die "failed to build splashutils";
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/splashutils-1.5.4.4-r1'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/splashutils-1.5.4.4-r1'`.
 * The complete build log is located at '/var/log/portage/media-gfx:splashutils-1.5.4.4-r1:20130909-130548.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4'
 * S: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4'



The environment, as the log states, in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/temp/environment  follows attached.


Issuing the following command, everything goes fine:

# USE="-gpm" emerge -vD splashutils



Thanks
Francisco
Comment 1 Sean McGovern 2013-09-09 14:25:41 UTC
Are you using multilib, or is your system 64-bit only?

I'm wondering if maybe gpm was only built 32-bit on your system.
Comment 2 Andrei Slavoiu 2013-09-10 11:17:38 UTC
More like splashutils should depend on sys-libs/gpm[static-libs] instead of just sys-libs/gpm?
Comment 3 Francisco Ares 2013-09-10 12:08:32 UTC
(In reply to Sean McGovern from comment #1)
> Are you using multilib, or is your system 64-bit only?
> 
> I'm wondering if maybe gpm was only built 32-bit on your system.


Sorry, should have added the profile:


    default/linux/amd64/13.0/no-multilib

Thanks
Comment 4 Francisco Ares 2013-09-10 12:15:21 UTC
(In reply to Andrei Slavoiu from comment #2)
> More like splashutils should depend on sys-libs/gpm[static-libs] instead of
> just sys-libs/gpm?


It works!  So:

- this works:
USE="-gpm" emerge splashutils

- this don't:
USE="-static-libs gpm" emerge gpm splashutils

- but this works again:
USE="static-libs gpm" emerge gpm splashutils

Thanks!
Francisco
Comment 5 Sergio 2013-10-27 21:32:27 UTC
(In reply to Andrei Slavoiu from comment #2)
> More like splashutils should depend on sys-libs/gpm[static-libs] instead of
> just sys-libs/gpm?

Confirm.

I had the same problem and this works:
# echo "sys-libs/gpm static-libs" >> /etc/portage/package.use

Regards,
HUjuice
Comment 6 Eric Siegel 2013-11-02 03:55:19 UTC
(In reply to Andrei Slavoiu from comment #2)
> More like splashutils should depend on sys-libs/gpm[static-libs] instead of
> just sys-libs/gpm?

I had this issue and "sys-libs/gpm static-libs" was solution for me :-)
Comment 7 Oliver Freyermuth 2014-01-01 15:24:52 UTC
(In reply to Andrei Slavoiu from comment #2)
> More like splashutils should depend on sys-libs/gpm[static-libs] instead of
> just sys-libs/gpm?

I can also confirm that, would be nice to have the dependency fixed.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2014-01-01 15:34:56 UTC
Should be fixed in -r1. This bug has already been fixed in >=-r2

Thanks for reporting