FS#26824 - [go] set GOROOT_FINAL when building
Attached to Project:
Community Packages
Opened by Brennan Taylor (btaylor) - Wednesday, 09 November 2011, 18:30 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 03 April 2012, 19:36 GMT
Opened by Brennan Taylor (btaylor) - Wednesday, 09 November 2011, 18:30 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 03 April 2012, 19:36 GMT
|
Details
Description:
Additional info: GOROOT_FINAL is used when you want the files to live in /foo but you want to first build them in /bar. The value of GOROOT/GOROOT_FINAL is built into the binaries. You just need to add GOROOT_FINAL=/usr/lib/go into the build script. Steps to reproduce: Try to goinstall and you get something like: 2011/11/09 10:28:09 go/build: invalid GOROOT "/build/src/release-build": lstat /build: no such file or directory |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Tuesday, 03 April 2012, 19:36 GMT
Reason for closing: Fixed
Additional comments about closing: Please reopen if this is still an issue.
Tuesday, 03 April 2012, 19:36 GMT
Reason for closing: Fixed
Additional comments about closing: Please reopen if this is still an issue.
Comment by
Alexander F. Rødseth (xyproto) -
Tuesday, 03 April 2012, 18:30 GMT
Hi, thanks for reporting. I think I've fixed it now, but do you
have a testcase I can use?
Comment by
Alexander F. Rødseth (xyproto) -
Tuesday, 03 April 2012, 19:36 GMT
Using gotour as test case. Fixed in svn, will update the package
shortly.