emerge --info : Portage 2.1_pre10-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r1 i686) ================================================================= System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.0_pre19 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_BE@euro" LC_ALL="fr_BE@euro" LINGUAS="fr" MAKEOPTS="-j3" 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 /usr/local/xgl-coffee" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apache2 apm arts asf avi bash-completion bitmap-fonts bonobo browserplugin bzip2 cairo cdr cjk cli crosscompile crypt ctype cups dbus dri dv dvd dvdr dvdread eds emboss encode esd evo ffmpeg flac font-server foomaticdb fortran fuse gd gif glitz gnome gnomecanvas gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imlib isdnlog java joystick jpeg kde lame lcms libg++ libwww live mad mikmod mjpeg mmx mmxext mng mono motif mp3 mpeg msn mysql ncurses net network nls nptl nptlonly nsplugin nvidia ode ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php png pppd python qt quicktime readline real reflection samba sdk sdl session simplexml slang soap sockets softmmu spell spl sse sse2 ssl svg svga tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd videos vidix vorbis win32codecs wmf wxgtk1 xanim xine xml xml2 xmlrpc xmms xorg xscreensaver xv xvid xvmc zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_fr userland_GNU video_cards_nvidia video_cards_vga video_cards_vesa video_cards_nv" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS This bug may be the same as this one: http://bugs.gentoo.org/show_bug.cgi?id=130730 I can't add the deskbar applet, i got this message : The panel encountered a problem while loading "OAFIID:Deskbar_Applet". end of "strace /usr/lib/deskbar-applet/deskbar-applet" : open("/etc/orbitrc", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/passwd", O_RDONLY) = 5 fcntl64(5, F_GETFD) = 0 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 _llseek(5, 0, [0], SEEK_CUR) = 0 fstat64(5, {st_mode=S_IFREG|0644, st_size=2980, ...}) = 0 mmap2(NULL, 2980, PROT_READ, MAP_SHARED, 5, 0) = 0xb76d7000 _llseek(5, 2980, [2980], SEEK_SET) = 0 munmap(0xb76d7000, 2980) = 0 close(5) = 0 getuid32() = 1000 uname({sys="Linux", node="ordi1", ...}) = 0 open("/home/leszek/.orbitrc", O_RDONLY) = -1 ENOENT (No such file or directory) rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 pipe([5, 6]) = 0 pipe([7, 8]) = 0 pipe([9, 10]) = 0 fcntl64(10, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 open("/tmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 11 fstat64(11, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=45168, ...}) = 0 fcntl64(11, F_SETFD, FD_CLOEXEC) = 0 mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76b7000 getdents64(11, /* 1281 entries */, 131072) = 48472 stat64("/tmp/orbit-leszek", {st_mode=S_IFDIR|0700, st_size=1504, ...}) = 0 getuid32() = 1000 getdents64(11, /* 0 entries */, 131072) = 0 munmap(0xb76b7000, 135168) = 0 close(11) = 0 mkdir("/tmp/orbit-leszek", 0700) = -1 EEXIST (File exists) stat64("/tmp/orbit-leszek", {st_mode=S_IFDIR|0700, st_size=1504, ...}) = 0 getuid32() = 1000 utime("/tmp/orbit-leszek", [0, 0]) = 0 getuid32() = 1000 open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 11 fstat64(11, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0 ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbff7cdc8) = -1 EINVAL (Invalid argument) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76d7000 read(11, "\353\324A\2314\224\214\246Mz\201\335\302\365\226U\2368"..., 4096) = 4096 close(11) = 0 munmap(0xb76d7000, 4096) = 0 gettimeofday({1147088531, 570687}, NULL) = 0 brk(0x8123000) = 0x8123000 gettimeofday({1147088531, 570833}, NULL) = 0 gettimeofday({1147088531, 570889}, NULL) = 0 getuid32() = 1000 open("/usr/share/locale/fr_BE@euro/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/fr@euro/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/fr_BE/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/fr/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory) gettimeofday({1147088531, 584542}, NULL) = 0 gettimeofday({1147088531, 584698}, NULL) = 0 gettimeofday({1147088531, 584786}, NULL) = 0 rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0 readlink("/usr/lib/deskbar-applet/deskbar-applet", 0xbff7c920, 1024) = -1 EINVAL (Invalid argument) lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=624, ...}) = 0 lstat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=150120, ...}) = 0 lstat64("/usr/lib/deskbar-applet", {st_mode=S_IFDIR|0755, st_size=104, ...}) = 0lstat64("/usr/lib/deskbar-applet/deskbar-applet", {st_mode=S_IFREG|0755, st_size=3228, ...}) = 0 open("/usr/share/locale/fr_BE@euro/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/fr@euro/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/fr_BE/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/fr/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory) close(3) = 0 futex(0x804a5d8, FUTEX_WAKE, 1) = 0 write(2, "Traceback (most recent call last"..., 35Traceback (most recent call last): ) = 35 open("/usr/lib/deskbar-applet/deskbar-applet", O_RDONLY|O_LARGEFILE) = 3 write(2, " File \"/usr/lib/deskbar-applet/"..., 63 File "/usr/lib/deskbar-applet/deskbar-applet", line 13, in ? ) = 63 fstat64(3, {st_mode=S_IFREG|0755, st_size=3228, ...}) = 0 mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76b8000 read(3, "#!/usr/bin/env python\n#\n# (C) 20"..., 131072) = 3228 write(2, " ", 4 ) = 4 write(2, "import gtk, gnomeapplet\n", 24import gtk, gnomeapplet ) = 24 close(3) = 0 munmap(0xb76b8000, 131072) = 0 write(2, "ImportError", 11ImportError) = 11 write(2, ": ", 2: ) = 2 write(2, "cannot import name EventBox from"..., 36cannot import name EventBox from gtk) = 36 write(2, "\n", 1 ) = 1 rt_sigaction(SIGINT, {SIG_DFL}, {0xb7ee80b6, [], 0}, 8) = 0 futex(0x805a7e8, FUTEX_WAKE, 1) = 0 futex(0x805a7e8, FUTEX_WAKE, 1) = 0 futex(0x805bfd0, FUTEX_WAKE, 1) = 0 futex(0x804a198, FUTEX_WAKE, 1) = 0 futex(0x804a198, FUTEX_WAKE, 1) = 0 futex(0x804a198, FUTEX_WAKE, 1) = 0 close(10) = 0 close(9) = 0 write(4, "f\0\3\0\200\0\0\0\1\0\0\0<r\2\0\0\0`\2+N\1\0", 24) = 24 read(4, 0xbff7e040, 32) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1 read(4, "\1\1&\0\0\0\0\0\246# \2\0\0\0\0\0\0\0\0\34\0\0\0p\340j"..., 32) = 32 shutdown(4, 2 /* send and receive */) = 0 close(4) = 0 exit_group(1) = ?
can you try to do this from a shell: $ python >>> from gtk import EventBox and see if that puts you back to >>> or throws an error.
leszek@ordi1 ~ $ python Python 2.4.3 (#1, May 4 2006, 17:49:27) [GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
oops >>> from gtk import EventBox Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: cannot import name EventBox >>>
what version of pygtk do you have installed? first try re-emerging pygtk.
i have pygtk-2.8.6 i tried already to re-emerge pygtk without success
also, attach output of: echo $PYTHONPATH and $ python >>> from gtk import VBox
leszek@ordi1 ~ $ echo $PYTHONPATH /usr/lib/portage/pym leszek@ordi1 ~ $ python Python 2.4.3 (#1, May 4 2006, 17:49:27) [GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gtk import VBox Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: cannot import name VBox >>>
try doing this: export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.3/site-packages and then retry: $ python >>> from gtk import VBox
also attach output of: $ python >>> import sys >>> print sys.path
leszek@ordi1 ~ $ export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.3/site-packages leszek@ordi1 ~ $ python Python 2.4.3 (#1, May 4 2006, 17:49:27) [GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gtk import VBox Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: cannot import name VBox >>> import sys >>> print sys.path ['', '', '/usr/lib/portage/pym', '/usr/lib/python2.3/site-packages', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/PIL', '/usr/lib/python2.4/site-packages/dbus', '/usr/lib/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode'] >>>
could you run python-updater ? thanks for the quick replies.
ordi1 leszek # python-updater * Logging disabled due to permissions * Starting Python Updater from 2.3 to 2.4 : * Searching for packages with files in /usr/lib/python2.3 /usr/lib32/python2.3 /usr/lib64/python2.3 .. Adding to list: dev-python/pyopenal-0.1.4 * Calculating Upgrade Package List .. * Re-ordering packages to merge .. * Preparing to merge these packages in this order: dev-python/pyopenal-0.1.4 * Starting to merge (1/1) dev-python/pyopenal-0.1.4 .. Calculating dependencies... done! >>> Emerging (1 of 1) dev-python/pyopenal-0.1.4 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking PyOpenAL-0.1.4.tar.gz ;-) >>> Unpacking source... >>> Unpacking PyOpenAL-0.1.4.tar.gz to /var/tmp/portage/pyopenal-0.1.4/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/pyopenal-0.1.4/work/PyOpenAL-0.1.4 ... running build running build_py creating build creating build/lib.linux-i686-2.4 creating build/lib.linux-i686-2.4/pyopenal copying __init__.py -> build/lib.linux-i686-2.4/pyopenal running build_ext building '_openal' extension creating build/temp.linux-i686-2.4 i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=pentium4 -fomit-frame-pointer -fPIC -DHAVE_CONFIG_H -I/usr/include -I/usr/local/include -I/usr/include/python2.4 -c py_openal.c -o build/temp.linux-i686-2.4/py_openal.opy_openal.c: In function `_wrap_alcProcessContext': py_openal.c:909: erreur: valeur void n'a pas
ordi1 leszek # python-updater * Logging disabled due to permissions * Starting Python Updater from 2.3 to 2.4 : * Searching for packages with files in /usr/lib/python2.3 /usr/lib32/python2.3 /usr/lib64/python2.3 .. Adding to list: dev-python/pyopenal-0.1.4 * Calculating Upgrade Package List .. * Re-ordering packages to merge .. * Preparing to merge these packages in this order: dev-python/pyopenal-0.1.4 * Starting to merge (1/1) dev-python/pyopenal-0.1.4 .. Calculating dependencies... done! >>> Emerging (1 of 1) dev-python/pyopenal-0.1.4 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking PyOpenAL-0.1.4.tar.gz ;-) >>> Unpacking source... >>> Unpacking PyOpenAL-0.1.4.tar.gz to /var/tmp/portage/pyopenal-0.1.4/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/pyopenal-0.1.4/work/PyOpenAL-0.1.4 ... running build running build_py creating build creating build/lib.linux-i686-2.4 creating build/lib.linux-i686-2.4/pyopenal copying __init__.py -> build/lib.linux-i686-2.4/pyopenal running build_ext building '_openal' extension creating build/temp.linux-i686-2.4 i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=pentium4 -fomit-frame-pointer -fPIC -DHAVE_CONFIG_H -I/usr/include -I/usr/local/include -I/usr/include/python2.4 -c py_openal.c -o build/temp.linux-i686-2.4/py_openal.opy_openal.c: In function `_wrap_alcProcessContext': py_openal.c:909: erreur: valeur void n'a pas été ignorée comme elle aurait dû l'être py_openal.c: In function `_wrap_alcDestroyContext': py_openal.c:931: erreur: valeur void n'a pas été ignorée comme elle aurait dû l'être py_openal.c: In function `init_openal': py_openal.c:2378: erreur: « AL_DISTANCE_SCALE » non déclaré (première utilisation dans cette fonction) py_openal.c:2378: erreur: (Chaque identificateur non déclaré est rapporté une seule fois py_openal.c:2378: erreur: pour chaque fonction dans laquelle il apparaît.) error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: dev-python/pyopenal-0.1.4 failed. Call stack: ebuild.sh, line 1525: Called dyn_compile ebuild.sh, line 928: Called src_compile ebuild.sh, line 1237: Called distutils_src_compile distutils.eclass, line 35: Called die !!! compilation failed !!! If you need support, post the topmost build error, and the call stack if relevant. * Failed merging dev-python/pyopenal-0.1.4 (1/1)! * ************************************************************ * * Packages that still need to be manually emerged : * * ************************************************************ * Failed Packaged: * ---------------- * These packages have failed and need to be re-emerged again. * Alternatively, try re-running this script again to see if it * can be fixed. * emerge -p \=dev-python/pyopenal-0.1.4
probably related to this: http://bugs.gentoo.org/show_bug.cgi?id=102138
i emerged the ebuild in the openal bug report (pyopenal-0.1.5) and ran python-updater again but the problem persist
*** This bug has been marked as a duplicate of 130730 ***