Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672926 - app-metrics/pushgateway-0.7.0 : command failed: build -o bin/pushgateway -ldflags -X github.com/prometheus/common/version.Version=0.7.0 -X github.com/prometheus/common/version.Revision=d5a56ba -X github.com/prometheus/common/version
Summary: app-metrics/pushgateway-0.7.0 : command failed: build -o bin/pushgateway -ldf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-11 15:29 UTC by Toralf Förster
Modified: 2019-11-24 22:11 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.72 KB, text/plain)
2018-12-11 15:29 UTC, Toralf Förster
Details
app-metrics:pushgateway-0.7.0:20181211-113843.log (app-metrics:pushgateway-0.7.0:20181211-113843.log,5.05 KB, text/plain)
2018-12-11 15:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.80 KB, text/plain)
2018-12-11 15:29 UTC, Toralf Förster
Details
environment (environment,65.95 KB, text/plain)
2018-12-11 15:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.65 KB, application/x-bzip)
2018-12-11 15:30 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 2018-12-11 15:29:49 UTC
go: cannot use modules with build cache disabled
!! exit status 1
command failed: build -o bin/pushgateway -ldflags -X github.com/prometheus/common/version.Version=0.7.0 -X github.com/prometheus/common/version.Revision=d5a56ba -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=20181211-11:38:46  -extldflags '-static' -mod=vendor -a -tags netgo github.com/prometheus/pushgateway
github.com/prometheus/promu/cmd.buildBinary
	/var/tmp/portage/dev-util/promu-0.1.0_p20180227/work/promu-0.1.0_p20180227/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-desktop-plasma-systemd_20181209-105723

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

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

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

emerge -qpvO app-metrics/pushgateway
[ebuild  N    ] app-metrics/pushgateway-0.7.0
Comment 1 Toralf Förster gentoo-dev 2018-12-11 15:29:53 UTC
Created attachment 557568 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-11 15:29:56 UTC
Created attachment 557570 [details]
app-metrics:pushgateway-0.7.0:20181211-113843.log
Comment 3 Toralf Förster gentoo-dev 2018-12-11 15:29:59 UTC
Created attachment 557572 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-12-11 15:30:02 UTC
Created attachment 557574 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-12-11 15:30:05 UTC
Created attachment 557576 [details]
etc.portage.tbz2
Comment 6 Larry the Git Cow gentoo-dev 2019-11-24 22:11:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa9a0546137081309791b5a832a7b8773b48e85

commit efa9a0546137081309791b5a832a7b8773b48e85
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-11-24 22:10:47 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-11-24 22:11:48 +0000

    app-metrics/pushgateway: export -n GOCACHE XDG_CACHE_HOME
    
    Closes: https://bugs.gentoo.org/672926
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-metrics/pushgateway/pushgateway-0.10.0.ebuild | 1 +
 app-metrics/pushgateway/pushgateway-0.9.1.ebuild  | 1 +
 app-metrics/pushgateway/pushgateway-1.0.0.ebuild  | 1 +
 3 files changed, 3 insertions(+)