tadzik / rakudobrew

Perl 6 installation manager
MIT License
185 stars 42 forks source link

build moar-blead compile error #145

Closed hythm7 closed 5 years ago

hythm7 commented 5 years ago

Cloning the repo and then running rakudobrew build moar-blead produces this error after a few minutes of compiling:

from src/Perl6/Compiler.nqp:38  (blib/Perl6/Compiler.moarvm:command_eval)
 from gen/moar/stage2/NQPHLL.nqp:1838  (/home/hythm/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:command_line)
 from gen/moar/main.nqp:48  (perl6.moarvm:MAIN)
 from gen/moar/main.nqp:1  (perl6.moarvm:<mainline>)
 from <unknown>:1  (perl6.moarvm:<main>)
 from <unknown>:1  (perl6.moarvm:<entry>)
make: *** [Makefile:513: CORE.setting.moarvm] Error 1
Command failed (status 512): make
Failed running /usr/bin/perl5.28.1 Configure.pl --backends=moar --gen-moar=master --gen-nqp=master --git-reference="/home/hythm/.rakudobrew/bin/.
patrickbkr commented 5 years ago

@hythm7 This might be related to a change in rakudo that has been fixed a few hours ago. Can you try again?

hythm7 commented 5 years ago

@patzim Still failing for me. Let me know if I need to provide the Linux Version or any other info.

For now I'm building with rakudobrew build moar master since its working for me.

vrurg commented 5 years ago

@patzim That doesn't look like steming from a build problem. Though more diagnostics would be useful.

ugexe commented 5 years ago

I'm getting a similar issue. At the very least its obvious the path it is building into is not correct:

/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/

which should just be

/Users/ugexe/.rakudobrew/versions/moar-blead/

Stage parse      : New type Sub+{Callable[Nil]} for Sub is not a mixin type
   at gen/moar/Metamodel.nqp:1323  (blib/Perl6/Metamodel.moarvm:mixin)
 from gen/moar/Perl6-Actions.nqp:4006  (blib/Perl6/Actions.moarvm:routine_def)
 from gen/moar/stage2/QRegex.nqp:1598  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/QRegex.moarvm:!cursor_pass)
 from gen/moar/Perl6-Grammar.nqp:2433  (blib/Perl6/Grammar.moarvm:routine_def)
 from <unknown>:1  (blib/Perl6/Grammar.moarvm:routine_declarator:sym<sub>)
 from gen/moar/stage2/QRegex.nqp:1697  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/QRegex.moarvm:!protoregex)
 from <unknown>:1  (blib/Perl6/Grammar.moarvm:routine_declarator)
 from <unknown>:1  (blib/Perl6/Grammar.moarvm:term:sym<routine_declarator>)
 from gen/moar/stage2/QRegex.nqp:1697  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/QRegex.moarvm:!protoregex)
 from gen/moar/Perl6-Grammar.nqp:3615  (blib/Perl6/Grammar.moarvm:termish)
 from gen/moar/stage2/NQPHLL.nqp:1056  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:EXPR)
 from gen/moar/Perl6-Grammar.nqp:3651  (blib/Perl6/Grammar.moarvm:EXPR)
 from gen/moar/Perl6-Grammar.nqp:955  (blib/Perl6/Grammar.moarvm:statement)
 from gen/moar/Perl6-Grammar.nqp:883  (blib/Perl6/Grammar.moarvm:statementlist)
 from gen/moar/stage2/NQPHLL.nqp:1278  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:LANG)
 from gen/moar/Perl6-Grammar.nqp:1319  (blib/Perl6/Grammar.moarvm:FOREIGN_LANG)
 from gen/moar/Perl6-Grammar.nqp:825  (blib/Perl6/Grammar.moarvm:comp_unit)
 from gen/moar/Perl6-Grammar.nqp:555  (blib/Perl6/Grammar.moarvm:TOP)
 from gen/moar/stage2/QRegex.nqp:2302  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/QRegex.moarvm:parse)
 from gen/moar/stage2/NQPHLL.nqp:2099  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:parse)
 from gen/moar/stage2/NQPHLL.nqp:2019  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:execute_stage)
 from gen/moar/stage2/NQPHLL.nqp:2052  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:run)
 from gen/moar/stage2/NQPHLL.nqp:2044  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:)
 from gen/moar/stage2/NQPHLL.nqp:2039  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:compile)
 from gen/moar/stage2/NQPHLL.nqp:1729  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:eval)
 from gen/moar/stage2/NQPHLL.nqp:1957  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:evalfiles)
 from gen/moar/stage2/NQPHLL.nqp:1917  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:command_eval)
 from src/Perl6/Compiler.nqp:38  (blib/Perl6/Compiler.moarvm:command_eval)
 from gen/moar/stage2/NQPHLL.nqp:1842  (/Users/ugexe/.rakudobrew/versions/moar-blead-2019.03.1/install/share/nqp/lib/NQPHLL.moarvm:command_line)
 from gen/moar/main.nqp:48  (perl6.moarvm:MAIN)
 from gen/moar/main.nqp:1  (perl6.moarvm:<mainline>)
 from <unknown>:1  (perl6.moarvm:<main>)
 from <unknown>:1  (perl6.moarvm:<entry>)
make: *** [CORE.setting.moarvm] Error 1
Command failed (status 512): make
Failed running perl Configure.pl --backends=moar --gen-moar=master --gen-nqp=master --git-reference="/Users/ugexe/.rakudobrew/bin/../git_reference" --make-install  at /Users/ugexe/.rakudobrew/bin/../lib/Rakudobrew/Build.pm line 43.
ugexe commented 5 years ago

Also rakudobrew build moar-blead is trying to build moarvm/nqp for 2019.03, not HEAD