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

Bug 313133

Summary: dev-python/pygtk-2.16.0-r1 fails with media-libs/libpng-1.4.1
Product: Gentoo Linux Reporter: Dror Levin (RETIRED) <spatz>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log for failing pygtk

Description Dror Levin (RETIRED) gentoo-dev 2010-04-04 21:03:41 UTC
When installing libpng-1.4.1 and trying to recompile pygtk to link to the new lib, it keeps linking to libpng12. After I removed that I now get the following error when emerging pygtk (full build.log will be attached shortly):

/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

emerge --info:
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11-r1, 2.6.34-rc3 x86_64)
=================================================================
System uname: Linux-2.6.34-rc3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1
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
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -floop-block -floop-interchange -floop-strip-mine"
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/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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=native -O3 -pipe -floop-block -floop-interchange -floop-strip-mine"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going --jobs 3"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo http://mirrors.kernel.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
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="/home/spatz/dev/portage"
PORTDIR_OVERLAY="/home/spatz/dev/zing /home/spatz/dev/qting-edge /home/spatz/dev/kde /var/lib/layman/mozilla"
SYNC="rsync://dagobah/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 ares bash-completion berkdb bidi branding bzip2 cairo caps cdr cli cracklib crypt cscope curl custom-optimization cxx dbus dell dga dirac djvu dri dts dvd dvdr emboss enca encode exif expat faac faad fam ffmpeg fftw firefox flac fontconfig fortran gdbm gif git glib gmp gpg gpm graphviz gstreamer gtk hal iconv icu idn ipv6 jpeg jpeg2k kde kipi lame latex lcms libsamplerate lqr lyx lzma lzo mad matroska mercurial mikmod mjpeg mmx modules mp3 mp4 mpeg msn mudflap multilib ncurses network nls nptl nptlonly ntp ogg opengl openmp pam pango pch pcre pdf plasma png ppds pppd python qt3support qt4 quicktime raw readline reflection ruby sasl schroedinger sdl session smp sndfile speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs taglib tcpd theora threads tiff tk truetype unicode usb v4l2 vdpau vim-syntax vorbis webdav webkit wicd x264 xcb xcomposite xine xinerama xml xmp xorg xscreensaver xulrunner 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dror Levin (RETIRED) gentoo-dev 2010-04-04 21:04:08 UTC
Created attachment 226593 [details]
Build log for failing pygtk
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-04 21:06:48 UTC
Most likely broken .la files and not a real bug,

find /usr/lib64 -name '*.la' -exec grep lpng12 {} \;

Got pygtk installed here fine.
Comment 3 Dror Levin (RETIRED) gentoo-dev 2010-04-04 21:17:05 UTC
Ok, you're right. Tried lafilefixer but that didn't to the trick. Re-emerging libglade fixed it.

See, this is why I wanted to ask you on IRC first. Sorry for the bugspam.