🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #774

Bug#1151156: src:openjdk-21: fails to migrate to testing for too long: FTBFS on riscv64

#774
From: Paul Gevers
Date: Sat, 17 Oct 2026 14:00
288 lines
18070 bytes
Source: openjdk-21
Version: 21.0.12.1+1-1
Severity: serious
Tags: sid forky ftbfs
User: release.debian.org@packages.debian.org
Usertags: out-of-sync
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-CC: debian-riscv@lists.debian.org

Dear maintainer(s), riscv64 porters,

[Summary: openjdk-21 FTBFS on riscv64, tail of the log at the end.]

The Release Team considers packages that are out-of-sync between testing 
and unstable for more than 30 days as having a Release Critical bug in 
testing [1]. Your package src:openjdk-21 has been trying to migrate for 
31 days [2], hence this bug report. The current output of the migration 
software for this package is copied to the bottom of this report and 
should list the reason why the package is blocked. Regularly, reporting 
issues against reverse (build/test/regular) dependencies is what needs 
to happen. If this has already been done, than this bug is just for 
tracking purposes.

If a package is out of sync between unstable and testing for a longer 
period, this usually means that bugs in the package in testing cannot be 
fixed via unstable. Blocked packages can have impact on other packages, 
which makes preparing for the release more difficult. The situation that 
caused this bug report might even be the result of such an issue. We 
expect maintainers to fix issues that hamper the migration of their 
package in a timely manner. If your package in this situation due to 
another package, consider helping out.

Paul

[1] https://lists.debian.org/debian-devel-announce/2023/06/msg00001.html
[2] https://qa.debian.org/excuses.php?package=openjdk-21

Current text from [2]:
Migration status for openjdk-21 (21.0.12.1+1-1 to 21.0.13~8ea-1): 
BLOCKED: Maybe temporary, maybe blocked but Britney is missing 
information (check below)
Issues preventing migration:
∙ ∙ Missing build on riscv64
∙ ∙ Autopkgtest deferred on riscv64: missing arch:riscv64 build
∙ ∙ Autopkgtest for libreoffice/4:26.8.1.1-3: amd64: Pass, arm64: Test 
triggered (failure will be ignored), armhf: Test triggered (failure will 
be ignored), i386: Test triggered (failure will be ignored), ppc64el: 
Pass, s390x: Pass
∙ ∙ Autopkgtest for openjdk-21/21.0.13~8ea-1: amd64: Pass, arm64: Test 
triggered (failure will be ignored), armhf: Pass, i386: Pass, ppc64el: 
Test triggered (failure will be ignored), s390x: Pass
∙ ∙ Lintian check waiting for test results on riscv64 - info
Additional info (not blocking):
∙ ∙ Piuparts tested OK - 
https://piuparts.debian.org/sid/source/o/openjdk-21.html
∙ ∙ Not reproduced on amd64 (not a regression): openjdk-21-jdk
∙ ∙ Not reproduced on arm64 (not a regression): openjdk-21-jdk
∙ ∙ Not reproduced on armhf (not a regression): openjdk-21-jdk
∙ ∙ Not reproduced on i386 (not a regression): openjdk-21-jdk
∙ ∙ 9 days old (needed 5 days)


https://buildd.debian.org/status/fetch.php?pkg=openjdk-21&arch=riscv64&ver=21.0.13%7E8ea-1&stamp=1791562051&raw=0

