Not sure if this is a configuration issue with the Stackage build environment, but this started happening:
Building library for xls-0.1.3..
[1 of 1] Compiling Data.Xls
/var/stackage/work/unpack-dir/unpacked/xls-0.1.3-1cb62e5139d27625581742b671f5db2518b01989fc5e59c910ef11363845eb65/In file included from /usr/include/features.h:448:0: error:
0,
from /usr/include/inttypes.h:25,
from /home/stackage/.stack/programs/x86_64-linux/ghc-8.10.3/lib/ghc-8.10.3/include/stg/Types.h:44,
from /home/stackage/.stack/programs/x86_64-linux/ghc-8.10.3/lib/ghc-8.10.3/include/Rts.h:23,
from /tmp/ghc16072_0/ghc_5.c:2:
/usr/include/x86_64-linux-gnu/gnu/stubs.h:7:11: error:
fatal error: gnu/stubs-32.h: No such file or directory
# include <gnu/stubs-32.h>
^~~~~~~~~~~~~~~~
|
7 | # include <gnu/stubs-32.h>
| ^
compilation terminated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)
This is with ghc-8.10.3 and stack-2.5.1 fwiw.