Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage broken(?): hundreds of eclass errors!!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Tue Jul 01, 2003 10:37 pm    Post subject: Reply with quote

ElCondor wrote:
here's a try(!) of a oneinall copy-paste solution for those who got stuck with 2.0.48-r2 (Assuming that you have not modified anything exept make.conf)
Code:
SYNC="rsync://rsync16.us.gentoo.org/gentoo-portage" emerge sync
grep -v ^# /etc/make.conf > /etc/make.conf.save
cd /usr/portage/sys-apps/portage/files/
tar xjpUvf portage-rescue-2.0.47-r10-x86.tbz2 -C /
cat /etc/make.conf.save >> /etc/make.conf
emerge -u portage
etc-update


I tried that and now i'm getting:

Code:

phoenix files # emerge -u portage
Calculating dependencies ...done!
>>> emerge (1 of 11) sys-libs/ncurses-5.3-r1 to /
>>> md5 ;-) ncurses-5.3.tar.gz
[ncurses-5.3-r1] sandbox: /lib/libc.so.6: version `GLIBC_2.3' not found (required by [ncurses-5.3-r1] sandbox)
Back to top
View user's profile Send private message
Jaxom
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 137

PostPosted: Thu Jul 03, 2003 10:47 pm    Post subject: Reply with quote

Cross posting, but I thought I should to make sure.....

You also need to.....

Code:
rm -rf /usr/portage/*


I still got the error until I removed the old data.
_________________
Undisputed Heavyweight Champion. If it's undisputed, WHAT'S ALL THE FIGHTING ABOUT?!?! -- George Carlin
Back to top
View user's profile Send private message
klif-e
n00b
n00b


Joined: 02 Jul 2003
Posts: 12

PostPosted: Fri Jul 04, 2003 10:49 pm    Post subject: Reply with quote

Code:

Number of files: 51505
Number of files transferred: 278
Total file size: 40080060 bytes
Total transferred file size: 239108 bytes
Literal data: 136068 bytes
Matched data: 103040 bytes
File list size: 1150958
Total bytes written: 6821
Total bytes read: 1238132

wrote 6821 bytes  read 1238132 bytes  36085.59 bytes/sec
total size is 40080060  speedup is 32.19

>>> Updating Portage cache... |!!! eclass 'GPL-2' in 'GPL-2' does not exist:    ...done!


Saw the above error

Double checked my portage version

Code:

oddjob portage # emerge --version
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)


Typically when I run it will choose the mirror for me such as

Code:

>>> starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
This is rsync17.us.gentoo.org, located at ecpi.edu, 66.11.11.4.


If I manually set the mirror in /etc/make.conf for example

Code:

SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"


I get the following error

Code:

@ERROR: Unknown module 'gentoo-portage'
rsync: connection unexpectedly closed (481 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)


Nothing is broken to date but then again I haven't tried compiling anything as yet.
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7209
Location: Pelotas, BR

PostPosted: Mon Jul 07, 2003 6:45 pm    Post subject: Reply with quote

Sticking it, as there are many of us experiencing this problem.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
erwan
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 150
Location: Tokyo

PostPosted: Wed Jul 09, 2003 5:43 am    Post subject: Reply with quote

I have the problem on my desktop but not the laptop...

Actually it is strange ; I have 2 portage ebuild ; 2.0.48-r1 and 2.0.48-r3. r1 is the one that installs when I just try to emerge portage.
_________________
See me on Jabber: erwan@im.loisant.org
Back to top
View user's profile Send private message
fedekapo
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 223
Location: Argentina

PostPosted: Thu Jul 17, 2003 6:29 pm    Post subject: Reply with quote

I get this error when I try to emerge something:
Code:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 9, in ?
    import sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback,atexit
  File "/usr/lib/python2.2/site-packages/portage.py", line 4745, in ?
    settings=config()
  File "/usr/lib/python2.2/site-packages/portage.py", line 855, in __init__
    self.mygcfg=getconfig("/etc/make.conf")
  File "/usr/lib/python2.2/site-packages/portage.py", line 632, in getconfig
    key=lex.get_token()
  File "/usr/lib/python2.2/shlex.py", line 74, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.2/shlex.py", line 100, in read_token
    nextchar = self.instream.read(1)
IOError: [Errno 21] Is a directory


Bye
Back to top
View user's profile Send private message
fedekapo
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 223
Location: Argentina

PostPosted: Thu Jul 17, 2003 6:29 pm    Post subject: Reply with quote

I get this error when I try to emerge something:
Code:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 9, in ?
    import sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback,atexit
  File "/usr/lib/python2.2/site-packages/portage.py", line 4745, in ?
    settings=config()
  File "/usr/lib/python2.2/site-packages/portage.py", line 855, in __init__
    self.mygcfg=getconfig("/etc/make.conf")
  File "/usr/lib/python2.2/site-packages/portage.py", line 632, in getconfig
    key=lex.get_token()
  File "/usr/lib/python2.2/shlex.py", line 74, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.2/shlex.py", line 100, in read_token
    nextchar = self.instream.read(1)
IOError: [Errno 21] Is a directory


Bye
Back to top
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Mon Jul 21, 2003 6:27 am    Post subject: Reply with quote

fedekapo wrote:
I get this error when I try to emerge something:
Code:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 9, in ?
    import sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback,atexit
  File "/usr/lib/python2.2/site-packages/portage.py", line 4745, in ?
    settings=config()
  File "/usr/lib/python2.2/site-packages/portage.py", line 855, in __init__
    self.mygcfg=getconfig("/etc/make.conf")
  File "/usr/lib/python2.2/site-packages/portage.py", line 632, in getconfig
    key=lex.get_token()
  File "/usr/lib/python2.2/shlex.py", line 74, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.2/shlex.py", line 100, in read_token
    nextchar = self.instream.read(1)
IOError: [Errno 21] Is a directory


Bye


I get this :(
Very similar ... I can't do anything can't sync or emerge.... nothing :(

Code:

Performing Global Updates: /usr/portage/profiles/updates/3Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
.Traceback (most recent call last):
  File "/usr/bin/emerge", line 13, in ?
    import portage
  File "/usr/lib/python2.2/site-packages/portage.py", line 5032, in ?
    do_upgrade(mykey)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4966, in do_upgrade
    db["/"]["bintree"].move_ent(mysplit)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3814, in move_ent
    self.populate()
  File "/usr/lib/python2.2/site-packages/portage.py", line 3893, in populate
    if (not os.path.isdir(self.pkgdir+"/All") and not getbinpkg):
NameError: global name 'getbinpkg' is not defined
Back to top
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Mon Jul 21, 2003 6:32 am    Post subject: Reply with quote

Well here is a solution to our problem...
http://forums.gentoo.org/viewtopic.php?t=68380&highlight=getbinpkg+defined

This is in German forum, but there are English posts.
Back to top
View user's profile Send private message
grantmasterflash
n00b
n00b


Joined: 02 May 2003
Posts: 3
Location: Seattle Washington

PostPosted: Wed Jul 23, 2003 4:44 pm    Post subject: Reply with quote

To all;
I just emerged portage because there was a new version and you just
HAVE to get the new version and now emerge is gone! There is no emerge
or /etc/portage or anything. My ebuilds are still there I just can't do anything
with them. How in the world does emerge delete itself? My /var/log/emerge.log
says that the

unmerge success: sys-apps/portage-2.0.47-r10
unmerge success: sys-apps/portage-2.0.48-r5
completed emerge (1 of 1) sys-apps/portage-2.0.48.r5 to /
exiting successfully



Grant
Back to top
View user's profile Send private message
RATFOOD
n00b
n00b


Joined: 19 Mar 2003
Posts: 44

PostPosted: Tue Jul 29, 2003 5:07 pm    Post subject: Reply with quote

can someone tell me if this is related or if I should look for another thread? I tried the copy paste thing mentioned earlier and it didnt help...


I snipped the last few lines and put them here... This is what I get after an

emerge -U world


Code:

libperl.a(dump.o)(.text+0x499c): In function `Perl_dump_packsubs':
: undefined reference to `Perl_gv_fullname3'
libperl.a(dump.o)(.text+0x4a1c): more undefined references to `Perl_gv_fullname3' follow
libperl.a(dump.o)(.text+0x4d26): In function `Perl_gv_dump':
: undefined reference to `Perl_gv_efullname3'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1

