* Package: dev-lang/mozart-2.0.1 * Repository: gentoo * Maintainer: keri@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * Using: openjdk-bin-8 >>> 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-1.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-2.0.1-ant-build.patch ... [ ok ] * mozart-2.0.1-boost-io-context.patch ... [ ok ] * mozart-2.0.1-bootcompiler-parser.patch ... [ ok ] * mozart-2.0.1-bootcompiler-scopt.patch ... [ ok ] * mozart-2.0.1-gmp.patch ... [ ok ] * mozart-2.0.1-opi.patch ... [ ok ] * mozart-2.0.1-version.patch ... [ ok ] * Working in 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 ... * Working in 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 < 2.8.12 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 11.1.0 -- 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.31.1") -- The C compiler identification is GNU 11.1.0 -- 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 < 2.8.12 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 /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) vm/boostenv/main/CMakeLists.txt:3 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) vm/boostenv/main/CMakeLists.txt:3 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) vm/boostenv/main/CMakeLists.txt:3 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) vm/boostenv/main/CMakeLists.txt:3 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) vm/boostenv/main/CMakeLists.txt:3 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) vm/boostenv/main/CMakeLists.txt:3 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) vm/boostenv/main/CMakeLists.txt:3 (find_package) -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Boost: /usr/include (found version "1.76.0") found components: random system thread filesystem chrono date_time atomic -- 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 < 2.8.12 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-8.292_p10/bin/java (found version "1.8.0.292") found components: Runtime CMake Deprecation Warning at boosthost/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 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 /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1354 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:1476 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES) boosthost/emulator/CMakeLists.txt:22 (find_package) -- Found Boost: /usr/include (found version "1.76.0") found components: program_options random system thread filesystem chrono date_time atomic -- 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 < 2.8.12 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 < 2.8.12 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 -pipe -march=native -fno-diagnostics-color -O2 C++ -pipe -march=native -fno-diagnostics-color -O2 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 -- Generating done -- 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. 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] /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler/src/main/scala/scala/util/parsing/combinator/lexical/StdLexical.scala:41: warning: match may not be exhaustive. [scalac] It would fail on the following inputs: ~(_, '\''), ~(_, (x: StdLexical.this.Elem forSome x not in '\'')) [scalac] | '\'' ~ rep( chrExcept('\'', '\n', EofCh) ) ~ '\'' ^^ { case '\'' ~ chars ~ '\'' => StringLit(chars mkString "") } [scalac] ^ [scalac] /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler/src/main/scala/scala/util/parsing/combinator/lexical/StdLexical.scala:42: warning: match may not be exhaustive. [scalac] It would fail on the following inputs: ~(_, '\"'), ~(_, (x: StdLexical.this.Elem forSome x not in '\"')) [scalac] | '\"' ~ rep( chrExcept('\"', '\n', EofCh) ) ~ '\"' ^^ { case '\"' ~ chars ~ '\"' => StringLit(chars mkString "") } [scalac] ^ [scalac] warning: there were 181 feature warnings; re-run with -feature for details [scalac] three warnings found [scalac] Compile succeeded with 3 warnings; see the compiler output for details. jar: [jar] Building jar: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/bootcompiler/bootcompiler.jar BUILD SUCCESSFUL Total time: 39 seconds * Working in BUILD_DIR: "/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart-2.0.1_build" ninja -v -j2 -l0 [1/177] /usr/bin/x86_64-pc-linux-gnu-g++ -Dmozartvm_EXPORTS -Ivm/vm/main -I/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/cached -pipe -march=native -fno-diagnostics-color -O2 -fPIC -std=c++0x -Wall -MD -MT vm/vm/main/CMakeFiles/mozartvm.dir/memmanager.cc.o -MF vm/vm/main/CMakeFiles/mozartvm.dir/memmanager.cc.o.d -o vm/vm/main/CMakeFiles/mozartvm.dir/memmanager.cc.o -c /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc FAILED: vm/vm/main/CMakeFiles/mozartvm.dir/memmanager.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dmozartvm_EXPORTS -Ivm/vm/main -I/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/cached -pipe -march=native -fno-diagnostics-color -O2 -fPIC -std=c++0x -Wall -MD -MT vm/vm/main/CMakeFiles/mozartvm.dir/memmanager.cc.o -MF vm/vm/main/CMakeFiles/mozartvm.dir/memmanager.cc.o.d -o vm/vm/main/CMakeFiles/mozartvm.dir/memmanager.cc.o -c /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/coredatatypes-decl.hh:56, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/corebuilders.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh: In static member function ‘static constexpr mozart::nativeint mozart::SmallInt::min()’: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:42:17: error: ‘numeric_limits’ is not a member of ‘std’ 42 | return std::numeric_limits::min(); | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:42:41: error: expected primary-expression before ‘>’ token 42 | return std::numeric_limits::min(); | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:42:44: error: ‘::min’ has not been declared; did you mean ‘std::min’? 42 | return std::numeric_limits::min(); | ^~~ | std::min In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/algorithm:62, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/vmallocatedlist-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/runnable-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore-decl.hh:38, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc:25: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/coredatatypes-decl.hh:56, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/corebuilders.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:43:3: error: body of ‘constexpr’ function ‘static constexpr mozart::nativeint mozart::SmallInt::min()’ not a return-statement 43 | } | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh: In static member function ‘static constexpr mozart::nativeint mozart::SmallInt::max()’: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:45:17: error: ‘numeric_limits’ is not a member of ‘std’ 45 | return std::numeric_limits::max(); | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:45:41: error: expected primary-expression before ‘>’ token 45 | return std::numeric_limits::max(); | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:45:44: error: ‘::max’ has not been declared; did you mean ‘std::max’? 45 | return std::numeric_limits::max(); | ^~~ | std::max In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/algorithm:62, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/vmallocatedlist-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/runnable-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore-decl.hh:38, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc:25: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/coredatatypes-decl.hh:56, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/corebuilders.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:46:3: error: body of ‘constexpr’ function ‘static constexpr mozart::nativeint mozart::SmallInt::max()’ not a return-statement 46 | } | ^ In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:36, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh: In static member function ‘static bool mozart::patternmatching::OzValueToPrimitiveValue::call(mozart::VM, mozart::RichNode, int&)’: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:29: error: ‘numeric_limits’ is not a member of ‘std’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:44: error: expected primary-expression before ‘int’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:44: error: expected ‘)’ before ‘int’ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:11: note: to match this ‘(’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:261:9: error: expected ‘)’ before ‘else’ 261 | } else { | ^~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:10: note: to match this ‘(’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:264:5: error: expected primary-expression before ‘}’ token 264 | } else { | ^ [2/177] /usr/bin/x86_64-pc-linux-gnu-g++ -Dmozartvm_EXPORTS -Ivm/vm/main -I/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/cached -pipe -march=native -fno-diagnostics-color -O2 -fPIC -std=c++0x -Wall -MD -MT vm/vm/main/CMakeFiles/mozartvm.dir/emulate.cc.o -MF vm/vm/main/CMakeFiles/mozartvm.dir/emulate.cc.o.d -o vm/vm/main/CMakeFiles/mozartvm.dir/emulate.cc.o -c /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc FAILED: vm/vm/main/CMakeFiles/mozartvm.dir/emulate.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dmozartvm_EXPORTS -Ivm/vm/main -I/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/cached -pipe -march=native -fno-diagnostics-color -O2 -fPIC -std=c++0x -Wall -MD -MT vm/vm/main/CMakeFiles/mozartvm.dir/emulate.cc.o -MF vm/vm/main/CMakeFiles/mozartvm.dir/emulate.cc.o.d -o vm/vm/main/CMakeFiles/mozartvm.dir/emulate.cc.o -c /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/coredatatypes-decl.hh:56, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/corebuilders.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh: In static member function ‘static constexpr mozart::nativeint mozart::SmallInt::min()’: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:42:17: error: ‘numeric_limits’ is not a member of ‘std’ 42 | return std::numeric_limits::min(); | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:42:41: error: expected primary-expression before ‘>’ token 42 | return std::numeric_limits::min(); | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:42:44: error: ‘::min’ has not been declared; did you mean ‘std::min’? 42 | return std::numeric_limits::min(); | ^~~ | std::min In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/algorithm:62, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/vmallocatedlist-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/runnable-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore-decl.hh:38, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc:25: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/coredatatypes-decl.hh:56, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/corebuilders.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:43:3: error: body of ‘constexpr’ function ‘static constexpr mozart::nativeint mozart::SmallInt::min()’ not a return-statement 43 | } | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh: In static member function ‘static constexpr mozart::nativeint mozart::SmallInt::max()’: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:45:17: error: ‘numeric_limits’ is not a member of ‘std’ 45 | return std::numeric_limits::max(); | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:45:41: error: expected primary-expression before ‘>’ token 45 | return std::numeric_limits::max(); | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:45:44: error: ‘::max’ has not been declared; did you mean ‘std::max’? 45 | return std::numeric_limits::max(); | ^~~ | std::max In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/algorithm:62, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/memmanager.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/vmallocatedlist-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/runnable-decl.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore-decl.hh:38, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc:25: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/coredatatypes-decl.hh:56, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/corebuilders.hh:30, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:31, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/smallint-decl.hh:46:3: error: body of ‘constexpr’ function ‘static constexpr mozart::nativeint mozart::SmallInt::max()’ not a return-statement 46 | } | ^ In file included from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozartcore.hh:36, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/mozart.hh:28, from /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/emulate.cc:25: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh: In static member function ‘static bool mozart::patternmatching::OzValueToPrimitiveValue::call(mozart::VM, mozart::RichNode, int&)’: /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:29: error: ‘numeric_limits’ is not a member of ‘std’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:44: error: expected primary-expression before ‘int’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:44: error: expected ‘)’ before ‘int’ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:11: note: to match this ‘(’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:261:9: error: expected ‘)’ before ‘else’ 261 | } else { | ^~~~ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:257:10: note: to match this ‘(’ 257 | if ((intValue >= std::numeric_limits::min()) && | ^ /var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1/vm/vm/main/matchdsl.hh:264:5: error: expected primary-expression before ‘}’ token 264 | } else { | ^ ninja: build stopped: subcommand failed. * ERROR: dev-lang/mozart-2.0.1::gentoo failed (compile phase): * ninja -v -j2 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3991: Called cmake_src_compile * environment, line 849: Called cmake_build * environment, line 818: Called eninja * environment, line 1431: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} 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-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.292_p10" 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:20210513-103217.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/mozart-2.0.1_build' * S: '/var/tmp/portage/dev-lang/mozart-2.0.1/work/mozart2-2.0.1'