Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319475 - dev-python/pygtk fails to build with png14
Summary: dev-python/pygtk fails to build with png14
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 00:00 UTC by Dyweni
Modified: 2010-05-14 08:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,94.26 KB, text/plain)
2010-05-13 00:01 UTC, Dyweni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dyweni 2010-05-13 00:00:22 UTC
After upgrading libpng to 1.4, pygtk fails to build

Reproducible: Always

Steps to Reproduce:
1. emerge pygtk
Actual Results:  
Fails with 'cannot find -lpng12'...

Expected Results:  
Should rebuild fine.

/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk 2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman 1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pipe -march=amdfam10 -ggdb -Wall -fno-strict-aliasing -std=c9x -module -avoid-version  -export-symbols regex initglade -Wl,-O1 -o glade.la -rpath /usr/lib64/python2.6/site-packages/gtk-2.0/gtk glade_la-libglademodule.lo glade_la-libglade.lo -lglade-2.0 -lgtk- 11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 - gmodule-2.0 -lglib-2.0 
libtool: link: /usr/bin/nm -B  .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o   | sed -n -e 's/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/glade.exp
libtool: link: /bin/grep -E -e "initglade" ".libs/glade.exp" > ".libs/glade.expT"
libtool: link: mv -f ".libs/glade.expT" ".libs/glade.exp"
libtool: link: echo "{ global:" > .libs/glade.ver
libtool: link:  cat .libs/glade.exp | sed -e "s/\(.*\)/\1;/" >> .libs/glade.ver
libtool: link:  echo "local: *; };" >> .libs/glade.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o   /usr/lib64/libglade-2.0.so -L/usr/lib64 -lpng12 /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libxml2.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/libglitz-glx.so /usr/lib64/libglitz.so -lGL -lpthread /usr/lib64/libpng14.so /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so  -march=amdfam10 -Wl,-O1   -Wl,-soname -Wl,glade.so -Wl,-version-script -Wl,.libs/glade.ver -o .libs/glade.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]: *** [glade.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0-2.6/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0-2.6'
make: *** [all] Error 2
 * ERROR: dev-python/pygtk-2.16.0-r1 failed:
 *   Building failed with CPython 2.6 in python_default_function() function




Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1-20100427-2256 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-20100427-2256-x86_64-AMD_Phenom-tm-_II_X2_545_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 12 May 2010 14:00:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r1, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1-r1
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-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.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -march=amdfam10 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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="-pipe -march=amdfam10 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.hoobly.com/ http://gentoo.osuosl.org/ http://gentoo.arcticnetwork.ca/ http://gentoo.netnitco.net"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j1"
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/kde-sunset /var/lib/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aio alsa amd64 archive aspell bash-completion berkdb bzip2 cairo cdda cddb cdr cleartype cli consolekit cracklib crypt cscope custom-cflags custom-optimization cxx dbus device-mapper dga disk-partition dri dts dv dvd dvdr emerald exif fam fbcondecor ffmpeg flac fortran fuse gdbm gdu gecko gif glitz gmp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv java java6 jpeg kate libffi libnotify lightning lm_sensors lzo mad matroska mbrola mmap mmx modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin ogg ogg123 ogm opengl openmp optimized-qmake pam pcre perl playlist png policykit pppd python readline reflection replytolist samba secure-delete session sftp smp sound spell spl srt sse sse2 ssl startup-notification svg sysfs theora threads thumbnail tiff tk truetype udev unicode vorbis wmf x264 xaw xcb xcomposite xinerama xorg xv xvid yv12 zlib" 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" 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" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dyweni 2010-05-13 00:01:11 UTC
Created attachment 231287 [details]
build.log
Comment 2 Dyweni 2010-05-13 00:25:27 UTC
Actually, I just resolved this myself with /usr/sbin/libpng-1.4.x-update.sh after lafilefixer and revdep-rebuild both failed.  Thanks for the script!
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-05-13 09:18:09 UTC
Reopen for correct resolution.
Comment 4 Pacho Ramos gentoo-dev 2010-05-13 18:47:47 UTC
(In reply to comment #3)
> Reopen for correct resolution.
> 

I think a news item for this should be released since it's obvious this transition is "hurting" a lot of people.

Thanks