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

darwin: go: go get -v golang.org/x/net/html fails #17187

Closed
mstone opened this issue Jul 22, 2016 · 2 comments
Closed

darwin: go: go get -v golang.org/x/net/html fails #17187

mstone opened this issue Jul 22, 2016 · 2 comments
Labels
6.topic: darwin Running or building packages on Darwin

Comments

@mstone
Copy link
Contributor

mstone commented Jul 22, 2016

Issue description

go get -v golang.org/x/net/html

fails due to an apparent inability to load appropriate TLS CA certificates from the system certificate store as indicated by the error message:

Fetching https://golang.org/x/net/html?go-get=1
https fetch failed: Get https://golang.org/x/net/html?go-get=1: x509: failed to load system roots and no roots provided
package golang.org/x/net/html: unrecognized import path "golang.org/x/net/html" (https fetch: Get https://golang.org/x/net/html?go-get=1: x509: failed to load system roots and no roots provided)

Steps to reproduce

go get -v golang.org/x/net/html 2>&1 | grep roots

Technical details

  • System: OS X El Capitan (10.11.5)
  • Nix version: 1.11.2
  • Nixpkgs version: 16.09pre87131.292bfed

Notes

This error was probably found by TestSystemRoots() which is disabled on Darwin by a sed command at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/go/1.6.nix#L88.

@mstone
Copy link
Contributor Author

mstone commented Jul 22, 2016

@jgeerds jgeerds added the 6.topic: darwin Running or building packages on Darwin label Jul 23, 2016
@mstone
Copy link
Contributor Author

mstone commented Sep 9, 2016

Probable duplicate of #10875 so closing now; we can always reopen if needed.

@mstone mstone closed this as completed Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

2 participants