Bug 2046778 - ocserv: FTBFS in Fedora rawhide/f36
Summary: ocserv: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocserv
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikos Mavrogiannopoulos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-01-27 09:27 UTC by Fedora Release Engineering
Modified: 2022-02-10 15:26 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-02-10 15:26:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-27 09:27 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-27 09:27 UTC, Fedora Release Engineering
no flags Details
state.log (960 bytes, text/plain)
2022-01-27 09:27 UTC, Fedora Release Engineering
no flags Details

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


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