HIE 1.4, `stack build` okay, but Can't find C header files included by .hsc files, when open in vscode

41 views
Skip to first unread message

Compl Yue

unread,
May 6, 2020, 9:44:01 AM5/6/20
to Haskell IDE implementation discussion
Hi folks,

I for the first time to start working with .hsc source files, and found HIE enabled VSCode failed to handle the project.

For a reproducible example, I just clone https://github.com/haskell/network and open it in VSCode, open `network/Network/Socket/Posix/CmsgHdr.hsc` , HIE output log then shows these:

```
2020-05-06 21:18:24.459197 [ThreadId 4] - run entered for hie-wrapper(hie-wrapper) Version 1.4 x86_64 ghc-8.6.5
2020-05-06 21:18:24.460378 [ThreadId 4] - Current directory:/qw/ews/network
2020-05-06 21:18:24.460459 [ThreadId 4] - Operating system:darwin
2020-05-06 21:18:24.460537 [ThreadId 4] - args:["--lsp"]
2020-05-06 21:18:24.463043 [ThreadId 4] - Cabal-Helper decided to use: ProjLocStackYaml {plStackYaml = "/qw/ews/network/stack.yaml"}
2020-05-06 21:18:24.463138 [ThreadId 4] - Module "/qw/ews/network/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Other Stack}
2020-05-06 21:18:24.463193 [ThreadId 4] - Cradle directory:/qw/ews/network
2020-05-06 21:18:24.463379 [ThreadId 4] - Executing Stack GHC with args: --numeric-version
2020-05-06 21:18:25.473558 [ThreadId 4] - Project GHC version:8.6.5
2020-05-06 21:18:25.473648 [ThreadId 4] - hie exe candidates :["hie-8.6.5","hie-8.6","hie"]
2020-05-06 21:18:25.474826 [ThreadId 4] - found hie exe at:/Users/cyue/.cabal/bin/hie-8.6.5
2020-05-06 21:18:25.474884 [ThreadId 4] - args:["--lsp"]
2020-05-06 21:18:25.474933 [ThreadId 4] - launching ....



2020-05-06 21:18:25.495276 [ThreadId 4] - Run entered for HIE(hie-8.6.5) Version 1.4 x86_64 ghc-8.6.5
2020-05-06 21:18:25.496113 [ThreadId 4] - Operating as a LSP server on stdio
2020-05-06 21:18:25.496194 [ThreadId 4] - Current directory:/qw/ews/network
2020-05-06 21:18:25.496267 [ThreadId 4] - Operating system:darwin
2020-05-06 21:18:25.496336 [ThreadId 4] - args:["--lsp"]
2020-05-06 21:18:25.53933 [ThreadId 4] - Cabal-Helper decided to use: ProjLocStackYaml {plStackYaml = "/qw/ews/network/stack.yaml"}
2020-05-06 21:18:25.539424 [ThreadId 4] - Module "/qw/ews/network/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Other Stack}
2020-05-06 21:18:25.539649 [ThreadId 4] - Executing Stack GHC with args: --numeric-version
2020-05-06 21:18:25.928347 [ThreadId 9] - Executing Stack GHC with args: --print-libdir
Using hie version: Version 1.4 x86_64 ghc-8.6.5
2020-05-06 21:18:26.623822 [ThreadId 15] - New cradle: /qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc
Using hoogle db at: /Users/cyue/.hoogle/default-haskell-5.0.17.hoo
2020-05-06 21:18:26.626588 [ThreadId 15] - Cabal-Helper decided to use: ProjLocStackYaml {plStackYaml = "/qw/ews/network/stack.yaml"}
2020-05-06 21:18:26.626673 [ThreadId 15] - Module "/qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Other Stack}
2020-05-06 21:18:26.626728 [ThreadId 15] - Found cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Other Stack}
2020-05-06 21:18:30.36599 [ThreadId 20] - Cradle set succesfully
Warning: Can't find file "HsNet.h" in directories
/private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp82983
.
Asked for by: /private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp82983/CmsgHdr.hsc-00000-3132707331887361086.hs at line 3 col 1
Warning: Can't find file "sys/types.h" in directories
/private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp82983
.
Asked for by: /private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp82983/CmsgHdr.hsc-00000-3132707331887361086.hs at line 11 col 1
Warning: Can't find file "sys/socket.h" in directories
/private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp82983
.
Asked for by: /private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp82983/CmsgHdr.hsc-00000-3132707331887361086.hs at line 12 col 1
2020-05-06 21:18:30.560818 [ThreadId 15] - New cradle: /qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc
2020-05-06 21:18:30.577798 [ThreadId 15] - Cabal-Helper decided to use: ProjLocStackYaml {plStackYaml = "/qw/ews/network/stack.yaml"}
2020-05-06 21:18:30.579031 [ThreadId 15] - Module "/qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Other Stack}
2020-05-06 21:18:30.579112 [ThreadId 15] - Found cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Other Stack}
2020-05-06 21:18:33.441638 [ThreadId 197] - Cradle set succesfully

```

