Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
juhp opened this issue Dec 27, 2020 · 1 comment

Comments

@juhp
Copy link

juhp commented Dec 27, 2020

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 added a commit to commercialhaskell/stackage that referenced this issue Dec 27, 2020
@piq9117
Copy link

piq9117 commented Aug 2, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants