pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50690: lang/go invalid path to ca-certificates.crt



>Number:         50690
>Category:       pkg
>Synopsis:       lang/go invalid path to ca-certificates.crt
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 21 20:25:00 +0000 2016
>Originator:     Kamil Rytarowski
>Release:        7.99.25, pkgsrc-current
>Organization:
>Environment:
NetBSD compaq 7.99.25 NetBSD 7.99.25 (GENERIC) #0: Fri Dec 25 20:05:36 CET 2015  root@chieftec:/tmp/netbsd-tmp/sys/arch/amd64/compile/GENERIC amd64
>Description:
$ go get -v -u golang.org/x/crypto/ssh
Fetching https://golang.org/x/crypto/ssh?go-get=1
https fetch failed.
import "golang.org/x/crypto/ssh": https fetch: Get https://golang.org/x/crypto/ssh?go-get=1: x509: failed to load system roots and no 
                  roots provided

$ rafind2 -Z -s openssl /usr/pkg/bin/go  
0x5be145 openssl/certs/ca-certificates.crt

It tries to find ca-certificates.crt in /etc/openssl/certs/ca-certificates.crt NetBSD ships this file in /etc/ssl/certs/ca-certificates.crt

mozilla-rootcerts are installed and configured
>How-To-Repeat:
1. Install lang/go
2. $ go get -v -u golang.org/x/crypto/ssh
>Fix:
Fix path pointing to ca-certificates.crt



Home | Main Index | Thread Index | Old Index