Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc , rsync and portage ebuild problems ....
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
tag
n00b
n00b


Joined: 06 Mar 2003
Posts: 55

PostPosted: Thu Mar 06, 2003 8:16 am    Post subject: gcc , rsync and portage ebuild problems .... Reply with quote

when doing a :
Quote:
emerge gcc
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-3.2.2 to /
/usr/sbin/ebuild.sh: /usr/portage/eclass/flag-o-matic.eclass: line 122: unexpected EOF while looking for matching `"'
/usr/sbin/ebuild.sh: /usr/portage/eclass/flag-o-matic.eclass: line 128: syntax error: unexpected end of file

!!! ERROR: sys-devel/gcc-3.2.2 failed.
!!! Function inherit, Line 891, Exitcode 1
!!! died sourcing /usr/portage/eclass/flag-o-matic.eclass in inherit()


when doing a emerge rsync :

Quote:

>>> Updating Portage cache... \!!! eclass 'ups' in 'ups' does not exist:
|!!! eclass 'ups' in 'ups' does not exist:
/
aux_get(): (0) Error in dev-lang/gpc-20030209 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

|
aux_get(): (0) Error in dev-ruby/mod-ruby-0.9.7 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

|
aux_get(): (0) Error in media-gfx/gimp-1.3.11 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

/
aux_get(): (0) Error in media-gfx/gimp-1.3.12 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

-
aux_get(): (0) Error in media-video/mjpegtools-1.6.1 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

-
aux_get(): (0) Error in sys-devel/gcc-3.1.1-r1 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

|
aux_get(): (0) Error in sys-devel/gcc-2.95.3-r8 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

-
aux_get(): (0) Error in sys-devel/gcc-3.2-r5 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

\
aux_get(): (0) Error in sys-devel/gcc-3.2.1-r5 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

-
aux_get(): (0) Error in sys-libs/ncurses-5.2-r7 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

...done!


can someone please help explain ???
running:
sys-apps/portage-2.0.47-r8

Thanks
Back to top
View user's profile Send private message
kris99
n00b
n00b


Joined: 21 Feb 2003
Posts: 19

PostPosted: Thu Mar 06, 2003 9:26 am    Post subject: Reply with quote

Your '/usr/portage/eclass/flag-o-matic.eclass' seems to be corrupted or your CFLAGS are to aggressive. Do you tried 'emerge -e gcc'?
Back to top
View user's profile Send private message
tag
n00b
n00b


Joined: 06 Mar 2003
Posts: 55

PostPosted: Thu Mar 06, 2003 9:33 am    Post subject: Reply with quote

ok - with a emerge -e it is now emerging : gettext-0.11.5 ??? and then it want to do gawk-3.1.1-r1 and about 30 others ???

is this correct ??

Thanks
Back to top
View user's profile Send private message
tag
n00b
n00b


Joined: 06 Mar 2003
Posts: 55

PostPosted: Thu Mar 06, 2003 11:39 am    Post subject: Reply with quote

current issue is :
Quote:
>>> emerge (5 of 50) sys-libs/ncurses-5.3-r1 to /
/usr/sbin/ebuild.sh: /usr/portage/eclass/flag-o-matic.eclass: line 122: unexpected EOF while looking for matching `"'
/usr/sbin/ebuild.sh: /usr/portage/eclass/flag-o-matic.eclass: line 128: syntax error: unexpected end of file

!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function inherit, Line 891, Exitcode 1
!!! died sourcing /usr/portage/eclass/flag-o-matic.eclass in inherit()


How do I reset the :
/usr/portage/eclass/flag-o-matic.eclass

so my emerge can build and actually work ...
Please help :)
Back to top
View user's profile Send private message
grimboy
n00b
n00b


Joined: 10 Mar 2003
Posts: 16
Location: Lafayette, IN, US

PostPosted: Mon Mar 10, 2003 2:24 pm    Post subject: Reply with quote

Not sure if this helps, but I had the exact same problem. I was having problems getting to the rsync mirror:
Code:
rsync://rsync.gentoo.org/gentoo-portage

so I changed it to:
Code:
rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo-portage

(It seemed like the thing to do, me being a Purdue student and all. :D ) After an 'emerge sync', I had the same problems as you with about 100 various ebuilds. After messing around for a couple days and getting totally frustrated, I removed my /usr/portage directory, changed my rsync mirror to:
Code:
rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage
and did a clean 'emerge sync'. That fixed the problem.

Afterwards, doing a 'diff' of the old and new flag-o-matic.eclass revealed this:
Code:
83c83
<                       if {x/${y}}" != "${x}" ]
---
>                       if [ "${x/${y}}" != "${x}" ]
127d126
< }

Certainly no good. :) I haven't investigated why the two mirrors gave me different files yet...
Back to top
View user's profile Send private message
tag
n00b
n00b


Joined: 06 Mar 2003
Posts: 55

PostPosted: Mon Mar 10, 2003 2:52 pm    Post subject: Reply with quote

thanks :)
Back to top
View user's profile Send private message
ratty
n00b
n00b


Joined: 27 Sep 2002
Posts: 13

PostPosted: Sat Mar 22, 2003 3:18 am    Post subject: Reply with quote

I'm having that same problem, and doing a forum search led me to this thread.

/usr/portage/eclass/flag-o-matic.eclass appears to be corrupt on some mirrors... That was thought at first, but I cant produce a specfic mirror that is giving a corrupt version of that file.
Also it would complain about bad ebuilds, but deleteing the builds it talks about, then doing another sync (even to the same rsync server) produces a good copy.
I dont know what to make of this really, but just to make things work, whenever I get one of these corrupted syncs, I just delete whatever files in /usr/portage it complains about, and do another sync, then usually that fixes it.

heres some other errors for reference:

>>> Updating Portage cache... -!!! eclass 'ups' in 'ups' does not exist: \!!! eclass 'ups' in 'ups' does not exist: |
aux_get(): (0) Error in dev-ruby/mod-ruby-0.9.7 ebuild.
Check for syntax error or corruption in the ebuild. (--debug)

It does seem to be the same ones each time.
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