with a problem detected:

{
"resource": "/qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc",
"owner": "Haskell HIE (network)",
"severity": 8,
"message": "target ‘/qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc’ is not a module name or a source file\n",
"source": "bios",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 2,
"endColumn": 1
}


Am I missing something? 
Or this combination (.hsc plus header files) is just unsupported by far?

Thanks with best regards,
Compl

Compl Yue

unread,
May 6, 2020, 10:08:20 AM5/6/20
to Haskell IDE implementation discussion

```

cymp:network cyue$ cat hie.yaml 

cradle: { cabal: {} }

```

```
2020-05-06 22:02:45.102181 [ThreadId 4] - run entered for hie-wrapper(hie-wrapper) Version 1.4 x86_64 ghc-8.6.5
2020-05-06 22:02:45.102916 [ThreadId 4] - Current directory:/qw/ews/network
2020-05-06 22:02:45.102972 [ThreadId 4] - Operating system:darwin
2020-05-06 22:02:45.103048 [ThreadId 4] - args:["--lsp"]
2020-05-06 22:02:45.103671 [ThreadId 4] - Module "/qw/ews/network/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Cabal}
2020-05-06 22:02:45.103754 [ThreadId 4] - Cradle directory:/qw/ews/network
2020-05-06 22:02:45.10408 [ThreadId 4] - Executing GHC on path with args: --numeric-version
2020-05-06 22:02:45.18024 [ThreadId 4] - Project GHC version:8.6.5
2020-05-06 22:02:45.180348 [ThreadId 4] - hie exe candidates :["hie-8.6.5","hie-8.6","hie"]
2020-05-06 22:02:45.181459 [ThreadId 4] - found hie exe at:/Users/cyue/.cabal/bin/hie-8.6.5
2020-05-06 22:02:45.181514 [ThreadId 4] - args:["--lsp"]
2020-05-06 22:02:45.18157 [ThreadId 4] - launching ....



2020-05-06 22:02:45.206855 [ThreadId 4] - Run entered for HIE(hie-8.6.5) Version 1.4 x86_64 ghc-8.6.5
2020-05-06 22:02:45.207619 [ThreadId 4] - Operating as a LSP server on stdio
2020-05-06 22:02:45.207697 [ThreadId 4] - Current directory:/qw/ews/network
2020-05-06 22:02:45.207773 [ThreadId 4] - Operating system:darwin
2020-05-06 22:02:45.207844 [ThreadId 4] - args:["--lsp"]
2020-05-06 22:02:45.210749 [ThreadId 4] - Module "/qw/ews/network/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Cabal}
2020-05-06 22:02:45.211057 [ThreadId 4] - Executing GHC on path with args: --numeric-version
2020-05-06 22:02:45.276323 [ThreadId 9] - Executing GHC on path with args: --print-libdir
Using hie version: Version 1.4 x86_64 ghc-8.6.5
2020-05-06 22:02:45.369743 [ThreadId 15] - New cradle: /qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc
2020-05-06 22:02:45.370378 [ThreadId 15] - Module "/qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Cabal}
2020-05-06 22:02:45.370461 [ThreadId 15] - Found cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Cabal}
Using hoogle db at: /Users/cyue/.hoogle/default-haskell-5.0.17.hoo
2020-05-06 22:02:47.425726 [ThreadId 25] - Resolving dependencies...
2020-05-06 22:02:47.816288 [ThreadId 25] - Build profile: -w ghc-8.6.5 -O1
2020-05-06 22:02:47.816396 [ThreadId 25] - In order, the following will be built (use -v for more details):
2020-05-06 22:02:47.816489 [ThreadId 25] - - network-3.1.1.1 (configuration changed)
2020-05-06 22:02:47.831431 [ThreadId 25] - Configuring network-3.1.1.1...
2020-05-06 22:02:49.710764 [ThreadId 23] - configure: WARNING: unrecognized options: --with-compiler
2020-05-06 22:02:49.849089 [ThreadId 25] - checking build system type... x86_64-apple-darwin18.7.0
2020-05-06 22:02:49.84937 [ThreadId 25] - checking host system type... x86_64-apple-darwin18.7.0
2020-05-06 22:02:49.850011 [ThreadId 25] - checking for gcc... /usr/bin/gcc
2020-05-06 22:02:50.029228 [ThreadId 25] - checking whether the C compiler works... yes
2020-05-06 22:02:50.029341 [ThreadId 25] - checking for C compiler default output file name... a.out
2020-05-06 22:02:50.083871 [ThreadId 25] - checking for suffix of executables...
2020-05-06 22:02:50.161327 [ThreadId 25] - checking whether we are cross compiling... no
2020-05-06 22:02:50.20293 [ThreadId 25] - checking for suffix of object files... o
2020-05-06 22:02:50.23904 [ThreadId 25] - checking whether we are using the GNU C compiler... yes
2020-05-06 22:02:50.275717 [ThreadId 25] - checking whether /usr/bin/gcc accepts -g... yes
2020-05-06 22:02:50.33638 [ThreadId 25] - checking for /usr/bin/gcc option to accept ISO C89... none needed
2020-05-06 22:02:50.374617 [ThreadId 25] - checking for an ANSI C-conforming const... yes
2020-05-06 22:02:50.447878 [ThreadId 25] - checking how to run the C preprocessor... /usr/bin/gcc -E
2020-05-06 22:02:50.645624 [ThreadId 25] - checking for grep that handles long lines and -e... /usr/bin/grep
2020-05-06 22:02:50.648257 [ThreadId 25] - checking for egrep... /usr/bin/grep -E
2020-05-06 22:02:50.895978 [ThreadId 25] - checking for ANSI C header files... yes
2020-05-06 22:02:50.963181 [ThreadId 25] - checking for sys/types.h... yes
2020-05-06 22:02:51.037661 [ThreadId 25] - checking for sys/stat.h... yes
2020-05-06 22:02:51.111715 [ThreadId 25] - checking for stdlib.h... yes
2020-05-06 22:02:51.186502 [ThreadId 25] - checking for string.h... yes
2020-05-06 22:02:51.261257 [ThreadId 25] - checking for memory.h... yes
2020-05-06 22:02:51.338262 [ThreadId 25] - checking for strings.h... yes
2020-05-06 22:02:51.41649 [ThreadId 25] - checking for inttypes.h... yes
2020-05-06 22:02:51.492792 [ThreadId 25] - checking for stdint.h... yes
2020-05-06 22:02:51.571367 [ThreadId 25] - checking for unistd.h... yes
2020-05-06 22:02:51.651295 [ThreadId 25] - checking limits.h usability... yes
2020-05-06 22:02:51.684125 [ThreadId 25] - checking limits.h presence... yes
2020-05-06 22:02:51.684268 [ThreadId 25] - checking for limits.h... yes
2020-05-06 22:02:51.695924 [ThreadId 25] - checking for stdlib.h... (cached) yes
2020-05-06 22:02:51.706609 [ThreadId 25] - checking for unistd.h... (cached) yes
2020-05-06 22:02:51.717739 [ThreadId 25] - checking for sys/types.h... (cached) yes
2020-05-06 22:02:51.797188 [ThreadId 25] - checking fcntl.h usability... yes
2020-05-06 22:02:51.846134 [ThreadId 25] - checking fcntl.h presence... yes
2020-05-06 22:02:51.84627 [ThreadId 25] - checking for fcntl.h... yes
2020-05-06 22:02:51.926483 [ThreadId 25] - checking sys/uio.h usability... yes
2020-05-06 22:02:51.960227 [ThreadId 25] - checking sys/uio.h presence... yes
2020-05-06 22:02:51.960381 [ThreadId 25] - checking for sys/uio.h... yes
2020-05-06 22:02:52.042619 [ThreadId 25] - checking sys/socket.h usability... yes
2020-05-06 22:02:52.095206 [ThreadId 25] - checking sys/socket.h presence... yes
2020-05-06 22:02:52.095373 [ThreadId 25] - checking for sys/socket.h... yes
2020-05-06 22:02:52.179212 [ThreadId 25] - checking netinet/in.h usability... yes
2020-05-06 22:02:52.233909 [ThreadId 25] - checking netinet/in.h presence... yes
2020-05-06 22:02:52.234082 [ThreadId 25] - checking for netinet/in.h... yes
2020-05-06 22:02:52.317006 [ThreadId 25] - checking netinet/tcp.h usability... yes
2020-05-06 22:02:52.353688 [ThreadId 25] - checking netinet/tcp.h presence... yes
2020-05-06 22:02:52.353824 [ThreadId 25] - checking for netinet/tcp.h... yes
2020-05-06 22:02:52.436548 [ThreadId 25] - checking sys/un.h usability... yes
2020-05-06 22:02:52.469538 [ThreadId 25] - checking sys/un.h presence... yes
2020-05-06 22:02:52.469665 [ThreadId 25] - checking for sys/un.h... yes
2020-05-06 22:02:52.551888 [ThreadId 25] - checking arpa/inet.h usability... yes
2020-05-06 22:02:52.607811 [ThreadId 25] - checking arpa/inet.h presence... yes
2020-05-06 22:02:52.607959 [ThreadId 25] - checking for arpa/inet.h... yes
2020-05-06 22:02:52.690444 [ThreadId 25] - checking netdb.h usability... yes
2020-05-06 22:02:52.745134 [ThreadId 25] - checking netdb.h presence... yes
2020-05-06 22:02:52.74527 [ThreadId 25] - checking for netdb.h... yes
2020-05-06 22:02:52.830893 [ThreadId 25] - checking net/if.h usability... yes
2020-05-06 22:02:52.885514 [ThreadId 25] - checking net/if.h presence... yes
2020-05-06 22:02:52.88565 [ThreadId 25] - checking for net/if.h... yes
2020-05-06 22:02:52.978075 [ThreadId 25] - checking netioapi.h usability... no
2020-05-06 22:02:53.018307 [ThreadId 25] - checking netioapi.h presence... no
2020-05-06 22:02:53.018444 [ThreadId 25] - checking for netioapi.h... no
2020-05-06 22:02:53.100178 [ThreadId 25] - checking for struct ucred... no
2020-05-06 22:02:53.16362 [ThreadId 25] - checking for gai_strerror... yes
2020-05-06 22:02:53.234424 [ThreadId 25] - checking for gethostent... yes
2020-05-06 22:02:53.315412 [ThreadId 25] - checking for accept4... no
2020-05-06 22:02:53.376553 [ThreadId 25] - checking for getpeereid... yes
2020-05-06 22:02:53.46131 [ThreadId 25] - checking whether AI_ADDRCONFIG is declared... yes
2020-05-06 22:02:53.549691 [ThreadId 25] - checking whether AI_ALL is declared... yes
2020-05-06 22:02:53.633584 [ThreadId 25] - checking whether AI_NUMERICSERV is declared... yes
2020-05-06 22:02:53.717757 [ThreadId 25] - checking whether AI_V4MAPPED is declared... yes
2020-05-06 22:02:53.802403 [ThreadId 25] - checking whether IPV6_V6ONLY is declared... yes
2020-05-06 22:02:53.886086 [ThreadId 25] - checking whether IPPROTO_IP is declared... yes
2020-05-06 22:02:53.972616 [ThreadId 25] - checking whether IPPROTO_TCP is declared... yes
2020-05-06 22:02:54.057096 [ThreadId 25] - checking whether IPPROTO_IPV6 is declared... yes
2020-05-06 22:02:54.149164 [ThreadId 25] - checking whether SO_PEERCRED is declared... no
2020-05-06 22:02:54.229039 [ThreadId 25] - checking for struct msghdr.msg_control... yes
2020-05-06 22:02:54.396206 [ThreadId 25] - checking for struct msghdr.msg_accrights... no
2020-05-06 22:02:54.471613 [ThreadId 25] - checking for struct sockaddr.sa_len... yes
2020-05-06 22:02:54.474184 [ThreadId 25] - configure: creating ./network.buildinfo
2020-05-06 22:02:54.501386 [ThreadId 25] - configure: creating ./config.status
2020-05-06 22:02:54.605596 [ThreadId 25] - config.status: creating include/HsNetworkConfig.h
2020-05-06 22:02:54.619444 [ThreadId 25] - config.status: include/HsNetworkConfig.h is unchanged
2020-05-06 22:02:54.622396 [ThreadId 23] - configure: WARNING: unrecognized options: --with-compiler
2020-05-06 22:02:54.811605 [ThreadId 25] - Preprocessing library for network-3.1.1.1..
2020-05-06 22:02:55.99925 [ThreadId 20] - Cradle set succesfully
Warning: Can't find file "HsNet.h" in directories
/private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp89339
.
Asked for by: /private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp89339/CmsgHdr.hsc-00000-3132707331887361086.hs at line 3 col 1
Warning: Can't find file "sys/types.h" in directories
/private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp89339
.
Asked for by: /private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp89339/CmsgHdr.hsc-00000-3132707331887361086.hs at line 11 col 1
Warning: Can't find file "sys/socket.h" in directories
/private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp89339
.
Asked for by: /private/var/folders/mz/mgxdtrgj3v1372vjd7tt6l_00000gn/T/haskell-lsp89339/CmsgHdr.hsc-00000-3132707331887361086.hs at line 12 col 1
2020-05-06 22:02:56.189909 [ThreadId 15] - New cradle: /qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc
2020-05-06 22:02:56.191083 [ThreadId 15] - Module "/qw/ews/network/Network/Socket/Posix/CmsgHdr.hsc" is loaded by Cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Cabal}
2020-05-06 22:02:56.19211 [ThreadId 15] - Found cradle: Cradle {cradleRootDir = "/qw/ews/network", cradleOptsProg = CradleAction: Cabal}
2020-05-06 22:02:58.253685 [ThreadId 189] - Resolving dependencies...
2020-05-06 22:02:58.664414 [ThreadId 189] - Build profile: -w ghc-8.6.5 -O1
2020-05-06 22:02:58.664524 [ThreadId 189] - In order, the following will be built (use -v for more details):
2020-05-06 22:02:58.66458 [ThreadId 189] - - network-3.1.1.1 (configuration changed)
2020-05-06 22:02:58.664624 [ThreadId 189] - Configuring network-3.1.1.1...
2020-05-06 22:03:00.51633 [ThreadId 187] - configure: WARNING: unrecognized options: --with-compiler
2020-05-06 22:03:00.653323 [ThreadId 189] - checking build system type... x86_64-apple-darwin18.7.0
2020-05-06 22:03:00.653584 [ThreadId 189] - checking host system type... x86_64-apple-darwin18.7.0
2020-05-06 22:03:00.65415 [ThreadId 189] - checking for gcc... /usr/bin/gcc
2020-05-06 22:03:00.836783 [ThreadId 189] - checking whether the C compiler works... yes
2020-05-06 22:03:00.836898 [ThreadId 189] - checking for C compiler default output file name... a.out
2020-05-06 22:03:00.890783 [ThreadId 189] - checking for suffix of executables...
2020-05-06 22:03:00.967567 [ThreadId 189] - checking whether we are cross compiling... no
2020-05-06 22:03:01.00752 [ThreadId 189] - checking for suffix of object files... o
2020-05-06 22:03:01.04419 [ThreadId 189] - checking whether we are using the GNU C compiler... yes
2020-05-06 22:03:01.083679 [ThreadId 189] - checking whether /usr/bin/gcc accepts -g... yes
2020-05-06 22:03:01.142615 [ThreadId 189] - checking for /usr/bin/gcc option to accept ISO C89... none needed
2020-05-06 22:03:01.180027 [ThreadId 189] - checking for an ANSI C-conforming const... yes
2020-05-06 22:03:01.252953 [ThreadId 189] - checking how to run the C preprocessor... /usr/bin/gcc -E
2020-05-06 22:03:01.447931 [ThreadId 189] - checking for grep that handles long lines and -e... /usr/bin/grep
2020-05-06 22:03:01.450726 [ThreadId 189] - checking for egrep... /usr/bin/grep -E
2020-05-06 22:03:01.703269 [ThreadId 189] - checking for ANSI C header files... yes
2020-05-06 22:03:01.771688 [ThreadId 189] - checking for sys/types.h... yes
2020-05-06 22:03:01.84908 [ThreadId 189] - checking for sys/stat.h... yes
2020-05-06 22:03:01.924617 [ThreadId 189] - checking for stdlib.h... yes
2020-05-06 22:03:02.001831 [ThreadId 189] - checking for string.h... yes
2020-05-06 22:03:02.07686 [ThreadId 189] - checking for memory.h... yes
2020-05-06 22:03:02.151652 [ThreadId 189] - checking for strings.h... yes
2020-05-06 22:03:02.227697 [ThreadId 189] - checking for inttypes.h... yes
2020-05-06 22:03:02.303343 [ThreadId 189] - checking for stdint.h... yes
2020-05-06 22:03:02.381405 [ThreadId 189] - checking for unistd.h... yes
2020-05-06 22:03:02.45963 [ThreadId 189] - checking limits.h usability... yes
2020-05-06 22:03:02.492474 [ThreadId 189] - checking limits.h presence... yes
2020-05-06 22:03:02.492646 [ThreadId 189] - checking for limits.h... yes
2020-05-06 22:03:02.504027 [ThreadId 189] - checking for stdlib.h... (cached) yes
2020-05-06 22:03:02.514658 [ThreadId 189] - checking for unistd.h... (cached) yes
2020-05-06 22:03:02.525337 [ThreadId 189] - checking for sys/types.h... (cached) yes
2020-05-06 22:03:02.606392 [ThreadId 189] - checking fcntl.h usability... yes
2020-05-06 22:03:02.655795 [ThreadId 189] - checking fcntl.h presence... yes
2020-05-06 22:03:02.655938 [ThreadId 189] - checking for fcntl.h... yes
2020-05-06 22:03:02.735505 [ThreadId 189] - checking sys/uio.h usability... yes
2020-05-06 22:03:02.768589 [ThreadId 189] - checking sys/uio.h presence... yes
2020-05-06 22:03:02.768746 [ThreadId 189] - checking for sys/uio.h... yes
2020-05-06 22:03:02.850464 [ThreadId 189] - checking sys/socket.h usability... yes
2020-05-06 22:03:02.902566 [ThreadId 189] - checking sys/socket.h presence... yes
2020-05-06 22:03:02.902719 [ThreadId 189] - checking for sys/socket.h... yes
2020-05-06 22:03:02.985365 [ThreadId 189] - checking netinet/in.h usability... yes
2020-05-06 22:03:03.039755 [ThreadId 189] - checking netinet/in.h presence... yes
2020-05-06 22:03:03.039914 [ThreadId 189] - checking for netinet/in.h... yes
2020-05-06 22:03:03.124302 [ThreadId 189] - checking netinet/tcp.h usability... yes
2020-05-06 22:03:03.161499 [ThreadId 189] - checking netinet/tcp.h presence... yes
2020-05-06 22:03:03.161637 [ThreadId 189] - checking for netinet/tcp.h... yes
2020-05-06 22:03:03.245605 [ThreadId 189] - checking sys/un.h usability... yes
2020-05-06 22:03:03.279393 [ThreadId 189] - checking sys/un.h presence... yes
2020-05-06 22:03:03.279563 [ThreadId 189] - checking for sys/un.h... yes
2020-05-06 22:03:03.361956 [ThreadId 189] - checking arpa/inet.h usability... yes
2020-05-06 22:03:03.416515 [ThreadId 189] - checking arpa/inet.h presence... yes
2020-05-06 22:03:03.416666 [ThreadId 189] - checking for arpa/inet.h... yes
2020-05-06 22:03:03.502645 [ThreadId 189] - checking netdb.h usability... yes
2020-05-06 22:03:03.559053 [ThreadId 189] - checking netdb.h presence... yes
2020-05-06 22:03:03.559208 [ThreadId 189] - checking for netdb.h... yes
2020-05-06 22:03:03.647418 [ThreadId 189] - checking net/if.h usability... yes
2020-05-06 22:03:03.703879 [ThreadId 189] - checking net/if.h presence... yes
2020-05-06 22:03:03.704026 [ThreadId 189] - checking for net/if.h... yes
2020-05-06 22:03:03.800175 [ThreadId 189] - checking netioapi.h usability... no
2020-05-06 22:03:03.841743 [ThreadId 189] - checking netioapi.h presence... no
2020-05-06 22:03:03.84188 [ThreadId 189] - checking for netioapi.h... no
2020-05-06 22:03:03.926399 [ThreadId 189] - checking for struct ucred... no
2020-05-06 22:03:03.992476 [ThreadId 189] - checking for gai_strerror... yes
2020-05-06 22:03:04.065575 [ThreadId 189] - checking for gethostent... yes
2020-05-06 22:03:04.145997 [ThreadId 189] - checking for accept4... no
2020-05-06 22:03:04.206604 [ThreadId 189] - checking for getpeereid... yes
2020-05-06 22:03:04.291174 [ThreadId 189] - checking whether AI_ADDRCONFIG is declared... yes
2020-05-06 22:03:04.374889 [ThreadId 189] - checking whether AI_ALL is declared... yes
2020-05-06 22:03:04.459049 [ThreadId 189] - checking whether AI_NUMERICSERV is declared... yes
2020-05-06 22:03:04.542747 [ThreadId 189] - checking whether AI_V4MAPPED is declared... yes
2020-05-06 22:03:04.626843 [ThreadId 189] - checking whether IPV6_V6ONLY is declared... yes
2020-05-06 22:03:04.710471 [ThreadId 189] - checking whether IPPROTO_IP is declared... yes
2020-05-06 22:03:04.795316 [ThreadId 189] - checking whether IPPROTO_TCP is declared... yes
2020-05-06 22:03:04.87877 [ThreadId 189] - checking whether IPPROTO_IPV6 is declared... yes
2020-05-06 22:03:04.969926 [ThreadId 189] - checking whether SO_PEERCRED is declared... no
2020-05-06 22:03:05.057039 [ThreadId 189] - checking for struct msghdr.msg_control... yes
2020-05-06 22:03:05.2272 [ThreadId 189] - checking for struct msghdr.msg_accrights... no
2020-05-06 22:03:05.303788 [ThreadId 189] - checking for struct sockaddr.sa_len... yes
2020-05-06 22:03:05.306326 [ThreadId 189] - configure: creating ./network.buildinfo
2020-05-06 22:03:05.333861 [ThreadId 189] - configure: creating ./config.status
2020-05-06 22:03:05.436775 [ThreadId 189] - config.status: creating include/HsNetworkConfig.h
2020-05-06 22:03:05.450749 [ThreadId 189] - config.status: include/HsNetworkConfig.h is unchanged
2020-05-06 22:03:05.45345 [ThreadId 187] - configure: WARNING: unrecognized options: --with-compiler
2020-05-06 22:03:05.647497 [ThreadId 189] - Preprocessing library for network-3.1.1.1..
2020-05-06 22:03:06.350316 [ThreadId 182] - Cradle set succesfully

```

Compl Yue

unread,
May 6, 2020, 11:40:03 AM5/6/20
to Haskell IDE implementation discussion
Reply all
Reply to author
Forward
0 new messages