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

Bug 679708

Summary: app-metrics/mysqld_exporter-0.11.0 : failed to initialize build cache at /.../go-build: mkdir /.../cache: permission denied
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Deutschmann (RETIRED) <whissi>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 567192    
Attachments: emerge-info.txt
app-metrics:mysqld_exporter-0.11.0:20190307-042810.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2019-03-07 20:34:13 UTC
 +  go build -o bin/mysqld_exporter -ldflags -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.Version=0.11.0 -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.Revision=8068006 -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.BuildUser=portage@mr-fox -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.BuildDate=20190307-04:28:14  -extldflags '-static' -a -tags netgo github.com/prometheus/mysqld_exporter
failed to initialize build cache at /root/cache/go-build: mkdir /root/cache: permission denied
!! exit status 1
command failed: build -o bin/mysqld_exporter -ldflags -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.Version=0.11.0 -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.Revision=8068006 -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.BuildUser=portage@mr-fox -X github.com/prometheus/mysqld_exporter/vendor/github.com/prometheus/common/version.BuildDate=20190307-04:28:14  -extldflags '-static' -a -tags netgo github.com/prometheus/mysqld_exporter
github.com/prometheus/promu/cmd.buildBinary

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-plasma_libressl_20190302-221911

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.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]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-1.32.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO app-metrics/mysqld_exporter
[ebuild  N    ] app-metrics/mysqld_exporter-0.11.0
Comment 1 Toralf Förster gentoo-dev 2019-03-07 20:34:16 UTC
Created attachment 568110 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-07 20:34:19 UTC
Created attachment 568112 [details]
app-metrics:mysqld_exporter-0.11.0:20190307-042810.log
Comment 3 Toralf Förster gentoo-dev 2019-03-07 20:34:21 UTC
Created attachment 568114 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-03-07 20:34:24 UTC
Created attachment 568116 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-03-07 20:34:27 UTC
Created attachment 568118 [details]
etc.portage.tbz2
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2020-07-07 00:33:26 UTC
I think this wasn't a bug in the package. If you are still experience the issue with latest ebuild (0.12.1_p20200622), please re-open.