Bug 2046778

Summary: ocserv: FTBFS in Fedora rawhide/f36
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: ocservAssignee: Nikos Mavrogiannopoulos <n.mavrogiannopoulos>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: n.mavrogiannopoulos, tdawson
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: 2022-02-10 15:26:25 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: 1992484, 2045102    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-01-27 09:27:23 UTC
ocserv failed to build from source in Fedora rawhide/f36

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix ocserv 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,
ocserv will be orphaned. Before branching of Fedora 37,
ocserv 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 2022-01-27 09:27:25 UTC
Created attachment 1855959 [details]
build.log

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

Comment 2 Fedora Release Engineering 2022-01-27 09:27:27 UTC
Created attachment 1855960 [details]
root.log

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

Comment 3 Fedora Release Engineering 2022-01-27 09:27:28 UTC
Created attachment 1855961 [details]
state.log

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

Comment 5 Troy Dawson 2022-02-09 17:54:25 UTC
It looks like the builds build, but the tests are failing.

...
============================================================================
Testsuite summary for ocserv 1.1.4
============================================================================
# TOTAL: 93
# PASS:  17
# SKIP:  53
# XFAIL: 0
# FAIL:  23
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to openconnect-devel.org
============================================================================
...

Side note, we're seeing the same test fail numbers on epel9 builds.

Comment 6 Nikos Mavrogiannopoulos 2022-02-10 10:01:53 UTC
Everything passes on fedora 35. I'm checking the fedora 36 changes and some potential problems may come from:
https://fedoraproject.org/wiki/Changes/GnutlsAllowlisting
https://fedoraproject.org/wiki/Changes/OpenSSL3.0

Comment 7 Nikos Mavrogiannopoulos 2022-02-10 10:12:43 UTC
@Troy I have only fedora 35 available to test so I cannot reproduce it. I suspect something the new allow list for gnutls blocks an algorithm used in the tests (SHA1? DTLS 0.9?). At the same time, the error printed "The futex facility returned an unexpected error code." is very confusing.

Comment 8 Nikos Mavrogiannopoulos 2022-02-10 15:09:28 UTC
I've found the reasons it fails on Fedora 36:

https://src.fedoraproject.org/rpms/ocserv/c/17e5b407a3f0f7f548df4bb45144612290f30fab?branch=rawhide