Bug 1974247 - cryptlib: FTBFS in Fedora rawhide
Summary: cryptlib: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cryptlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Ralf Senderek
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F35FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-06-21 07:47 UTC by Tomáš Hrnčiar
Modified: 2021-06-24 14:21 UTC (History)
1 user (show)

Fixed In Version: cryptlib-3.4.5-18.f35
Clone Of:
Environment:
Last Closed: 2021-06-24 14:21:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-06-21 07:47:26 UTC
Description of problem:
Package cryptlib fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
3.4.5-17.fc35

Steps to Reproduce:
koji build --scratch f35 cryptlib-3.4.5-17.fc35.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/cryptlib

Comment 1 Ralf Senderek 2021-06-24 14:21:23 UTC
The issue with pthread_yield is resolved by amending the source file ./kernel/thread.h

2982 #include <sched.h>
...
3022   #if defined( __linux__ ) && ( OSVERSION > 3 )
3023        #define  THREAD_YIELD()          sched_yield()
3024   #endif

The package now builds fine, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=70742601


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