Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #38775] Changes to compilers/pge/rulec.pir broke punie

0 views
Skip to first unread message

Will Coleda

unread,
Mar 21, 2006, 12:54:53 AM3/21/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #38775]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38775 >


Punie no longer builds:

$ make clean all
perl -MExtUtils::Command -e rm_f "t/*.p1" "t/*.out"
perl -MExtUtils::Command -e rm_f punie.pbc
perl -MExtUtils::Command -e rm_f lib/punie_grammar_gen.pir
perl -MExtUtils::Command -e rm_f lib/PunieGrammar.pbc
../../parrot ../../compilers/pge/rulec.pir lib/punie.g > lib/
punie_grammar_gen.pir
Error: too few arguments

Usage: ../../compilers/pge/rulec.pir [OPTIONS] --compiler=COMPILER FILE
Registered Compilers:
* p6rules
Options:
--output=OUTFILE -- redirect output to OUTFILE
--help -- print this message
../../parrot -o lib/PunieGrammar.pbc --output-pbc lib/PunieGrammar.pir
../../parrot -o punie.pbc --output-pbc punie.pir

Further, even though rulec.pir appears to have failed based on the
diagnostics, the exit code was still successful (the build continues
instead of stopping)

Regards.

Will Coleda

unread,
Mar 21, 2006, 1:04:59 AM3/21/06
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com

On Mar 21, 2006, at 12:54 AM, Will Coleda (via RT) wrote:

> # New Ticket Created by Will Coleda
> # Please include the string: [perl #38775]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38775 >

As of r11958, PGE itself doesn't build.

$ make realclean; perl Configure.pl; make
<snip>
perl -e "" >PGE/Library.pir
../../parrot -o PGE.pbc --output-pbc PGE.pir
../../parrot rulec.pir library.pge >PGE/Library.pir
Error: too few arguments

Usage: rulec.pir [OPTIONS] --compiler=COMPILER FILE


Registered Compilers:
* p6rules
Options:
--output=OUTFILE -- redirect output to OUTFILE
--help -- print this message

../../parrot -o PGE.pbc --output-pbc PGE.pir


Same behavior as the punie error already mentioned.

0 new messages