xls icon indicating copy to clipboard operation
xls copied to clipboard

/usr/include/x86_64-linux-gnu/gnu/stubs.h:7:11: error: fatal error: gnu/stubs-32.h: No such file or directory

Open juhp opened this issue 5 years ago • 1 comments

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.

juhp avatar Dec 27 '20 09:12 juhp

I tried building this project using ghc-8.8.4 and cabal, and it builds. it fails with this error with ghc-8.10.4

piq9117 avatar Aug 02 '21 03:08 piq9117