* Package: dev-java/java-service-wrapper-3.5.50 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-17 >>> Unpacking source... >>> Unpacking wrapper_3.5.50_src.tar.gz to /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work >>> Source unpacked in /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work >>> Preparing source in /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src ... Rewriting attributes Rewriting ./build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src ... /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/temp /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src javac -source 1.8 -target 1.8 GetArchDataModel.java warning: [options] bootstrap class path not set in conjunction with -source 8 1 warning /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src * Disabling all optional ANT_TASKS 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-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src/build.xml init-setup: [echo] Java Version: 17.0.3 [echo] Ant Version: Apache Ant(TM) version 1.10.9 compiled on August 20 2022 [echo] /var/lib/portage/home/.ant.properties exists?: false [echo] /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src/ant.properties exists?: false init-windows: init-unix: init-bits-check: init-bits-mismatch-check: init: init:msg: [echo] ********************************************************************** [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.50. [echo] * The OS Name is "linux", resolved from "Linux". [echo] * The Architecture is "x86", resolved from "amd64". [echo] * The distribution name will be: wrapper-linux-x86-64-3.5.50 [echo] ********************************************************************** update-info-c: [copy] Copying 1 file to /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src/src/c msvc-missing: compile-c-windows-vcvars: compile-c-windows-check: compile-c-windows-check2: compile-c-unix-check: compile-c-unix: [mkdir] Created dir: /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src/bin [mkdir] Created dir: /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src/lib [mkdir] Created dir: /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src/test [echo] Build native components using 'make' and Makefile: Makefile-linux-x86-64.make [exec] if test ! -d .deps; then mkdir .deps; fi [exec] x86_64-gentoo-linux-musl-gcc -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -Wl,-z,relro,-z,now -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c logger_file.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c wrapper_ulimit.c wrapper_encoding.c wrapper_jvminfo.c -lm -o ../../bin/wrapper [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] logger.c:81:12: fatal error: gnu/libc-version.h: No such file or directory [exec] 81 | #include [exec] | ^~~~~~~~~~~~~~~~~~~~ [exec] compilation terminated. [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] : warning: "_FORTIFY_SOURCE" redefined [exec] : note: this is the location of the previous definition [exec] make: *** [Makefile-linux-x86-64.make:41: wrapper] Error 1 BUILD FAILED /var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src/build.xml:723: exec returned: 2 Total time: 6 seconds * ERROR: dev-java/java-service-wrapper-3.5.50::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3282: Called eant '-Dbits=64' 'compile-c' * environment, line 601: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/java-service-wrapper-3.5.50::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/java-service-wrapper-3.5.50::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-17 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-17.0.3_p7" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac" and of course, the output of emerge --info =java-service-wrapper-3.5.50 * The complete build log is located at '/var/log/portage/dev-java:java-service-wrapper-3.5.50:20220822-151543.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/java-service-wrapper-3.5.50/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/java-service-wrapper-3.5.50/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src' * S: '/var/tmp/portage/dev-java/java-service-wrapper-3.5.50/work/wrapper_3.5.50_src'