Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem after emerge-webrsync
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Poly
n00b
n00b


Joined: 26 Nov 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 8:15 am    Post subject: Problem after emerge-webrsync Reply with quote

I did an emerge-webrsync (i cannot do a normal sync due to router ACL at work) and it finished with this output:

Quote:

/usr/lib/portage/bin/ebuild.sh: line 1319: /usr/portage/eclass/flag-o-matic.eclass: No such file or directory

!!! ERROR: sys-apps/portage-2.0.51-r2 failed.
!!! Function inherit, Line 1320, Exitcode 1
!!! died sourcing /usr/portage/eclass/flag-o-matic.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-apps/portage-2.0.51-r2 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)

/usr/lib/portage/bin/ebuild.sh: line 1319: /usr/portage/eclass/flag-o-matic.eclass: No such file or directory

!!! ERROR: sys-apps/portage-2.0.51_rc7 failed.
!!! Function inherit, Line 1320, Exitcode 1
!!! died sourcing /usr/portage/eclass/flag-o-matic.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-apps/portage-2.0.51_rc7 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)

/usr/lib/portage/bin/ebuild.sh: line 1319: /usr/portage/eclass/flag-o-matic.eclass: No such file or directory

!!! ERROR: sys-apps/portage-2.0.51-r3 failed.
!!! Function inherit, Line 1320, Exitcode 1
!!! died sourcing /usr/portage/eclass/flag-o-matic.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-apps/portage-2.0.51-r3 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)

/usr/lib/portage/bin/ebuild.sh: line 1319: /usr/portage/eclass/flag-o-matic.eclass: No such file or directory

!!! ERROR: sys-apps/portage-2.0.51-r8 failed.
!!! Function inherit, Line 1320, Exitcode 1
!!! died sourcing /usr/portage/eclass/flag-o-matic.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-apps/portage-2.0.51-r8 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)



* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please do so and then update ALL of your configuration files.


After that i cannot emerge anything it gives me this:

!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete

Any ideas? Thnx in advance!!
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Thu Dec 09, 2004 8:36 am    Post subject: Reply with quote

broken tree, try
Code:
rm -rf /usr/portage
emerge-webrsync
Back to top
View user's profile Send private message
Poly
n00b
n00b


Joined: 26 Nov 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 8:50 am    Post subject: Reply with quote

No luck, i get the same error.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Thu Dec 09, 2004 8:59 am    Post subject: Reply with quote

Then there are three options:
a) the snapshot is bad
b) you got two bad mirrors in a row
c) your harddisc has problems
Back to top
View user's profile Send private message
Doc7
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2004
Posts: 133
Location: AC-Germany

PostPosted: Thu Dec 09, 2004 9:09 am    Post subject: Reply with quote

same problem here...

i try other mirrors.....
Back to top
View user's profile Send private message
Poly
n00b
n00b


Joined: 26 Nov 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 9:13 am    Post subject: Reply with quote

I am quite sure that the harddisk is not bad. I will try to do another emerge-webrsync after i clear the /usr/portage dir.
I found something about a symlink to /usr/portage/profiles/default-linux/<arch> of /etc/make.profile but there is not x86 dir in that path. Could that be the broblem? Also there is no /usr/portage/eclass/flag-o-matic.eclass file. Is it what's missing from the snapshot?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Thu Dec 09, 2004 9:24 am    Post subject: Reply with quote

Argh, someone broke the snapshot, you have to wait until I find someone who can fix it.
Back to top
View user's profile Send private message
Poly
n00b
n00b


Joined: 26 Nov 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 9:25 am    Post subject: Reply with quote

Yep, i tried syncing rom another mirror and no luck again. Please keep us posted. Thnx!
Back to top
View user's profile Send private message
nosfucious
n00b
n00b


Joined: 06 Feb 2003
Posts: 13
Location: Fribourg, Switzerland

PostPosted: Thu Dec 09, 2004 9:31 am    Post subject: Me too!!! Reply with quote

I've got the same problem. I can't emerge --sync because of the firewall and can only emerge-webresync.

Here is the problem in a touch more detail:

myhost root # ls -l /etc/make.profile
lrwxrwxrwx 1 root root 48 Nov 11 08:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2004.0
myhost root # ls -l /usr/portage/profiles/default-linux
total 20
drwxr-xr-x 2 root root 4096 Dec 8 03:06 alpha
drwxr-xr-x 2 root root 4096 Dec 8 03:06 amd64
drwxr-xr-x 2 root root 4096 Dec 8 03:06 arm
drwxr-xr-x 2 root root 4096 Dec 8 21:07 hppa
drwxr-xr-x 3 root root 4096 Dec 8 03:06 sparc

No x86 profile. :cry:
Back to top
View user's profile Send private message
Aapzak
n00b
n00b


Joined: 21 Mar 2003
Posts: 12

PostPosted: Thu Dec 09, 2004 9:32 am    Post subject: Reply with quote

I don't know why, but this happens to my portage EVERY time I update. I don't update that often, but I seriously consider never updating again.
Maybe the use of an older snapshot works fine. Someone try that?
Back to top
View user's profile Send private message
Poly
n00b
n00b


Joined: 26 Nov 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 9:37 am    Post subject: Re: Me too!!! Reply with quote

nosfucious wrote:
I've got the same problem. I can't emerge --sync because of the firewall and can only emerge-webresync.

Here is the problem in a touch more detail:

myhost root # ls -l /etc/make.profile
lrwxrwxrwx 1 root root 48 Nov 11 08:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2004.0
myhost root # ls -l /usr/portage/profiles/default-linux
total 20
drwxr-xr-x 2 root root 4096 Dec 8 03:06 alpha
drwxr-xr-x 2 root root 4096 Dec 8 03:06 amd64
drwxr-xr-x 2 root root 4096 Dec 8 03:06 arm
drwxr-xr-x 2 root root 4096 Dec 8 21:07 hppa
drwxr-xr-x 3 root root 4096 Dec 8 03:06 sparc

No x86 profile. :cry:


That is exactly the case for me too. But it's 2004.3 for me.
It is the first time i have a problem with emerge-webrsync although i update almost every day.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Thu Dec 09, 2004 9:39 am    Post subject: Reply with quote

What you could try is
Code:
mv /usr/portage/rsync/* /usr/portage/

Somehow most (but not all) files are in the wrong place.
Back to top
View user's profile Send private message
Aapzak
n00b
n00b


Joined: 21 Mar 2003
Posts: 12

PostPosted: Thu Dec 09, 2004 9:48 am    Post subject: Reply with quote

did not fix it for me.

If we just wait ... will the snapshots be fixed?
Back to top
View user's profile Send private message
Poly
n00b
n00b


Joined: 26 Nov 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 9:57 am    Post subject: Reply with quote

It seems to be ok now

I did

Code:

cp -R /usr/portage/sync/* /usr/portage
emerge portage
etc-update
emerge metadata


and everything seems to be working again.
Back to top
View user's profile Send private message
Doc7
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2004
Posts: 133
Location: AC-Germany

PostPosted: Thu Dec 09, 2004 10:49 am    Post subject: Reply with quote

i did a
Code:
cp -R /usr/portage/rsync/* /usr/portage/
seems to work now
Code:
emerge -uD --newuse world
...is running
Back to top
View user's profile Send private message
Mistobaan
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 76

PostPosted: Thu Dec 09, 2004 1:49 pm    Post subject: Reply with quote

Same problem here... 8)

for a while I was wery worried... :roll:

now is working..
_________________
God is real until declared integer
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Thu Dec 09, 2004 1:49 pm    Post subject: Reply with quote

Ok, we have new fixed tarball but it will take several hours until it hits the mirrors.
Back to top
View user's profile Send private message
Poly
n00b
n00b


Joined: 26 Nov 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 1:58 pm    Post subject: Reply with quote

OK, thanks. I was freaked out for a moment :)
Back to top
View user's profile Send private message
zend
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 112
Location: Shanghai,China

PostPosted: Thu Dec 09, 2004 3:14 pm    Post subject: Reply with quote

I fixed it,but gcc is not work,after upgrade to gcc03.4.3-r1
Back to top
View user's profile Send private message
silvrhand
n00b
n00b


Joined: 12 Jun 2002
Posts: 19
Location: Pittsburgh, PA

PostPosted: Thu Dec 09, 2004 3:36 pm    Post subject: Reply with quote

Thanks,

By chance do you know the main mirror I can grab it off, I need to install some tools on my machine and right now this is a bad day to have this happen hehe.

- John

Genone wrote:
Ok, we have new fixed tarball but it will take several hours until it hits the mirrors.
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Thu Dec 09, 2004 4:16 pm    Post subject: Reply with quote

1) download the bad 20041208 portage snapshot into /var/tmp/emerge-webrsync
2) run the following script
Code:

cd /var/tmp/emerge-webrsync
rm -rfd ./portage
tar -xvjf portage-20041208.tar.bz2
cd ./portage/rsync
rsync -av --progress --stats --delete --delete-after \
 --exclude='/distfiles' --exclude='/packages' \
 --exclude='/local' . /usr/portage
cd /var/tmp/emerge-webrsync
rm -rfd ./portage
emerge metadata

the rsync'ed portage tree is in the rsync dir, that's the problem
hth
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
Page 1 of 1

 
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