How can I see the internal compile commands which fail in a "go get" installation?

Solution 1:

Run go build -x on problem package:

go build -x github.com/presbrey/magicmime