Build #1 for netw-0.1.1.0

[all reports]

Package netw-0.1.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2024-04-30 06:06:24.086575863 UTC
Compiler ghc-9.6.3
OS linux
Arch x86_64
Dependencies base-4.18.1.0, primitive-0.9.0.0, primitive-unaligned-0.1.1.2, template-haskell-2.20.0.0, unix-2.7.3
Flags -debug

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     primitive-0.9.0.0
Starting     unix-2.7.3
Building     primitive-0.9.0.0
Building     unix-2.7.3
Completed    primitive-0.9.0.0
Starting     primitive-unaligned-0.1.1.2
Building     primitive-unaligned-0.1.1.2
Completed    primitive-unaligned-0.1.1.2
Completed    unix-2.7.3
Downloading  netw-0.1.1.0
Downloaded   netw-0.1.1.0
Starting     netw-0.1.1.0
Building     netw-0.1.1.0
Failed to install netw-0.1.1.0
Build log ( /home/builder/.cabal/logs/ghc-9.6.3/netw-0.1.1.0-5RzUOiNdWUZ4Df2VYOMHNQ.log ):
cabal: Entering directory '/tmp/cabal-tmp-1698564/netw-0.1.1.0'
Configuring netw-0.1.1.0...
Preprocessing library for netw-0.1.1.0..
compiling dist/build/Netw/Internal/Enum_hsc_make.c failed (exit code 1)
rsp file was: "dist/build/Netw/Internal/hsc2hscall1702897-0.rsp"
command was: /usr/bin/gcc -c dist/build/Netw/Internal/Enum_hsc_make.c -o dist/build/Netw/Internal/Enum_hsc_make.o -fuse-ld=gold -D__GLASGOW_HASKELL__=906 -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/home/builder/builder-dir/build-cache/tmp-install/lib/x86_64-linux-ghc-9.6.3/unix-2.7.3-IUTO58LliSOCUPmTReqSGy/include -I/home/builder/.ghcup/ghc/9.6.3/lib/ghc-9.6.3/lib/../lib/x86_64-linux-ghc-9.6.3/time-1.12.2/include -I/home/builder/builder-dir/build-cache/tmp-install/lib/x86_64-linux-ghc-9.6.3/primitive-0.9.0.0-2Ut0u6h4ou624O572IFc4S/include -I/home/builder/.ghcup/ghc/9.6.3/lib/ghc-9.6.3/lib/../lib/x86_64-linux-ghc-9.6.3/bytestring-0.11.5.2/include -I/home/builder/.ghcup/ghc/9.6.3/lib/ghc-9.6.3/lib/../lib/x86_64-linux-ghc-9.6.3/base-4.18.1.0/include -I/home/builder/.ghcup/ghc/9.6.3/lib/ghc-9.6.3/lib/../lib/x86_64-linux-ghc-9.6.3/ghc-bignum-1.3/include -I/home/builder/.ghcup/ghc/9.6.3/lib/ghc-9.6.3/lib/../lib/x86_64-linux-ghc-9.6.3/rts-1.0.2/include -I/home/builder/.ghcup/ghc/9.6.3/include/
error: In file included from dist/build/Netw/Internal/Enum_hsc_make.c:1:
Enum.hsc: In function main:
Enum.hsc:89:16: error: IPPROTO_MPTCP undeclared (first use in this function); did you mean IPPROTO_MTP?
/home/builder/.ghcup/ghc/9.6.3/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro hsc_const
   45 |     if ((x) < 0)                                      \
      |          ^
Enum.hsc:89:16: note: each undeclared identifier is reported only once for each function it appears in
/home/builder/.ghcup/ghc/9.6.3/lib/ghc-9.6.3/lib/template-hsc.h:45:10: note: in definition of macro hsc_const
   45 |     if ((x) < 0)                                      \
      |          ^

cabal: Leaving directory '/tmp/cabal-tmp-1698564/netw-0.1.1.0'
Error: cabal: Some packages failed to install:
netw-0.1.1.0-5RzUOiNdWUZ4Df2VYOMHNQ failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.