Build prometheus failed from source

Run command: make build

OS: Ubuntu And Centos7
Prometheus Version: tag v2.25.2

And i have no idea for how continue build prometheus,Thanks any help!!

error log:

    prometheus
cmd/go: -tags space-separated list contains comma
!! command failed: build -o /root/prometheus/prometheus -ldflags -X github.com/prometheus/common/version.Version=2.25.2 -X github.com/prometheus/common/version.Revision=bda05a23ada314a0b9806a362da39b7a1a4e04c3 -X github.com/prometheus/common/version.Branch=HEAD -X github.com/prometheus/common/version.BuildUser=root@smartwc.net -X github.com/prometheus/common/version.BuildDate=20210324-12:23:13  -extldflags '-static' -a -tags netgo,builtinassets .../prometheus/prometheus/cmd/prometheus: exit status 2
make: *** [common-build] Error 1
`

What version of Go do you have installed?

Sorry for my Late reply and I just build success on windows from go build and I forgot the Go version at the time. Thanks for your reply!