Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642226 - net-analyzer/prometheus-blackbox_exporter-0.11.0: dobin: blackbox_exporter/blackbox_exporter does not exist
Summary: net-analyzer/prometheus-blackbox_exporter-0.11.0: dobin: blackbox_exporter/bl...
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: 2017-12-25 19:45 UTC by Hector Martin
Modified: 2018-01-11 12:11 UTC (History)
1 user (show)

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


Attachments
buid.log (build.log,3.75 KB, text/x-log)
2018-01-03 17:02 UTC, Hector Martin
Details
emerge --info (emerge-info,5.54 KB, text/plain)
2018-01-03 17:03 UTC, Hector Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Martin 2017-12-25 19:45:56 UTC
>>> Install prometheus-blackbox_exporter-0.11.0 into /var/tmp/portage/net-analyzer/prometheus-blackbox_exporter-0.11.0/image/ category net-analyzer
/var/tmp/portage/net-analyzer/prometheus-blackbox_exporter-0.11.0/work/prometheus-blackbox_exporter-0.11.0/src/github.com/prometheus/blackbox_exporter /var/tmp/portage/net-analyzer/prometheus-blackbox_exporter-0.11.0/work/prometheus-blackbox_exporter-0.11.0
!!! dobin: blackbox_exporter/blackbox_exporter does not exist
 * ERROR: net-analyzer/prometheus-blackbox_exporter-0.11.0::gentoo failed (install phase):
 *   dobin failed
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/prometheus-blackbox_exporter-0.11.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/prometheus-blackbox_exporter-0.11.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/prometheus-blackbox_exporter-0.11.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/prometheus-blackbox_exporter-0.11.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/prometheus-blackbox_exporter-0.11.0/work/prometheus-blackbox_exporter-0.11.0/src/github.com/prometheus/blackbox_exporter'
 * S: '/var/tmp/portage/net-analyzer/prometheus-blackbox_exporter-0.11.0/work/prometheus-blackbox_exporter-0.11.0'
 * QA Notice: file does not exist:
 * 
 *      dobin: blackbox_exporter/blackbox_exporter does not exist

Looks like the path to the built binary is wrong. This fixes the issue:

 src_install() {
        pushd src/${EGO_PN} || die
-       dobin blackbox_exporter/blackbox_exporter
+       dobin blackbox_exporter
        dodoc {README,CONFIGURATION}.md blackbox.yml

Relevant deps:
=dev-util/promu-0.1.0_p20161031
=dev-lang/go-1.8.3
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-03 14:54:05 UTC
Please attach the complete build.log and attach/paste 'emerge --info'.
Comment 2 Hector Martin 2018-01-03 17:02:59 UTC
Created attachment 513096 [details]
buid.log
Comment 3 Hector Martin 2018-01-03 17:03:44 UTC
Created attachment 513098 [details]
emerge --info
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2018-01-11 12:11:02 UTC
Please try building it using promu-0.1.0 (the version you're using got removed).