Bug 2266646

Summary: icedtea-web fails to build with java-21-openjdk
Product: [Fedora] Fedora Reporter: Petra Alice Mikova <pmikova>
Component: icedtea-webAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-maint-sig, jvanek, pmikova, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-13 19:21:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2262141    

Description Petra Alice Mikova 2024-02-28 16:57:39 UTC
icedtea-web 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=114134147
https://kojipkgs.fedoraproject.org/work/tasks/4310/114134310/state.log
https://kojipkgs.fedoraproject.org/work/tasks/4310/114134310/build.log
https://kojipkgs.fedoraproject.org/work/tasks/4310/114134310/root.log
https://kojipkgs.fedoraproject.org/work/tasks/4310/114134310/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/4310/114134310/hw_info.log
https://kojipkgs.fedoraproject.org/work/tasks/4308/114134308/state.log
https://kojipkgs.fedoraproject.org/work/tasks/4308/114134308/build.log
https://kojipkgs.fedoraproject.org/work/tasks/4308/114134308/root.log
https://kojipkgs.fedoraproject.org/work/tasks/4308/114134308/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/4308/114134308/hw_info.log
https://kojipkgs.fedoraproject.org/work/tasks/4307/114134307/state.log
https://kojipkgs.fedoraproject.org/work/tasks/4307/114134307/build.log
https://kojipkgs.fedoraproject.org/work/tasks/4307/114134307/root.log
https://kojipkgs.fedoraproject.org/work/tasks/4307/114134307/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/4307/114134307/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 icedtea-web; cd icedtea-web;  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.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.

Comment 1 Robert Scheck 2024-03-03 01:30:05 UTC
IcedTea-Web opts out from system JDK, as it does not work with Java 21 (upstream did even not respond to my patches related to Java 18 support in the last 9 months). https://fedoraproject.org/wiki/Changes/Java21#My_package_can_not_work_with_JDK_21 is already satisfied by the package, but it looks like this was not honored by your rebuilds?

Comment 2 jiri vanek 2024-03-13 12:09:42 UTC
Hi!
My apologise. Feel free to close the bug.
We rather try to rebuild more then less. Your requires looks correct.

Processing files: icedtea-web-1.8.8-5.fc41.s390x
error: File not found: /builddir/build/BUILDROOT/icedtea-web-1.8.8-5.fc41.s390x/usr/share/bash-completion/completions/itweb-settings
error: File not found: /builddir/build/BUILDROOT/icedtea-web-1.8.8-5.fc41.s390x/usr/share/bash-completion/completions/policyeditor
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3NHodx

Seems unrelated (but real)


As former ITW developer I really regret the usptream died:(  My compliments  for being able to keep it alive so long.

Comment 3 Robert Scheck 2024-03-13 19:21:54 UTC
The unrelated build-failure already has been fixed with icedtea-web-1.8.8-5.fc41 like a week ago.

Comment 4 Red Hat Bugzilla 2024-07-12 04:25:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days