Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673364 - app-metrics/prometheus-2.6.0 : command failed: build -o prometheus -ldflags -X github.com/prometheus/common/version.Version=2.6.0 -X github.com/prometheus/common/version.Revision=dbd1d58 -X github.com/prometheus/common/version.Bran
Summary: app-metrics/prometheus-2.6.0 : command failed: build -o prometheus -ldflags -...
Status: RESOLVED TEST-REQUEST
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: 2018-12-17 21:27 UTC by Toralf Förster
Modified: 2019-01-15 19:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.93 KB, text/plain)
2018-12-17 21:27 UTC, Toralf Förster
Details
app-metrics:prometheus-2.6.0:20181217-203348.log (app-metrics:prometheus-2.6.0:20181217-203348.log,5.05 KB, text/plain)
2018-12-17 21:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,245.12 KB, text/plain)
2018-12-17 21:27 UTC, Toralf Förster
Details
environment (environment,30.83 KB, text/plain)
2018-12-17 21:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.75 KB, application/x-bzip)
2018-12-17 21:27 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,14.87 KB, text/plain)
2018-12-18 16:54 UTC, Toralf Förster
Details
app-metrics:prometheus-2.6.0:20181218-165016.log (app-metrics:prometheus-2.6.0:20181218-165016.log,5.05 KB, text/plain)
2018-12-18 16:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.49 KB, text/plain)
2018-12-18 16:54 UTC, Toralf Förster
Details
environment (environment,29.83 KB, text/plain)
2018-12-18 16:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.94 KB, application/x-bzip)
2018-12-18 16:54 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-17 21:27:35 UTC
go: cannot use modules with build cache disabled
!! exit status 1
command failed: build -o prometheus -ldflags -X github.com/prometheus/common/version.Version=2.6.0 -X github.com/prometheus/common/version.Revision=dbd1d58 -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=20181217-20:33:52  -extldflags '-static' -mod=vendor -a -tags netgo github.com/prometheus/prometheus/cmd/prometheus
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-gnome_20181212-070935

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

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]   pypy (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/prometheus
[ebuild  N    ] app-metrics/prometheus-2.6.0
Comment 1 Toralf Förster gentoo-dev 2018-12-17 21:27:38 UTC
Created attachment 558056 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-17 21:27:41 UTC
Created attachment 558058 [details]
app-metrics:prometheus-2.6.0:20181217-203348.log
Comment 3 Toralf Förster gentoo-dev 2018-12-17 21:27:44 UTC
Created attachment 558060 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-12-17 21:27:47 UTC
Created attachment 558062 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-12-17 21:27:49 UTC
Created attachment 558064 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-12-18 16:54:16 UTC
got at the unstable amd64 chroot image 17.0-hardened_libressl-test_20181218-071658 this too
Comment 7 Toralf Förster gentoo-dev 2018-12-18 16:54:19 UTC
Created attachment 558102 [details]
emerge-info.txt
Comment 8 Toralf Förster gentoo-dev 2018-12-18 16:54:21 UTC
Created attachment 558104 [details]
app-metrics:prometheus-2.6.0:20181218-165016.log
Comment 9 Toralf Förster gentoo-dev 2018-12-18 16:54:24 UTC
Created attachment 558106 [details]
emerge-history.txt
Comment 10 Toralf Förster gentoo-dev 2018-12-18 16:54:27 UTC
Created attachment 558108 [details]
environment
Comment 11 Toralf Förster gentoo-dev 2018-12-18 16:54:29 UTC
Created attachment 558110 [details]
etc.portage.tbz2
Comment 12 Toralf Förster gentoo-dev 2018-12-18 17:10:16 UTC
~ $ scw run/17.0-desktop-gnome_20181212-070935/
mr-fox ~ # go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="x86_64-pc-linux-gnu-gcc"
CXX="x86_64-pc-linux-gnu-g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build089861961=/tmp/go-build -gno-record-gcc-switches"
Comment 13 Toralf Förster gentoo-dev 2018-12-18 17:10:49 UTC
tinderbox@mr-fox ~ $ scw run/17.0-hardened_libressl-test_20181218-071658 "go env"
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="x86_64-pc-linux-gnu-gcc"
CXX="x86_64-pc-linux-gnu-g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build289378664=/tmp/go-build -gno-record-gcc-switches"
Comment 14 Manuel Rüger (RETIRED) gentoo-dev 2019-01-15 19:06:15 UTC
Please retry with 2.6.1