Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Emerging Gnome 2.16 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Sun Oct 15, 2006 8:52 pm    Post subject: [solved] Emerging Gnome 2.16 fails Reply with quote

It looks like merging Gnome 2.16 on other architectures is smooth sailing, but I have some serious problems here. The number of packages in the world update was, I think, about 100... So after some time merging, pygtk fails during linking:
Code:
...
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.5/../../../../powerpc-unknown-linux-gnu/bin/ld: .libs/_gtk_la-gdk.o(.text+0x2a6a4): R_PPC_PLTREL24 reloc against local symbol
.libs/_gtk_la-gdk.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [_gtk.la] Error 1
make[2]: Leaving directory `/tmp/portage/pygtk-2.10.3/work/pygtk-2.10.3/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/pygtk-2.10.3/work/pygtk-2.10.3'
make: *** [all] Error 2

!!! ERROR: dev-python/pygtk-2.10.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  pygtk-2.10.3.ebuild, line 50:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

Has anybody seen that as well?

First thing in that merge session was glibc though, and that failed too. I skipped over that; does that have anything to do with the lost symbol?

Ignoring that error doesn't quite work, because it seems that more Gnome packages require pygtk in that version. The problem is that I have already merged about 70% of the packages, and rolling back now is a serious pain.

Thanks heaps
_________________
Jens Troeger
http://savage.light-speed.de/


Last edited by _savage on Tue Oct 17, 2006 7:27 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Oct 15, 2006 9:52 pm    Post subject: Reply with quote

Well, glibc failing is always a problem. :(

What do you have for CFLAGS?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Mon Oct 16, 2006 2:43 am    Post subject: Reply with quote

Code:
root@tigger ~ # emerge --info
Portage 2.1.1-r1 (default-linux/ppc/2004.3, gcc-3.4.5, glibc-2.4-r4, 2.6.18-gentoo ppc)
=================================================================
System uname: 2.6.18-gentoo ppc 7455, altivec supported
Gentoo Base System version 1.12.5
Last Sync: Fri, 24 Dec 2004 14:00:00 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac alsa altivec apache2 bitmap-fonts boundschecking bzip2 cdparanoia cdr cli crypt cscope cups curl curlwrappers dbm dlloader dri dvd dvdr dvdread elibc_glibc emboss encode fam ffmpeg font-server ftp gif gnome gnutls gpm gtk gtk2 ieee1394 imagemagick imap input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libcaca libwww linguas_en mad mime motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl pam pcmcia pcre pdf perl php png pppd python qt qt3 qt4 quicktime readline reflection samba seamonkey session skey slp spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_mesa video_cards_radeon vorbis wmf xinetd xml xml2 xmms xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Oct 16, 2006 4:08 pm    Post subject: Reply with quote

Interesting, you have glibc-2.4 and gcc-3.4.5. I wonder how you managed that. Most people tend to need gcc-4.x to emerge glibc-2.4. Why are you still using gcc-3.4.5?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Mon Oct 16, 2006 4:17 pm    Post subject: Reply with quote

Huh, no that's not right. I am running tip-of-tree gcc. Don't know why Portage is showing the old one!
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 16, 2006 5:06 pm    Post subject: Reply with quote

Are you sure? What does gcc -v return?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Mon Oct 16, 2006 9:05 pm    Post subject: Reply with quote

JoseJX wrote:
Are you sure? What does gcc -v return?


Now THAT here is an oddity... my system was using an old gcc compiler:
Code:
root@tigger ~ # gcc-config -l
 [1] powerpc-unknown-linux-gnu-3.4.5 *
 [2] powerpc-unknown-linux-gnu-3.4.5-hardened
 [3] powerpc-unknown-linux-gnu-3.4.5-hardenednopie
 [4] powerpc-unknown-linux-gnu-3.4.5-hardenednopiessp
 [5] powerpc-unknown-linux-gnu-3.4.5-hardenednossp
 [6] powerpc-unknown-linux-gnu-4.1.1


I'll switch to 4.1.1 again and retry to compile world.
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Tue Oct 17, 2006 7:26 am    Post subject: Reply with quote

Ok that fixed it. gcc 4.1 compiled the new glibc, which in turn enabled Gnome to compile.

However, there are no drop shadows, although composite is switched of for Metacity...
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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