Package: src:golang-github-araddon-dateparse
Version: 0.0~git20210207.0eec95c-1
Severity: serious
Tags: ftbfs patch
Dear maintainer:
During a rebuild of all packages in bullseye, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary-indep
dh binary-indep --builddirectory=_build --buildsystem=golang --with=golang
dh_update_autotools_config -i -O--builddirectory=_build
-O--buildsystem=golang
dh_autoreconf -i -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure -i -O--builddirectory=_build -O--buildsystem=golang
dh_auto_build -i -O--builddirectory=_build -O--buildsystem=golang
cd _build && go install -trimpath -v -p 2 github.com/araddon/dateparse
internal/unsafeheader
internal/cpu
runtime/internal/atomic
runtime/internal/sys
runtime/internal/math
internal/bytealg
math/bits
math
runtime
unicode/utf8
internal/race
sync/atomic
unicode
internal/testlog
internal/reflectlite
sync
errors
sort
strconv
io
internal/oserror
syscall
reflect
internal/syscall/unix
time
internal/poll
internal/fmtsort
internal/syscall/execenv
strings
os
fmt
github.com/araddon/dateparse
dh_auto_test -i -O--builddirectory=_build -O--buildsystem=golang
cd _build && go test -vet=off -v -p 2 github.com/araddon/dateparse
=== RUN TestOne
--- PASS: TestOne (0.00s)
=== RUN TestParse
parseany_test.go:441: Expected to load location "America/Los_Angeles" but
got unknown time zone America/Los_Angeles
--- FAIL: TestParse (0.00s)
=== RUN TestPStruct
parseany_test.go:489:
Error Trace: parseany_test.go:489
Error: Not equal:
expected: <nil>(<nil>)
actual :
*errors.errorString(&errors.errorString{s:"unknown time zone America/Denver"})
Test: TestPStruct
--- FAIL: TestPStruct (0.00s)
=== RUN TestParseErrors
--- PASS: TestParseErrors (0.00s)
=== RUN TestParseLayout
--- PASS: TestParseLayout (0.00s)
=== RUN TestParseStrict
--- PASS: TestParseStrict (0.00s)
=== RUN TestInLocation
parseany_test.go:619:
Error Trace: parseany_test.go:619
Error: Not equal:
expected: <nil>(<nil>)
actual :
*errors.errorString(&errors.errorString{s:"unknown time zone America/Denver"})
Test: TestInLocation
parseany_test.go:649:
Error Trace: parseany_test.go:649
Error: Not equal:
expected: -25200
actual : 0
Test: TestInLocation
Messages: Should have found offset = -25200 0 UTC
parseany_test.go:650:
Error Trace: parseany_test.go:650
Error: Not equal:
expected: "MST"
actual : "UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-MST
+UTC
Test: TestInLocation
Messages: Should have found zone = MST UTC
parseany_test.go:651:
Error Trace: parseany_test.go:651
Error: Not equal:
expected: "2013-02-01 07:00:00 +0000 UTC"
actual : "2013-02-01 00:00:00 +0000 UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-2013-02-01 07:00:00 +0000 UTC
+2013-02-01 00:00:00 +0000 UTC
Test: TestInLocation
parseany_test.go:656:
Error Trace: parseany_test.go:656
Error: Not equal:
expected: -25200
actual : 0
Test: TestInLocation
Messages: Should have found offset = 0 0
parseany_test.go:657:
Error Trace: parseany_test.go:657
Error: Not equal:
expected: "MST"
actual : "UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-MST
+UTC
Test: TestInLocation
Messages: Should have found zone = UTC UTC
parseany_test.go:658:
Error Trace: parseany_test.go:658
Error: Not equal:
expected: "2018-01-18 07:00:00 +0000 UTC"
actual : "2018-01-18 00:00:00 +0000 UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-2018-01-18 07:00:00 +0000 UTC
+2018-01-18 00:00:00 +0000 UTC
Test: TestInLocation
parseany_test.go:666:
Error Trace: parseany_test.go:666
Error: Not equal:
expected: -25200
actual : 0
Test: TestInLocation
Messages: Should have found offset = -25200 0 UTC
parseany_test.go:667:
Error Trace: parseany_test.go:667
Error: Not equal:
expected: "MST"
actual : "UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-MST
+UTC
Test: TestInLocation
Messages: Should have found zone = MST UTC
parseany_test.go:668:
Error Trace: parseany_test.go:668
Error: Not equal:
expected: "2013-02-01 07:00:00 +0000 UTC"
actual : "2013-02-01 00:00:00 +0000 UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-2013-02-01 07:00:00 +0000 UTC
+2013-02-01 00:00:00 +0000 UTC
Test: TestInLocation
parseany_test.go:675:
Error Trace: parseany_test.go:675
Error: Not equal:
expected: -21600
actual : 0
Test: TestInLocation
Messages: Should have found offset = -21600 0 UTC
parseany_test.go:676:
Error Trace: parseany_test.go:676
Error: Not equal:
expected: "MDT"
actual : "UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-MDT
+UTC
Test: TestInLocation
Messages: Should have found zone = MDT UTC
parseany_test.go:677:
Error Trace: parseany_test.go:677
Error: Not equal:
expected: "2013-04-01 06:00:00 +0000 UTC"
actual : "2013-04-01 00:00:00 +0000 UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-2013-04-01 06:00:00 +0000 UTC
+2013-04-01 00:00:00 +0000 UTC
Test: TestInLocation
parseany_test.go:695:
Error Trace: parseany_test.go:695
Error: Not equal:
expected: -25200
actual : 0
Test: TestInLocation
Messages: Should have found offset = -25200 0
parseany_test.go:696:
Error Trace: parseany_test.go:696
Error: Not equal:
expected: "2006-01-02 22:04:05 +0000 UTC"
actual : "2006-01-02 15:04:05 +0000 UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-2006-01-02 22:04:05 +0000 UTC
+2006-01-02 15:04:05 +0000 UTC
Test: TestInLocation
parseany_test.go:711:
Error Trace: parseany_test.go:711
Error: Should not be: 0
Test: TestInLocation
Messages: Should have found offset 0
parseany_test.go:712:
Error Trace: parseany_test.go:712
Error: Not equal:
expected: "2006-01-02 22:04:05 +0000 UTC"
actual : "2006-01-02 15:04:05 +0000 UTC"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-2006-01-02 22:04:05 +0000 UTC
+2006-01-02 15:04:05 +0000 UTC
Test: TestInLocation
--- FAIL: TestInLocation (0.00s)
=== RUN TestPreferMonthFirst
--- PASS: TestPreferMonthFirst (0.00s)
=== RUN TestRetryAmbiguousDateWithSwap
--- PASS: TestRetryAmbiguousDateWithSwap (0.00s)
FAIL
FAIL github.com/araddon/dateparse 0.010s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2
github.com/araddon/dateparse returned exit code 1
make: *** [debian/rules:6: binary-indep] Error 25
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit
status 2
--------------------------------------------------------------------------------
(The above is just how the build ends and not necessarily the most relevant
part)
Note: I'm using the "patch" tag because there is an obvious fix
(indicated in the subject).
About the archive rebuild: The build was made using virtual machines
from Hetzner, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages (plus
debhelper).
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
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.