Skip to content

Instantly share code, notes, and snippets.

@lizmat
Last active July 17, 2020 16:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lizmat/cf6f4178e6ba769fdfd242c2134edfe2 to your computer and use it in GitHub Desktop.
build failure backtrace
$ perl Configure.pl --gen-moar --make-install; date
===ATTENTION===
No --prefix supplied, building and installing to /Users/liz/Github/rakudo.moar/install
Found /Users/liz/Github/rakudo.moar/install/bin/nqp-m (backend moar)
Using /Users/liz/Github/rakudo.moar/install/bin/nqp-m (version 2020.06-16-g6bdf69921 / MoarVM 2020.06-34-gd564695f6).
Cleaning up ...
+++ Checking for moar NQP version
+++ Expanding gen/moar/main-version.nqp
+++ Generating gen/moar/rakudo.nqp
+++ Generating gen/moar/Grammar.nqp
+++ Generating gen/moar/World.nqp
+++ Generating gen/moar/ModuleLoader.nqp
+++ Compiling blib/Perl6/ModuleLoader.moarvm
+++ Generating gen/moar/Ops.nqp
+++ Compiling dynext/libperl6_ops_moar.dylib
+++ Compiling blib/Perl6/Ops.moarvm
+++ Generating gen/moar/Pod.nqp
+++ Compiling blib/Perl6/Pod.moarvm
+++ Compiling blib/Perl6/World.moarvm
+++ Generating gen/moar/Actions.nqp
+++ Compiling blib/Perl6/Actions.moarvm
+++ Compiling blib/Perl6/Grammar.moarvm
+++ Generating gen/moar/Compiler.nqp
+++ Generating gen/moar/Optimizer.nqp
+++ Compiling blib/Perl6/Optimizer.moarvm
+++ Compiling blib/Perl6/Compiler.moarvm
+++ Compiling rakudo.moarvm
+++ Generating gen/moar/BOOTSTRAP/v6c.nqp
+++ Generating gen/moar/Metamodel.nqp
+++ Compiling blib/Perl6/Metamodel.moarvm
+++ Compiling blib/Perl6/BOOTSTRAP/v6c.moarvm
+++ Compiling blib/CORE.c.setting.moarvm
The following step can take a long time, please be patient.
Stage start : 0.000
Missing or wrong version of dependency '/Users/liz/Github/rakudo.moar/install/share/nqp/lib/MAST/Ops.nqp' (from 'gen/moar/BOOTSTRAP/v6c.nqp')
at <unknown>:1 (/Users/liz/Github/rakudo.moar/install/share/perl6/lib/Perl6/BOOTSTRAP/v6c.moarvm:<dependencies+deserialize>)
from gen/moar/ModuleLoader.nqp:93 (/Users/liz/Github/rakudo.moar/blib/Perl6/ModuleLoader.moarvm:)
from gen/moar/ModuleLoader.nqp:76 (/Users/liz/Github/rakudo.moar/blib/Perl6/ModuleLoader.moarvm:load_module)
from gen/moar/World.nqp:1458 (/Users/liz/Github/rakudo.moar/blib/Perl6/World.moarvm:load_module_early)
from gen/moar/World.nqp:788 (/Users/liz/Github/rakudo.moar/blib/Perl6/World.moarvm:comp_unit_stage1)
from gen/moar/Grammar.nqp:840 (/Users/liz/Github/rakudo.moar/blib/Perl6/Grammar.moarvm:comp_unit)
from gen/moar/Grammar.nqp:555 (/Users/liz/Github/rakudo.moar/blib/Perl6/Grammar.moarvm:TOP)
from gen/moar/stage2/QRegex.nqp:2258 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/QRegex.moarvm:parse)
from gen/moar/stage2/NQPHLL.nqp:2300 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:parse)
from gen/moar/stage2/NQPHLL.nqp:2216 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:execute_stage)
from gen/moar/stage2/NQPHLL.nqp:2251 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:run)
from gen/moar/stage2/NQPHLL.nqp:2247 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:)
from gen/moar/stage2/NQPHLL.nqp:2243 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:compile)
from gen/moar/stage2/NQPHLL.nqp:1918 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:2153 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:evalfiles)
from gen/moar/stage2/NQPHLL.nqp:2113 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:command_eval)
from gen/moar/Compiler.nqp:56 (/Users/liz/Github/rakudo.moar/blib/Perl6/Compiler.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:2038 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:command_line)
from gen/moar/rakudo.nqp:115 (rakudo.moarvm:MAIN)
from gen/moar/rakudo.nqp:1 (rakudo.moarvm:<mainline>)
from <unknown>:1 (rakudo.moarvm:<main>)
from <unknown>:1 (rakudo.moarvm:<entry>)
make: *** [blib/CORE.c.setting.moarvm] Error 1
Command failed (status 512): make
at /Users/liz/Github/rakudo.moar/3rdparty/nqp-configure/lib/NQP/Config.pm line 34.
NQP::Config::__ANON__("Command failed (status 512): make\x{a}") called at /Users/liz/Github/rakudo.moar/3rdparty/nqp-configure/lib/NQP/Config.pm line 1483
NQP::Config::system_or_die("make") called at Configure.pl line 121
Fri Jul 17 12:32:45 CEST 2020
@vrurg
Copy link

vrurg commented Jul 17, 2020

I've got it too. So, we have 100% reproducible issue. This is the good.

The bad: A dependency is a usual suspect for this kind of error. But I'm totally confused with this case because previously it was always happening only to what is being built now. But this time it's a cross-project failure.

The most likely reason at the first glance: incomplete rebuild of nqp. But it's can't be true because the bump results in re-run of Configure.pl and full cleanup of nqp/. It does take place because when I look into nqp/gen/moar/**/* all modification times are of the build time. Same applies to all *.moarvm: they're updated at the time of build.

Another version is *.moarvm is not installed after build. Not true, times in install/share/nqp/ are updated accordingly.

That's all I have for now. Not much, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment