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
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