network icon indicating copy to clipboard operation
network copied to clipboard

network-3.1.2.0 fails to build on ghc-8.8.3 on Windows

Open newhoggy opened this issue 5 years ago • 7 comments

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.

newhoggy avatar Sep 24 '20 00:09 newhoggy

The run referenced doesn't exist anymore.

phadej avatar Dec 30 '20 15:12 phadej

I've triggered another run here: https://github.com/haskell-works/network/pull/2/checks?check_run_id=1628583286

newhoggy avatar Dec 31 '20 03:12 newhoggy

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).

phadej avatar Dec 31 '20 07:12 phadej

Also it's not clear from that output what's wrong. Can you make the build -v -j1

phadej avatar Dec 31 '20 07:12 phadej

@newhoggy are you still having these issues?

eborden avatar May 18 '21 21:05 eborden

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

peterbecich avatar Jun 15 '21 03:06 peterbecich

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.

Mikolaj avatar Oct 07 '21 11:10 Mikolaj

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.

Mistuke avatar Jun 11 '23 13:06 Mistuke