Bug 2051151 - hdf5 fails to build with java-17-openjdk
Summary: hdf5 fails to build with java-17-openjdk
Keywords:
Status: CLOSED DUPLICATE of bug 2045699
Alias: None
Product: Fedora
Classification: Fedora
Component: hdf5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2045699
Blocks: 2024265
TreeView+ depends on / blocked
 
Reported: 2022-02-06 14:22 UTC by jiri vanek
Modified: 2022-02-07 14:41 UTC (History)
12 users (show)

Fixed In Version: hdf5-1.12.1-4.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-07 14:41:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jiri vanek 2022-02-06 14:22:37 UTC
hdf5 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=82428337
https://kojipkgs.fedoraproject.org/work/tasks/8519/82428519/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/8519/82428519/hw_info.log
https://kojipkgs.fedoraproject.org/work/tasks/8519/82428519/state.log
https://kojipkgs.fedoraproject.org/work/tasks/8519/82428519/build.log
https://kojipkgs.fedoraproject.org/work/tasks/8519/82428519/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 hdf5; cd hdf5;  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/hdf5
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:31:21 UTC
Seems mor elike gcc12 then java  issue:
/usr/bin/ld: /builddir/build/BUILD/hdf5-1.12.1/build/fortran/test/tf_gen.F90:84: undefined reference to `minusone.31'
/usr/bin/ld: /builddir/build/BUILD/hdf5-1.12.1/build/fortran/test/tf_gen.F90:84: undefined reference to `minusone.31'
/usr/bin/ld: /builddir/build/BUILD/hdf5-1.12.1/build/fortran/test/tf_gen.F90:84: undefined reference to `minusone.31'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:999: fortranlib_test_1_8] Error 1

Comment 2 Orion Poplawski 2022-02-07 14:41:38 UTC

*** This bug has been marked as a duplicate of bug 2045699 ***


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