Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 693924

Summary: app-metrics/consul_exporter-0.4.0 : command failed: build -o consul_exporter -ldflags
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-metrics:consul_exporter-0.4.0:20190909-111210.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2019-09-09 14:48:26 UTC
	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

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20190905-001552

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.37.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository timestamp:

==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 09 Sep 2019 11:06:04 +0000

emerge -qpvO app-metrics/consul_exporter
[ebuild  N    ] app-metrics/consul_exporter-0.4.0
Comment 1 Toralf Förster gentoo-dev 2019-09-09 14:48:30 UTC
Created attachment 589552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-09-09 14:48:32 UTC
Created attachment 589554 [details]
app-metrics:consul_exporter-0.4.0:20190909-111210.log
Comment 3 Toralf Förster gentoo-dev 2019-09-09 14:48:35 UTC
Created attachment 589556 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-09-09 14:48:38 UTC
Created attachment 589558 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-09-09 14:48:41 UTC
Created attachment 589560 [details]
etc.portage.tbz2
Comment 6 Austin English 2020-08-19 22:08:46 UTC
I can reproduce this, though fwiw, 0.6.0 works.