tadzik / rakudobrew

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

Rakudobrew build moar fails #85

Closed JJ closed 8 years ago

JJ commented 8 years ago
./perl6-m tools/build/install-core-dist.pl /home/jmerelo/.rakudobrew/moar-nom/install/share/perl6
===SORRY!=== Error while compiling /home/jmerelo/.rakudobrew/moar-nom/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall)
An exception occurred while evaluating a constant
at /home/jmerelo/.rakudobrew/moar-nom/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall):13
Exception details:
  Could not find symbol '&bool'
    in block  at sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 13

  in block <unit> at tools/build/install-core-dist.pl line 13

make: *** [m-install] Error 1
Command failed (status 512): make install
Failed running /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/bin/perl Configure.pl --backends=moar --gen-moar --git-reference=/home/jmerelo/.rakudobrew/bin/../git_reference --make-install  at /home/jmerelo/.rakudobrew/bin/rakudobrew line 58.
    main::run("/home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/bin/perl Confi"...) called at /home/jmerelo/.rakudobrew/bin/rakudobrew line 378
    main::build_impl("moar", undef, "") called at /home/jmerelo/.rakudobrew/bin/rakudobrew line 114

This is Ubuntu 14.04, latest version of rakudobrew

tadzik commented 8 years ago

Looks like an incomplete cleanup of the previous rakudo version; does rakudobrew nuke moar; rakudobrew build moar help? (Keep in mind that it'll also nuke your installed modules and local patches)

JJ commented 8 years ago

Might be. I'll try that.

JJ commented 8 years ago

Tried, and obtained

$ rakudobrew nuke moar
Sorry, I'm not sure if you mean:
moar-nom
moar-2016.01.1
Updating shims
JJ commented 8 years ago

Nuked moar-nom, tried to build again, no joy:

Configuration FAIL. You can try to salvage the generated Makefile.
Command failed (status 256): /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/bin/perl Configure.pl --optimize --prefix=/home/jmerelo/.rakudobrew/moar-2016.04/install --make-install
Command failed (status 7424): /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/bin/perl Configure.pl --prefix=/home/jmerelo/.rakudobrew/moar-2016.04/install --backends=moar --make-install --git-protocol=https --git-reference=/home/jmerelo/.rakudobrew/bin/../git_reference --gen-moar
Failed running /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/bin/perl Configure.pl --backends=moar --gen-moar --git-reference=/home/jmerelo/.rakudobrew/bin/../git_reference --make-install  at /home/jmerelo/.rakudobrew/bin/rakudobrew line 64.
    main::run("/home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/bin/perl Confi"...) called at /home/jmerelo/.rakudobrew/bin/rakudobrew line 384
    main::build_impl("moar", 2016.04, "") called at /home/jmerelo/.rakudobrew/bin/rakudobrew line 120
tadzik commented 8 years ago

Very strange. Can you show me the entire output, from rakudobrew build moar until it ends? I assume it's something with rakudo itself, not rakudobrew, but I can't really tell from this alone :(

JJ commented 8 years ago

It could very well be that. I'll try again, with another version, and see what happens.

JJ commented 8 years ago

Well, now I've built 2016.03 and then 2016.04 and it works like a charm. Previously I only had 2016.01 built. Could be some incremental issue having to do with that, but who knows...