https://bugzilla.redhat.com/show_bug.cgi?id=2051150
Bug ID: 2051150 Summary: google-gson fails to build with java-17-openjdk Product: Fedora Version: rawhide Status: NEW Component: google-gson Severity: high Assignee: sergio@serjux.com Reporter: jvanek@redhat.com QA Contact: extras-qa@fedoraproject.org CC: dchen@redhat.com, didiksupriadi41@gmail.com, jaromir.capik@email.cz, java-maint-sig@lists.fedoraproject.org, java-sig-commits@lists.fedoraproject.org, jerboaa@gmail.com, jhuttana@redhat.com, jvanek@redhat.com, krzysztof.daniel@gmail.com, lef@fedoraproject.org, mizdebsk@redhat.com, pmikova@redhat.com, sergio@serjux.com, sgehwolf@redhat.com Blocks: 2024265 Target Milestone: --- Classification: Fedora
google-gson 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_fa...
For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=82426487 https://kojipkgs.fedoraproject.org/work/tasks/6611/82426611/mock_output.log https://kojipkgs.fedoraproject.org/work/tasks/6611/82426611/hw_info.log https://kojipkgs.fedoraproject.org/work/tasks/6611/82426611/state.log https://kojipkgs.fedoraproject.org/work/tasks/6611/82426611/build.log https://kojipkgs.fedoraproject.org/work/tasks/6611/82426611/root.log We run the rebuild in side tag f36-java17, but as fail 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 google-gson; cd google-gson; 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 also run the mass rebuilds in copr since November. We keep all encountered failures. See them here: https://copr.fedorainfracloud.org/coprs/jvanek/java17//package/google-gson You may find interesting additional informations here. Also we were spamming maintainers regualrly, check you spam folder.
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@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=2024265 [Bug 2024265] java-17-openjdk as system JDK in F36
https://bugzilla.redhat.com/show_bug.cgi?id=2051150
--- Comment #1 from jiri vanek jvanek@redhat.com --- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (base-compile) on project gson: Compilation failure: Compilation failure: [ERROR] Source option 6 is no longer supported. Use 7 or later. [ERROR] Target option 6 is no longer supported. Use 7 or later.
Should be easy enough to fix
https://bugzilla.redhat.com/show_bug.cgi?id=2051150
Sergio Basto sergio@serjux.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |RAWHIDE Status|NEW |CLOSED Last Closed| |2022-02-06 15:25:41
--- Comment #2 from Sergio Basto sergio@serjux.com --- (In reply to jiri vanek from comment #1)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (base-compile) on project gson: Compilation failure: Compilation failure: [ERROR] Source option 6 is no longer supported. Use 7 or later. [ERROR] Target option 6 is no longer supported. Use 7 or later.
Should be easy enough to fix
fixed with %pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration'
https://bugzilla.redhat.com/show_bug.cgi?id=2051150
Sergio Basto sergio@serjux.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|RAWHIDE |--- Keywords| |Reopened
https://bugzilla.redhat.com/show_bug.cgi?id=2051150
--- Comment #3 from Sergio Basto sergio@serjux.com --- I forgot to run in side tag f36-java17
https://bugzilla.redhat.com/show_bug.cgi?id=2051150
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-64981fec0f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-64981fec0f
https://bugzilla.redhat.com/show_bug.cgi?id=2051150
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-64981fec0f has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-64981fec0f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-64981fec0f
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2051150
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |google-gson-2.9.0-1.fc36 Resolution|--- |ERRATA Last Closed|2022-02-06 15:25:41 |2022-03-26 15:09:47
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-64981fec0f has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
java-sig-commits@lists.fedoraproject.org