Bug 211249

Summary: net/go.net fails to install
Product: Ports & Packages Reporter: Walter Schwarzenfeld <w.schwarzenfeld>
Component: Individual Port(s)Assignee: Julien Laffaye <jlaffaye>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-patch, needs-qa
Priority: --- Flags: bugzilla: maintainer-feedback? (jlaffaye)
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210981

Description Walter Schwarzenfeld 2016-07-20 16:25:48 UTC
go.net-20131227 fails to install (10.3-RELEASE-p5 amd64) with

Installing go.text-20160702...
===>   go.net-20131227 depends on file: /usr/local/share/go/pkg/freebsd_amd64/code.google.com/p/go.text - not found
*** Error code 1
(with port and with poudriere).
Comment 1 Walter Schwarzenfeld 2016-07-20 16:34:02 UTC
Tried the update-patch from PR 210981, got:

===>  Building for go.net-20160708
http2/h2i/h2i.go:38:2: cannot find package "golang.org/x/crypto/ssh/terminal" in any of:
	/usr/local/go/src/golang.org/x/crypto/ssh/terminal (from $GOROOT)
	/ram/usr/ports/net/go.net/work/src/golang.org/x/crypto/ssh/terminal (from $GOPATH)
	/usr/local/share/go/src/golang.org/x/crypto/ssh/terminal
*** Error code 1
Comment 2 Walter Schwarzenfeld 2016-07-20 17:09:33 UTC
/ram is WRKDIRPREFIX, but it is the same without (and without CCACHE):
Comment 3 Walter Schwarzenfeld 2016-07-21 13:09:59 UTC
Same error is reported here:
https://www.mail-archive.com/freebsd-pkg-fallout@freebsd.org/msg316082.html
Comment 4 Walter Schwarzenfeld 2016-07-25 00:39:25 UTC
Found it.
under
GO_TARGET=
is missing:
golang.org/x/crypto/ssh         \
golang.org/x/crypto/ssh/terminal        \
Comment 5 Walter Schwarzenfeld 2016-07-25 00:42:35 UTC
Found it.
under
GO_TARGET=
is missing:
golang.org/x/crypto/ssh         \
golang.org/x/crypto/ssh/terminal        \

(for go.net-20160708)
Comment 6 Julien Laffaye freebsd_committer freebsd_triage 2016-07-26 18:13:16 UTC
Should be fixed by recent port update.