Skip to content

Instantly share code, notes, and snippets.

Created November 1, 2013 09:19
Show Gist options
  • Save anonymous/7262942 to your computer and use it in GitHub Desktop.
Save anonymous/7262942 to your computer and use it in GitHub Desktop.
where did stage2 come from?
core.setting:
[echo] building core.setting.jar
[echo] C:\Github\nqp\src\core\Hash.nqp C:\Github\nqp\src\core\IO.nqp C:\Github\nqp\src\core\NQPCapture.nqp C:\Github\nqp\src\core\NQPMu.nqp C:\Github\nqp\src\core\NQPRoutine.nqp C:\Github\nqp\src\core\NativeTypes.nqp C:\Github\nqp\src\core\Regex.nqp C:\Github\nqp\src\core\YOUAREHERE.nqp C:\Github\nqp\src\core\testing.nqp
gen-cat:
[java] Method 'new_type' not found for invocant of class 'NQPMu'
[java] in pkg_create_mo (gen/jvm/stage2/NQP.nqp:549)
[java] in (gen/jvm/stage2/NQP.nqp:1181)
[java] in package_def (gen/jvm/stage2/NQP.nqp:1171)
[java] in package_declarator:sym<class> (gen/jvm/stage2/NQP.nqp:1135)
[java] in !protoregex (gen/jvm/stage2/QRegex.nqp:742)
[java] in package_declarator (gen/jvm/stage2/NQP.nqp)
[java] in scoped (gen/jvm/stage2/NQP.nqp:1233)
[java] in scope_declarator:sym<my> (gen/jvm/stage2/NQP.nqp)
[java] in !protoregex (gen/jvm/stage2/QRegex.nqp:742)
[java] in scope_declarator (gen/jvm/stage2/NQP.nqp)
[java] in term:sym<scope_declarator> (gen/jvm/stage2/NQP.nqp)
[java] in !protoregex (gen/jvm/stage2/QRegex.nqp:742)
[java] in term (gen/jvm/stage2/NQPHLL.nqp)
[java] in termish (gen/jvm/stage2/NQPHLL.nqp)
[java] in EXPR (gen/jvm/stage2/NQPHLL.nqp:530)
[java] in statement (gen/jvm/stage2/NQP.nqp)
[java] in statementlist (gen/jvm/stage2/NQP.nqp)
[java] in comp_unit (gen/jvm/stage2/NQP.nqp:922)
[java] in TOP (gen/jvm/stage2/NQP.nqp:820)
[java] in parse (gen/jvm/stage2/QRegex.nqp:1247)
[java] in parse (gen/jvm/stage2/NQPHLL.nqp:1378)
[java] in (gen/jvm/stage2/NQPHLL.nqp:1334)
[java] in compile (gen/jvm/stage2/NQPHLL.nqp:1325)
[java] in eval (gen/jvm/stage2/NQPHLL.nqp:1083)
[java] in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1292)
[java] in command_eval (gen/jvm/stage2/NQPHLL.nqp:1196)
[java] in command_line (gen/jvm/stage2/NQPHLL.nqp:1171)
[java] in MAIN (gen/jvm/stage2/NQP.nqp:3639)
[java] in (gen/jvm/stage2/NQP.nqp:3635)
[java] in (gen/jvm/stage2/NQP.nqp)
[java] Java Result: 1
Copy link

ghost commented Nov 1, 2013

This is what I'm trying to do:

C:\Github\nqp>java -Xbootclasspath/a:src\vm\jvm;nqp-runtime.jar;C:\Github\nqp\3r
dparty\asm\asm-4.1.jar;C:\Github\nqp\3rdparty\asm\asm-tree-4.1.jar;C:\Github\nqp
\3rdparty\jline\jline-1.0.jar;C:\Github\nqp\3rdparty\jna\jna.jar;src\vm\jvm\stag
e0\nqp.jar -classpath C:\Github\nqp\src\vm\jvm\stage0 nqp --bootstrap --module-p
ath=gen\jvm\stage1 --setting=NULL --no-regex-lib --target=jar --output=gen\jvm\s
tage1\NQPCORE.setting.jar gen\jvm\stage1\NQPCORE.setting
Method 'new_type' not found for invocant of class 'NQPMu'
  in pkg_create_mo (gen/jvm/stage2/NQP.nqp:549)
  in  (gen/jvm/stage2/NQP.nqp:1181)
  in package_def (gen/jvm/stage2/NQP.nqp:1171)
  in package_declarator:sym<class> (gen/jvm/stage2/NQP.nqp:1135)
  in !protoregex (gen/jvm/stage2/QRegex.nqp:742)
  in package_declarator (gen/jvm/stage2/NQP.nqp)
  in scoped (gen/jvm/stage2/NQP.nqp:1233)
  in scope_declarator:sym<my> (gen/jvm/stage2/NQP.nqp)
  in !protoregex (gen/jvm/stage2/QRegex.nqp:742)
  in scope_declarator (gen/jvm/stage2/NQP.nqp)
  in term:sym<scope_declarator> (gen/jvm/stage2/NQP.nqp)
  in !protoregex (gen/jvm/stage2/QRegex.nqp:742)
  in term (gen/jvm/stage2/NQPHLL.nqp)
  in termish (gen/jvm/stage2/NQPHLL.nqp)
  in EXPR (gen/jvm/stage2/NQPHLL.nqp:530)
  in statement (gen/jvm/stage2/NQP.nqp)
  in statementlist (gen/jvm/stage2/NQP.nqp)
  in comp_unit (gen/jvm/stage2/NQP.nqp:922)
  in TOP (gen/jvm/stage2/NQP.nqp:820)
  in parse (gen/jvm/stage2/QRegex.nqp:1247)
  in parse (gen/jvm/stage2/NQPHLL.nqp:1378)
  in  (gen/jvm/stage2/NQPHLL.nqp:1334)
  in compile (gen/jvm/stage2/NQPHLL.nqp:1325)
  in eval (gen/jvm/stage2/NQPHLL.nqp:1083)
  in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1292)
  in command_eval (gen/jvm/stage2/NQPHLL.nqp:1196)
  in command_line (gen/jvm/stage2/NQPHLL.nqp:1171)
  in MAIN (gen/jvm/stage2/NQP.nqp:3639)
  in  (gen/jvm/stage2/NQP.nqp:3635)
  in  (gen/jvm/stage2/NQP.nqp)

C:\Github\nqp>

Copy link

ghost commented Nov 1, 2013

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