Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fail #24

Open
alainbebe opened this issue Apr 25, 2020 · 3 comments
Open

Install fail #24

alainbebe opened this issue Apr 25, 2020 · 3 comments

Comments

@alainbebe
Copy link

Hi,
I try to install perl6-tidy, but install parser fail.

===> Testing: Perl6::Parser:ver<0.3.0>:authgithub:drforr
[Perl6::Parser] Cannot call method 'parsegrammar' on a null object
[Perl6::Parser] in method parse at /home/alain/.zef/store/Perl6-Parser-0.3.0.tar.gz/Perl6-Parser-0.3.0/lib/Perl6/Parser.pm6 (Perl6::Parser) line 545
[Perl6::Parser] in block at t/01-parse-text.t line 13
[Perl6::Parser] Cannot call method 'parsegrammar' on a null object
[Perl6::Parser] in method parse at /home/alain/.zef/store/Perl6-Parser-0.3.0.tar.gz/Perl6-Parser-0.3.0/lib/Perl6/Parser.pm6 (Perl6::Parser) line 545
[Perl6::Parser] in method to-tree at /home/alain/.zef/store/Perl6-Parser-0.3.0.tar.gz/Perl6-Parser-0.3.0/lib/Perl6/Parser.pm6 (Perl6::Parser) line 585
[Perl6::Parser] in block at t/02-build-tree.t line 17

zef --version
v0.8.2
raku --version
This is Rakudo version 2020.01 built on MoarVM version 2020.01.1
implementing Perl 6.d.
cat /etc/debian_version
10.0

@alainbebe
Copy link
Author

It works with rakudo-star-2019.03
I don't know why, but with my 2020.01
my $compiler := nqp::getcomp('perl6');
say $compiler;
return : (Mu)
But know, I have
`perl6-tidy grammar.raku
Could not find symbol '&Catch-All'
in method fall-through at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/FE4C650BE4EA4561724D9BA36A6BF394D888DB27 (Perl6::Parser::Factory) line 547
in method _statement at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/FE4C650BE4EA4561724D9BA36A6BF394D888DB27 (Perl6::Parser::Factory) line 6730
in method _statementlist at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/FE4C650BE4EA4561724D9BA36A6BF394D888DB27 (Perl6::Parser::Factory) line 6740
in method build at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/FE4C650BE4EA4561724D9BA36A6BF394D888DB27 (Perl6::Parser::Factory) line 1879
in method build-tree at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/4330BD1B53569952EDF290D2FC9E00D9BE0BFA9A (Perl6::Parser) line 573
in method to-tree at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/4330BD1B53569952EDF290D2FC9E00D9BE0BFA9A (Perl6::Parser) line 586
in method to-tokens-only at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/4330BD1B53569952EDF290D2FC9E00D9BE0BFA9A (Perl6::Parser) line 596
in method tidy at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/EDAF7BC963761603883D884BF9B8AF9C84083F99 (Perl6::Tidy) line 512
in method tidy at /home/opt/rakudo-star-2019.03/install/share/perl6/site/sources/EDAF7BC963761603883D884BF9B8AF9C84083F99 (Perl6::Tidy) line 571
in sub MAIN at /home/opt/rakudo-star-2019.03/install/share/perl6/site/resources/F1C1E7596E4E80347402CD8FDD5DB16CE23B4722 line 26
in block at /home/opt/rakudo-star-2019.03/install/share/perl6/site/resources/F1C1E7596E4E80347402CD8FDD5DB16CE23B4722 line 3
in sub MAIN at /opt/rakudo-star/install/share/perl6/site/bin/perl6-tidy line 3
in block at /opt/rakudo-star/install/share/perl6/site/bin/perl6-tidy line 1

`

@alainbebe
Copy link
Author

Fail also with raku --version
This is Rakudo version 2020.05.1 built on MoarVM version 2020.05
implementing Raku 6.d.

@wenjie1991
Copy link

I encountered the same issue. I tried to fix this problem by the PR Raku#3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants