Source: openjdk-11 Version: 11.0.29~4ea-2 Severity: important Tags: ftbfs forky sid Justification: fails to build from source User: [email protected] Usertags: glibc-2.42
Dear maintainer, During a rebuild of all packages in unstable with glibc 2.42 from experimental, your package failed to build. Below you will find how the build ends. If required, the full build log is available here: https://people.debian.org/~aurel32/glibc-2.42/ The build failure is due to the addition of the uabs function (part of ISO C2Y) to glibc 2.42, now conflicting with the openjdk source code: https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=f0b0e924a45c7698e6ca6415f2d9a096a24e37df;hb=d2097651cc57834dbfcaa102ddfacae0d86cfb66#l22 About the archive rebuild: The build was made on virtual machines from AWS, using sbuild, a reduced chroot with only build-essential packages and glibc 2.42 from experimental. Regards Aurelien -------------------------------------------------------------------------------- [...] + /usr/bin/x86_64-linux-gnu-g++-15 -MMD -MF /<<PKGBUILDDIR>>/build/hotspot/variant-server/libjvm/objs/abstractCompiler.d.tmp -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D_REENTRANT -pipe -fno-rtti -fno-exceptions -fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer -fcheck-new -fstack-protector -std=gnu++98 -DLIBC=gnu -DSUPPORTS_CLOCK_MONOTONIC -DLINUX -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Woverloaded-virtual -Wreturn-type -fPIC -fmacro-prefix-map=/<<PKGBUILDDIR>>/= -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-delete-null-pointer-checks -fno-lifetime-dse -Wno-format-zero-length -Wtype-limits -Wuninitialized -m64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -fno-stack-protector -Wno-deprecated-declarations -Wno-deprecated-declarations -DNDEBUG -DPRODUCT -DTARGET_ARCH_x86 -DINCLUDE_SUFFIX_OS=_linux -DINCLUDE_SUFFIX_CPU=_x86 -DINCLUDE_SUFFIX_COMPILER=_gcc -DTARGET_COMPILER_gcc -DAMD64 '-DHOTSPOT_LIB_ARCH="amd64"' -DCOMPILER1 -DCOMPILER2 -DDTRACE_ENABLED -I/<<PKGBUILDDIR>>/build/hotspot/variant-server/gensrc/adfiles -I/<<PKGBUILDDIR>>/src/hotspot/share -I/<<PKGBUILDDIR>>/src/hotspot/os/linux -I/<<PKGBUILDDIR>>/src/hotspot/os/posix -I/<<PKGBUILDDIR>>/src/hotspot/cpu/x86 -I/<<PKGBUILDDIR>>/src/hotspot/os_cpu/linux_x86 -I/<<PKGBUILDDIR>>/build/hotspot/variant-server/gensrc -I/<<PKGBUILDDIR>>/src/hotspot/share/precompiled -I/<<PKGBUILDDIR>>/src/hotspot/share/include -I/<<PKGBUILDDIR>>/src/hotspot/os/posix/include -I/<<PKGBUILDDIR>>/build/support/modules_include/java.base -I/<<PKGBUILDDIR>>/build/support/modules_include/java.base/linux -I/<<PKGBUILDDIR>>/src/java.base/share/native/libjimage -m64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -fno-stack-protector -Wno-deprecated-declarations -std=c99 -Wdate-time -D_FORTIFY_SOURCE=2 -DDONT_USE_PRECOMPILED_HEADER '-DDEB_MULTIARCH="x86_64-linux-gnu"' -g -Wno-unused-parameter -Wno-unused -Wno-extra -Wno-all -O3 -c -o /<<PKGBUILDDIR>>/build/hotspot/variant-server/libjvm/objs/abstractCompiler.o /<<PKGBUILDDIR>>/src/hotspot/share/compiler/abstractCompiler.cpp ++ /usr/bin/tee -a /<<PKGBUILDDIR>>/build/hotspot/variant-server/libjvm/objs/abstractCompiler.o.log ++ /usr/bin/tee -a /<<PKGBUILDDIR>>/build/hotspot/variant-server/libjvm/objs/abstractCompiler.o.log cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: command-line option '-std=c99' is valid for C/ObjC but not for C++ In file included from /<<PKGBUILDDIR>>/src/hotspot/share/utilities/align.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/runtime/globals.hpp:29, from /<<PKGBUILDDIR>>/src/hotspot/share/memory/allocation.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciBaseObject.hpp:29, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciMetadata.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciType.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciKlass.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciArrayKlass.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciArray.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/compilerInterface.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/compiler/abstractCompiler.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/compiler/abstractCompiler.cpp:25: /<<PKGBUILDDIR>>/src/hotspot/share/utilities/globalDefinitions.hpp:1188:28: error: 'unsigned int uabs(int)' was declared 'extern' and later 'static' [-fpermissive] 1188 | static inline unsigned int uabs(int n) { return uabs((unsigned int)n); } | ^~~~ In file included from /usr/include/c++/15/cstdlib:83, from /usr/include/c++/15/stdlib.h:36, from /<<PKGBUILDDIR>>/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:39, from /<<PKGBUILDDIR>>/src/hotspot/share/utilities/globalDefinitions.hpp:32: /usr/include/stdlib.h:989:21: note: previous declaration of 'unsigned int uabs(int)' 989 | extern unsigned int uabs (int __x) __THROW __attribute__ ((__const__)) __wur; | ^~~~ + exitcode=1 + /usr/bin/cp /<<PKGBUILDDIR>>/build/hotspot/variant-server/libjvm/objs/abstractCompiler.o.log /<<PKGBUILDDIR>>/build/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractCompiler.o.log + /usr/bin/cp /<<PKGBUILDDIR>>/build/hotspot/variant-server/libjvm/objs/abstractCompiler.o.cmdline /<<PKGBUILDDIR>>/build/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractCompiler.o.cmdline + exit 1 gmake[4]: *** [lib/CompileJvm.gmk:179: /<<PKGBUILDDIR>>/build/hotspot/variant-server/libjvm/objs/abstractCompiler.o] Error 1 gmake[3]: *** [make/Main.gmk:272: hotspot-server-libs] Error 2 gmake[3]: *** Waiting for unfinished jobs.... + /usr/bin/mv /<<PKGBUILDDIR>>/build/buildtools/interim_langtools_modules/jdk.javadoc.interim/_the.BUILD_jdk.javadoc.interim_batch.tmp /<<PKGBUILDDIR>>/build/buildtools/interim_langtools_modules/jdk.javadoc.interim/_the.BUILD_jdk.javadoc.interim_batch + exitcode=2 + printf '\nERROR: Build failed for targets '\''bootcycle-images test-image'\'' in configuration '\''/<<PKGBUILDDIR>>/build'\'' (exit code 2) \n' ++ /usr/bin/tee -a /<<PKGBUILDDIR>>/build/build.log + wait ++ /usr/bin/tee -a /<<PKGBUILDDIR>>/build/build.log ERROR: Build failed for targets 'bootcycle-images test-image' in configuration '/<<PKGBUILDDIR>>/build' (exit code 2) + cd /<<PKGBUILDDIR>> + /usr/bin/gmake -r -R -I /<<PKGBUILDDIR>>/make/common SPEC=/<<PKGBUILDDIR>>/build/spec.gmk MAKE_LOG_FLAGS= LOG_LEVEL=debug LOG_NOFILE= LOG_CMDLINES= LOG_REPORT= LOG_PROFILE_TIMES_LOG= LOG_PROFILE_TIMES_FILE= -j 1 -f make/Init.gmk HAS_SPEC=true on-failure + /usr/bin/date +%s [ -f /<<PKGBUILDDIR>>/build/make-support/javacservers/server.port ] && echo Stopping sjavac server && /usr/bin/touch /<<PKGBUILDDIR>>/build/make-support/javacservers/server.port.stop; true + '[' -f /<<PKGBUILDDIR>>/build/make-support/javacservers/server.port ']' + true /usr/bin/date '+%Y %m %d %H %M %S' | /usr/bin/nawk '{ print $1,$2,$3,$4,$5,$6,($4*3600+$5*60+$6) }' > /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_end_TOTAL + /usr/bin/date '+%Y %m %d %H %M %S' + /usr/bin/nawk '{ print $1,$2,$3,$4,$5,$6,($4*3600+$5*60+$6) }' /usr/bin/date '+%Y-%m-%d %H:%M:%S' > /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_end_TOTAL_human_readable + /usr/bin/date '+%Y-%m-%d %H:%M:%S' echo `/usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_start_TOTAL` `/usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_end_TOTAL` TOTAL | /usr/bin/nawk '{ F=$7; T=$14; if (F > T) { T+=3600*24 }; D=T-F; H=int(D/3600); M=int((D-H*3600)/60); S=D-H*3600-M*60; printf("%02d:%02d:%02d %s\n",H,M,S,$15); }' > /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_diff_TOTAL + /usr/bin/nawk '{ F=$7; T=$14; if (F > T) { T+=3600*24 }; D=T-F; H=int(D/3600); M=int((D-H*3600)/60); S=D-H*3600-M*60; printf("%02d:%02d:%02d %s\n",H,M,S,$15); }' ++ /usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_start_TOTAL ++ /usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_end_TOTAL + echo 2025 09 12 21 09 49 76189 2025 09 12 21 10 00 76200 TOTAL printf -- "----- Build times -------\nStart %s\nEnd %s\n%s\n%s\n-------------------------\n" "`/usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_start_TOTAL_human_readable`" "`/usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_end_TOTAL_human_readable`" "`/usr/bin/ls /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_diff_* | /usr/bin/grep -v _TOTAL | /usr/bin/xargs /usr/bin/cat | /usr/bin/sort -k 2`" "`/usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_diff_TOTAL`" > >(/usr/bin/tee -a /<<PKGBUILDDIR>>/build/build.log) 2> >(/usr/bin/tee -a /<<PKGBUILDDIR>>/build/build.log >&2) && wait ++ /usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_start_TOTAL_human_readable ++ /usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_end_TOTAL_human_readable ++ /usr/bin/ls /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_diff_TOTAL ++ /usr/bin/grep -v _TOTAL ++ /usr/bin/xargs /usr/bin/cat ++ /usr/bin/sort -k 2 ++ /usr/bin/cat /<<PKGBUILDDIR>>/build/make-support/build-times/build_time_diff_TOTAL + printf -- '----- Build times -------\nStart %s\nEnd %s\n%s\n%s\n-------------------------\n' '2025-09-12 21:09:49' '2025-09-12 21:10:00' '' '00:00:11 TOTAL' ++ /usr/bin/tee -a /<<PKGBUILDDIR>>/build/build.log + wait ----- Build times ------- Start 2025-09-12 21:09:49 End 2025-09-12 21:10:00 00:00:11 TOTAL ------------------------- ++ /usr/bin/tee -a /<<PKGBUILDDIR>>/build/build.log printf "\n=== Output from failing command(s) repeated here ===\n" + printf '\n=== Output from failing command(s) repeated here ===\n' === Output from failing command(s) repeated here === printf "* For target hotspot_variant-server_libjvm_objs_abstractCompiler.o:\n" + printf '* For target hotspot_variant-server_libjvm_objs_abstractCompiler.o:\n' * For target hotspot_variant-server_libjvm_objs_abstractCompiler.o: (/usr/bin/grep -v -e "^Note: including file:" < /<<PKGBUILDDIR>>/build/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractCompiler.o.log || true) | /usr/bin/head -n 15 + /usr/bin/grep -v -e '^Note: including file:' + /usr/bin/head -n 15 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: command-line option '-std=c99' is valid for C/ObjC but not for C++ In file included from /<<PKGBUILDDIR>>/src/hotspot/share/utilities/align.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/runtime/globals.hpp:29, from /<<PKGBUILDDIR>>/src/hotspot/share/memory/allocation.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciBaseObject.hpp:29, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciMetadata.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciType.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciKlass.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciArrayKlass.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/ciArray.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/ci/compilerInterface.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/compiler/abstractCompiler.hpp:28, from /<<PKGBUILDDIR>>/src/hotspot/share/compiler/abstractCompiler.cpp:25: /<<PKGBUILDDIR>>/src/hotspot/share/utilities/globalDefinitions.hpp:1188:28: error: 'unsigned int uabs(int)' was declared 'extern' and later 'static' [-fpermissive] if test `/usr/bin/wc -l < /<<PKGBUILDDIR>>/build/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractCompiler.o.log` -gt 15; then echo " ... (rest of output omitted)" ; fi ++ /usr/bin/wc -l + test 24 -gt 15 + echo ' ... (rest of output omitted)' ... (rest of output omitted) printf "\n* All command lines available in /<<PKGBUILDDIR>>/build/make-support/failure-logs.\n" + printf '\n* All command lines available in /<<PKGBUILDDIR>>/build/make-support/failure-logs.\n' * All command lines available in /<<PKGBUILDDIR>>/build/make-support/failure-logs. printf "=== End of repeated output ===\n" + printf '=== End of repeated output ===\n' === End of repeated output === if /usr/bin/grep -q "recipe for target .* failed" /<<PKGBUILDDIR>>/build/build.log 2> /dev/null; then printf "\n=== Make failed targets repeated here ===\n" ; /usr/bin/grep "recipe for target .* failed" /<<PKGBUILDDIR>>/build/build.log ; printf "=== End of repeated output ===\n" ; printf "\nHint: Try searching the build log for the name of the first failed target.\n" ; else printf "\nNo indication of failed target found.\n" ; printf "Hint: Try searching the build log for '] Error'.\n" ; fi + /usr/bin/grep -q 'recipe for target .* failed' /<<PKGBUILDDIR>>/build/build.log + printf '\nNo indication of failed target found.\n' No indication of failed target found. + printf 'Hint: Try searching the build log for '\''] Error'\''.\n' Hint: Try searching the build log for '] Error'. printf "Hint: See doc/building.html#troubleshooting for assistance.\n\n" + printf 'Hint: See doc/building.html#troubleshooting for assistance.\n\n' Hint: See doc/building.html#troubleshooting for assistance. + exit 2 make[2]: *** [/<<PKGBUILDDIR>>/make/Init.gmk:308: main] Error 2 make[1]: *** [/<<PKGBUILDDIR>>/make/Init.gmk:186: bootcycle-images] Error 2 make: *** [debian/rules:1144: stamps/build] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

