Bug 1959312

Summary: [FTBFS] oidn: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Jonathan Wakely <jwakely>
Component: oidnAssignee: Luya Tshimbalanga <luya_tfz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: design-devel, luya_tfz, negativo17
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: oidn-1.4.0-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-11 23:24:59 UTC Type: Bug
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: 1937698    
Attachments:
Description Flags
build.log none

Description Jonathan Wakely 2021-05-11 09:14:27 UTC
Created attachment 1781963 [details]
build.log

http://koji.fedoraproject.org/koji/buildinfo?buildID=1745772

In file included from /usr/include/signal.h:315,
                 from /builddir/build/BUILD/oidn-1.3.0/apps/catch.hpp:8034,
                 from /builddir/build/BUILD/oidn-1.3.0/apps/oidnTest.cpp:12:
/builddir/build/BUILD/oidn-1.3.0/apps/catch.hpp:10822:58: error: call to non-'constexpr' function 'long int sysconf(int)'
10822 |     static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |                                                          ^~~~~~~~~~~
In file included from /usr/include/bits/sigstksz.h:24,
                 from /usr/include/signal.h:315,
                 from /builddir/build/BUILD/oidn-1.3.0/apps/catch.hpp:8034,
                 from /builddir/build/BUILD/oidn-1.3.0/apps/oidnTest.cpp:12:
/usr/include/unistd.h:630:17: note: 'long int sysconf(int)' declared here
  630 | extern long int sysconf (int __name) __THROW;
      |                 ^~~~~~~
In file included from /builddir/build/BUILD/oidn-1.3.0/apps/oidnTest.cpp:12:
/builddir/build/BUILD/oidn-1.3.0/apps/catch.hpp:10881:45: error: size of array 'altStackMem' is not an integral constant-expression
10881 |     char FatalConditionHandler::altStackMem[sigStackSize] = {};
      |                                             ^~~~~~~~~~~~


This package needs to be adjusted for the new glibc in rawhide.

Comment 1 Jonathan Wakely 2021-05-11 09:23:41 UTC
The catch bug is https://github.com/catchorg/Catch2/issues/2178 but I don't think they fixed it upstream for catch v1

Comment 2 Luya Tshimbalanga 2021-05-11 23:24:59 UTC
New build with patch solving glibc build issue aken from upstream devel branch.
https://koji.fedoraproject.org/koji/taskinfo?taskID=67725731

That patch will be removed once a stable release is available.

Comment 3 Fedora Update System 2021-05-19 06:46:55 UTC
FEDORA-2021-258785fae6 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-258785fae6

Comment 4 Fedora Update System 2021-05-19 06:47:28 UTC
FEDORA-2021-258785fae6 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.