Bug 2301337

Summary: tpm2-openssl: FTBFS in Fedora rawhide/f41
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: tpm2-opensslAssignee: afreof <adrian.freihofer>
Status: CLOSED COMPLETED QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: adrian.freihofer, dbelyavs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-18 11:33:16 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: 2260875    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2024-07-29 21:37:28 UTC
tpm2-openssl failed to build from source in Fedora rawhide/f41

https://koji.fedoraproject.org/koji/taskinfo?taskID=120785993


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
Please fix tpm2-openssl at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
tpm2-openssl will be orphaned. Before branching of Fedora 42,
tpm2-openssl will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2024-07-29 21:37:34 UTC
Created attachment 2042901 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2024-07-29 21:37:40 UTC
Created attachment 2042902 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2024-07-29 21:37:43 UTC
Created attachment 2042903 [details]
state.log

Comment 4 afreof 2024-08-11 11:59:37 UTC
The pull request which will fix this issue is here: https://github.com/tpm2-software/tpm2-openssl/pull/122.

Comment 5 afreof 2024-10-18 11:33:16 UTC
This is fixed on https://github.com/tpm2-software/tpm2-openssl master branch (commits up to 87082a3458adec235b935f02dad597a71145279d).

Package version 1.2.0-5 contains pack-ports for the required patches. The package can now be compiled and the tests can be run on Fedora 41 as well as on rawhide:

- rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=124948248
- f41: https://koji.fedoraproject.org/koji/taskinfo?taskID=124949019