Snippet content copied to clipboard.
Are you sure to delete this snippet? No, don't delete
  1. |➜ rakubrew build jvm
  2. Update git reference: rakudo
  3. remote: Enumerating objects: 12337, done.
  4. remote: Counting objects: 100% (9652/9652), done.
  5. remote: Compressing objects: 100% (2147/2147), done.
  6. remote: Total 12337 (delta 7619), reused 9313 (delta 7386), pack-reused 2685 (from 1)
  7. Receiving objects: 100% (12337/12337), 4.50 MiB | 11.97 MiB/s, done.
  8. Resolving deltas: 100% (8958/8958), completed with 241 local objects.
  9. From https://github.com/rakudo/rakudo
  10. * branch HEAD -> FETCH_HEAD
  11. Update git reference: nqp
  12. remote: Enumerating objects: 1834, done.
  13. remote: Counting objects: 100% (1834/1834), done.
  14. remote: Compressing objects: 100% (569/569), done.
  15. remote: Total 1834 (delta 1188), reused 1725 (delta 1113), pack-reused 0 (from 0)
  16. Receiving objects: 100% (1834/1834), 8.37 MiB | 6.75 MiB/s, done.
  17. Resolving deltas: 100% (1188/1188), completed with 36 local objects.
  18. From https://github.com/perl6/nqp
  19. * branch HEAD -> FETCH_HEAD
  20. Cloning into 'jvm-2024.07'...
  21. remote: Enumerating objects: 12722, done.
  22. remote: Counting objects: 100% (9986/9986), done.
  23. remote: Compressing objects: 100% (2189/2189), done.
  24. remote: Total 12722 (delta 7883), reused 9664 (delta 7674), pack-reused 2736 (from 1)
  25. Receiving objects: 100% (12722/12722), 4.60 MiB | 5.60 MiB/s, done.
  26. Resolving deltas: 100% (9249/9249), completed with 244 local objects.
  27. Updating submodules .................................... OK
  28. ===ATTENTION===
  29. No --prefix supplied, building and installing to /home/user/.rakubrew/versions/jvm-2024.07/install
  30. No pre-existing installed file found at /home/user/.rakubrew/versions/jvm-2024.07/install/bin/nqp-j
  31. From https://github.com/perl6/nqp
  32. * branch HEAD -> FETCH_HEAD
  33. Cloning from https://github.com/Raku/nqp.git
  34. Cloning into 'nqp'...
  35. remote: Enumerating objects: 1853, done.
  36. remote: Counting objects: 100% (1853/1853), done.
  37. remote: Compressing objects: 100% (587/587), done.
  38. remote: Total 1853 (delta 1191), reused 1743 (delta 1114), pack-reused 0 (from 0)
  39. Receiving objects: 100% (1853/1853), 8.38 MiB | 10.65 MiB/s, done.
  40. Resolving deltas: 100% (1191/1191), completed with 36 local objects.
  41. Note: switching to '2024.07'.
  42. You are in 'detached HEAD' state. You can look around, make experimental
  43. changes and commit them, and you can discard any commits you make in this
  44. state without impacting any branches by switching back to a branch.
  45. If you want to create a new branch to retain commits you create, you may
  46. do so (now or later) by using -c with the switch command. Example:
  47. git switch -c <new-branch-name>
  48. Or undo this operation with:
  49. git switch -
  50. Turn off this advice by setting config variable advice.detachedHead to false
  51. HEAD is now at b6b574604 [release] Bump VERSION to 2024.07
  52. Building NQP ...
  53. /usr/bin/perl Configure.pl --prefix=/home/user/.rakubrew/versions/jvm-2024.07/install --make-install --git-protocol=https --no-relocatable --no-ignore-errors --silent-build --no-force-rebuild --git-cache-dir=/home/user/.rakubrew/git_reference --backends=jvm
  54. Updating submodules .................................... OK
  55. got: java version "21.0.2" 2024-01-16 LTS
  56. Using java version "21.0.2" 2024-01-16 LTS
  57. Cleaning up ...
  58. +++ Preparing JVM build directories
  59. ++++++ Building JVM backend
  60. +++ Preparing Java runtime
  61. src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:151: warning: Unsafe is internal proprietary API and may be removed in a future release
  62. import sun.misc.Unsafe;
  63. ^
  64. src/vm/jvm/runtime/org/raku/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:10: warning: Unsafe is internal proprietary API and may be removed in a future release
  65. import sun.misc.Unsafe;
  66. ^
  67. src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:167: warning: Unsafe is internal proprietary API and may be removed in a future release
  68. Field theUnsafe = Unsafe.class.getDeclaredField("theUnsafe");
  69. ^
  70. src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:169: warning: Unsafe is internal proprietary API and may be removed in a future release
  71. Unsafe u = (Unsafe)theUnsafe.get(null);
  72. ^
  73. src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:169: warning: Unsafe is internal proprietary API and may be removed in a future release
  74. Unsafe u = (Unsafe)theUnsafe.get(null);
  75. ^
  76. src/vm/jvm/runtime/org/raku/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:119: warning: Unsafe is internal proprietary API and may be removed in a future release
  77. private Unsafe unsafe;
  78. ^
  79. src/vm/jvm/runtime/org/raku/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:126: warning: Unsafe is internal proprietary API and may be removed in a future release
  80. Field unsafeField = Unsafe.class.getDeclaredField("theUnsafe");
  81. ^
  82. src/vm/jvm/runtime/org/raku/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:128: warning: Unsafe is internal proprietary API and may be removed in a future release
  83. unsafe = (Unsafe)unsafeField.get(null);
  84. ^
  85. Note: Some input files use or override a deprecated API.
  86. Note: Recompile with -Xlint:deprecation for details.
  87. Note: Some input files use unchecked or unsafe operations.
  88. Note: Recompile with -Xlint:unchecked for details.
  89. 8 warnings
  90. JVMDUMP055I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError", exception "Failed to create a thread: retVal -1073741830, errno 1" at 2024/08/28 14:40:16 - please wait.
  91. JVMDUMP032I JVM requested System dump using '/home/user/.rakubrew/versions/jvm-2024.07/nqp/core.20240828.144016.38729.0001.dmp' in response to an event
  92. JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" specifies that the core dump is to be piped to an external program. Attempting to rename either core or core.38780. Review the manual for the external program to find where the core dump is written and ensure the program does not truncate it.
  93. JVMPORT049I The core file created by child process with pid = 38780 was not found. Review the documentation for the /proc/sys/kernel/core_pattern program "|/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" to find where the core file is written and ensure that program does not truncate it.
  94. JVMDUMP012E Error in System dump: /home/user/.rakubrew/versions/jvm-2024.07/nqp/core.20240828.144016.38729.0001.dmp
  95. JVMDUMP032I JVM requested Heap dump using '/home/user/.rakubrew/versions/jvm-2024.07/nqp/heapdump.20240828.144016.38729.0002.phd' in response to an event
  96. JVMDUMP010I Heap dump written to /home/user/.rakubrew/versions/jvm-2024.07/nqp/heapdump.20240828.144016.38729.0002.phd
  97. JVMDUMP032I JVM requested Java dump using '/home/user/.rakubrew/versions/jvm-2024.07/nqp/javacore.20240828.144016.38729.0003.txt' in response to an event
  98. JVMDUMP010I Java dump written to /home/user/.rakubrew/versions/jvm-2024.07/nqp/javacore.20240828.144016.38729.0003.txt
  99. JVMDUMP032I JVM requested Snap dump using '/home/user/.rakubrew/versions/jvm-2024.07/nqp/Snap.20240828.144016.38729.0004.trc' in response to an event
  100. JVMDUMP010I Snap dump written to /home/user/.rakubrew/versions/jvm-2024.07/nqp/Snap.20240828.144016.38729.0004.trc
  101. JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
  102. Error: Port Library failed to initialize: -86
  103. Error: Could not create the Java Virtual Machine.
  104. Error: A fatal exception has occurred. Program will exit.
  105. make: *** [Makefile:637: gen/jvm/share/runtime/nqp-runtime.jar] Error 1
  106. Command failed (status 512): make
  107. at /home/user/.rakubrew/versions/jvm-2024.07/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 34.
  108. NQP::Config::__ANON__("Command failed (status 512): make\x{a}") called at /home/user/.rakubrew/versions/jvm-2024.07/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 1502
  109. NQP::Config::system_or_die("make") called at Configure.pl line 153
  110. Command failed (status 512): /usr/bin/perl Configure.pl --prefix=/home/user/.rakubrew/versions/jvm-2024.07/install --make-install --git-protocol=https --no-relocatable --no-ignore-errors --silent-build --no-force-rebuild --git-cache-dir=/home/user/.rakubrew/git_reference --backends=jvm
  111. at /home/user/.rakubrew/versions/jvm-2024.07/3rdparty/nqp-configure/lib/NQP/Config.pm line 34.
  112. NQP::Config::__ANON__("Command failed (status 512): /usr/bin/perl Configure.pl --pre"...) called at /home/user/.rakubrew/versions/jvm-2024.07/3rdparty/nqp-configure/lib/NQP/Config.pm line 1502
  113. NQP::Config::system_or_die("/usr/bin/perl", "Configure.pl", "--prefix=/home/user/.rakubrew/versions/jvm-2024.07/install", "--make-install", "--git-protocol=https", "--no-relocatable", "--no-ignore-errors", "--silent-build", ...) called at /home/user/.rakubrew/versions/jvm-2024.07/tools/lib/NQP/Config/Rakudo.pm line 719
  114. NQP::Config::Rakudo::gen_nqp(NQP::Config::Rakudo=HASH(0x582f0d080788)) called at Configure.pl line 145
  115. Failed running /usr/bin/perl Configure.pl --backends=jvm --gen-nqp --make-install --git-cache-dir="/home/user/.rakubrew/git_reference" at /home/user/.rakubrew/bin/rakubrew line 752.

Edit this Snippet