Package: src:golang-github-prometheus-client-golang
Version: 0.8.0-1
Severity: important

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:

 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
   dh_testdir -i -O--buildsystem=golang
   dh_update_autotools_config -i -O--buildsystem=golang
   dh_auto_configure -i -O--buildsystem=golang
        mkdir -p obj-x86_64-linux-gnu
dh_auto_configure: "" is already installed. 
Please check for circular dependencies.

        Copy api/prometheus/api_test.go -> 
        Copy api/prometheus/api.go -> 
        Copy examples/random/main.go -> 
        Copy examples/simple/main.go -> 
        Copy prometheus/summary.go -> 
        Copy prometheus/example_clustermanager_test.go -> 

[... snipped ...]

--- PASS: TestMetricVecWithCollisions (0.00s)
=== RUN   TestCounterVecEndToEndWithCollision
--- PASS: TestCounterVecEndToEndWithCollision (0.00s)
=== RUN   TestHandler
--- PASS: TestHandler (0.01s)
=== RUN   TestRegisterWithOrGet
--- PASS: TestRegisterWithOrGet (0.00s)
=== RUN   ExampleGaugeFunc
--- PASS: ExampleGaugeFunc (0.00s)
=== RUN   ExampleCounter
--- PASS: ExampleCounter (0.00s)
=== RUN   ExampleLabelPairSorter
--- PASS: ExampleLabelPairSorter (0.00s)
=== RUN   ExampleRegister
--- PASS: ExampleRegister (0.00s)
=== RUN   ExampleSummary
--- PASS: ExampleSummary (0.00s)
=== RUN   ExampleSummaryVec
--- PASS: ExampleSummaryVec (0.02s)
=== RUN   ExampleNewConstSummary
--- PASS: ExampleNewConstSummary (0.00s)
=== RUN   ExampleHistogram
--- PASS: ExampleHistogram (0.00s)
=== RUN   ExampleNewConstHistogram
--- PASS: ExampleNewConstHistogram (0.00s)
=== RUN   ExampleGatherers
--- PASS: ExampleGatherers (0.01s)
=== RUN   ExampleExpvarCollector
--- PASS: ExampleExpvarCollector (0.00s)
exit status 1
FAIL  60.454s
=== RUN   TestHandlerErrorHandling
--- PASS: TestHandlerErrorHandling (0.00s)
ok 0.008s
=== RUN   TestPush
--- PASS: TestPush (0.00s)
ok     0.009s
dh_auto_test: go test -v -p 1 returned exit code 1
        cd /<<PKGBUILDDIR>>
debian/rules:13: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

If this is really a bug in one of the build-depends, please use reassign and 
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine,
provided you try enough times (as the failure happens randomly).


Pkg-go-maintainers mailing list

Reply via email to