postgres_exporter
postgres_exporter copied to clipboard
make build failed with Forbidden
What did you do?
Trying to build postgres_exporter with command make build
What did you expect to see?
success
What did you see instead? Under which circumstances?
building binaries /home/postgres/go/bin/promu build --prefix /var/opt/icetools/postgres/postgres_exporter postgres_exporter go: github.com/blang/semver/[email protected]: Get https://proxy.golang.org/github.com/blang/semver/v4/@v/v4.0.0.mod: Forbidden !! command failed: build -o /var/opt/icetools/postgres/postgres_exporter/postgres_exporter -ldflags -X github.com/prometheus/common/version.Version=0.12.0-rc.0 -X github.com/prometheus/common/version.Revision=0adab051b3db7b11ffc26d5b88eddfc0f603d67a -X github.com/prometheus/common/version.Branch=master -X github.com/prometheus/common/version.BuildUser=postgres@rv-poc-zzmwdb-01 -X github.com/prometheus/common/version.BuildDate=20221011-15:27:49 -extldflags '-static' -a -tags 'netgo static_build' github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter: exit status 1 make: *** [Makefile.common:198: common-build] Error 1
Environment
go version go1.13.4 linux/amd64 RHEL 8.2
-
System information:
insert output of
uname -srm
here Linux 4.18.0-193.14.3.el8_2.x86_64 x86_64 -
postgres_exporter version:
insert output of
postgres_exporter --version
here 0.12.0-rc.0 -
postgres_exporter flags:
insert list of flags used here
-
PostgreSQL version:
insert PostgreSQL version here 14.2
-
Logs:
insert logs relevant to the issue here