* Package: dev-java/commons-daemon-1.3.4:0 * Repository: gentoo * Maintainer: java@gentoo.org * Upstream: https://issues.apache.org/jira/browse/DAEMON * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-21 >>> Unpacking source... >>> Unpacking commons-daemon-1.3.4-src.tar.gz to /var/tmp/portage/dev-java/commons-daemon-1.3.4/work >>> Source unpacked in /var/tmp/portage/dev-java/commons-daemon-1.3.4/work >>> Preparing source in /var/tmp/portage/dev-java/commons-daemon-1.3.4/work/commons-daemon-1.3.4-src ... * Applying commons-daemon-1.3.1-Make.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-28T01:06)! * Modern C 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.4/work/commons-daemon-1.3.4-src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/commons-daemon-1.3.4/work/commons-daemon-1.3.4-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 warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings /var/tmp/portage/dev-java/commons-daemon-1.3.4/work/commons-daemon-1.3.4-src/src/native/unix /var/tmp/portage/dev-java/commons-daemon-1.3.4/work/commons-daemon-1.3.4-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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... 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.4/work/commons-daemon-1.3.4-src/src/native/unix/native' clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-21.0.1_p12/include -I/opt/openjdk-bin-21.0.1_p12/include/linux -c jsvc-unix.c -o jsvc-unix.o clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-21.0.1_p12/include -I/opt/openjdk-bin-21.0.1_p12/include/linux -c arguments.c -o arguments.o clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-21.0.1_p12/include -I/opt/openjdk-bin-21.0.1_p12/include/linux -c debug.c -o debug.o clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-21.0.1_p12/include -I/opt/openjdk-bin-21.0.1_p12/include/linux -c dso-dlfcn.c -o dso-dlfcn.o jsvc-unix.c:592:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 592 | lockf(fd, F_LOCK, 0); | ^~~~~ ~~~~~~~~~~~~~ jsvc-unix.c:599:17: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 599 | lockf(fd, F_ULOCK, 0); | ^~~~~ ~~~~~~~~~~~~~~ jsvc-unix.c:609:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 609 | lockf(fd, F_ULOCK, 0); | ^~~~~ ~~~~~~~~~~~~~~ jsvc-unix.c:628:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 628 | lockf(fd, F_LOCK, 0); | ^~~~~ ~~~~~~~~~~~~~ jsvc-unix.c:646:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 646 | lockf(fd, F_ULOCK, 0); | ^~~~~ ~~~~~~~~~~~~~~ jsvc-unix.c:666:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 666 | lockf(fd, F_LOCK, 0); | ^~~~~ ~~~~~~~~~~~~~ jsvc-unix.c:668:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 668 | lockf(fd, F_ULOCK, 0); | ^~~~~ ~~~~~~~~~~~~~~ jsvc-unix.c:762:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 762 | lockf(fd, F_LOCK, 0); | ^~~~~ ~~~~~~~~~~~~~ jsvc-unix.c:764:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 764 | lockf(fd, F_ULOCK, 0); | ^~~~~ ~~~~~~~~~~~~~~ jsvc-unix.c:1064:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1064 | freopen("/dev/null", "r", stdin); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ jsvc-unix.c:1075:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1075 | freopen("/dev/null", "a", stdout); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ jsvc-unix.c:1093:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1093 | freopen("/dev/null", "a", stderr); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-21.0.1_p12/include -I/opt/openjdk-bin-21.0.1_p12/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 *)' [-Wincompatible-function-pointer-types] 1311 | act.sa_handler = controller; | ^ ~~~~~~~~~~ 12 warnings and 1 error generated. clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -DHAVE_LIBCAP -I/opt/openjdk-bin-21.0.1_p12/include -I/opt/openjdk-bin-21.0.1_p12/include/linux -c help.c -o help.o 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.4/work/commons-daemon-1.3.4-src/src/native/unix/native' make: *** [Makefile:23: native/all] Error 2 * ERROR: dev-java/commons-daemon-1.3.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-java/commons-daemon-1.3.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/commons-daemon-1.3.4::gentoo'`. * The complete build log is located at '/var/log/portage/dev-java:commons-daemon-1.3.4:20231130-104642.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/commons-daemon-1.3.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/commons-daemon-1.3.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/commons-daemon-1.3.4/work/commons-daemon-1.3.4-src/src/native/unix' * S: '/var/tmp/portage/dev-java/commons-daemon-1.3.4/work/commons-daemon-1.3.4-src' !!! 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="" and of course, the output of emerge --info =commons-daemon-1.3.4