Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network unknown symbol `acceptNewSock' when building with stack 1.9.01rc on appveyor #4346

Closed
simonmichael opened this issue Oct 7, 2018 · 2 comments

Comments

@simonmichael
Copy link
Contributor

On appveyor I'm seeing this while using the stack-1.9.0.1-windows-x86_64.tar.gz release candidate from https://github.com/commercialhaskell/stack/releases:

stack build --test --copy-bins --local-bin-path=. hledger hledger-web network-2.7.0.2
...
    [11 of 31] Compiling Yesod.Core.Handler ( Yesod\Core\Handler.hs, .stack-work\dist\7d103d30\build\Yesod\Core\Handler.o )
    ghc.EXE: unable to load package `network-2.7.0.2'
    ghc.EXE:  | C:\pr\.stack-work\install\c5eb1f13\lib\x86_64-windows-ghc-8.4.3\network-2.7.0.2-HRKpEmrZF0Z7oBCs9x5PCR\HSnetwork-2.7.0.2-HRKpEmrZF0Z7oBCs9x5PCR.o: unknown symbol `acceptNewSock'

I found a little discussion from a few years back, eg https://stackoverflow.com/questions/51347227 which doesn't seem like something I should be doing. Is it possible this is a stack bug ?

@arrowd
Copy link
Contributor

arrowd commented Oct 13, 2018

Got the same problem with Stack 1.7.1 and lts-12.13.

@snoyberg
Copy link
Contributor

snoyberg commented Apr 1, 2019

There have been a number of bugs with compiling recent network releases on Windows, e.g. haskell/network#390. Closing as upstream.

@snoyberg snoyberg closed this as completed Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants