When $GOBIN env variable is set lang/go port can't install binaries properly. --- Begin Output --- gmake: Leaving directory `/usr/ports/lang/go/work/go-20111017/src/pkg' --- Installed Go for freebsd/386 in /usr/ports/lang/go/work/go-20111017. Installed commands in /usr/local/bin. The compiler is 8g. ===> Installing for go-20111017 ===> Generating temporary packing list ===> Checking if lang/go already installed install -d -m 0755 /usr/local/share/doc/go /bin/cp -R /usr/ports/lang/go/work/go-20111017/doc/ /usr/local/share/doc/go install -o root -g wheel -m 555 /usr/ports/lang/go/work/go-20111017/bin/* /usr/local/bin/ install: /usr/ports/lang/go/work/go-20111017/bin/*: No such file or directory *** Error code 71 Stop in /usr/ports/lang/go. --- End Output --- Fix: Unset GOBIN in Makefile Patch attached with submission follows: How-To-Repeat: 1. Set GOBIN to some directory > setenv GOBIN /usr/loca/bin 2. Try to install lang/go > cd /usr/ports/lang/go && make install clean
Responsible Changed From-To: freebsd-ports-bugs->jlaffaye Over to maintainer (via the GNATS Auto Assign Tool)
jlaffaye 2011-11-30 20:35:18 UTC FreeBSD ports repository Modified files: lang/go Makefile pkg-plist Log: - Install sources to fix goinstall and godoc [1] [2] - Unset GOBIN while installing [3] PR: ports/154179 [1], ports/162910 [2], ports/162954 [3] Feature safe: yes Revision Changes Path 1.11 +4 -0 ports/lang/go/Makefile 1.10 +1746 -0 ports/lang/go/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!