Executing: [/usr/bin/riscv64-linux-gnu-g++-16 -MMD -MF 
/build/reproducible-path/openjdk-21-21.0.13~8ea/build/hotspot/variant-server/libjvm/objs/intrinsicnode.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 
-fstack-protector -std=c++14 -DLIBC=gnu -DLINUX -D_FILE_OFFSET_BITS=64 
-Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare 
-Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines 
-Woverloaded-virtual -Wreorder -fPIC 
-fmacro-prefix-map=/build/reproducible-path/openjdk-21-21.0.13~8ea/= 
-DVM_LITTLE_ENDIAN -D_LP64=1 -fno-lifetime-dse -Wno-format-zero-length 
-Wtype-limits -Wuninitialized -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-ffile-prefix-map=/build/reproducible-path/openjdk-21-21.0.13~8ea=. 
-fstack-protector-strong -Wformat -fno-stack-protector 
-Wno-deprecated-declarations -Wno-deprecated-declarations -DNDEBUG 
-DPRODUCT -DTARGET_ARCH_riscv -DINCLUDE_SUFFIX_OS=_linux 
-DINCLUDE_SUFFIX_CPU=_riscv -DINCLUDE_SUFFIX_COMPILER=_gcc 
-DTARGET_COMPILER_gcc -DRISCV64 -DHOTSPOT_LIB_ARCH='"riscv64"' 
-DCOMPILER1 -DCOMPILER2 -DDTRACE_ENABLED 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/build/hotspot/variant-server/gensrc/adfiles 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/os/linux 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/os/posix 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/os_cpu/linux_riscv 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/build/hotspot/variant-server/gensrc 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/precompiled 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/include 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/os/posix/include 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/build/support/modules_include/java.base 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/build/support/modules_include/java.base/linux 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/java.base/share/native/libjimage 
-Wdate-time -D_FORTIFY_SOURCE=2 -g -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/openjdk-21-21.0.13~8ea=. 
-fstack-protector-strong -Wformat -fno-stack-protector 
-Wno-deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2 
-DDONT_USE_PRECOMPILED_HEADER 
-DOVERRIDE_LIBPATH='"/usr/lib/riscv64-linux-gnu/jni:/lib/riscv64-linux-gnu:/usr/lib/riscv64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"' 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/build/hotspot/variant-server/gensrc/adfiles 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/os/linux 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/os/posix 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/os_cpu/linux_riscv 
-I/build/reproducible-path/openjdk-21-21.0.13~8ea/build/hotspot/variant-server/gensrc 
-g -gdwarf-4 
-fdebug-prefix-map=/build/reproducible-path/openjdk-21-21.0.13~8ea/= 
-fdebug-prefix-map=/usr/include/=/usr/include/ 
-fdebug-prefix-map=/usr/lib/gcc/riscv64-linux-gnu/16/include/=/usr/local/gcc_include/ 
-fdebug-prefix-map=/usr/include/c++/16/=/usr/local/gxx_include/ 
-fdebug-prefix-map=/build/reproducible-path/openjdk-21-21.0.13~8ea/build/= 
-Wno-unused-parameter -Wno-unused -Wno-array-bounds -Wno-comment 
-Wno-delete-non-virtual-dtor -Wno-empty-body -Wno-ignored-qualifiers 
-Wno-implicit-fallthrough -Wno-int-in-bool-context 
-Wno-maybe-uninitialized -Wno-missing-field-initializers 
-Wno-parentheses -Wno-shift-negative-value -Wno-unknown-pragmas -O3 -c 
-o 
/build/reproducible-path/openjdk-21-21.0.13~8ea/build/hotspot/variant-server/libjvm/objs/intrinsicnode.o 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/opto/intrinsicnode.cpp 
-frandom-seed="intrinsicnode.cpp"]
cc1plus: warning: '-Werror=' argument 
'-Werror=implicit-function-declaration' is not valid for C++
In file included from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/oops/oop.hpp:33,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/handles.hpp:29,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/code/oopRecorder.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/codeBuffer.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/assembler.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/macroAssembler.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/macroAssembler.inline.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv/interpreterRT_riscv.cpp:28:
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp: 
In member function 'void ScopedFenceGeneral<T>::prefix() [with 
ScopedFenceType T = RELEASE_X]':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp:843:86: 
error: 'release' is not a member of 'OrderAccess'
   843 | template<> inline void ScopedFenceGeneral<RELEASE_X>::prefix() 
       { OrderAccess::release(); }
       | 
                      ^~~~~~~
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp: 
In member function 'void ScopedFenceGeneral<T>::prefix() [with 
ScopedFenceType T = RELEASE_X_FENCE]':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp:844:86: 
error: 'release' is not a member of 'OrderAccess'
   844 | template<> inline void 
ScopedFenceGeneral<RELEASE_X_FENCE>::prefix()  { OrderAccess::release(); }
       | 
                      ^~~~~~~
In file included from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/javaFrameAnchor.hpp:84,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/code/codeBlob.hpp:31,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/code/codeCache.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv/assembler_riscv.hpp:31,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/assembler.hpp:494:
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv/javaFrameAnchor_riscv.hpp: 
In member function 'void JavaFrameAnchor::set_last_Java_sp(intptr_t*)':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv/javaFrameAnchor_riscv.hpp:80:90: 
error: 'release' is not a member of 'OrderAccess'
    80 |   void set_last_Java_sp(intptr_t* java_sp)       { 
_last_Java_sp = java_sp; OrderAccess::release(); }
       | 
                          ^~~~~~~
In file included from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zForwardingTable.inline.hpp:30,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zHeap.inline.hpp:30,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zGeneration.inline.hpp:30,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zBarrier.inline.hpp:30,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/oops/access.inline.hpp:31,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/memory/iterator.inline.hpp:32,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/oops/oop.inline.hpp:31,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv/interpreterRT_riscv.cpp:35:
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zForwarding.inline.hpp: 
In member function 'zoffset ZForwarding::insert(uintptr_t, zoffset, 
ZForwardingCursor*)':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zForwarding.inline.hpp:252:16: 
error: 'release' is not a member of 'OrderAccess'
   252 |   OrderAccess::release();
       |                ^~~~~~~
In file included from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32:
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zGranuleMap.inline.hpp: 
In member function 'void ZGranuleMap<T>::release_put(zoffset, size_t, T)':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/gc/z/zGranuleMap.inline.hpp:100:16: 
error: 'release' is not a member of 'OrderAccess' [-Wtemplate-body]
   100 |   OrderAccess::release();
       |                ^~~~~~~
In file included from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/interfaceSupport.inline.hpp:38,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv/interpreterRT_riscv.cpp:38:
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/safepointMechanism.inline.hpp: 
In static member function 'static void 
SafepointMechanism::arm_local_poll_release(JavaThread*)':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/safepointMechanism.inline.hpp:105:16: 
error: 'release' is not a member of 'OrderAccess'
   105 |   OrderAccess::release();
       |                ^~~~~~~
gmake[4]: *** [lib/CompileJvm.gmk:147: 
/build/reproducible-path/openjdk-21-21.0.13~8ea/build/hotspot/variant-server/libjvm/objs/interpreterRT_riscv.o] 
Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[3]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2

ERROR: Build failed for targets 'bootcycle-images test-image' in 
configuration '/build/reproducible-path/openjdk-21-21.0.13~8ea/build' 
(exit code 2)
----- Build times -------
Start 2026-10-09 14:42:50
End   2026-10-09 16:07:05

01:24:15 TOTAL
-------------------------

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_interpreterRT_riscv.o:
cc1plus: warning: '-Werror=' argument 
'-Werror=implicit-function-declaration' is not valid for C++
In file included from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/oops/oop.hpp:33,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/handles.hpp:29,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/code/oopRecorder.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/codeBuffer.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/assembler.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/macroAssembler.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/asm/macroAssembler.inline.hpp:28,
                  from 
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/cpu/riscv/interpreterRT_riscv.cpp:28:
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp: 
In member function 'void ScopedFenceGeneral<T>::prefix() [with 
ScopedFenceType T = RELEASE_X]':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp:843:86: 
error: 'release' is not a member of 'OrderAccess'
   843 | template<> inline void ScopedFenceGeneral<RELEASE_X>::prefix() 
       { OrderAccess::release(); }
       | 
                      ^~~~~~~
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp: 
In member function 'void ScopedFenceGeneral<T>::prefix() [with 
ScopedFenceType T = RELEASE_X_FENCE]':
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/hotspot/share/runtime/atomic.hpp:844:86: 
error: 'release' is not a member of 'OrderAccess'
    ... (rest of output omitted)
* For target jdk_modules_java.base__the.java.base_batch:
/build/reproducible-path/openjdk-21-21.0.13~8ea/src/java.base/share/classes/java/lang/CharacterData.java:86: 
error: cannot find symbol
                 case 14 -> CharacterData0E.instance;
                            ^
   symbol:   variable CharacterData0E
   location: class CharacterData
1 error

* All command lines available in 
/build/reproducible-path/openjdk-21-21.0.13~8ea/build/make-support/failure-logs.
=== End of repeated output ===
Technical Details
Message-ID: <NPd73-692o-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Paul Gevers <elbrus@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151156: src:openjdk-21: fails to migrate to testing for too long: FTBFS on riscv64
Date: Sat, 17 Oct 2026 16:00:01 +0200
Message-ID: <NPd73-692o-3@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Oct 17 13:57:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Paul Gevers <elbrus@debian.org>, 1151156@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-riscv@lists.debian.org, openjdk-21@packages.debian.org
X-Debian-Pr-Message: report 1151156
X-Debian-Pr-Package: src:openjdk-21
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: openjdk-21
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, nl
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Debian-User: elbrus
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834768
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 288
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 17 Oct 2026 15:55:50 +0200
X-Original-Message-ID: <0f986200-1b2f-41b8-b477-036a2db8e86a@debian.org>