network-3.1.2.0 fails to build on ghc-8.8.3 on Windows
See https://github.com/haskell-works/network/pull/2/checks?check_run_id=1157841677
Also there is a PR https://github.com/haskell/network/pull/486 to enable Github Workflows for the project which gets you Windows and MacOS Builds as well to catch these kinds of errors.
There is an exclusion for ghc-8.8.3 on Windows, in the workflow that can be removed once it is fixed.
The run referenced doesn't exist anymore.
I've triggered another run here: https://github.com/haskell-works/network/pull/2/checks?check_run_id=1628583286
Can you try with GHC-8.10.3 (or GHC-8.10.2.2 from choco). GHC-8.8 is known to be broken on Windows. (for many reasons).
Also it's not clear from that output what's wrong. Can you make the build -v -j1
@newhoggy are you still having these issues?
Is this the same issue?
Run cabal build --enable-tests --disable-benchmarks all
Resolving dependencies...
Build profile: -w ghc-8.10.4 -O1
In order, the following will be built (use -v for more details):
- network-3.1.2.2 (lib:network, test:spec) (first run)
Configuring network-3.1.2.2...
configure: WARNING: unrecognized options: --with-compiler
configure: error: cannot find required auxiliary files: config.guess config.sub
Error: Process completed with exit code 1.
https://github.com/peterbecich/network/runs/2825581836?check_suite_focus=true
Thanks
This is probably related to a new version of autoconf and should be fixed by cabal 3.6.2 (soon to be released). If not, please report.
This version is 3 years old now and GHC 8.x is no longer supported. I'll close this. please re-open if still having problems with a newer version.