[From nobody Fri Mar 27 09:47:05 2026
Received: (at submit) by bugs.debian.org; 14 Sep 2025 11:37:20 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-110.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 36; hammy, 150; neutral, 244; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;aurel32@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:59022)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;aurel32@debian.org&gt;) id 1uxl2m-007suz-2W
 for submit@bugs.debian.org; Sun, 14 Sep 2025 11:37:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Date:Message-ID:Subject:To:From:
 Content-Transfer-Encoding:MIME-Version:Content-Type:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=qMI3cmctHuR4Pw45xLJ/AG45Sr+K/HGUANd2UgnSQIY=; b=Gdg7uOwvqk5scc/cc5M67xRyG2
 9lWkx3HwoEDscxKC9n322dFGizajkxyXnOwariPpOHsAe0y9AgtJS2RFI8L9TVHCttV+yl6Ak7sa4
 BDcBnl7OzI+M1Wxu10sDQN5Cn/Do+D1wa1G1a3+QBNJzrbDnx9h7m8DmDitZzaq6Z/b8J4YYynRis
 U5GoluHytCh7D+DAkNtBTpJeJDE6f3434VmF6UqXcC83z7Deca1y1SHoH+sRLyfctoRme/j0Hrgz7
 gj49xBpPPN8pYLwSBBR5pll3KOpNSlbWISa2JTkZIJsb7zo0Y5m1edZx+DVHwoyWKCviyKQIjDYdG
 q7vBSr4g==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;aurel32@debian.org&gt;)
 id 1uxl2k-00BGKM-FJ
 for submit@bugs.debian.org; Sun, 14 Sep 2025 11:37:19 +0000
Received: from [2a01:e34:ec5d:a741:1ee1:92ff:feb4:5ec0] (helo=ohm.rr44.fr)
 by hall.aurel32.net with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96)
 (envelope-from &lt;aurel32@debian.org&gt;) id 1uxl2j-00GTJg-30;
 Sun, 14 Sep 2025 13:37:17 +0200
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Aurelien Jarno &lt;aurel32@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: openjdk-11-jre-dcevm: FTBFS with glibc 2.42 due to conflict with the
 newly added uabs function
Message-ID: &lt;175784983763.2811506.16421028698185921880.reportbug@ohm.local&gt;
X-Mailer: reportbug 13.2.0
Date: Sun, 14 Sep 2025 13:37:17 +0200
X-Debian-User: aurel32
Delivered-To: submit@bugs.debian.org

Source: openjdk-11-jre-dcevm
Version: 11.0.15+1-1
Severity: important
Tags: ftbfs forky sid
Justification: fails to build from source
User: debian-glibc@lists.debian.org
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

--------------------------------------------------------------------------------
[...]
make hotspot
make[2]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
Building target 'hotspot' in configuration 'linux-x86_64-normal-server-release'
Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s)
Compiling 2 files for BUILD_JVMTI_TOOLS
Compiling 1 files for BUILD_JFR_TOOLS
Creating support/modules_libs/java.base/server/libjvm.so from 920 file(s)
In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/align.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/runtime/globals.hpp:29,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/allocation.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/oops/array.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/universe.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/code/oopRecorder.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/codeBuffer.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/assembler.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/precompiled/precompiled.hpp:31:
/&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions.hpp:1181:28: error: 'unsigned int uabs(int)' was declared 'extern' and later 'static' [-fpermissive]
 1181 | 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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:39,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/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;
      |                     ^~~~
In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/align.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/runtime/globals.hpp:29,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/allocation.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/oops/array.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/universe.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/code/oopRecorder.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/codeBuffer.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/assembler.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/precompiled/precompiled.hpp:31:
/&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions.hpp:1181:28: error: 'unsigned int uabs(int)' was declared 'extern' and later 'static' [-fpermissive]
 1181 | 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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:39,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/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;
      |                     ^~~~
gmake[5]: *** [lib/CompileJvm.gmk:160: /&lt;&lt;PKGBUILDDIR&gt;&gt;/build/linux-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/precompiled/precompiled.hpp.gch] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: *** [lib/CompileGtest.gmk:64: /&lt;&lt;PKGBUILDDIR&gt;&gt;/build/linux-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/precompiled/precompiled.hpp.gch] Error 1
gmake[4]: *** [make/Main.gmk:272: hotspot-server-libs] Error 2

ERROR: Build failed for target 'hotspot' in configuration 'linux-x86_64-normal-server-release' (exit code 2) 

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_precompiled_precompiled.hpp.gch:
In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/align.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/runtime/globals.hpp:29,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/allocation.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/oops/array.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/universe.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/code/oopRecorder.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/codeBuffer.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/assembler.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/precompiled/precompiled.hpp:31:
/&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions.hpp:1181:28: error: 'unsigned int uabs(int)' was declared 'extern' and later 'static' [-fpermissive]
 1181 | 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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:39,
   ... (rest of output omitted)
* For target hotspot_variant-server_libjvm_objs_precompiled_precompiled.hpp.gch:
In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/align.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/runtime/globals.hpp:29,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/allocation.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/oops/array.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/memory/universe.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/code/oopRecorder.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/codeBuffer.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/asm/assembler.hpp:28,
                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/precompiled/precompiled.hpp:31:
/&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions.hpp:1181:28: error: 'unsigned int uabs(int)' was declared 'extern' and later 'static' [-fpermissive]
 1181 | 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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:39,
   ... (rest of output omitted)

* All command lines available in /&lt;&lt;PKGBUILDDIR&gt;&gt;/build/linux-x86_64-normal-server-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

make[3]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/make/Init.gmk:305: main] Error 2
make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/make/Init.gmk:186: hotspot] Error 2
make[2]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 2
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
]