Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677740 - app-metrics/memcached_exporter-0.5.0 : go: disabling cache (/.../go-build) due to initialization failure: mkdir /.../cache: permission denied
Summary: app-metrics/memcached_exporter-0.5.0 : go: disabling cache (/.../go-build) du...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 567192
  Show dependency tree
 
Reported: 2019-02-11 18:36 UTC by Toralf Förster
Modified: 2021-05-02 17:56 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.88 KB, text/plain)
2019-02-11 18:36 UTC, Toralf Förster
Details
app-metrics:memcached_exporter-0.5.0:20190211-182352.log (app-metrics:memcached_exporter-0.5.0:20190211-182352.log,3.76 KB, text/plain)
2019-02-11 18:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,84.83 KB, text/plain)
2019-02-11 18:36 UTC, Toralf Förster
Details
environment (environment,28.39 KB, text/plain)
2019-02-11 18:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.90 KB, application/x-bzip)
2019-02-11 18:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.96 KB, application/x-bzip)
2019-02-11 18:37 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-02-11 18:36:48 UTC
 +  go build -o bin/memcached_exporter-0.5.0 -ldflags -X github.com/prometheus/memcached_exporter/vendor/github.com/prometheus/common/version.Version=0.5.0 -X github.com/prometheus/memcached_exporter/vendor/github.com/prometheus/common/version.Revision=non-git -X github.com/prometheus/memcached_exporter/vendor/github.com/prometheus/common/version.Branch=non-git -X github.com/prometheus/memcached_exporter/vendor/github.com/prometheus/common/version.BuildUser=portage@mr-fox -X github.com/prometheus/memcached_exporter/vendor/github.com/prometheus/common/version.BuildDate=20190211-18:23:57  -extldflags '-static' -a -tags netgo github.com/prometheus/memcached_exporter
go: disabling cache (/root/cache/go-build) due to initialization failure: mkdir /root/cache: permission denied
>>> Source compiled.
>>> Test phase: app-metrics/memcached_exporter-0.5.0
env GOPATH=/var/tmp/portage/app-metrics/memcached_exporter-0.5.0/work/memcached_exporter-0.5.0:/usr/lib/go-gentoo go test -v -work -x github.com/prometheus/memcached_exporter

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

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

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.32.0 *



emerge -qpvO app-metrics/memcached_exporter
[ebuild  N    ] app-metrics/memcached_exporter-0.5.0
Comment 1 Toralf Förster gentoo-dev 2019-02-11 18:36:51 UTC
Created attachment 564812 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-11 18:36:54 UTC
Created attachment 564814 [details]
app-metrics:memcached_exporter-0.5.0:20190211-182352.log
Comment 3 Toralf Förster gentoo-dev 2019-02-11 18:36:57 UTC
Created attachment 564816 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-02-11 18:36:59 UTC
Created attachment 564818 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-02-11 18:37:02 UTC
Created attachment 564820 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-11 18:37:05 UTC
Created attachment 564822 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-05-02 17:56:21 UTC
The bug has been closed via the following commit(s):

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

commit a12fce75a99596b3b6da1bf32878184dff25ab42
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2021-05-02 17:55:34 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2021-05-02 17:56:14 +0000

    app-metrics/memcached_exporter: disable tests
    
    The tests need the daemon to run locally to be able to run.
    
    Closes: https://bugs.gentoo.org/677740
    Closes: https://bugs.gentoo.org/684492
    Closes: https://bugs.gentoo.org/752363
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-metrics/memcached_exporter/memcached_exporter-0.9.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)