Closed
Description
Describe the bug
Using musl instead of glibc results in the #else branch in systemErrorText
getting used; musl follows the POSIX standard.
To Reproduce
Compiling a program using ghc::filesystem on Alpine Linux (uses musl as its libc by default) as part of a CI build is how I encountered this issue. Otherwise, setup another compiler to use musl instead of glibc.
Expected behavior
The variant of strerror_r that returns an int should be used.
Additional context
Line 208 of the log in https://cloud.drone.io/nightlark/HELICS-src/22/2/4 is where I first saw the problem.