View previous topic :: View next topic |
Author |
Message |
Poly n00b
Joined: 26 Nov 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 8:15 am Post subject: Problem after emerge-webrsync |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Thu Dec 09, 2004 8:36 am Post subject: |
|
|
broken tree, try
Code: | rm -rf /usr/portage
emerge-webrsync |
|
|
Back to top |
|
|
Poly n00b
Joined: 26 Nov 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 8:50 am Post subject: |
|
|
No luck, i get the same error. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Thu Dec 09, 2004 8:59 am Post subject: |
|
|
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 |
|
|
Doc7 Tux's lil' helper
Joined: 18 Jul 2004 Posts: 133 Location: AC-Germany
|
Posted: Thu Dec 09, 2004 9:09 am Post subject: |
|
|
same problem here...
i try other mirrors..... |
|
Back to top |
|
|
Poly n00b
Joined: 26 Nov 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 9:13 am Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Thu Dec 09, 2004 9:24 am Post subject: |
|
|
Argh, someone broke the snapshot, you have to wait until I find someone who can fix it. |
|
Back to top |
|
|
Poly n00b
Joined: 26 Nov 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 9:25 am Post subject: |
|
|
Yep, i tried syncing rom another mirror and no luck again. Please keep us posted. Thnx! |
|
Back to top |
|
|
nosfucious n00b
Joined: 06 Feb 2003 Posts: 13 Location: Fribourg, Switzerland
|
Posted: Thu Dec 09, 2004 9:31 am Post subject: Me too!!! |
|
|
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. |
|
Back to top |
|
|
Aapzak n00b
Joined: 21 Mar 2003 Posts: 12
|
Posted: Thu Dec 09, 2004 9:32 am Post subject: |
|
|
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 |
|
|
Poly n00b
Joined: 26 Nov 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 9:37 am Post subject: Re: Me too!!! |
|
|
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. |
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Thu Dec 09, 2004 9:39 am Post subject: |
|
|
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 |
|
|
Aapzak n00b
Joined: 21 Mar 2003 Posts: 12
|
Posted: Thu Dec 09, 2004 9:48 am Post subject: |
|
|
did not fix it for me.
If we just wait ... will the snapshots be fixed? |
|
Back to top |
|
|
Poly n00b
Joined: 26 Nov 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 9:57 am Post subject: |
|
|
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 |
|
|
Doc7 Tux's lil' helper
Joined: 18 Jul 2004 Posts: 133 Location: AC-Germany
|
Posted: Thu Dec 09, 2004 10:49 am Post subject: |
|
|
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 |
|
|
Mistobaan Tux's lil' helper
Joined: 07 May 2004 Posts: 76
|
Posted: Thu Dec 09, 2004 1:49 pm Post subject: |
|
|
Same problem here...
for a while I was wery worried...
now is working.. _________________ God is real until declared integer |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Thu Dec 09, 2004 1:49 pm Post subject: |
|
|
Ok, we have new fixed tarball but it will take several hours until it hits the mirrors. |
|
Back to top |
|
|
Poly n00b
Joined: 26 Nov 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 1:58 pm Post subject: |
|
|
OK, thanks. I was freaked out for a moment |
|
Back to top |
|
|
zend Tux's lil' helper
Joined: 10 Apr 2002 Posts: 112 Location: Shanghai,China
|
Posted: Thu Dec 09, 2004 3:14 pm Post subject: |
|
|
I fixed it,but gcc is not work,after upgrade to gcc03.4.3-r1 |
|
Back to top |
|
|
silvrhand n00b
Joined: 12 Jun 2002 Posts: 19 Location: Pittsburgh, PA
|
Posted: Thu Dec 09, 2004 3:36 pm Post subject: |
|
|
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 |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Thu Dec 09, 2004 4:16 pm Post subject: |
|
|
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 |
|
|
|