Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47328 - kde dependency 'myportage' not defined
Summary: kde dependency 'myportage' not defined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 04:59 UTC by Julien De Groote
Modified: 2004-04-10 02:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien De Groote 2004-04-09 04:59:15 UTC
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
Comment 1 Julien De Groote 2004-04-09 05:16:34 UTC
if I try a "emerge --pretend kdebase"
emerge seems to work but "USE='java' emerge --pretend kdebase" does not
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-04-09 05:54:19 UTC
Can you post the error?  It's not a kde bug, it's a portage bug.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-04-09 06:16:35 UTC

*** This bug has been marked as a duplicate of 40831 ***
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-04-09 06:17:38 UTC
wrong bug
Comment 5 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 10:00:55 UTC
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

Comment 6 Julien De Groote 2004-04-10 02:58:39 UTC
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 ...