* Package: dev-lang/mozart-2.0.1:0 * Repository: gentoo * Maintainer: keri@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-21 >>> Unpacking source... >>> Unpacking mozart-2.0.1.tar.gz to /var/tmp/portage/dev-lang/mozart-2.0.1/work >>> Unpacking mozart-2.0.1-gentoo-patchset-2.tar.gz to /var/tmp/portage/dev-lang/mozart-2.0.1/work >>> Source unpacked in /var/tmp/portage/dev-lang/mozart-2.0.1/work >>> Preparing source in /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1 ... * Applying patches from /var/tmp/portage/dev-lang/mozart-2.0.1/work/2.0.1 ... * mozart-ant-build.patch ... [ ok ] * mozart-boost-io-context.patch ... [ ok ] * mozart-bootcompiler-parser.patch ... [ ok ] * mozart-bootcompiler-scala-2.12.patch ... [ ok ] * mozart-bootcompiler-scopt.patch ... [ ok ] * mozart-gmp.patch ... [ ok ] * mozart-numeric-limits.patch ... [ ok ] * mozart-opi.patch ... [ ok ] * mozart-version.patch ... [ ok ] * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart-2.0.1_build" * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, opti >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart-2.0.1_build" cmake -C /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart-2.0.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DMOZART_BOOST_USE_STATIC_LIBS=OFF -DEMACS= -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart-2.0.1_build/gentoo_toolchain.cmake /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1 loading initial cache file /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart-2.0.1_build/gentoo_common_config.cmake CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Build type: Gentoo -- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.42.1") -- The C compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Mozart 2.0.1 (2018-09-05) -- Building outside the source tree: 'dist' target enabled CMake Deprecation Warning at vm/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Boost: /usr/lib64/cmake/Boost-1.83.0/BoostConfig.cmake (found version "1.83.0") found components: random system thread filesystem chrono -- Found GMP: /usr/include/gmp.h and /usr/lib64/libgmp.so CMake Deprecation Warning at bootcompiler/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Java: /opt/openjdk-bin-21.0.1_p12/bin/java (found version "21.0.1") found components: Runtime CMake Deprecation Warning at boosthost/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Boost: /usr/lib64/cmake/Boost-1.83.0/BoostConfig.cmake (found version "1.83.0") found components: program_options random system thread filesystem chrono -- Found GMP: /usr/include/gmp.h and /usr/lib64/libgmp.so CMake Deprecation Warning at opi/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning at opi/emacs/CMakeLists.txt:9 (message): Emacs executable not found, cannot build .el files CMake Deprecation Warning at wish/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Tclsh: /usr/bin/tclsh (found version "8.6") -- Found TCL: /usr/lib64/libtcl.so -- Found TCLTK: /usr/lib64/libtcl.so -- Found TK: /usr/lib64/libtk.so -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native -fno-diagnostics-color C++ -O2 -pipe -march=native -fno-diagnostics-color Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done (1.0s) -- Generating done (0.1s) -- Build files have been written to: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart-2.0.1_build >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1 ... Rewriting attributes Rewriting ./bootcompiler/build.xml * Disabling all optional ANT_TASKS * java-pkg_ensure-dep: The ebuild is attempting to use scala:2.12, which is not declared with a SLOT in [RP]DEPEND and --build-only wasn't given. Warning: Unable to determine tools.jar location. If build fails because sun.* classes could not be found, Make sure you are using a JDK, not JRE as your user/system VM. and that you have java-config version 2.0.30 or above installed. Buildfile: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler/build.xml init: compile: [mkdir] Created dir: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler/classes [scalac] Compiling 67 source files to /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler/classes [scalac] error: bad constant pool index: 0 at pos: 48445 [scalac] scala.reflect.internal.FatalError: bad constant pool index: 0 at pos: 48445 [scalac] at scala.reflect.internal.Reporting.abort(Reporting.scala:61) [scalac] at scala.reflect.internal.Reporting.abort$(Reporting.scala:57) [scalac] at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:16) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser$ConstantPool.errorBadIndex(ClassfileParser.scala:360) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser$ConstantPool.getName(ClassfileParser.scala:208) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.readParamNames$1(ClassfileParser.scala:848) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.parseAttribute$1(ClassfileParser.scala:861) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.$anonfun$parseAttributes$17(ClassfileParser.scala:1092) [scalac] at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:156) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.parseAttributes(ClassfileParser.scala:1092) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.parseMethod(ClassfileParser.scala:620) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.$anonfun$parseClass$4(ClassfileParser.scala:498) [scalac] at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:156) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.queueLoad$1(ClassfileParser.scala:498) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.$anonfun$parseClass$5(ClassfileParser.scala:508) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.parseClass(ClassfileParser.scala:513) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.$anonfun$parse$1(ClassfileParser.scala:154) [scalac] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.pushBusy(ClassfileParser.scala:125) [scalac] at scala.tools.nsc.symtab.classfile.ClassfileParser.parse(ClassfileParser.scala:146) [scalac] at scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader.doComplete(SymbolLoaders.scala:318) [scalac] at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:220) [scalac] at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1530) [scalac] at scala.reflect.internal.Definitions.scala$reflect$internal$Definitions$$enterNewMethod(Definitions.scala:43) [scalac] at scala.reflect.internal.Definitions$DefinitionsClass.String_$plus$lzycompute(Definitions.scala:1083) [scalac] at scala.reflect.internal.Definitions$DefinitionsClass.String_$plus(Definitions.scala:1083) [scalac] at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreMethods$lzycompute(Definitions.scala:1356) [scalac] at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreMethods(Definitions.scala:1338) [scalac] at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode$lzycompute(Definitions.scala:1368) [scalac] at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode(Definitions.scala:1368) [scalac] at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1424) [scalac] at scala.tools.nsc.Global$Run.(Global.scala:1164) [scalac] at scala.tools.ant.Scalac.executeInternal(Scalac.scala:682) [scalac] at scala.tools.ant.Scalac.execute(Scalac.scala:630) [scalac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) [scalac] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [scalac] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [scalac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) [scalac] at org.apache.tools.ant.Task.perform(Task.java:350) [scalac] at org.apache.tools.ant.Target.execute(Target.java:449) [scalac] at org.apache.tools.ant.Target.performTasks(Target.java:470) [scalac] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) [scalac] at org.apache.tools.ant.Project.executeTarget(Project.java:1374) [scalac] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [scalac] at org.apache.tools.ant.Project.executeTargets(Project.java:1264) [scalac] at org.apache.tools.ant.Main.runBuild(Main.java:827) [scalac] at org.apache.tools.ant.Main.startAnt(Main.java:223) [scalac] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) [scalac] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) BUILD FAILED /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler/build.xml:20: Compile failed because of an internal compiler error (bad constant pool index: 0 at pos: 48445); see the error output for details. Total time: 1 second * ERROR: dev-lang/mozart-2.0.1::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4418: Called eant 'jar' * environment, line 1371: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-lang/mozart-2.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/mozart-2.0.1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-21 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.1_p12" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac" and of course, the output of emerge --info =mozart-2.0.1 * The complete build log is located at '/var/log/portage/dev-lang:mozart-2.0.1:20231105-080528.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/mozart-2.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mozart-2.0.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler' * S: '/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1'