Build #1 for memfd-1.0.0.0

[all reports]

Package memfd-1.0.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2022-06-13 07:59:11.510418075 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies base-4.14.1.0, transformers-0.5.6.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading  memfd-1.0.0.0
Downloaded   memfd-1.0.0.0
Starting     memfd-1.0.0.0
Building     memfd-1.0.0.0
Failed to install memfd-1.0.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/memfd-1.0.0.0-87Bz5utpyCZI9nRVkT9hMR.log ):
cabal: Entering directory '/tmp/cabal-tmp-25330/memfd-1.0.0.0'
Configuring memfd-1.0.0.0...
Preprocessing library for memfd-1.0.0.0..
compiling dist/build/CreateFlags_hsc_make.c failed (exit code 1)
rsp file was: "dist/build/hsc2hscall25457-0.rsp"
command was: /usr/bin/cc -c dist/build/CreateFlags_hsc_make.c -o dist/build/CreateFlags_hsc_make.o -fuse-ld=gold -D__GLASGOW_HASKELL__=810 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/8.10.2/lib/ghc-8.10.2/base-4.14.1.0/include -I/opt/ghc/8.10.2/lib/ghc-8.10.2/integer-gmp-1.0.3.0/include -I/opt/ghc/8.10.2/lib/ghc-8.10.2/include -I/opt/ghc/8.10.2/lib/ghc-8.10.2/include/
error: In file included from dist/build/CreateFlags_hsc_make.c:1:0:
CreateFlags.hsc: In function main:
CreateFlags.hsc:36:16: error: MFD_HUGE_32MB undeclared (first use in this function); did you mean MFD_HUGE_2MB?
 hugeTLBSize HugeTLB_32MB  = CreateFlags (#const MFD_HUGE_32MB)
                ^
/opt/ghc/8.10.2/lib/ghc-8.10.2/template-hsc.h:45:10: note: in definition of macro hsc_const
     if ((x) < 0)                                      \
          ^
CreateFlags.hsc:36:16: note: each undeclared identifier is reported only once for each function it appears in
 hugeTLBSize HugeTLB_32MB  = CreateFlags (#const MFD_HUGE_32MB)
                ^
/opt/ghc/8.10.2/lib/ghc-8.10.2/template-hsc.h:45:10: note: in definition of macro hsc_const
     if ((x) < 0)                                      \
          ^
CreateFlags.hsc:38:16: error: MFD_HUGE_512MB undeclared (first use in this function); did you mean MFD_HUGE_512KB?
 hugeTLBSize HugeTLB_512MB = CreateFlags (#const MFD_HUGE_512MB)
                ^
/opt/ghc/8.10.2/lib/ghc-8.10.2/template-hsc.h:45:10: note: in definition of macro hsc_const
     if ((x) < 0)                                      \
          ^

cabal: Leaving directory '/tmp/cabal-tmp-25330/memfd-1.0.0.0'
cabal: Error: some packages failed to install:
memfd-1.0.0.0-87Bz5utpyCZI9nRVkT9hMR failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.