Open sheepforce opened 2 years ago
Thanks for reporting. This is indeed an annoyance. As you suggest, upgrading the bundled version of Catch would solve the issue. I'll try to patch it up during the week. I'm rewriting this library from scratch, so it's not exactly high priority, but since it broke a lot of packages, it must be fixed.
A quick workaround I've just used to repair the broken nixpkgs branches is to replace SIGSTKSZ
by _SC_SIGSTKSZ
PCMsolver cannot build with recent glibc version. The issue seems to be, that in glibc >= 2.34
SIGSTKSZ
is not constant anymore. This leads to type errors in theCatch
code:Expected Behavior
PCMSolver should compile with recent Glibc versions.
Current Behavior
Glibc >= 2.34 breaks PCMSolver
Possible Solution
Update the catch code to be compatible with recent Glibc? (I am no C++ dev myself)
Steps to Reproduce (for bugs)
nix build nixpkgs/f35d4e3c73eaecfa5d1eabdcfd14d8047b440a15#pcmsolver --print-build-logs
or build on probably any other linux with glibc >= 2.34Context
I am maintaining pcmsolver in NixOS and nixpkgs. The glibc incompatibility of PCMSolver unfortunately also breaks Psi4 and Dalton in Nixpkgs/NixOS.
The glibc change apparently also bit other people, e.g.:
Your Environment