[MacPorts] #33887: go: update to version 1
#33887: go: update to version 1 ---------------------------------+------------------------------------------ Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: go ---------------------------------+------------------------------------------ Go version 1 has been released: http://blog.golang.org/2012/03/go- version-1-is-released.html The port should probably be updated. -- Ticket URL: <https://trac.macports.org/ticket/33887> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1 ----------------------------------+----------------------------------------- Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: duplicate | Keywords: Port: go | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Superseded by #35274. -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1 ----------------------------------+----------------------------------------- Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: duplicate | Keywords: haspatch Port: go | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1 ----------------------------------+----------------------------------------- Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: haspatch Port: go | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: duplicate => Comment: Actually let's do this the other way around. -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1.0.2 ----------------------------------+----------------------------------------- Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: haspatch Port: go | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * cc: slewsys@… (added) Comment: Has duplicate #35274 which contains another update proposal which may be different. Please consolidate the two proposals if necessary. -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1.0.2 ----------------------------------+----------------------------------------- Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: haspatch Port: go | ----------------------------------+----------------------------------------- Comment(by slewsys@…): Replying to [comment:4 ryandesign@…]:
Has duplicate #35274 which contains another update proposal which may be different. Please consolidate the two proposals if necessary.
I missed this ticket. Our patches our similar, but attached mine above for it adds: * PATH to test.env (allowing `port -d test' prior to install), * doc to share/doc, * misc to share/go. The only other difference is that I set GOROOT_FINAL to ${prefix}/lib/go${version}, in the spirit of lib/perl or lib/ruby. -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1.0.2 ----------------------------------+----------------------------------------- Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: haspatch Port: go | ----------------------------------+----------------------------------------- Comment(by kbrint@…): I favor slewsys' patch with one exception: I think we should leave GOROOT_FINAL versionless: /usr/local/lib/go Go has its own package management, and it's likely that users will install some packages with "go get" instead of the ports system. If we version the GOROOT_FINAL directory, those packages disappear when the port is upgraded. If we leave it alone, they will continue to work. Thoughts? -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1.0.2 ----------------------------------+----------------------------------------- Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: haspatch Port: go | ----------------------------------+----------------------------------------- Comment(by slewsys@…):
Go has its own package management, and it's likely that users will install some packages with "go get" instead of the ports system. If we version the GOROOT_FINAL directory, those packages disappear when the port is upgraded. If we leave it alone, they will continue to work.
If GOROOT is versioned, then libs and binaries (under OLD_GOROOT/pkg and OLD_GOROOT/bin) will be unavailable on upgrade, but the source packages (under (OLD_GOROOT/src/pkg) are still available by setting the GOPATH environment variable, e.g.: {{{ export GOPATH="$GOROOT:$OLD_GOROOT" }}} The Go language may be stable, but does that exclude the possibility of incompatibilities between compilers? I'm not qualified to answer that. Nontheless, per kbrint's suggestion, I've attached Portfile2.diff to the ticket. The version can be removed by changing: {{{ set GOSRCDIR lib/${name}/${version} }}} to {{{ set GOSRCDIR lib/${name} }}} -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1.0.2 --------------------------+------------------------------ Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: haspatch Port: go | --------------------------+------------------------------ Changes (by ryandesign@…): * cc: mkb-prime@… (added) Comment: Has duplicate #36181. -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33887: go: update to version 1.0.2 --------------------------+------------------------------ Reporter: dports@… | Owner: singingwolfboy@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: haspatch Port: go | --------------------------+------------------------------ Changes (by singingwolfboy@…): * status: new => closed * resolution: => fixed Comment: go port updated in r97891. Also, I've released maintainership of this port (r97892) so if someone else would like to pick it up, please do so. -- Ticket URL: <https://trac.macports.org/ticket/33887#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts