Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349902 - pygtk build fails: ld: cannot find -lpng12
Summary: pygtk build fails: ld: cannot find -lpng12
Status: RESOLVED DUPLICATE of bug 319101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 349904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-27 22:10 UTC by Alex Cannon
Modified: 2010-12-27 22:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Cannon 2010-12-27 22:10:27 UTC
# nice emerge -avuDN pygtk

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-python/pygtk-2.17.0 [2.14.1-r1] USE="examples* -doc -test" 
 kB
[ebuild     U ] app-text/ghostscript-gpl-8.71-r6 [8.71-r1] USE="X cups gtk -bin
ist -cairo -djvu -jpeg2k" LINGUAS="-ja -ko -zh_CN -zh_TW" 0 kB
[ebuild     U ] x11-misc/shared-mime-info-0.80 [0.71] 0 kB
[ebuild  N    ] x11-libs/gtksourceview-2.10.4  USE="-doc -glade -test" 0 kB
[ebuild  N    ] dev-python/pygtksourceview-2.10.1  USE="-debug -doc" 0 kB
[ebuild  N    ] dev-vcs/git-1.7.2.5  USE="blksha1 curl gtk iconv perl threads w
bdav -bash-completion -cgi -cvs -doc -emacs (-ppcsha1) -subversion -tk -xinetd"
0 kB
[ebuild     U ] sys-devel/gettext-0.18.1.1-r1 [0.17-r1] USE="acl git%* nls open
p -doc -emacs -nocxx" 0 kB
[ebuild     U ] net-libs/gnutls-2.10.2 [2.10.1] USE="cxx examples nls zlib -bin
ist -doc -guile -lzo" 0 kB
[ebuild     U ] sys-apps/attr-2.4.44 [2.4.43] USE="nls" 0 kB

Total: 9 packages (6 upgrades, 3 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 
[.......................]

libtool: link:  i586-pc-linux-gnu-gcc -shared  .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o   -Wl,--as-needed /usr/lib/libglade-2.0.so -L/usr/lib /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so -lpng12 /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgio-2.0.so -lresolv /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libcairo.so /usr/lib/libpixman-1.so /usr/lib/libpng14.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libpango-1.0.so -lm /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread -lrt /usr/lib/libglib-2.0.so  -pthread -march=pentium3 -mmmx -msse -mfpmath=sse -Wl,-O1 -pthread   -pthread -Wl,-soname -Wl,glade.so -Wl,-version-script -Wl,.libs/glade.ver -o .libs/glade.so
/usr/lib/gcc/i586-pc-linux-gnu/4.4.4/../../../../i586-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.17.0/work/pygtk-2.17.0-2.6/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.17.0/work/pygtk-2.17.0-2.6'
make: *** [all] Error 2
emake failed
 * ERROR: dev-python/pygtk-2.17.0 failed:
 *   Building failed with CPython 2.6 in python_default_function() function
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 5369:  Called python_src_compile
 *   environment, line 5187:  Called python_execute_function '-d' '-s' '--'
 *   environment, line 4032:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/pygtk-2.17.0',
 * the complete build log and the output of 'emerge -pqv =dev-python/pygtk-2.17.0'.
 * The complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.17.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.17.0/temp/environment'.
 * S: '/var/tmp/portage/dev-python/pygtk-2.17.0/work/pygtk-2.17.0'

>>> Failed to emerge dev-python/pygtk-2.17.0, Log file:

>>>  '/var/tmp/portage/dev-python/pygtk-2.17.0/temp/build.log'

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-i686-Pentium_III_-Coppermine-with-gentoo-1.12.14
Timestamp of tree: Tue, 21 Dec 2010 20:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.5.4-r3, 2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.5::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r4, 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -mmmx -msse -mfpmath=sse -ftree-vectorize -ftree-vectorizer-verbose=1 -g"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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 -march=pentium3 -fomit-frame-pointer -mmmx -msse -mfpmath=sse -ftree-vectorize -ftree-vectorizer-verbose=1 -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://gentoo.llarian.net/ http://mirror.datapipe.net/gentoo http://chod.cwru.edu/gentoo ftp://chod.cwru.edu/gentoo ftp://linux.cs.lewisu.edu/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acc acl alsa apache2 berkdb bittorrent bzip2 cddb cdparanoia cli cracklib crypt cups curl cxx dbus dga divx4linux dri dvd dvdread encode esd esound examples exif extras faad fasttrack ffmpeg finger fltk foomaticdb fortran ftp gd gdbm geoip gif gimp gimpprint gmplayer gnutella gnutls gopher gpm gtk iconv idn imagemagick imap imlib innodb ipv6 javascript joystick jpeg kde live lua mad maildir mikmod mmx modules motif mp2 mp3 mpeg mudflap mysql nas ncurses nls nntp nptl nptlonly ogg openft opengl openmp pam pcre perl png pnm ppds pppd pulseaudio qt qt3 qt3support quicktime readline ruby sasl scanner sdl session slp snmp softmmu speex sse ssl sve svg sysfs tcpd theora tiff truetype unicode usb v4l vchkpw vorbis x264 x86 xft xml xmms xorg xv xvid 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="cgi 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-12-27 22:14:04 UTC
*** Bug 349904 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-12-27 22:16:15 UTC
not a bug... bugzilla, forums, even /topic at #gentoo on irc.freenode.net covers this.

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