* Package: dev-java/commons-daemon-1.3.1:0 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-17 >>> Unpacking source... >>> Unpacking commons-daemon-1.3.1-src.tar.gz to /var/tmp/portage/dev-java/commons-daemon-1.3.1/work >>> Source unpacked in /var/tmp/portage/dev-java/commons-daemon-1.3.1/work >>> Preparing source in /var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src ... * Applying commons-daemon-1.3.1-Make.patch ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src ... javac -source 1.8 -target 1.8 -d target/classes -encoding iso-8859-1 @sources.lst warning: [options] bootstrap class path not set in conjunction with -source 8 1 warning /var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src/src/native/unix /var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src *** Current host *** checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking cached host system type... ok *** C-Language compilation tools *** checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for ranlib... ranlib checking for strip... strip *** Host support *** checking C flags dependant on host system type... ok *** Java compilation tools *** checking for JDK os include directory... linux gcc flags added checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes *** Writing output files *** configure: creating ./config.status config.status: creating Makefile config.status: creating Makedefs config.status: creating native/Makefile *** All done *** Now you can issue "make" make -j4 AR=x86_64-pc-linux-gnu-ar (cd native; make all) make[1]: Entering directory '/var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src/src/native/unix/native' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-17.0.5_p8/include -I/opt/openjdk-bin-17.0.5_p8/include/linux -c jsvc-unix.c -o jsvc-unix.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-17.0.5_p8/include -I/opt/openjdk-bin-17.0.5_p8/include/linux -c arguments.c -o arguments.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-17.0.5_p8/include -I/opt/openjdk-bin-17.0.5_p8/include/linux -c debug.c -o debug.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-17.0.5_p8/include -I/opt/openjdk-bin-17.0.5_p8/include/linux -c dso-dlfcn.c -o dso-dlfcn.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-17.0.5_p8/include -I/opt/openjdk-bin-17.0.5_p8/include/linux -c dso-dyld.c -o dso-dyld.o jsvc-unix.c:1311:20: error: incompatible function pointer types assigning to '__sighandler_t' (aka 'void (*)(int)') from 'void (int, siginfo_t *, void *)' [-Werror,-Wincompatible-function-pointer-types] act.sa_handler = controller; ^ ~~~~~~~~~~ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-17.0.5_p8/include -I/opt/openjdk-bin-17.0.5_p8/include/linux -c help.c -o help.o 1 error generated. make[1]: *** [../Makedefs:32: jsvc-unix.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src/src/native/unix/native' make: *** [Makefile:23: native/all] Error 2 * ERROR: dev-java/commons-daemon-1.3.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-java/commons-daemon-1.3.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/commons-daemon-1.3.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-java:commons-daemon-1.3.1:20221120-122123.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/commons-daemon-1.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/commons-daemon-1.3.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src/src/native/unix' * S: '/var/tmp/portage/dev-java/commons-daemon-1.3.1/work/commons-daemon-1.3.1-src' !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-17 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-17.0.5_p8" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =commons-daemon-1.3.1