Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50519 - Syntax error in perl-5.8.2-r1.ebuild makes it does not work (solution provided)
Summary: Syntax error in perl-5.8.2-r1.ebuild makes it does not work (solution provided)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 02:03 UTC by Abraham Marin Perez
Modified: 2004-07-22 21:47 UTC (History)
0 users

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


Attachments
The same version of the build, but fixed (perl-5.8.2-r1.ebuild,9.66 KB, text/plain)
2004-05-09 02:06 UTC, Abraham Marin Perez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abraham Marin Perez 2004-05-09 02:03:56 UTC
There are a couple of syntax errors using "if use ..." clauses, some quotation marks make parsing errors appear. However, this error is not detected when executing "ebuild --debug perl-5.8.2-r1.ebuild".

I provide a fixed version of the ebuild (should I use the same -r1 or update to -r2?)

Reproducible: Always
Steps to Reproduce:
1. ebuild perl-5.8.2-r1.ebuild fetch (or any other)
2.
3.

Actual Results:  
I had this error message:

/usr/sbin/ebuild.sh: /usr/portage/dev-lang/perl/perl-5.8.2-r1.ebuild: line 319:
unexpected EOF while looking for matching `"'
/usr/sbin/ebuild.sh: /usr/portage/dev-lang/perl/perl-5.8.2-r1.ebuild: line 321:
syntax error: unexpected end of file
 
!!! ERROR: dev-lang/perl-5.8.2-r1 failed.
!!! Function , Line 1291, Exitcode 1
!!! error sourcing ebuild
 
 
aux_get(): (0) Error in dev-lang/perl-5.8.2-r1 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
 
doebuild(): aux_get() error; aborting.
Comment 1 Abraham Marin Perez 2004-05-09 02:06:00 UTC
Created attachment 31029 [details]
The same version of the build, but fixed

Maybe the name for the ebuild should be perl-5.8.2-r2.ebuild since it is a
fixed version, but I'll let the person in charge to decide it.
Comment 2 Abraham Marin Perez 2004-07-22 21:47:45 UTC
The solution is provided, see attached file