Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675506 - app-metrics/snmp_exporter-0.14.0-r1 : command failed: build -o snmp_exporter -ldflags -X github.com/prometheus/common/version.Version=0.14.0 -X github.com/prometheus/common/version.Revision=da73490 -X github.com/prometheus/common/version.
Summary: app-metrics/snmp_exporter-0.14.0-r1 : command failed: build -o snmp_exporter ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-15 17:12 UTC by Toralf Förster
Modified: 2019-01-17 18:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.81 KB, text/plain)
2019-01-15 17:12 UTC, Toralf Förster
Details
app-metrics:snmp_exporter-0.14.0-r1:20190115-165521.log (app-metrics:snmp_exporter-0.14.0-r1:20190115-165521.log,4.97 KB, text/plain)
2019-01-15 17:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,134.14 KB, text/plain)
2019-01-15 17:12 UTC, Toralf Förster
Details
environment (environment,29.84 KB, text/plain)
2019-01-15 17:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.56 KB, application/x-bzip)
2019-01-15 17:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-01-15 17:12:28 UTC
go: cannot use modules with build cache disabled
!! exit status 1
command failed: build -o snmp_exporter -ldflags -X github.com/prometheus/common/version.Version=0.14.0 -X github.com/prometheus/common/version.Revision=da73490 -X github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/common/version.BuildUser=portage@mr-fox -X github.com/prometheus/common/version.BuildDate=20190115-16:55:24  -extldflags '-static' -mod=vendor -a -tags netgo github.com/prometheus/snmp_exporter
github.com/prometheus/promu/cmd.buildBinary
	/var/tmp/portage/dev-util/promu-0.2.0/work/promu-0.2.0/src/github.com/prometheus/promu/cmd/build.go:96
github.com/prometheus/promu/cmd.buildAll

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20190113-072420

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-bin-1.31.1 *
java-config:
The following VMs are available for generation-2:


emerge -qpvO app-metrics/snmp_exporter
[ebuild  N    ] app-metrics/snmp_exporter-0.14.0-r1
Comment 1 Toralf Förster gentoo-dev 2019-01-15 17:12:31 UTC
Created attachment 561228 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-15 17:12:33 UTC
Created attachment 561230 [details]
app-metrics:snmp_exporter-0.14.0-r1:20190115-165521.log
Comment 3 Toralf Förster gentoo-dev 2019-01-15 17:12:36 UTC
Created attachment 561232 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-01-15 17:12:39 UTC
Created attachment 561234 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-01-15 17:12:42 UTC
Created attachment 561236 [details]
etc.portage.tbz2
Comment 6 Manuel Rüger (RETIRED) gentoo-dev 2019-01-15 19:05:42 UTC
I added a GOCACHE setting to 0.14.0-r1 please try again
Comment 7 Randy Tupas 2019-01-16 00:29:31 UTC
Revised ebuild completes without error, but snmp_exporter is not installed into /usr/bin.
Comment 8 Manuel Rüger (RETIRED) gentoo-dev 2019-01-17 10:49:05 UTC
(In reply to Randy Tupas from comment #7)
> Revised ebuild completes without error, but snmp_exporter is not installed
> into /usr/bin.

Whops, this has been fixed in 0.14.0-r2
Comment 9 Toralf Förster gentoo-dev 2019-01-17 18:41:44 UTC
indeed