Bug 2051149 - gnulib fails to build with java-17-openjdk
Summary: gnulib fails to build with java-17-openjdk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnulib
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Mosaab Alzoubi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2024265
TreeView+ depends on / blocked
 
Reported: 2022-02-06 14:18 UTC by jiri vanek
Modified: 2022-05-07 04:11 UTC (History)
8 users (show)

Fixed In Version: gnulib-0-43.20220212git.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-07 04:11:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jiri vanek 2022-02-06 14:18:30 UTC
gnulib 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=82426458
https://kojipkgs.fedoraproject.org/work/tasks/6602/82426602/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/6602/82426602/hw_info.log
https://kojipkgs.fedoraproject.org/work/tasks/6602/82426602/state.log
https://kojipkgs.fedoraproject.org/work/tasks/6602/82426602/build.log
https://kojipkgs.fedoraproject.org/work/tasks/6602/82426602/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 gnulib; cd gnulib;  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/gnulib
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.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 2022-02-06 14:28:58 UTC
Failed patching:


make[1]: Leaving directory '/builddir/build/BUILD/gnulib-175e0bc/build-tests'
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f Makefile
patching file build-aux/test-driver
Hunk #1 FAILED at 104.
1 out of 1 hunk FAILED -- saving rejects to file build-aux/test-driver.rej
error: Bad exit status from /var/tmp/rpm-tmp.77UyX5 (%prep)
RPM build errors:

Comment 2 Ben Cotton 2022-02-08 20:13:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 3 Fedora Update System 2022-02-23 00:44:52 UTC
FEDORA-2022-989570132f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-989570132f

Comment 4 Fedora Update System 2022-02-24 01:44:53 UTC
FEDORA-2022-989570132f 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-989570132f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-989570132f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-05-07 04:11:20 UTC
FEDORA-2022-989570132f has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.