rtop icon indicating copy to clipboard operation
rtop copied to clipboard

I run into the known issue "rtop: user: Current not implemented on linux/amd64"

Open hnk opened this issue 10 years ago • 6 comments
trafficstars

There is a known issue in go on some Linux systems. I run into this on Fedora 20, so I cannot even try rtop :(

This seems to be a "WontFix" issue, so maybe you can work around it?

hnk avatar May 11 '15 09:05 hnk

Can you try building Go yourself from your Fedora box, and then use that Go binary to compile rtop?

mdevan avatar May 11 '15 10:05 mdevan

This is the reply from the go source repo regarding the 'bug':

os/user relies on cgo, and cgo is disabled for cross compiling, thus this is expected. if you use os/user, you must compile natively on OS X. even if we enable cross compilation cgo support, I doubt everybody have a working OS X cross toolchain on their linux machine.

Status: WorkingAsIntended

I am currently not able to compile Go, but may be on Friday. Just wanted to let you know!

hnk avatar May 11 '15 10:05 hnk

As far as I can figure out the problem seems to be with the golang binaries included in Fedora. You should build Go yourself from source and compile rtop with that.

mdevan avatar May 11 '15 13:05 mdevan

Running Fedora 21 here. I ran into this as well - I used these instructions from the Go language home page to install the latest version of Go.

Then I ran into this issue, but that problem doesn't seem limited to just Fedora.

thomasehardt avatar May 12 '15 15:05 thomasehardt

@thomasehardt Please check if f753d19 fixes your second issue.

mdevan avatar May 13 '15 14:05 mdevan

Same problem here with my Fedora 20 machine!

redhat-raptor avatar Jun 25 '15 07:06 redhat-raptor