* Package: app-metrics/consul_exporter-0.4.0 * Repository: gentoo * Maintainer: williamh@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'consul_exporter' to your system ... * - Groupid: next available * Adding user 'consul_exporter' to your system ... * - Userid: 936 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: consul_exporter * - GECOS: added by portage for consul_exporter >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/app-metrics/consul_exporter-0.4.0/work >>> Preparing source in /var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0 ... /var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0/src/github.com/prometheus/consul_exporter /var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0 Using config file: .promu.yml Running command: build [-v] Building binary: consul_exporter > consul_exporter Building binary: go build -o consul_exporter -ldflags -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Version=0.4.0 -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Revision=75f02d8 -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.BuildUser=portage@mr-fox -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.BuildDate=20190909-11:12:14 -extldflags '-static' -a -mod vendor -tags netgo github.com/prometheus/consul_exporter + go build -o consul_exporter -ldflags -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Version=0.4.0 -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Revision=75f02d8 -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.BuildUser=portage@mr-fox -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.BuildDate=20190909-11:12:14 -extldflags '-static' -a -mod vendor -tags netgo github.com/prometheus/consul_exporter go: cannot find main module, but found vendor/vendor.json in /var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0/src/github.com/prometheus/consul_exporter to create a module there, run: go mod init !! exit status 1 command failed: build -o consul_exporter -ldflags -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Version=0.4.0 -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Revision=75f02d8 -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.BuildUser=portage@mr-fox -X github.com/prometheus/consul_exporter/vendor/github.com/prometheus/common/version.BuildDate=20190909-11:12:14 -extldflags '-static' -a -mod vendor -tags netgo github.com/prometheus/consul_exporter github.com/prometheus/promu/cmd.buildBinary /var/tmp/portage/dev-util/promu-0.5.0/work/promu-0.5.0/src/github.com/prometheus/promu/cmd/build.go:85 github.com/prometheus/promu/cmd.buildAll /var/tmp/portage/dev-util/promu-0.5.0/work/promu-0.5.0/src/github.com/prometheus/promu/cmd/build.go:91 github.com/prometheus/promu/cmd.runBuild /var/tmp/portage/dev-util/promu-0.5.0/work/promu-0.5.0/src/github.com/prometheus/promu/cmd/build.go:129 github.com/prometheus/promu/cmd.Execute /var/tmp/portage/dev-util/promu-0.5.0/work/promu-0.5.0/src/github.com/prometheus/promu/cmd/promu.go:124 main.main /var/tmp/portage/dev-util/promu-0.5.0/work/promu-0.5.0/src/github.com/prometheus/promu/main.go:20 runtime.main /usr/lib/go/src/runtime/proc.go:203 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1357 * ERROR: app-metrics/consul_exporter-0.4.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 1093: Called die * The specific snippet of code: * GO111MODULE=on GOCACHE="${T}/go-cache" promu build -v || die; * * If you need support, post the output of `emerge --info '=app-metrics/consul_exporter-0.4.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-metrics/consul_exporter-0.4.0::gentoo'`. * The complete build log is located at '/var/log/portage/app-metrics:consul_exporter-0.4.0:20190909-111210.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-metrics/consul_exporter-0.4.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-metrics/consul_exporter-0.4.0/temp/environment'. * Working directory: '/var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0/src/github.com/prometheus/consul_exporter' * S: '/var/tmp/portage/app-metrics/consul_exporter-0.4.0/work/consul_exporter-0.4.0'