Skip to content

current platform is not supported-->mips64 #417

@w345731923

Description

@w345731923

[root@localhost bin]# go get github.com/wrouesnel/postgres_exporter
go: github.com/wrouesnel/postgres_exporter upgrade => v0.8.0
go: finding module for package github.com/magefile/mage/mg
go: finding module for package github.com/mholt/archiver
go: finding module for package github.com/magefile/mage/sh
go: finding module for package github.com/magefile/mage/target
go: found github.com/magefile/mage/mg in github.com/magefile/mage v1.10.0
go: found github.com/mholt/archiver in github.com/mholt/archiver v3.1.1+incompatible
go: finding module for package github.com/golang/snappy
go: finding module for package github.com/xi2/xz
go: finding module for package github.com/nwaples/rardecode
go: finding module for package github.com/pierrec/lz4
go: finding module for package github.com/ulikunitz/xz
go: finding module for package github.com/dsnet/compress/bzip2
go: found github.com/dsnet/compress/bzip2 in github.com/dsnet/compress v0.0.1
go: found github.com/golang/snappy in github.com/golang/snappy v0.0.1
go: found github.com/nwaples/rardecode in github.com/nwaples/rardecode v1.1.0
go: found github.com/pierrec/lz4 in github.com/pierrec/lz4 v2.5.2+incompatible
go: found github.com/ulikunitz/xz in github.com/ulikunitz/xz v0.5.7
go: found github.com/xi2/xz in github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8
can't load package: package github.com/wrouesnel/postgres_exporter: build constraints exclude all Go files in /root/GOPATH/pkg/mod/github.com/wrouesnel/[email protected]

the environment variables
[root@localhost go]# go env
GO111MODULE="on"
GOARCH="mips64le"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="mips64le"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/GOPATH"
GOPRIVATE=""
GOPROXY="https://goproxy.io"
GOROOT="/opt/go/go1.14.6"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/go/go1.14.6/pkg/tool/linux_mips64le"
GCCGO="gccgo"
GOMIPS64="hardfloat"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -mabi=64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build437617026=/tmp/go-build -gno-record-gcc-switches"

Hos can I solve this problem,thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions