Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80647 - Syntax error in the ebuild.sh script at or near line 39
Summary: Syntax error in the ebuild.sh script at or near line 39
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High blocker (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 80648 80649 80650 80653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-03 16:07 UTC by Maurice Volaski
Modified: 2005-04-11 04:45 UTC (History)
4 users (show)

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


Attachments
fixes syntax error, no logic changes (allows emerge to continue) (eutils.eclass.patch,297 bytes, patch)
2005-02-03 17:12 UTC, Richard Benjamin Voigt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maurice Volaski 2005-02-03 16:07:09 UTC
Here the beginning of the output from doing esync -v (which in turn performs emerge -sync) 

/usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 39: syntax error near unexpected token `else'
/usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 39: `   else'

!!! ERROR: dev-lisp/cl-plus-1.0 failed.
!!! Function inherit, Line 1443, Exitcode 1
!!! died sourcing /usr/portage/eclass/eutils.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.

This is occurring with portage-2.0.51-r15

This issue has surfaced on two forum threads:
http://forums.gentoo.org/viewtopic.php?t=289950&highlight=inherit+1443
http://forums.gentoo.org/viewtopic.php?t=288710&highlight=inherit+1443
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2005-02-03 16:09:28 UTC
Chris: ecpu_check is/was broken, did you test this at all?
Az fixed it for now ...
Comment 2 Ciaran McCreesh 2005-02-03 16:20:55 UTC
*** Bug 80648 has been marked as a duplicate of this bug. ***
Comment 3 Lee Trager 2005-02-03 16:33:38 UTC
Im getting this on two packages cl_plus and xmms. Here is the output

>>> Updating Portage cache:   27%/usr/portage/eclass/eutils.eclass: line 39: syn
tax error near unexpected token `else'
/usr/portage/eclass/eutils.eclass: line 39: `   else'

!!! ERROR: dev-lisp/cl-plus-1.0 failed.
!!! Function inherit, Line 1443, Exitcode 1
!!! died sourcing /usr/portage/eclass/eutils.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in dev-lisp/cl-plus-1.0 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)


Failed cache update: dev-lisp/cl-plus-1.0 
65%/usr/portage/eclass/eutils.eclass: line 39: syntax error near unexpected toke
n `else'
/usr/portage/eclass/eutils.eclass: line 39: `   else'

!!! ERROR: media-sound/xmms-1.2.10-r11 failed.
!!! Function inherit, Line 1443, Exitcode 1
!!! died sourcing /usr/portage/eclass/eutils.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in media-sound/xmms-1.2.10-r11 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)


Failed cache update: media-sound/xmms-1.2.10-r11 
100%
Comment 4 Richard Benjamin Voigt 2005-02-03 16:41:39 UTC
Also got the errors while updating portage cache, then later:

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 14) sys-libs/pam-0.77-r6 to /
/usr/portage/eclass/eutils.eclass: line 39: syntax error near unexpected token `else'
/usr/portage/eclass/eutils.eclass: line 39: `   else'

!!! ERROR: sys-libs/pam-0.77-r6 failed.
!!! Function inherit, Line 1443, Exitcode 1
!!! died sourcing /usr/portage/eclass/eutils.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-02-03 16:45:59 UTC
*** Bug 80650 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-02-03 16:46:49 UTC
*** Bug 80649 has been marked as a duplicate of this bug. ***
Comment 7 Brian Harring (RETIRED) gentoo-dev 2005-02-03 16:58:14 UTC
*** Bug 80653 has been marked as a duplicate of this bug. ***
Comment 8 Richard Benjamin Voigt 2005-02-03 17:12:49 UTC
Created attachment 50292 [details, diff]
fixes syntax error, no logic changes (allows emerge to continue)
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2005-04-11 04:45:49 UTC
Already fixed.