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

cannot build from readme: no such protocl name: tcp #182

Closed
silky opened this issue Apr 10, 2018 · 2 comments
Closed

cannot build from readme: no such protocl name: tcp #182

silky opened this issue Apr 10, 2018 · 2 comments

Comments

@silky
Copy link
Contributor

silky commented Apr 10, 2018

i followed the steps, build the docker image, then ran the stack ... setup and got this very odd error:

09:54 AM noon ∈ tensorflow-haskell (master) ♫ stack --docker --docker-image=$IMAGE_NAME setup

                                   
Warning: Retry number 0 after a total delay of 0 us
         If you see this warning and stack fails to download, but running the command again solves
         the problem, please report here: https://github.com/commercialhaskell/stack/issues/3510
                                   
Warning: Retry number 1 after a total delay of 100000 us
         If you see this warning and stack fails to download, but running the command again solves
         the problem, please report here: https://github.com/commercialhaskell/stack/issues/3510
                                   
Warning: Retry number 2 after a total delay of 200000 us
         If you see this warning and stack fails to download, but running the command again solves
         the problem, please report here: https://github.com/commercialhaskell/stack/issues/3510
                                   
Warning: Retry number 3 after a total delay of 300000 us
         If you see this warning and stack fails to download, but running the command again solves
         the problem, please report here: https://github.com/commercialhaskell/stack/issues/3510
Downloading lts-8.13 build plan ...
HttpExceptionRequest Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = [("User-Agent","The Haskell Stack")]
  path                 = "/fpco/lts-haskell/master//lts-8.13.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 (ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp))
Received ExitFailure 1 when running
Raw command: /usr/bin/docker start -a -i f755f04015e528839fede0b5f7c9aa578735ed1deaeb95647b5d62bc35331647
09:56 AM noon ∈ tensorflow-haskell (master) ♫ stack --version                                              Wed Apr 11
Version 1.7.0, Git revision 979e61339c662ed9e85cc751a66204d29bbd2bec x86_64 hpack-0.28.2
@silky
Copy link
Contributor Author

silky commented Apr 11, 2018

fixed it by adding netbase as per: commercialhaskell/stack#2372 (comment)

should i make a pr for this? surely other people are affected.

@fkm3
Copy link
Contributor

fkm3 commented Apr 11, 2018

Yeah, feel free to send a PR. Thanks!

silky added a commit to silky/haskell that referenced this issue Apr 11, 2018
@fkm3 fkm3 closed this as completed in 4c6306d Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants