Bug 2051124

Summary: forbidden-apis fails to build with java-17-openjdk
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: forbidden-apisAssignee: jiri vanek <jvanek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: didiksupriadi41, java-maint-sig, jhuttana, jvanek, pmikova, sgehwolf, zzambers
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: 2022-02-06 12:56:55 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: 2024265    

Description jiri vanek 2022-02-06 12:50:03 UTC
forbidden-apis fails to build with java-17-openjdk as sytem JDK. See https://fedoraproject.org/wiki/Changes/Java17 .
See especially part about known failures: https://fedoraproject.org/wiki/Changes/Java17#common_issues_packagers_can_face_and_gathered_solutions

For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=82426052
https://kojipkgs.fedoraproject.org/work/tasks/6131/82426131/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/6131/82426131/hw_info.log
https://kojipkgs.fedoraproject.org/work/tasks/6131/82426131/state.log
https://kojipkgs.fedoraproject.org/work/tasks/6131/82426131/build.log
https://kojipkgs.fedoraproject.org/work/tasks/6131/82426131/root.log
We run the rebuild in side tag f36-java17, but as fial ratio was small, we expect this side tag to be merged into rawhide 7 or 8 of February 2022.
To reproduce before this date simply: fedpkg clone forbidden-apis; cd forbidden-apis;  fedpkg build --target f36-java17; #The target is crucial.
After this date the usual fedpkg build in f36 and up should do.

We run two reruns your package failed both.


We had tried aprox 500 packages, and aprox 65 had failed, so the java-17-openjdk will be system JDK in f36, 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.
There will be usual mass rebuild once f36 branches. You may got another FTBFS bug.
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.