Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112150 - Pango fail to compile when wairo is compiled WITH png support
Summary: Pango fail to compile when wairo is compiled WITH png support
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2005-11-11 02:42 UTC by psk
Modified: 2006-04-07 07:58 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description psk 2005-11-11 02:42:42 UTC
I can't compile gtk2 because it need pango, and pango fail to compile because of
cairo png support. I can't compile cairo without png support.
It's a blocking bug, for exemple, thunderbird can't be launched because it need
pangocairo :
/usr/lib/mozilla-thunderbird/thunderbird-bin: error while loading shared
libraries: cannot open shared object file: No such file
or directory
thunderbird-bin exited with non-zero status (127)

Reproducible: Always
Steps to Reproduce:
emerge cairo with png support
emerge pango --> failure
Actual Results:  
creating pango-xftview
i686-pc-linux-gnu-gcc -O2 -march=k8 -mtune=k8 -pipe -mfpmath=sse -msse -msse2
-mmmx -m3dnow -fomit-frame-pointer -fweb -frename-registers -funit-at-a-time
-ftracer -fprefetch-loop-arrays -Wall -o .libs/cairosimple cairosimple.o 
../pango/.libs/ ../pango/.libs/
/usr/lib/ /usr/lib/ /usr/lib/
/usr/lib/ /usr/lib/ /usr/lib/
/usr/lib/ /usr/lib/ /usr/lib/ -ldl
/usr/lib/ /usr/lib/ /usr/lib/ -lz -lm
cairosimple.o: In function `main':
cairosimple.c:(.text+0x272): undefined reference to `cairo_surface_write_to_png'
collect2: ld returned 1 exit status
make[2]: *** [cairosimple] Erreur 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1'
make: *** [all] Erreur 2

!!! ERROR: x11-libs/pango-1.10.1 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

genlop -i cairo
 * x11-libs/cairo

   Total builds: 10
   Global build time: 26 minutes and 51 seconds.
   Average merge time: 2 minutes and 41 seconds.

   Info about currently installed ebuild:

   * x11-libs/cairo-1.0.2
   Install date: Fri Nov 11 11:22:48 2005
   USE="png X -doc -glitz"
   CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -mfpmath=sse -msse -msse2 -mmmx -m3dnow
-fomit-frame-pointer -fweb -frename-registers -funit-at-a-time -ftracer

emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14
System uname: 2.6.14 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre10
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -mfpmath=sse -msse -msse2 -mmmx -m3dnow
-fomit-frame-pointer -fweb -frename-registers -funit-at-a-time -ftracer
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -mfpmath=sse -msse -msse2 -mmmx -m3dnow
-fomit-frame-pointer -fweb -frename-registers -funit-at-a-time -ftracer
-fprefetch-loop-arrays -fvisibility-inlines-hidden"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
USE="x86 3dnow 3dnowex 3dnowext X aalib acl acpi acpi4linux alsa amd apache1
apache2 apm ared aredmem arts athena audiofile autofs avi bash-completion berkdb
bitmap-fonts bl bonobo bootspla browserplugin bzip2 bzlib c++ calendar cddb
cdinstall cdparanoia cdr cdrom chroot clamav codecs crypt cscope ctype cups curl
custom-cflags devfs devfs26 directfb divx4linux dmx dts dv dvb dvd dvdr dvdread
edl eds emboss encode esd ethereal exif expat ext-zlib faad fam fat fbcon fbdev
ffmpeg firefox fla flac foomaticdb foreign-package fortran fping freetts
freetype fs ftp gd gdbm ggi glut gmail gmp gnome gnutls gphoto2 gpm gstreamer
gtk gtk2 gtkhtml guile h323 hal hbci hyriand icq idn imagemagick imap imlib
innodb ipv6 j-noaim j-nomsn j-nomuconf j-noyahoo jabber jack java javascript
jikes jpeg junit kde kdeenablefinal kdepim koffice-plugin lcms libcaca libg++
libwww live lm_sensors lmtp logitech-mouse lua lzo mad maildir matroska mbox
mcal md5sum memlimit mhash mikmod mime mldonkeypango mmx mmx2 mmxext mng mono
mozaccess mozcalendar mozctl mozdevelop mozilla mozinterfaceinfo moznocompose
moznoirc moznomail mozp3p mozsha1 mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4
mpi mplayer mysql mythtv nas ncurses network nforce2 nls no_wxgtk1 nvidia oav
offensive ofx ogg oggvorbis openal opengl opens oss pam parse-clocks pcap pcre
pcsc-lite pda pdflib perl php pic png posix python qt quicktime rage128 readline
real recode reiserfs rtc ruby samba screen sdl skey slang snmp speedo speex
spell sqlite sse sse-filters sse2 ssl svg svga sysfs syslog tcltk tcpd tga
theora threads tidy tiff transcode truetype truetype-fonts type1-fonts udev usb
uudeview v4l v4l2 vcd vcdimager verbose videos vim vim-pager virus-scan vorbis
wavelan wifi win32codecs wma123 wmf wxwindows xanim xforms xfs xine xml xml2
xmlrpc xmms xscreensaver xv xvid xvmc zip zlib userland_GNU kernel_linux
Comment 1 psk 2005-11-11 08:04:39 UTC
emerge -e pango does nothing.
So, I made a desesperate thing :
installed gcc-4.0.2, exec libtoolfix and done an emerge libpng cairo pango : passed
not really a solution, but it worked...
Seems to be a libtool problem in fact.
Comment 2 foser (RETIRED) gentoo-dev 2006-04-07 07:58:02 UTC
this is no longer a problem with pango-1.12