Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.
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.

Loading...