When I try to emerge the splashutils package I got these errors: * ERROR: media-gfx/splashutils-1.5.4.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2189: Called die * The specific snippet of code: * emake -j1 KLCC="${CC}" CC="${CC}" || die "failed to build splashutils"; * The die message: * failed to build splashutils from the log make --silent all-recursive Making all in libs CONF libjpeg.a MAKE libjpeg.a CONF libz.a MAKE zlib.a CONF libpng.a MAKE libpng.a CONF libfreetype.a configure: WARNING: fcntl.h: present but cannot be compiled configure: WARNING: fcntl.h: check for missing prerequisite headers? configure: WARNING: fcntl.h: see the Autoconf documentation configure: WARNING: fcntl.h: section "Present But Cannot Be Compiled" configure: WARNING: fcntl.h: proceeding with the preprocessor's result configure: WARNING: fcntl.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to freetype@nongnu.org ## configure: WARNING: ## ---------------------------------- ## configure: WARNING: zlib.h: present but cannot be compiled configure: WARNING: zlib.h: check for missing prerequisite headers? configure: WARNING: zlib.h: see the Autoconf documentation configure: WARNING: zlib.h: section "Present But Cannot Be Compiled" configure: WARNING: zlib.h: proceeding with the preprocessor's result configure: WARNING: zlib.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to freetype@nongnu.org ## configure: WARNING: ## ---------------------------------- ## configure: WARNING: dlfcn.h: present but cannot be compiled configure: WARNING: dlfcn.h: check for missing prerequisite headers? configure: WARNING: dlfcn.h: see the Autoconf documentation configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled" configure: WARNING: dlfcn.h: proceeding with the preprocessor's result configure: WARNING: dlfcn.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to freetype@nongnu.org ## configure: WARNING: ## ---------------------------------- ## MAKE libfreetype.a Making all in src CREATE fbsplash.h Making all in . 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 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 daemon_cmd.c: In function ‘cmd_log’: daemon_cmd.c:346: warning: incompatible implicit declaration of built-in function ‘strndup’ daemon_cmd.c:348: warning: incompatible implicit declaration of built-in function ‘strndup’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgpm collect2: ld returned 1 exit status make[4]: *** [fbsplashctl] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 bruno bruno # emerge --info Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5 Timestamp of tree: Sun, 04 Jan 2009 18:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US pt_BR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amd64 ao apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb dvd dvdr dvdread eds emboss encode esd evo fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog java java6 javascript jpeg ldap libnotify mad midi mikmod mmx mozilla mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl php png ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xfce xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US pt_BR" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: > cannot find -lgpm Try: emerge -1 gpm
(In reply to comment #1) > (In reply to comment #0) > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: > > cannot find -lgpm > > Try: > emerge -1 gpm > Sorry about take too long to answer, I'm not in my computer right now, I'll answer this tonight, thanks
(In reply to comment #1) > (In reply to comment #0) > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: > > cannot find -lgpm > > Try: > emerge -1 gpm > It worked, but the gpm was installed previously
I have approximately the same problem but emerge -1 gpm does not work for me: marius-gentoo marius # emerge --info '=media-gfx/splashutils-1.5.4.4-r1::gentoo' Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2 KiB Mem: 8073288 total, 3097324 free KiB Swap: 4194300 total, 4194300 free Timestamp of tree: Tue, 29 Oct 2013 00:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r3, 3.2.5-r3 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/ http://gentoo.mneisen.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv ipv6 ipv6pam jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON marius-gentoo marius # emerge -pqv '=media-gfx/splashutils-1.5.4.4-r1::gentoo' [ebuild N ] media-gfx/splashutils-1.5.4.4-r1 USE="gpm mng png truetype -fbcondecor -hardened" marius-gentoo marius # cat /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/temp/build.log * Package: media-gfx/splashutils-1.5.4.4-r1 * Repository: gentoo * Maintainer: asaf.gery@gmail.com proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc gpm kernel_linux mng multilib png policykit truetype userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> 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 ... make --silent all-recursive Making all in libs CONF libz.a CONF libjpeg.a CONF libfreetype.a MAKE zlib.a CONF libpng.a MAKE libpng.a MAKE libfreetype.a MAKE libjpeg.a /usr/bin/ld: warning: cannot find entry symbol main; defaulting to 0000000000400200 Making all in src CREATE fbsplash.h Making all in . libfbsplash.c: In function 'fbsplash_send': 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] LD fbcondecor_helper /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgpm collect2: error: 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::gentoo failed (compile phase): * failed to build splashutils * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3121: 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::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/splashutils-1.5.4.4-r1::gentoo'`. * The complete 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' Maybe somebody can help me because I haven't found a solution so far.
Newer revisions have gpm related fixes, can you check out the latest one? 1.5.4.4-r4