[pkg-go] Bug#918434: golint: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Sun Jan 6 00:14:31 GMT 2019


Package: src:golint
Version: 0.0+git20161013.3390df4-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --buildsystem=golang --with=golang
   dh_update_autotools_config -a -O--buildsystem=golang
   dh_auto_configure -a -O--buildsystem=golang
   dh_auto_build -a -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go install -gcflags=all=\"-trimpath=/<<BUILDDIR>>/golint-0.0\+git20161013.3390df4/obj-x86_64-linux-gnu/src\" -asmflags=all=\"-trimpath=/<<BUILDDIR>>/golint-0.0\+git20161013.3390df4/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/golang/lint github.com/golang/lint/golint
errors
internal/cpu
internal/bytealg
internal/race
runtime/internal/atomic
runtime/internal/sys
runtime
sync/atomic

[... snipped ...]

go/parser
text/tabwriter
go/printer
container/heap
encoding/binary
math/rand
math/big
go/constant
go/types
bufio
path
regexp/syntax
regexp
net/url
text/template/parse
text/template
go/doc
log
context
os/exec
go/build
text/scanner
golang.org/x/tools/go/gcimporter15
github.com/golang/lint
flag
github.com/golang/lint/golint
   dh_auto_test -a -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/golang/lint github.com/golang/lint/golint
=== RUN   TestAll
--- FAIL: TestAll (0.04s)
    lint_test.go:94: Lint failed at errorf.go:29; /should replace.*t\.Error\(fmt\.Sprintf\(\.\.\.\)\).*t\.Errorf\(\.\.\.\)/ did not match
    lint_test.go:94: Lint failed at time.go:11; /Msec.*\*time.Duration/ did not match
    lint_test.go:94: Lint failed at time.go:13; /Secs.*time.Duration/ did not match
    lint_test.go:94: Lint failed at var-decl.go:18; /should.*\*http\.ServeMux.*inferred/ did not match
    lint_test.go:94: Lint failed at var-decl.go:74; /should omit.*io\.Writer/ did not match
=== RUN   TestLine
--- PASS: TestLine (0.00s)
=== RUN   TestLintName
--- PASS: TestLintName (0.00s)
=== RUN   TestExportedType
--- PASS: TestExportedType (0.00s)
FAIL
FAIL	github.com/golang/lint	0.043s
?   	github.com/golang/lint/golint	[no test files]
dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/golang/lint github.com/golang/lint/golint returned exit code 1
make: *** [debian/rules:4: build-arch] Error 1
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -B"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golint.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