Bug 2051141 - cryptlib fails to build with java-17-openjdk
Summary: cryptlib fails to build with java-17-openjdk
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cryptlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ralf Senderek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2024265
TreeView+ depends on / blocked
 
Reported: 2022-02-06 14:10 UTC by jiri vanek
Modified: 2022-02-07 12:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-07 12:14:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jiri vanek 2022-02-06 14:10:17 UTC
cryptlib 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=82424826
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 cryptlib; cd cryptlib;  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/cryptlib
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:27:08 UTC
Looks like build passed. Only final deploy to repo failed:
GenericError: Build already exists (id=1911122, state=COMPLETE): {'name': 'cryptlib', 'version': '3.4.6', 'release': '2.fc36', 'epoch': None, 'task_id': 82424826, 'source': 'git+https://src.fedoraproject.org/rpms/cryptlib.git#dbc220d9736196a7aa47d35ad2dd453f63a4ada9', 'extra': '{"source": {"original_url": "git+https://src.fedoraproject.org/rpms/cryptlib.git#dbc220d9736196a7aa47d35ad2dd453f63a4ada9 ...


I think it i s safe to ignore if issue fix itself during f36 mass rebuild, to close

Comment 2 Ralf Senderek 2022-02-07 12:14:40 UTC
This is a premature bug report, because the cryptlib build has not been started. The cause of this problem is a misspelled date changelog entry in the spec-file, which I have corrected.

The scratch build can be found here:   http://koji.fedoraproject.org/koji/taskinfo?taskID=82467677


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