I have just installed the kernel and bootloader and I have rebooted. When I try emerge kde, I get a 'Global name 'myportage' is not defined' error and prevents me from installing kde. I could install xfree86 though. I does the same with gnome but since i am new to gentoo and the portage system, I have no idea where to look to workaround that problem. Reproducible: Always Steps to Reproduce: 1. "emerge kde" or "emerge gnome" mordor root # emerge --pretend gnome These are the packages that I would merge, in order: Calculating dependencies / !!! Problem in gnome-base/gnome dependencies. !!! global name 'myportage' is not defined mordor root # emerge info Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4) ================================================================= System uname: 2.6.4 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon -mcpu=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -mcpu=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib" mordor root # cat > /tmp/bug.txt << EOF
if I try a "emerge --pretend kdebase" emerge seems to work but "USE='java' emerge --pretend kdebase" does not
Can you post the error? It's not a kde bug, it's a portage bug.
*** This bug has been marked as a duplicate of 40831 ***
wrong bug
Julien, I did grep 'myportage' in whole portage source dir. But I couldn't find it. I don't understand what happens in your box. We need more information. Can you do this command and post the error.log file here as attachment?(-d is debug option) # emerge -d --pretend gnome > /tmp/error.log 2>&1
I finally found what that bug was all about. i ran into bug 47063 during installation process and as I explained there, I had to work around the problem by editing the file /usr/lib/portage/pym/portage.py addind another if-condition on 2 lines around line 3038. I mistyped one one of the 2 lines (i put 'myportage' instead of 'myportapi'). Sorry my mistake ...