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

Bug 326509

Summary: dev-python/totem-python-2.28.0 fails to emerge after upgrade of libpng
Product: Gentoo Linux Reporter: ShadowCat8 <ShadowCat8>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ShadowCat8 2010-07-01 18:44:25 UTC
After upgrading media-libs/libpng from 1.2.x to 1.4.3 (as part of a world update), I get failures building dev-python/totem-python-2.28.0 on a revdep-rebuild as well as just trying to do a straight emerge of the package.

Reproducible: Always

Steps to Reproduce:
1. Upgrade from media-libs/libpng-1.2.x to media-libs/libpng-1.4.3.
2. Run 'revdep-rebuild --library libpng12.so.0'.

Actual Results:  
dev-python/totem-python-2.28.0 fails with:

libtool: link:  x86_64-pc-linux-gnu-gcc -shared  .libs/plparser_la-plparsermodule.o .libs/plparser_la-plparser.o   -Wl,--as-needed /usr/lib64/libtotem-plparser.so -L/usr/lib64 -lpng12 /usr/lib64/libxml2.so /usr/lib64/libgmime-2.4.so /usr/lib64/libgthread-2.0.so -lpthread -lrt -lnsl /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libpng14.so /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so  -march=nocona -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common   -pthread -Wl,-soname -Wl,plparser.so -Wl,-version-script -Wl,.libs/plparser.ver -o .libs/plparser.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status
make[2]: *** [plparser.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/totem-python-2.28.0/work/gnome-python-desktop-2.28.0-2.6/totem'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/totem-python-2.28.0/work/gnome-python-desktop-2.28.0-2.6'
make: *** [all] Error 2
 * ERROR: dev-python/totem-python-2.28.0 failed:
 *   Building failed with CPython 2.6 in building() function
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5555:  Called gnome-python-common_src_compile
 *   environment, line 3147:  Called python_execute_function '-s' 'building'
 *   environment, line 4320:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/totem-python-2.28.0',
 * the complete build log and the output of 'emerge -pqv =dev-python/totem-python-2.28.0'.
 * The complete build log is located at '/var/tmp/portage/dev-python/totem-python-2.28.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/totem-python-2.28.0/temp/environment'.
 * S: '/var/tmp/portage/dev-python/totem-python-2.28.0/work/gnome-python-desktop-2.28.0'
sandbox:main  signal SIGQUIT already had a handler ...

>>> Failed to emerge dev-python/totem-python-2.28.0, Log file:

>>>  '/var/tmp/portage/dev-python/totem-python-2.28.0/temp/build.log'

Expected Results:  
For the package to continue and finish building, and the revdep-rebuild to complete.

My 'emerge --info':

~ # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32-gentoo-r7-20100627-01 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-20100627-01-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 29 Jun 2010 06:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7, 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r3, 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.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       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="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-march=nocona -O2 -pipe -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"
FFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -funroll-all-loops"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org http://mirror.fslutd.org/linux/distributions/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -s"
LINGUAS="en_US"
MAKEOPTS="-j3"
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="/usr/local/portage/sunrise /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 amr apache2 apm audiofile avahi avi berkdb bluetooth bonobo branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus divx4linux doc dri dts dv dvd dvdr dvdread emboss encode exif fam fame ffmpeg firefox flac flash fortran gdbm gif gimpprint gnome gnutls gpm gtk hal iconv icq id3tag imagemagick ipv6 irc jabber java jpeg junit lcms ldap libnotify lzo mad mesa mikmod ming mjpeg mmx mng modules mozcalendar mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pango pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba sdl session sockets speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype twolame unicode usb videos vorbis wma wmf x264 xcb xinerama xml xorg xulrunner xv xvid yahoo 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

build.log: http://paste.pocoo.org/show/232430/
environment: http://paste.pocoo.org/show/232433/
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-01 18:50:08 UTC
Don't use pastebins, they tend to expire. Attach the logs instead.

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