https://bugzilla.redhat.com/show_bug.cgi?id=2266637
Bug ID: 2266637 Summary: apache-sshd fails to build with java-21-openjdk Product: Fedora Version: rawhide Status: NEW Component: apache-sshd Severity: high Assignee: mat.booth@gmail.com Reporter: pmikova@redhat.com QA Contact: extras-qa@fedoraproject.org CC: java-maint-sig@lists.fedoraproject.org, java-sig-commits@lists.fedoraproject.org, jvanek@redhat.com, mat.booth@gmail.com, msrb@redhat.com, pmikova@redhat.com, puntogil@libero.it Blocks: 2262141 Target Milestone: --- Classification: Fedora
apache-sshd fails to build with java-21-openjdk as sytem JDK. See https://fedoraproject.org/wiki/Changes/Java21.
For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=114131918 https://kojipkgs.fedoraproject.org/work/tasks/2042/114132042/mock_output.log https://kojipkgs.fedoraproject.org/work/tasks/2042/114132042/state.log https://kojipkgs.fedoraproject.org/work/tasks/2042/114132042/build.log https://kojipkgs.fedoraproject.org/work/tasks/2042/114132042/root.log https://kojipkgs.fedoraproject.org/work/tasks/2042/114132042/hw_info.log We run the rebuild in side tag f41-build-side-84507, but as fail ratio was small, we expect this side tag to be merged into rawhide ASAP. To reproduce before this date simply: fedpkg clone apache-sshd; cd apache-sshd; fedpkg build --target f41-build-side-84507; #The target is crucial. After merge, the usual fedpkg build in rawhide should do.
We had tried aprox 400 packages, and aprox 55 had failed, so the java-21-openjdk will be system JDK in f40, and you should fix your package if you want to keep it alive. Usually the fix is simple, and best is to update the package to latest upstream version. Fix the issue in both f40 and rawhide, if possible, the side tag and rebuild of f40 (and bugs) will follow soon. Let us know here if you have any questions, here in bug, or at java-devel@lists.fedoraproject.org .
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side if needed.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2262141 [Bug 2262141] java-21-openjdk as the system JDK in F40
https://bugzilla.redhat.com/show_bug.cgi?id=2266637
--- Comment #1 from jiri vanek jvanek@redhat.com --- [INFO] 9 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/apache-sshd-2.8.0/sshd-common/src/main/java/org/apache/sshd/common/util/threads/CloseableExecutorService.java:[29,8] types java.util.concurrent.ExecutorService and org.apache.sshd.common.Closeable are incompatible; interface org.apache.sshd.common.util.threads.CloseableExecutorService inherits unrelated defaults for close() from types java.util.concurrent.ExecutorService and org.apache.sshd.common.Closeable [ERROR] /builddir/build/BUILD/apache-sshd-2.8.0/sshd-common/src/main/java/org/apache/sshd/common/util/threads/NoCloseExecutor.java:[43,8] org.apache.sshd.common.util.threads.NoCloseExecutor is not abstract and does not override abstract method close() in java.nio.channels.Channel [ERROR] /builddir/build/BUILD/apache-sshd-2.8.0/sshd-common/src/main/java/org/apache/sshd/common/util/threads/SshThreadPoolExecutor.java:[35,8] types org.apache.sshd.common.Closeable and java.util.concurrent.ExecutorService are incompatible; class org.apache.sshd.common.util.threads.SshThreadPoolExecutor inherits unrelated defaults for close() from types org.apache.sshd.common.Closeable and java.util.concurrent.ExecutorService [INFO] 3 errors [INFO] -------------
I was trying to resolvce this, but got into a deadlock maze a bit. Maybe there is new upstream reelase?
https://bugzilla.redhat.com/show_bug.cgi?id=2266637
jiri vanek jvanek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #2 from jiri vanek jvanek@redhat.com --- udpate to 2.11 fixed the issue. https://koji.fedoraproject.org/koji/taskinfo?taskID=114910363 update to 2.11 required bouncycastel 1.76, so I bumped bouncycastle to 1.77 (much more work then mina:()
So update of mina in f40 is waiting for https://bodhi.fedoraproject.org/updates/FEDORA-2024-c1d664909b (or to at least move to BR override)
https://bugzilla.redhat.com/show_bug.cgi?id=2266637
jiri vanek jvanek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |CURRENTRELEASE Status|MODIFIED |CLOSED Last Closed| |2024-03-14 09:25:46
--- Comment #3 from jiri vanek jvanek@redhat.com --- backported to f40, update asap
java-sig-commits@lists.fedoraproject.org