After upgrading media-libs/libpng:0 to 1.4.2, www-client/opera-10.11 aborts at start-up with the following error message: /opt/opera/lib/opera/10.11/opera: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory It seems the included Qt libraries were built against libpng 1.2 (so it's possible this error only shows up when using Opera with USE="qt-static"): $ ldd /opt/opera/lib/opera/10.11/libQtGui.so.4 | grep libpng libpng12.so.0 => not found Manually emerging media-libs/libpng:1.2 makes it work again. There used to be a dependency, introduced in bug #257437, but according to the changelog it was removed a year ago: 10 Mar 2009; Jeroen Roovers <jer@gentoo.org> opera-10.00_pre4205.ebuild: Readd ~ppc. Remove redundant media-libs/libpng dependency. Reproducible: Always Steps to Reproduce: $ emerge --info '=www-client/opera-10.11' Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 25 Jun 2010 00:45:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fweb -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe -fweb -ftracer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.sunet.se/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=10" 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/kde /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 anthy avi bash-completion berkdb bluetooth bzip2 cairo canna cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread emacs exif ffmpeg fftw flac fortran gdbm gif gimp glitz gphoto2 gpm gstreamer gtk hal handbook iconv idn immqt ipv6 javascript jpeg kde kdehiddenvisibility laptop lensfun lm_sensors logrotate mad matroska mmap mmx mng modules motif mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl phonon png policykit pppd python qt qt3 qt3support qt4 quicktime qwt raw readline reflection resid samba sasl sdl semantic-desktop session sid smp sndfile spl sqlite sse sse2 ssl svg sysfs tcpd theora tiff truetype unicode usb vorbis wicd wifi wma wmf x264 xcb xine xinerama xorg xrandr xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ================================================================= Package Settings ================================================================= www-client/opera-10.11 was built with the following: USE="-gnome (multilib) qt-static" LINGUAS="-be -bg -cs -da -de -el -en_GB -es_ES -es_LA -et -fi -fr -fr_CA -fy -hi -hr -hu -id -it -ja -ka -ko -lt -mk -nb -nl -nn -pl -pt -pt_BR -ro -ru -sk -sr -sv -ta -te -tr -uk -zh_CN -zh_HK -zh_TW"
(In reply to comment #0) > It seems the included Qt libraries were built against libpng 1.2 (so it's > possible this error only shows up when using Opera with USE="qt-static"): Negative. Same problem without qt-static (at least on amd64, and I would assume on x86, as well).
Assigning and adding blocker to libpng stabilization, feel free to remove if inappropriate.
Veritably correct. The new dependency has been added.
reopening, the ebuilds have now: opera-10.11.ebuild: media-libs/libpng opera-10.60_pre6384.ebuild: media-libs/libpng this should be =media-libs/libpng-1.2* or media-libs/libpng:1.2 because libpng will pull in libpng14.so.0 instead of the required libpng12.so.0
Correct. I went for =-1.2* because x86 doesn't have libpng:1.2 stable yet.
That's still incorrect. lddtree.sh /opt/opera/lib/opera/10.11/opera opera => /opt/opera/lib/opera/10.11/opera (interpreter => /lib/ld-linux.so.2) libQtGui.so.4 => /usr/lib/qt4/libQtGui.so.4 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 libpng14.so.14 => /usr/lib/libpng14.so.14 libz.so.1 => /lib/libz.so.1 libfreetype.so.6 => /usr/lib/libfreetype.so.6 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 librt.so.1 => /lib/librt.so.1 libXrender.so.1 => /usr/lib/libXrender.so.1 libXrandr.so.2 => /usr/lib/libXrandr.so.2 libxcb.so.1 => /usr/lib/libxcb.so.1 libXau.so.6 => /usr/lib/libXau.so.6 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 libXinerama.so.1 => /usr/lib/libXinerama.so.1 libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 libexpat.so.1 => /usr/lib/libexpat.so.1 libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 libX11.so.6 => /usr/lib/libX11.so.6 libXext.so.6 => /usr/lib/libXext.so.6 libSM.so.6 => /usr/lib/libSM.so.6 libuuid.so.1 => /lib/libuuid.so.1 libICE.so.6 => /usr/lib/libICE.so.6 libpthread.so.0 => /lib/libpthread.so.0 libdl.so.2 => /lib/libdl.so.2 libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libstdc++.so.6 libm.so.6 => /lib/libm.so.6 libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgcc_s.so.1 libc.so.6 => /lib/libc.so.6 www-client/opera-10.11 USE="-gnome -qt-static" That means media-libs/libpng:1.2 is a dep only for qt-static useflags, otherwise it's unneeded.
Gah. Thanks again. And you know what? 10.60 will go stable soon and all this will have been wasted effort. :)
You're planing to stable a pre ? Are we already that desperate ?
(In reply to comment #8) > You're planing to stable a pre ? *opera-10.60_pre6384 (28 Jun 2010) 28 Jun 2010; Jeroen Roovers <jer@gentoo.org> -opera-10.60_pre6380.ebuild, -opera-10.60_pre6382.ebuild, -opera-10.60_pre6383.ebuild, +opera-10.60_pre6384.ebuild: <http://my.opera.com/desktopteam/blog/2010/06/28/opera-10-60-rc1>. That's a release candidate for *nix. Stable usually follows. > Are we already that desperate ? Huh?