[pkg-go] Bug#902467: golang-github-kardianos-osext: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Tue Jun 26 23:52:52 BST 2018


Package: src:golang-github-kardianos-osext
Version: 0.0~git20170510.0.ae77be6-5
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
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-kardianos-osext-0.0\~git20170510.0.ae77be6/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/golang-github-kardianos-osext-0.0\~git20170510.0.ae77be6/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/kardianos/osext
github.com/kardianos/osext
   dh_auto_test -i -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/kardianos/osext
=== RUN   TestPrintExecutable
--- PASS: TestPrintExecutable (0.00s)
	osext_test.go:32: Executable: /tmp/go-build962600465/b001/osext.test
=== RUN   TestPrintExecutableFolder
--- PASS: TestPrintExecutableFolder (0.00s)
	osext_test.go:39: Executable Folder: /tmp/go-build962600465/b001
=== RUN   TestExecutableFolder
--- PASS: TestExecutableFolder (0.00s)
=== RUN   TestExecutableMatch
--- PASS: TestExecutableMatch (0.00s)
=== RUN   TestExecutableDelete
--- FAIL: TestExecutableDelete (0.00s)
	osext_test.go:135: Child returned "/tmp/go-build962600465/b001/osext.test (deleted)", not the same file as "/tmp/go-build962600465/b001/osext.test"
FAIL
FAIL	github.com/kardianos/osext	0.004s
dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/kardianos/osext returned exit code 1
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.

The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-kardianos-osext.html

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 page for this package.

Thanks.



More information about the Pkg-go-maintainers mailing list