error: unknown type name ‘clockid_t’ from bytestring bump
@clyring the bytestring bump (43578d60) causes my build to fail with:
from libraries/bytestring/cbits/is-valid-utf8.c:53:0: error:
/nix/store/llmhxawhz6c4jqgjapbmsmz02579js0s-ghc-9.6.2-with-packages/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/rts-1.0.2/include/rts/OSThreads.h:38:5: error:
error: unknown type name ‘clockid_t’
38 | clockid_t timeout_clk;
| ^~~~~~~~~
|
38 | clockid_t timeout_clk;
| ^
`cc' failed in phase `C Compiler'. (Exit code: 1)
I can reproduce this on a clean build following the steps on ghc.dev:
git clone --recurse-submodules https://gitlab.haskell.org/ghc/ghc.git
git clone https://github.com/alpmestan/ghc.nix
nix develop ghc.nix
cd ghc
./boot && ./configure
hadrian/build -j
@alanz also reported seeing this issue on #ghc