Public bug reported:
Building with glibc 2.34 leads to a compilation error because SIGSTKSZ
is not a constant anymore. From glibc's NEWS file:
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ. When _SC_SIGSTKSZ_SOURCE or
_GNU_SOURCE are defined, MINSIGSTKSZ and SIGSTKSZ are no longer
constant on Linux. MINSIGSTKSZ is redefined to sysconf(_SC_MINSIGSTKSZ)
and SIGSTKSZ is redefined to sysconf (_SC_SIGSTKSZ).
Here's the error:
In file included from /usr/include/signal.h:328,
from
/<<PKGBUILDDIR>>/3rd_party/include/opentracing/catch2/catch.hpp:6456,
from /<<PKGBUILDDIR>>/test/string_view_test.cpp:5:
/<<PKGBUILDDIR>>/3rd_party/include/opentracing/catch2/catch.hpp:6631:45:
error: size of array ‘altStackMem’ is not an integral constant-expression
6631 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
| ^~~~~~~~
** Affects: opentracing-cpp (Ubuntu)
Importance: High
Assignee: Sergio Durigan Junior (sergiodj)
Status: In Progress
** Tags: ftbfs update-excuse
** Changed in: opentracing-cpp (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951665
Title:
FTBFS with glibc 2.34
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opentracing-cpp/+bug/1951665/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs