If gnome-python-2.0.x is already installed, the test phase of the
gnome-python-2.6.2 build will fail because the new nautilus.so local to the
build is (apparently) _after_ /usr/lib/python<#>/site-packages in the Python
path. The workaround is to simply manually unmerge gnome-python-2.0.x first.
emerge tail:
------------------------------------------------
Making check in tests
make[1]: Entering directory
`/var/tmp/portage/gnome-python-2.6.1/work/gnome-python-2.6.1/tests'
make check-local
make[2]: Entering directory
`/var/tmp/portage/gnome-python-2.6.1/work/gnome-python-2.6.1/tests'
Traceback (most recent call last):
File "./runtests.py", line 22, in ?
suite.addTest(loader.loadTestsFromName(name))
File "/usr/lib/python2.3/unittest.py", line 485, in loadTestsFromName
module = __import__(string.join(parts_copy,'.'))
File
"/var/tmp/portage/gnome-python-2.6.1/work/gnome-python-2.6.1/tests/testvfs.py",
line 3, in ?
import common
File
"/var/tmp/portage/gnome-python-2.6.1/work/gnome-python-2.6.1/tests/common.py",
line 15, in ?
import gnome.nautilus
File "/usr/lib/python2.3/ihooks.py", line 399, in import_module
m = self.load_tail(q, tail)
File "/usr/lib/python2.3/ihooks.py", line 450, in load_tail
m = self.import_it(head, mname, m)
File "/usr/lib/python2.3/ihooks.py", line 489, in import_it
m = self.loader.load_module(fqname, stuff)
File "/usr/lib/python2.3/ihooks.py", line 268, in load_module
m = self.hooks.load_dynamic(name, filename, file)
File
"/var/tmp/portage/gnome-python-2.6.1/work/gnome-python-2.6.1/ltihooks.py", line
50, in load_dynamic
return ihooks.Hooks.load_dynamic(self, name, filename, file)
File "/usr/lib/python2.3/ihooks.py", line 172, in load_dynamic
return imp.load_dynamic(name, filename, file)
ImportError: /usr/lib/python2.3/site-packages/gtk-2.0/gnome/nautilus.so:
undefined symbol: nautilus_view_open_location_prefer_existing_window
make[2]: *** [check-local] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-python-2.6.1/work/gnome-python-2.6.1/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/var/tmp/portage/gnome-python-2.6.1/work/gnome-python-2.6.1/tests'
make: *** [check-recursive] Error 1
!!! ERROR: dev-python/gnome-python-2.6.1 failed.
!!! Function src_test, Line 520, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.
------------------------------------------------
emerge info:
------------------------------------------------
Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.3.20040420-r1, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5-r1
Binutils:
sys-devel/binutils-2.11.92.0.12.3-r2,sys-devel/binutils-2.14.90.0.8-r1Headers:
sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -Wall -O2 -march=pentium4 -mcpu=pentium4
-maccumulate-outgoing-args -minline-all-stringops -fmove-all-movables
-fno-if-conversion2 -fno-crossjumping -fno-delayed-branch
-fno-omit-frame-pointer -fno-merge-constants -fno-thread-jumps"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /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/afs/C
/etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -Wall -O2 -march=pentium4 -mcpu=pentium4
-maccumulate-outgoing-args -minline-all-stringops -fmove-all-movables
-fno-if-conversion2 -fno-crossjumping -fno-delayed-branch
-fno-omit-frame-pointer -fno-merge-constants -fno-thread-jumps"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-main /home/system/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds S3TC X X509 aac acpi acpi4linux adns afs aim alsa amd async atlas
auctex audiofile avantgo avi berkdb bidi bindist bitmap-fonts bonobo bots canna
cap caps cddb cdf cdr cgi chroot cjk clamav clanJavaScript clanVoice client cln
composite crypt cscope cups curl dbus dedicated dga distribution divx
divx4linux dnd dnsdb doc dv dvb dvd eds encode esd ethereal evo exiscan
exiscan-acl expat ext-png ext-zlib extlib f77 faad fam fax ffmpeg fftw flac
flash fluidsynth fortran freetds freetype freewnn fs fullrpc fusion fwdzone
gamma gd gd-external gdbm geoip gif gimpprint ginac glade glgd glut gmp gmtfull
gmthigh gmtsuppl gmttria gnome gnomedb gphoto2 gpm gps gsl gstreamer gtk gtk2
gtkhtml hal hbci hdf hdf5 icq icu idea idl ieee1394 imagemagick imap imlib
imlib2 informix innodb ipalias ipcs ipv6 ipv6arpa irda irmc jabber jack jikes
jpeg justify kerberos krb4 ladcca lcms ldap libdsk libg++ libgda libsamplerate
libwww lirc live lmtp lzw-tiff mad maildir make-busybox-symlinks matroska mbox
mcal md5sum mdb memlimit migemo mikmod milter mldonkeypango mmx mng monkey mono
mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg mpeg4 mpi msdav msn
multilib multipleip music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh
native ncurses net netcdf nls nntp nogcj nptl nviz oav oci8 odbc offensive ofx
oggvorbis openal opengl openssh opie orathreads oscar oss pam parse-clocks
passfile pcap pcmcia pda pdflib pear-db pg-hier pg-intdatetime pg-vacuumdelay
php physfs pic plotutils png pnp portaudio postgres ppds psyco pthreads pwdb
python qhull quicktime radeon radius readline regexp roundrobin rplay samba
sasl scanner silc sis skey slang slp speedo speex spell sqlite sse ssl
stencil-buffer svg t1lib tetex theora tiff timidity transcode truetype trusted
type1 unicode usb v4l vanilla vda vhosts videos vim-with-x virus-scan wavelan
wifi wildlsearch wmf wsconvert wxwindows x86 xinerama xml xml2 xosd xv xvid
yahoo yaz zeo zlib zvbi video_cards_radeon"
------------------------------------------------
Is this about gnome-python-2.6.1 or gnome-python-2.6.2 ? There's no 2.6.2 in
portage, and your output shows gnome-python-2.6.1.
Anyway, I've tested gnome-python-2.0.2 to gnome-python-2.6.1 emerge and it
worked fine here. Maybe it's something else.