Bug 2301332

Summary: tomcat-native: FTBFS in Fedora rawhide/f41
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: tomcat-nativeAssignee: Coty Sutherland <csutherl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: csutherl, dsoumis, jclere
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tomcat-native-1.3.0-3.fc41 tomcat-native-2.0.8-1.fc43 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-06 14:45:05 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:35:50 UTC
tomcat-native failed to build from source in Fedora rawhide/f41

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
Please fix tomcat-native 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,
tomcat-native will be orphaned. Before branching of Fedora 42,
tomcat-native 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:35:56 UTC
Created attachment 2042886 [details]
build.log

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

Comment 2 Fedora Release Engineering 2024-07-29 21:36:02 UTC
Created attachment 2042887 [details]
root.log

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

Comment 3 Fedora Release Engineering 2024-07-29 21:36:05 UTC
Created attachment 2042888 [details]
state.log

Comment 4 Jean-frederic Clere 2024-07-31 13:04:03 UTC
There is a OPENSSL_NO_ENGINE so a CFLAGS=-DOPENSSL_NO_ENGINE should help.
Detection in an .m4 file in the upstream would be the best.

Comment 5 Coty Sutherland 2024-07-31 14:18:20 UTC
I've pushed a commit to rawhide to resolve this by adding a BuildRequires (see https://src.fedoraproject.org/rpms/tomcat-native/c/d75be0546faf20488030e926e561e350b0fc3ba4?branch=rawhide), but I think the best fix is what JFC mentioned, to utilize the cflag.

Comment 6 Jean-frederic Clere 2024-07-31 15:24:04 UTC
./include/openssl/configuration.h should tell that the no-engine option was used to build openssl...

Comment 7 Fedora Update System 2024-08-06 13:14:04 UTC
FEDORA-2024-eaf3ecf873 (tomcat-native-1.3.0-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-eaf3ecf873

Comment 8 Fedora Update System 2024-08-06 14:45:05 UTC
FEDORA-2024-eaf3ecf873 (tomcat-native-1.3.0-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-04-08 10:52:42 UTC
FEDORA-2025-33bff7089a (tomcat-native-2.0.8-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-33bff7089a

Comment 10 Fedora Update System 2025-04-08 12:12:57 UTC
FEDORA-2025-33bff7089a (tomcat-native-2.0.8-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.