https://bugzilla.redhat.com/show_bug.cgi?id=1135152
Bug ID: 1135152 Summary: user: Current not implemented on linux/amd64 Product: Fedora Version: 20 Component: golang Assignee: vbatts@redhat.com Reporter: adam@spicenitz.org QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, golang@lists.fedoraproject.org, lemenkov@gmail.com, lsm5@fedoraproject.org, renich@woralelandia.com, s@shk.io, vbatts@redhat.com
Description of problem: golang seems to be using some cross-compiled components which are causing problems. Specifically, Fedora has exactly the problem described here: http://stackoverflow.com/questions/20609415/cross-compiling-user-current-not...
Here is the sample code from that page:
package main
import ( "fmt" "os/user" )
func main() { fmt.Println(user.Current()) }
You can build the sample code and see the problem directly:
$ go build ./current.go $ ./current <nil> user: Current not implemented on linux/amd64
Version-Release number of selected component (if applicable): golang-1.2.2-22.fc20.x86_64
How reproducible: Always