# New Ticket Created by Christopher J. Madsen
# Please include the string: [perl #76856]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76856 >
I tried to build Rakudo Star 2010.07, but it failed with
src/gen/core.pm > src/gen/core.pir
===SORRY!===
Symbol '@named-params\ufffd' not predeclared in MAIN_HELPER
(src/gen/core.pm:6542)
make: *** [perl6.pbc] Error 1
I'm running 32-bit Gentoo Linux with Perl 5.10.1.
I investigated and found that the offending line in src/gen/core.pm
contained
@named-params».name».substr(1)
But the original line in src/core/MAIN.pm contained
@named-params».name».substr(1)
"»" in UTF-8 is C2 BB, which in ISO-8859-1 is "»".
So it appears that MAIN.pm is being read as if it were ISO-8859-1 and
then written out in UTF-8. I'm not sure why that happens, but I
discovered that removing the generated files, "unset PERL_UNICODE", and
running "make" again allowed the build to complete.
I had PERL_UNICODE set to SAL, and that causes the build to fail
consistently. I don't know why.
Steps to reproduce:
Unpack rakudo-star-2010.07.tar.gz
$ perl Configure.pl --gen-parrot
$ PERL_UNICODE=SAL make
--
Chris Madsen [email protected]
-------------------- http://www.cjmweb.net --------------------