[pkg-go] Bug#906359: golang-github-hashicorp-go-sockaddr: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Fri Aug 17 12:19:46 BST 2018
Package: src:golang-github-hashicorp-go-sockaddr
Version: 0.0~git20170627.41949a1+ds-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
dh_update_autotools_config -i -O--buildsystem=golang
dh_autoreconf -i -O--buildsystem=golang
dh_auto_configure -i -O--buildsystem=golang
dh_auto_build -i -O--buildsystem=golang
cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/golang-github-hashicorp-go-sockaddr-0.0\~git20170627.41949a1\+ds/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/golang-github-hashicorp-go-sockaddr-0.0\~git20170627.41949a1\+ds/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/hashicorp/go-sockaddr github.com/hashicorp/go-sockaddr/template
github.com/hashicorp/go-sockaddr
github.com/hashicorp/errwrap
github.com/hashicorp/go-sockaddr/template
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<BUILDDIR>>/golang-github-hashicorp-go-sockaddr-0.0~git20170627.41949a1+ds'
dh_auto_test
cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/hashicorp/go-sockaddr
[... snipped ...]
=== RUN TestSockAddrMarshaler
--- PASS: TestSockAddrMarshaler (0.00s)
=== RUN TestSockAddrMultiMarshaler
--- PASS: TestSockAddrMultiMarshaler (0.00s)
=== RUN TestSockAddr_SockAddrs_AscAddress
=== RUN TestSockAddr_SockAddrs_AscAddress/0
--- PASS: TestSockAddr_SockAddrs_AscAddress (0.00s)
--- PASS: TestSockAddr_SockAddrs_AscAddress/0 (0.00s)
=== RUN TestSockAddr_SockAddrs_AscPrivate
=== RUN TestSockAddr_SockAddrs_AscPrivate/0
=== RUN TestSockAddr_SockAddrs_AscPrivate/1
=== RUN TestSockAddr_SockAddrs_AscPrivate/2
--- PASS: TestSockAddr_SockAddrs_AscPrivate (0.04s)
--- PASS: TestSockAddr_SockAddrs_AscPrivate/0 (0.04s)
--- PASS: TestSockAddr_SockAddrs_AscPrivate/1 (0.00s)
--- PASS: TestSockAddr_SockAddrs_AscPrivate/2 (0.00s)
=== RUN TestSockAddr_SockAddrs_AscPort
=== RUN TestSockAddr_SockAddrs_AscPort/simple_port_test
=== RUN TestSockAddr_SockAddrs_AscPort/simple_port_test#01
--- PASS: TestSockAddr_SockAddrs_AscPort (0.00s)
--- PASS: TestSockAddr_SockAddrs_AscPort/simple_port_test (0.00s)
--- PASS: TestSockAddr_SockAddrs_AscPort/simple_port_test#01 (0.00s)
=== RUN TestSockAddr_SockAddrs_AscType
=== RUN TestSockAddr_SockAddrs_AscType/0
--- PASS: TestSockAddr_SockAddrs_AscType (0.00s)
--- PASS: TestSockAddr_SockAddrs_AscType/0 (0.00s)
=== RUN TestUnixSock_impl_SockAddr
--- PASS: TestUnixSock_impl_SockAddr (0.00s)
=== RUN TestUnixSock_Equal
=== RUN TestUnixSock_Equal/equal
=== RUN TestUnixSock_Equal/not_equal
=== RUN TestUnixSock_Equal/ipv4
=== RUN TestUnixSock_Equal/ipv6
--- PASS: TestUnixSock_Equal (0.00s)
--- PASS: TestUnixSock_Equal/equal (0.00s)
--- PASS: TestUnixSock_Equal/not_equal (0.00s)
--- PASS: TestUnixSock_Equal/ipv4 (0.00s)
--- PASS: TestUnixSock_Equal/ipv6 (0.00s)
=== RUN TestUnixSockAttrs
--- PASS: TestUnixSockAttrs (0.00s)
FAIL
FAIL github.com/hashicorp/go-sockaddr 0.214s
dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/hashicorp/go-sockaddr returned exit code 1
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/golang-github-hashicorp-go-sockaddr-0.0~git20170627.41949a1+ds'
make: *** [debian/rules:6: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-hashicorp-go-sockaddr.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Pkg-go-maintainers
mailing list