“用户:当前未在linux / amd64上实现”在fedora上带有新鲜的golang

user.Current() doesn't work on a fresh Fedora golang. No cross-compiling involved. Just straight go install and run. Works fine on Ubuntu and a custom slackware dist. Any ideas?

It looks like user.Current() ultimately calls getuid from libc, does he have it installed? Is it the 64 bit rpm?

This is a bug in fedora: Bug 1135152

If you compile the Go program using gccgo, rather than golang it will work.