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#44099 - [go] Packaging produces outdated net/rpc; breaks various go commands

Attached to Project: Community Packages
Opened by Tom Davis (tdavis) - Sunday, 08 March 2015, 16:31 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 24 March 2015, 12:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This is effectively the same as https://bugs.archlinux.org/task/29820, but with only one package instead of most of the standard library. Basically, some files are touched in the wrong order thereby making go think the "net/rpc" package is outdated. It will helpfully try to recompile it when certain actions are taken, e.g., running the common "go get ..." command. This should result in a permission denied error as the user doesn't have write access to /usr/lib/go/pkg/linux_amd64/net/rpc.a

This problem can be fixed manually by running `sudo go install net/rpc`.

Steps to reproduce:

pacman -S go
go get github.com/nsf/gocode
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 24 March 2015, 12:42 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Monday, 09 March 2015, 10:54 GMT
Thanks for reporting. I am able to reproduce the problem. Will look into this.
Comment by Tom Davis (tdavis) - Monday, 09 March 2015, 16:14 GMT
Happy to help, thanks for looking into it!
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 24 March 2015, 12:22 GMT
Adding "go install std" to the .install file fixed the problem here. Do you have a way to test if this also solves the problem on your system?
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 24 March 2015, 12:41 GMT
The updated package will appear in [community] shortly. Please re-open this bug if there should still be problems with this. Thanks.

Loading...