[pkg-go] Bug#954534: golang-github-prometheus-client-golang: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/prometheus/client_golang/api github.com/prometheus/client_golang/api/prometheus/v1 github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/graphite github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/client_golang/prometheus/promauto github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/client_golang/prometheus/push github.com/prometheus/client_golang/prometheus/testutil returned exit code 1

Adrian Vondendriesch adrian.vondendriesch at credativ.de
Mon May 18 14:38:16 BST 2020


tags 954534 + patch upstream fixed-upstream

thanks

This error appears within the testsuite. It's specific to golang 1.14+
and is already known and fixed upstream [1] in version v1.6.0.

Attached you will find a patch for version v1.2.1 (currently in debian).

While the attached patch will fix this bug it might be a better solution
to package the latest upstream release (v1.6.0) which already contains
the bugfix. However, I've tried to upgrade the package and it failed. I
guess some dependencies needs to be upgraded as well.

[1]:
https://github.com/prometheus/client_golang/pull/740/commits/af6ade7230522a649b315c041cb74a301d6360e7

Cheers,
 - Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-github-prometheus-client-golang.patch
Type: text/x-patch
Size: 1764 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20200518/fa883fa3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x61F7985DB84E0B04.asc
Type: application/pgp-keys
Size: 14359 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20200518/fa883fa3/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20200518/fa883fa3/attachment.sig>


More information about the Pkg-go-maintainers mailing list