Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-21 Thread Srikanth Chandika
I am sorry I forgot to mention that I have built go1.8 instead of go-1.7, this thread subject says go-1.7 On Tuesday, February 21, 2017 at 2:20:16 PM UTC+5:30, Srikanth Chandika wrote: > > Thanks for the valuable information. > > Go fully built. > I ran ./all.bash repeatedly for 5 to 6 times so

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-21 Thread Srikanth Chandika
Thanks for the valuable information. Go fully built. I ran ./all.bash repeatedly for 5 to 6 times somehow all tests are successfully completed. And my requirement fulfilled. On Tuesday, February 21, 2017 at 12:39:35 PM UTC+5:30, Dave Cheney wrote: > > It looks like one test in the os/exec packa

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-20 Thread Konstantin Khomoutov
On Tue, 21 Feb 2017 11:33:47 +0530 Srikanth Chandika wrote: > openbsd/ports(https://github.com/openbsd/ports/tree/master/lang/go) > is a repository for openbsd linux. A nitpick: OpenBSD has nothing to do with Linux. Linux is an operating system kernel, and OpenBSD is an operating system featurin

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-20 Thread Dave Cheney
It looks like one test in the os/exec package failed during the tests which are run during ./all.bash --- FAIL: TestStdinCloseRace (0.04s) exec_test.go:267: Kill: os: process already finished FAIL FAILos/exec 0.371s At this point Go is fully built, so you may wish to ignore this erro

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-20 Thread Srikanth Chandika
I tried installing go1.8 from source(https://golang.org/doc/install/source) but I am getting error saying that "2017/02/21 17:05:18 Failed: exit status 1" Attached a file(output of ./all.bash) On Tuesday, February 21, 2017 at 1:13:53 AM UTC+5:30, Ian Lance Taylor wrote: > > On Mon, Feb 20, 20

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-20 Thread Srikanth Chandika
openbsd/ports(https://github.com/openbsd/ports/tree/master/lang/go) is a repository for openbsd linux. Now, I am trying as per the instructions in https://golang.org/doc/ install/source I am trying to upgrade go version from 1.5.3 to 1.7+ version because I need to build a filebeat from source cod

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-20 Thread Ian Lance Taylor
On Mon, Feb 20, 2017 at 9:36 PM, Srikanth Chandika wrote: > Ya I have compiled go from https://github.com/openbsd/ports > Successfully compiled go 1.7 but when I run go it gives the following error. > > go package: unsupported TLS program header What precisely do you do? What precisely happens?

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-20 Thread Srikanth Chandika
Ya I have compiled go from https://github.com/openbsd/ports Successfully compiled go 1.7 but when I run go it gives the following error. *go package: unsupported TLS program header* On Tue, Feb 21, 2017 at 1:13 AM, Ian Lance Taylor wrote: > On Mon, Feb 20, 2017 at 2:55 AM, Srikanth Chandika >

Re: [go-nuts] How to Build and Install Go 1.7.4 in OpenBSD 5.9

2017-02-20 Thread Ian Lance Taylor
On Mon, Feb 20, 2017 at 2:55 AM, Srikanth Chandika wrote: > How to Build and Install Go 1.7 from go src code in OpenBSD 5.9. It's no different from building Go from source on any other system. https://golang.org/doc/install/source Note that the current release is now 1.8, but the procedure hasn