!!! ERROR: dev-lang/perl-5.8.0-r12 failed.
!!! Function src_compile, Line 192, Exitcode 2
!!! Unable to make



thajnks[/code]
Back to top
View user's profile Send private message
Zephaniah
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 112
Location: Australiosis

PostPosted: Wed Jul 30, 2003 7:07 am    Post subject: Reply with quote

Might as well post up what I'm getting after an emerge -up world....
Code:
!!! aux_get(): ebuild for '<dev-perl/ExtUtils-MakeMaker-6.05-r6' does not exist at:
!!!            /usr/portage/<dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r6.ebuild
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1978, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 943, in display
    if ("fetch" in string.split(portage.portdb.aux_get(x[2],["RESTRICT"])[0])):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3435, in aux_get
    raise KeyError
KeyError


Synced up with the latest portage tree. It doesn't bother me too much though, just can't emerge stuff until it's fixed. It's not like I can't use my computer or anything.
Back to top
View user's profile Send private message
zaanpenguin
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 203

PostPosted: Mon Sep 08, 2003 9:21 pm    Post subject: Reply with quote

I have the same problem. I can only do emerge <package>. As soon as I try emerge -uD or related flags that need to check dependencies, I get a shitload of errors (see below). I've already tried re-emerging db, portage and python, all to no avail.


----
Errors:

penguin bin # emerge -uDp world

These are the packages that I would merge, in order:

Calculating world dependencies \Traceback (most recent call last):
File "/usr/bin/emerge", line 2023, in ?
if not mydepgraph.xcreate(myaction):
File "/usr/bin/emerge", line 963, in xcreate
if not self.create(myk):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 866, in select_dep
if not self.create(myk,myparent):
File "/usr/bin/emerge", line 684, in create
if not self.select_dep("/",mydep["/"],myparent=mp):
File "/usr/bin/emerge", line 803, in select_dep
myeb=portage.portdb.xmatch("bestmatch-visible",x)
File "/usr/lib/python2.2/site-packages/portage.py", line 3739, in xmatch
myval=best(self.xmatch("match-visible",None,mydep,mykey))
File "/usr/lib/python2.2/site-packages/portage.py", line 3750, in xmatch
myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
File "/usr/lib/python2.2/site-packages/portage.py", line 3736, in xmatch
myval=self.gvisible(self.visible(self.cp_list(mykey)))
File "/usr/lib/python2.2/site-packages/portage.py", line 3819, in gvisible
myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
File "/usr/lib/python2.2/site-packages/portage.py", line 3493, in aux_get
if doregen or not eclass(None, mycpv, dmtime):
File "/usr/lib/python2.2/site-packages/portage.py", line 3384, in eclass
if (mymtime!=mtimedb["eclass"][myeclass][2][mycpv][1]) or (mtimedb["eclass"][myeclass][0]!=mtimedb["eclass"][myeclass][2][mycpv][0]):
IndexError: list index out of range
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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