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.
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.
The solution is provided, see attached file