[pkg-go] Bug#839417: golang-github-jinzhu-now: FTBFS: dh_auto_test: go test -v -p 1 github.com/jinzhu/now returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Oct 1 14:21:10 UTC 2016


Source: golang-github-jinzhu-now
Version: 0.0~git20151001.0.ce80572-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_testdir -O--buildsystem=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	go install -v -p 1 github.com/jinzhu/now
> github.com/jinzhu/now
>    dh_auto_test -O--buildsystem=golang
> 	go test -v -p 1 github.com/jinzhu/now
> === RUN   TestBeginningOf
> --- FAIL: TestBeginningOf (0.00s)
> panic: time: missing Location in call to Date [recovered]
> 	panic: time: missing Location in call to Date
> 
> goroutine 5 [running]:
> panic(0x4f1d00, 0xc42000e570)
> 	/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
> testing.tRunner.func1(0xc420016480)
> 	/usr/lib/go-1.7/src/testing/testing.go:579 +0x25d
> panic(0x4f1d00, 0xc42000e570)
> 	/usr/lib/go-1.7/src/runtime/panic.go:458 +0x243
> time.Date(0x7df, 0x5, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0xeca1c4ab5, 0x75bcd15, ...)
> 	/usr/lib/go-1.7/src/time/time.go:1028 +0x674
> github.com/jinzhu/now.TestBeginningOf(0xc420016480)
> 	/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/now/now_test.go:26 +0x380
> testing.tRunner(0xc420016480, 0x529e88)
> 	/usr/lib/go-1.7/src/testing/testing.go:610 +0x81
> created by testing.(*T).Run
> 	/usr/lib/go-1.7/src/testing/testing.go:646 +0x2ec
> exit status 2
> FAIL	github.com/jinzhu/now	0.004s
> dh_auto_test: go test -v -p 1 github.com/jinzhu/now returned exit code 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/golang-github-jinzhu-now_0.0~git20151001.0.ce80572-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list