Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 329129

Summary: xfce-base/libxfcegui4-4.6.4 seems to need media-libs/libpng:1.2 but ebuild doesn't require it
Product: Gentoo Linux Reporter: Mark Keisler <grimm26>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Keisler 2010-07-20 15:05:32 UTC
When trying to emerge xfce-base/libxfcegui4-4.6.4, it fails with this error:

/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status

I have media-libs/libpng-1.4.3 installed, but not 1.2.x

Reproducible: Always

Steps to Reproduce:
1.emerge =xfce-base/libxfcegui4-4.6.4
2.
3.

Actual Results:  
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status

Expected Results:  
successful emerge (by using current libpng or pulling in 1.2 slot).

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-AMD_Athlon-tm-_XP_2200+-with-gentoo-1.12.13
Timestamp of tree: Tue, 20 Jul 2010 07:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb /var/www/localhost/htdocs/gallery /var/www/localhost/htdocs/horde/kronolith/config /var/www/localhost/htdocs/horde/mnemo/config /var/www/localhost/htdocs/online-bookmarks/config /var/www/localhost/htdocs/phpmyadmin /var/www/localhost/htdocs/phpwiki/config /var/www/localhost/htdocs/squirrelmail/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage-distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.cs.wmich.edu/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="3dnow X aac acl aim alsa apache2 asf audacious bash-completion berkdb bzip2 bzlib cdparanoia cdr cli consolekit cpudetection cracklib crypt cups curl custom-optimization cxx dba dbus dri dv dvd dvdr dvdread encode faad ffmpeg firefox flac foomaticdb gdbm gif gimpprint gnome gpm gtk gtk2 hal iconv ieee1394 imagemagick imap imlib java java6 jpeg jpeg2k kpathsea libnotify libpng mad maildir mhash mjpeg mmx modules mozbranding mp3 mpeg mplayer mudflap mysql mysqli ncurses nfs nls no-htdocs nptl nptlonly nsplugin nvidia offensive ogg openmp pam pcre pdf perl php png posix postfix ppds pppd python qt3support readline reflection samba session sharedmem spl sse ssl svg sysfs syslog tcpd theora thunar tiff truetype unicode usb vim-syntax vorbis webdav win32codecs wma x86 xine xml xorg xulrunner xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Eckard Brauer 2010-07-20 15:26:06 UTC
Same here.

Because libpng-1.4.3 already has /usr/lib/libpng12.so.0, I fixed it setting the missing link:

ln -s libpng12.so.0 /usr/lib/libpng12.so

After that, emerging runs fine (BTW, also avahi-0.6.25-r1 has that problem).
Comment 2 Eckard Brauer 2010-07-20 15:26:43 UTC
Same here.

Because libpng-1.4.3 already has /usr/lib/libpng12.so.0, I fixed it setting the missing link:

ln -s libpng12.so.0 /usr/lib/libpng12.so

After that, emerging runs fine (BTW, also avahi-0.6.25-r1 has that problem).
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-20 15:31:36 UTC

*** This bug has been marked as a duplicate of bug 326427 ***
Comment 4 Mark Keisler 2010-07-20 15:37:59 UTC
marking this bug as a duplicate of an "INVALID" bug with no remediation seems invalid in itself.

Also, ln -s libpng12.so.0 /usr/lib/libpng12.so makes no sense.

Something needs to be fixed in some way.
Comment 5 Mark Keisler 2010-07-20 16:07:51 UTC
Aha, digging through the others related to the duplicate I found the solution:

/usr/sbin/libpng-1.4.x-update.sh

*** This bug has been marked as a duplicate of bug 326517 ***