LD fbcondecor_helper /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libmng.a(libmng_cms.o): In function `mnglcms_createsrgbprofile': /var/tmp/portage/media-libs/libmng-2.0.2-r1/work/libmng-2.0.2/libmng_cms.c:160: undefined reference to `cmsFreeToneCurve' /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libmng.a(libmng_cms.o): In function `mng_init_full_cms': /var/tmp/portage/media-libs/libmng-2.0.2-r1/work/libmng-2.0.2/libmng_cms.c:404: undefined reference to `cmsFreeToneCurve' collect2: error: ld returned 1 exit status Makefile:983: recipe for target 'fbsplashctl' failed make[4]: *** [fbsplashctl] Error 1 Makefile:1466: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 Makefile:681: recipe for target 'all' failed make[2]: *** [all] Error 2 Makefile:431: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:361: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: media-gfx/splashutils-1.5.4.4-r4::gentoo failed (compile phase): * emake failed Reproducible: Always It looks like splashutils ignores pkgconfig libs and doesn't link with -llcms2 Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.18-r1, 3.13.0-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.13.0-gentoo-r1-x86_64-AMD_Phenom-tm-_9350e_Quad-Core_Processor-with-gentoo-2.2 KiB Mem: 4044252 total, 1102484 free KiB Swap: 7467132 total, 6715980 free Timestamp of tree: Tue, 28 Jan 2014 20:45:01 +0000 ld GNU ld (GNU Binutils) 2.24 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45-r1 dev-lang/python: 2.7.6, 3.3.3 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.1-r4 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 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, 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.18-r1 Repositories: gentoo local sunrise Installed sets: @games, @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -ggdb -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -ggdb -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nostrip parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://distfiles.gentoo.org" LANG="ro_RO.UTF-8" LC_ALL="C" LDFLAGS="-Wl,-O1,--as-needed,--sort-common" MAKEOPTS="-j5 -l10" 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="/usr/local/portage /var/lib/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3ds 7zip X a52 aac aacplus aalib accessibility acl acpi aesicm agg aiglx akonadi alsa amd64 amr amrnb amrwb analitza apache2 asf aspell audiofile autotrace avahi bash-completion berkdb bittorrent bonjour branding bzip2 cairo calendar canusb caps captury ccache cdda cddb cdinstall cdparanoia cdr chdir cisco city clamav cli cmake consolekit crypt css curl cxx dba dbus declarative desktopglobe dga dmi doc dot dpms dri dts dv dvd dvdr ebook egl emboss encode erandom examples exif expat faac faad fam fbcon fbcondecor festival ffmpeg fftw firefox flac flash fontconfig fortran ftp g3dvl gbm gcrypt gd gdbm geoip gif git gles gles1 gles2 glew glib glibc-omitfp glut gmp gnokii gnutls gpm graphviz gsm gstreamer handbook hbci hddtemp highlight hou htmlhandbook iconv icu id3tag idn imagemagick imlib inotify iodbc ipv6 jadetex javascript jingle jpeg jpeg2k justify kde kdehiddenvisibility kdenlive kdepim kdevplatform kerberos kig-scripting kipi kvm lame lcms ldap libatomic libcaca libclamav libffi libgcrypt libnotify libsamplerate libssh2 libwww live llvm llvm-shared-libs lm_sensors lto lua lzma lzo mad maildir matroska mbrola mdnsresponder-compat melt metalink metric midi mikmod minizip mjpeg mmap mmx mmxext mng mod modules mp3 mp4 mpeg mplayer mppe-mppc mpx multilib multimedia musepack musicbrainz mysql ncurses netlink nettle network nicrealtek nls nodrm nowin nptl nss odbc offensive ofx ogg okteta openal opencl opencore-amr openexr opengl openmp openvg opus osmesa pam pango passwdqc pcap pch pcntl pcre pdf pgo phonon php physfs plasma plugins png policykit portage posix postscript povray ppds prison private-headers pth python3 qalculate qemu-ifup qt3support qt4 qthelp quicktime r600-llvm-compiler rar rdesktop readline reiserfs reports rss rtc rtmp samba sasl schroedinger script sdk sdl semantic-desktop session slang sms sockets sou sound sox speex spell spice sql sqlite sqlite3 srtp sse sse2 sse3 ssl startup-notification subversion svg symlink syslog systeminfo systemtap sysvipc taglib tcpd telepathy texture-float theora threads thumbnail tidy tiff timidity truetype tunepimp udev udisks unicode unwind upcall upnp upower usb vaapi valgrind vdpau vhook video videos visibility visualization vnc voice vorbis vpx webkit webp wifi x264 xattr xcb xcomposite xinerama xlib-xcb xml xml2 xmlpatterns xmlrpc xmp xpm xrandr xsl xv xvfb xvid xvmc yahoo zeroconf zip zlib zvbi" ABI_X86="64 32" 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="garmin" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ro en eo" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600 vesa modesetting" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= media-gfx/splashutils-1.5.4.4-r4 was built with the following: USE="fbcondecor gpm mng png truetype -hardened" media-libs/libmng-2.0.2-r1 was built with the following: USE="lcms static-libs" ABI_X86="32 64 -x32"
Created attachment 369038 [details] build.log
...and the version of media-libs/lcms:2 ?
2.5-r1
I've got this exact same issue on my ~amd64 laptop. The issue started several days ago after updates to app-emulation/emul-linux-x86-baselibs triggered emerge @preserved-rebuild. There were several updates to it over the course of the past week. Each time splashutils was drawn into the rebuild queue and each time it fails with the same error. I was only able to get it to successfully install by emerging with USE="-mng". I hope this helps.
It looks like libmng-2 is built with -llcms2 while splashutils is adding -llcms
Created attachment 369628 [details, diff] patch for -llcms2 Check if this patch is correct.
(In reply to Andrea Grazioli from comment #6) > Created attachment 369628 [details, diff] [details, diff] > patch for -llcms2 > > Check if this patch is correct. With the Patch [ebuild R ] media-gfx/splashutils-1.5.4.4-r4 USE="fbcondecor gpm mng png truetype -hardened" [ebuild R ] media-libs/lcms-2.5-r1 USE="jpeg static-libs tiff zlib -doc {-test}" builds fine Thank you :)
(In reply to josef.95 from comment #7) supplement with [ebuild R ] media-libs/libmng-2.0.2-r1:0/2 USE="lcms static-libs"
Created attachment 370048 [details] modified ebuild uploaded modified ebuild for splashutils that utilizes posted patch
*** Bug 501140 has been marked as a duplicate of this bug. ***
Still not fixed in the main repository of portage. Would be nice if we could get this patched there. :)
I’m sorry, I confused two bugs. Ignore my last comment.
Now I checked, and it’s still not in Portage for real. (Bug #506124 threw me off.) I still get: LD fbcondecor_helper /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libmng.a(libmng_cms.o): In function `mnglcms_createsrgbprofile': (.text+0x17a): undefined reference to `cmsFreeToneCurve' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libmng.a(libmng_cms.o): In function `mng_init_full_cms': (.text+0x701): undefined reference to `cmsFreeToneCurve' collect2: error: ld returned 1 exit status *With* the patch and the new ebuild (merged with the one from bug #501624) it works.
Oops, the patch doesn’t *actually* work (anymore). Now I get LD fbcondecor_helper /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llcms2 collect2: error: ld returned 1 exit status
(In reply to Navid Zamani from comment #14) > Oops, the patch doesn’t *actually* work (anymore). > > Now I get > > LD fbcondecor_helper > /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ > ld: cannot find -llcms2 > collect2: error: ld returned 1 exit status Was the same problem, just set +static-libs use flag for BOTH lcms slots.
Patch worked fine for me. I'm also using patch from #506124 IIRC. $ eix splashutils [I] media-gfx/splashutils Available versions: 1.5.4.4-r1^t ~1.5.4.4-r2^t ~1.5.4.4-r3^t ~1.5.4.4-r4^t (~)1.5.4.4-r5^t[1] {fbcondecor gpm hardened +mng +png +truetype} Installed versions: 1.5.4.4-r5^t[1](23:59:40 02.06.2014)(fbcondecor gpm mng png truetype -hardened) Homepage: http://fbsplash.berlios.de Description: Framebuffer splash utilities [1] "local-overlay" /usr/local/portage $ eix -I lcms [I] media-libs/lcms Available versions: (0) 1.19 1.19-r1 ~1.19-r2 (2) 2.3 ~2.4 2.5 (~)2.5-r1 ~2.6 {doc jpeg python static-libs test +threads tiff zlib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4"} Installed versions: 1.19-r1(11:50:16 04.05.2014)(jpeg static-libs tiff zlib -python PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2 -python3_4") 2.5-r1(2)(23:01:53 03.02.2014)(jpeg static-libs tiff zlib -doc -test ABI_MIPS="-n32 -n64 -o32" ABI_X86="32 64 -x32") Homepage: http://www.littlecms.com/ Description: A lightweight, speed optimized color management engine
Package removed.