Failing to build javascript backend
Mai-Lapyst opened this issue · comments
Mai-Lapyst commented
When trying to build the javascript backend, the build process exits with following error:
/home/mai/projects/raku/nqp/nqp-m --module-path=/home/mai/projects/raku/nqp/gen/js/stage1 --target=mbc --output=/home/mai/projects/raku/nqp/gen/js/stage1/QAST/Compiler.moarvm /home/mai/projects/raku/nqp/gen/js/stage1/QASTCompiler.nqp
===SORRY!=== Error while compiling /home/mai/projects/raku/nqp/gen/js/stage1/QASTCompiler.nqp
Use of undeclared variable '$T_UINT' at NQP::src/vm/js/Operations.nqp:579, near ", $T_UINT]"
at NQP::src/HLL/Grammar.nqp:234 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:panic)
from NQP::src/NQP/Actions.nqp:479 (nqp.moarvm:variable)
from <unknown>:1 (nqp.moarvm:variable)
from <unknown>:1 (nqp.moarvm:term:sym<variable>)
from NQP::src/QRegex/Cursor.nqp:729 (/home/mai/projects/raku/nqp/QRegex.moarvm:!protoregex)
from <unknown>:1 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:termish)
from NQP::src/HLL/Grammar.nqp:79 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:nulltermish)
from NQP::src/HLL/Grammar.nqp:395 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:EXPR)
from <unknown>:1 (nqp.moarvm:circumfix:sym<[ ]>)
from NQP::src/QRegex/Cursor.nqp:729 (/home/mai/projects/raku/nqp/QRegex.moarvm:!protoregex)
from <unknown>:1 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:circumfix)
from <unknown>:1 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:term:sym<circumfix>)
from NQP::src/QRegex/Cursor.nqp:729 (/home/mai/projects/raku/nqp/QRegex.moarvm:!protoregex)
from <unknown>:1 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:termish)
from NQP::src/HLL/Grammar.nqp:79 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:nulltermish)
from NQP::src/HLL/Grammar.nqp:395 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:EXPR)
from <unknown>:1 (nqp.moarvm:arglist)
from <unknown>:1 (nqp.moarvm:args)
from <unknown>:1 (nqp.moarvm:term:sym<identifier>)
from NQP::src/QRegex/Cursor.nqp:729 (/home/mai/projects/raku/nqp/QRegex.moarvm:!protoregex)
from <unknown>:1 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:termish)
from NQP::src/HLL/Grammar.nqp:395 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:EXPR)
from NQP::src/NQP/Grammar.nqp:181 (nqp.moarvm:statement)
from <unknown>:1 (nqp.moarvm:statementlist)
from <unknown>:1 (nqp.moarvm:blockoid)
from NQP::src/NQP/Grammar.nqp:472 (nqp.moarvm:package_def)
from <unknown>:1 (nqp.moarvm:package_declarator:sym<class>)
from NQP::src/QRegex/Cursor.nqp:757 (/home/mai/projects/raku/nqp/QRegex.moarvm:!protoregex)
from <unknown>:1 (nqp.moarvm:package_declarator)
from <unknown>:1 (nqp.moarvm:term:sym<package_declarator>)
from NQP::src/QRegex/Cursor.nqp:757 (/home/mai/projects/raku/nqp/QRegex.moarvm:!protoregex)
from <unknown>:1 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:termish)
from NQP::src/HLL/Grammar.nqp:418 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:EXPR)
from NQP::src/NQP/Grammar.nqp:181 (nqp.moarvm:statement)
from <unknown>:1 (nqp.moarvm:statementlist)
from NQP::src/NQP/Grammar.nqp:148 (nqp.moarvm:comp_unit)
from NQP::src/NQP/Grammar.nqp:40 (nqp.moarvm:TOP)
from NQP::src/QRegex/Cursor.nqp:1505 (/home/mai/projects/raku/nqp/QRegex.moarvm:parse)
from NQP::src/HLL/Compiler.nqp:550 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:parse)
from NQP::src/HLL/Compiler.nqp:465 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:execute_stage)
from NQP::src/HLL/Compiler.nqp:501 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:run)
from NQP::src/HLL/Compiler.nqp:504 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:)
from NQP::src/HLL/Compiler.nqp:496 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:compile)
from NQP::src/HLL/Compiler.nqp:166 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:eval)
from NQP::src/HLL/Compiler.nqp:441 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:evalfiles)
from NQP::src/HLL/Compiler.nqp:364 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:command_eval)
from NQP::src/HLL/Compiler.nqp:289 (/home/mai/projects/raku/nqp/NQPHLL.moarvm:command_line)
from NQP::src/NQP/Compiler.nqp:37 (nqp.moarvm:MAIN)
from NQP::src/NQP/Compiler.nqp:35 (nqp.moarvm:<mainline>)
from <unknown>:1 (nqp.moarvm:<main>)
from <unknown>:1 (nqp.moarvm:<entry>)
make: *** [Makefile:1191: /home/mai/projects/raku/nqp/gen/js/stage1/QAST/Compiler.moarvm] Fehler 1
Command used: perl Configure.pl --backends=moar,jvm,js --gen-moar
Permalink to line in gh:
Line 579 in 3af1893