error: call to non-‘constexpr’ function ‘long int sysconf(int)’FTBFS:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
segyio |
Fix Released
|
Unknown
|
|||
segyio (Debian) |
Fix Released
|
Unknown
|
|||
segyio (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This code tries to use MINSIGSTKSZ as part of a constant expression, but in glibc 2.34
this now expands to a call to sysconf(), causing a build failure:
In file included from /usr/include/
/<<PKGBUILDDIR>
7431 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~~~~~~~~~
In file included from /usr/include/
/usr/include/
640 | extern long int sysconf (int __name) __THROW;
| ^~~~~~~
In file included from /<<PKGBUILDDIR>
/<<PKGBUILDDIR>
7490 | char FatalConditionH
| ^~~~~~~~~~~~
[...]
(https:/
No fix for this is currently available in the upstream repository.
tags: | added: ftbfs update-excuse |
Changed in segyio: | |
status: | Unknown → New |
Changed in segyio (Debian): | |
status: | Unknown → Fix Committed |
Changed in segyio (Debian): | |
status: | Fix Committed → Fix Released |
Changed in segyio: | |
status: | New → Fix Released |
In Debian this also has a known python 3.10 issue filed as https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 1000360
And it points out one of the root causes which is being out of date a lot. /github. com/equinor/ segyio/ tags
1.9.8 version is current, but the 1.8.6 we have is ~2.5 years old.
=> https:/
There is an NMU coming for python 3.10 as reported in Debian. /launchpad. net/~ginggs/ +archive/ ubuntu/ testing/ +sourcepub/ 12858492/ +listing- archive- extra
And it turns out Ginggs has a fix for the cpp issue already in https:/
Next steps:
1. waiting for the NMU to sync
2. Ginggs to upload his fix
Future: waiting for 1.9.x