[Bug 237986] lang/go should RUN_DEPENDS on ca_root_nss to reliably fetch imports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 19 21:08:59 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237986

            Bug ID: 237986
           Summary: lang/go should RUN_DEPENDS on ca_root_nss to reliably
                    fetch imports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jlaffaye at FreeBSD.org
          Reporter: hartzell at alerce.com
          Assignee: jlaffaye at FreeBSD.org
             Flags: maintainer-feedback?(jlaffaye at FreeBSD.org)

Attempting to build go programs that import packages hosted by golang.org fails
unless ca_root_nss is installed.

E.g.

go: golang.org/x/sync at v0.0.0-20190423024810-112230192c58: unrecognized import
path "golang.org/x/sync" (https fetch: Get https://golang.org/x/sync?go-get=1:
x509: certificate signed by unknown authority)

Presumably other sites that use unrecognized certs will also fail.

I tripped over this when building in synth, which sets up clean environments.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list