Bug 1858063

Summary: openstack-java-sdk fails to build with java-11-openjdk
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: openstack-java-sdkAssignee: Dominik Holler <dholler>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: danken, decathorpe, dholler, fsimonce, itamar, java-maint-sig, jvanek, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-java-sdk-3.2.9-5.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-29 08:49:22 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: 1825969    

Description jiri vanek 2020-07-16 21:27:45 UTC
openstack-java-sdk fails to build with java-11-openjdk as sytem JDK. See https://fedoraproject.org/wiki/Changes/Java11 .
See especially part about known failures: https://fedoraproject.org/wiki/Changes/Java11#common_issues_packagers_can_face_and_gathered_solutions

For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=47304831
We run the rebuild longer then 10days ago. Log may be gone. Also your package may be passing in regular rawhide.
To reproduce, simply: fedpkg clone openstack-java-sdk; cd openstack-java-sdk;  fedpkg build --target f33-java11; #The target is crucial.

We run two reruns your package failed both.


We had tried 650 packages, and 500 had passed, so the java-11-openjdk will be system JDK in f33, 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 f33 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.

Comment 1 jiri vanek 2020-07-17 04:01:27 UTC
highlight: This was rebuild in sidetag f33-java11. Thus --target is really necessary to reproduce failure.
please note: This side tag, f33-java11, will be merged to main f33 buildroot in aprox 14 days.

Comment 2 Federico Simoncelli 2020-07-17 06:54:12 UTC
Changing assignee to Dominik (as I think he is the maintainer now).
Cc'ing Dan to keep me honest.

Comment 3 Fabio Valentini 2020-07-18 19:19:30 UTC
This issue can easily be resolved by adding a packaging-guidelines conformant -javadoc subpackage.
For Java 11, javadoc generation was switched to xmvn-javadoc, which does not honor the -Dmaven.javadoc.skip=true flag.

Comment 4 Dominik Holler 2020-07-29 08:49:22 UTC
(In reply to Fabio Valentini from comment #3)
> This issue can easily be resolved by adding a packaging-guidelines
> conformant -javadoc subpackage.
> For Java 11, javadoc generation was switched to xmvn-javadoc, which does not
> honor the -Dmaven.javadoc.skip=true flag.

Thanks for the valuable hint!