Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pango-1.10.2 won't emerge - problems with gcc-3.4.5???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
opensas
Guru
Guru


Joined: 24 Nov 2004
Posts: 408
Location: Buenos Aires - Argentina

PostPosted: Wed Mar 15, 2006 2:56 pm    Post subject: pango-1.10.2 won't emerge - problems with gcc-3.4.5??? Reply with quote

Hi

I began a brand new install and I am having quite a few problems when I upgraded to gcc-3.4.5 from gcc-3.4.4-r1.

First I had to manually emerge python (because issuing "emerge gcc-config glibc binutils gcc" instead of emerge system, seems to have braken it), then I had to downgrade perl to 5.8.7 (because Locate-gettext wouldn't compile)

Now I'm getting the following error while emerging pango

Code:

 i686-pc-linux-gnu-gcc -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -I.. -I/usr/include/cairo -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -fforce-addr -ftracer -Wall -c pango-scan.c  -fPIC -DPIC -o .libs/pango-scan.o
In file included from ../pango/pangoxft.h:30,
                 from pango-scan.c:10:
../pango/pangoxft-render.h:31:22: X11/Xlib.h: No such file or directory
../pango/pangoxft-render.h:32:25: X11/Xft/Xft.h: No such file or directory
../pango/pangoxft-render.h:35:2: #error "must have Xft version 2 or newer"
In file included from ../pango/pangoxft.h:30,
                 from pango-scan.c:10:
../pango/pangoxft-render.h:64: error: syntax error before "Display"
../pango/pangoxft-render.h:64: warning: no semicolon at end of struct or union
../pango/pangoxft-render.h:66: error: syntax error before '*' token
../pango/pangoxft-render.h:66: warning: type defaults to `int' in declaration of `draw'
../pango/pangoxft-render.h:66: warning: data definition has no type or storage class
../pango/pangoxft-render.h:69: error: syntax error before '}' token
../pango/pangoxft-render.h:91: error: syntax error before "XTrapezoid"
../pango/pangoxft-render.h:94: error: syntax error before "XftFont"
../pango/pangoxft-render.h:101: error: syntax error before '*' token
../pango/pangoxft-render.h:104: error: syntax error before "XftDraw"
../pango/pangoxft-render.h:108: error: syntax error before '*' token
../pango/pangoxft-render.h:114: error: syntax error before '*' token
../pango/pangoxft-render.h:121: error: syntax error before '*' token
../pango/pangoxft-render.h:128: error: syntax error before '*' token
../pango/pangoxft-render.h:133: error: syntax error before '*' token
In file included from pango-scan.c:10:
../pango/pangoxft.h:51: error: syntax error before '*' token
../pango/pangoxft.h:53: error: syntax error before '*' token
../pango/pangoxft.h:55: error: syntax error before '*' token
../pango/pangoxft.h:58: error: syntax error before '*' token
../pango/pangoxft.h:63: error: syntax error before '*' token
../pango/pangoxft.h:78: error: syntax error before '*' token
../pango/pangoxft.h:78: warning: type defaults to `int' in declaration of `pango_xft_font_get_font'
../pango/pangoxft.h:78: warning: data definition has no type or storage class
../pango/pangoxft.h:79: error: syntax error before '*' token
../pango/pangoxft.h:79: warning: type defaults to `int' in declaration of `pango_xft_font_get_display'
../pango/pangoxft.h:79: warning: data definition has no type or storage class
Compilation of scanner failed


I have cairo installed
Code:

(chroot) tux / # eix -e cairo
* x11-libs/cairo
     Available versions:  1.0.2
     Installed:           1.0.2
     Homepage:            http://cairographics.org/
     Description:         A vector graphics library with cross-device output support


Found 1 matches


and this is my conf

Code:

(chroot) tux / # emerge --info
Portage 2.0.54 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -fforce-addr -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -fforce-addr -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks moo sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.usu.edu/mirrors/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apache2 apm arts atm avi bash-completion berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dhcp doc dri dts dvd dvdread eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde kdeeneablefinal kqemu lcms libg++ libwww mad matroska memlimit mikmod mmx mmx2 mmxext mng motif mp3 mpeg ncurses nls nsplugin nvidia ogg opengl oss pam pcre pdflib perl pic png posix ppds python qt quicktime readline real reiserfs rtc sdl session simplexml soap sockets softmmu spell spl sse sse2 ssl tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis win32codecs xml xml2 xmms xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGU


Any ideas?

And why gcc-3.4.5 is so prblematic? Or am I the only one having these troubles?

Saludos

Sas
Back to top
View user's profile Send private message
opensas
Guru
Guru


Joined: 24 Nov 2004
Posts: 408
Location: Buenos Aires - Argentina

PostPosted: Thu Mar 16, 2006 6:18 am    Post subject: Reply with quote

It seems like pango has some circular dependencies.

I saw the problem was

Code:

../pango/pangoxft-render.h:31:22: X11/Xlib.h: No such file or directory
../pango/pangoxft-render.h:32:25: X11/Xft/Xft.h: No such file or directory


Issuing

Code:

belongstux kuroo # equery belongs Xlib.h
[ Searching for file(s) Xlib.h in *... ]
www-client/mozilla-firefox-1.5.0.1-r2 (/usr/lib/mozilla-firefox/include/system_wrappers/X11/Xlib.h)
x11-base/xorg-x11-6.8.2-r6 (/usr/include/X11/Xlib.h)

tux kuroo # equery belongs Xft.h
[ Searching for file(s) Xft.h in *... ]
www-client/mozilla-firefox-1.5.0.1-r2 (/usr/lib/mozilla-firefox/include/system_wrappers/X11/Xft/Xft.h)
x11-base/xorg-x11-6.8.2-r6 (/usr/include/X11/Xft/Xft.h)


I found out that pango is looking for some files that only gets installed when I install xorg-x11

So in fact the problem is

Code:

(chroot) tux docs # emerge -puv pango

These are the packages that I would merge, in order:

Calculating dependencies                       ...done!
[ebuild  N    ] x11-libs/gtk+-2.8.8  -debug +doc +jpeg +tiff 0 kB
[...]
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r6  -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx +doc -font-server -insecure-drivers +ipv6 -minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB
[ebuild  N    ] app-arch/rpm2targz-9.0-r3  0 kB
[ebuild  N    ] sys-apps/utempter-0.5.5.6  0 kB
[ebuild  N    ] x11-terms/xterm-207  -Xaw3d +doc -toolbar +truetype -unicode 0 kB
[ebuild  N    ] virtual/x11-6.8  0 kB
[ebuild  N    ] x11-libs/pango-1.10.2  -debug +doc 0 kB

Total size of downloads: 93 kB

(chroot) tux docs # emerge -puv xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies          ...done!
[ebuild  N    ] x11-libs/pango-1.10.2  -debug +doc 0 kB
[...]
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r6  -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx +doc -font-server -insecure-drivers +ipv6 -minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB
[ebuild  N    ] app-arch/rpm2targz-9.0-r3  0 kB
[ebuild  N    ] sys-apps/utempter-0.5.5.6  0 kB
[ebuild  N    ] x11-terms/xterm-207  -Xaw3d +doc -toolbar +truetype -unicode 0 kB

Total size of downloads: 93 kB


I suppose this is a bug

Is it common to have circular dependencies???

And if that's the case, how does gentoo handle them???

Saludos

Sas
Back to top
View user's profile Send private message
opensas
Guru
Guru


Joined: 24 Nov 2004
Posts: 408
Location: Buenos Aires - Argentina

PostPosted: Thu Mar 16, 2006 8:02 am    Post subject: Reply with quote

Well, this is quite strange

I thought that the problem might be trying to do it all from a chrooted environment.

So i decided to emerge gentoo-sources, and boot from that partition.

And then, voila, xorg-x11 gets emerged without even bothering about pango.

Then pango crashes, saying something about cairo.

I re-emerge cairo, and then emerge pango without any trouble.

Now I'm running an emerge -uvDNbk world.

Wish me luck...

Saludos

Sas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum