Package: src:golang-github-arran4-golang-ical
Version: 0.0~git20220517.fd89fef-2
Severity: serious
Tags: ftbfs patch

Dear maintainer:

During a rebuild of all packages in bookworm, 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 1 github.com/arran4/golang-ical
internal/goarch
internal/unsafeheader
internal/abi
internal/cpu
internal/bytealg
internal/goexperiment
internal/goos
runtime/internal/atomic
runtime/internal/math
runtime/internal/sys
runtime/internal/syscall
runtime
internal/reflectlite
errors
internal/race
sync/atomic
sync
io
unicode
unicode/utf8
bytes
strings
bufio
math/bits
math
internal/itoa
strconv
reflect
encoding/binary
encoding/base64
sort
internal/fmtsort
internal/oserror
syscall
internal/syscall/unix
time
internal/poll
internal/syscall/execenv
internal/testlog
path
io/fs
os
fmt
log
regexp/syntax
regexp
github.com/arran4/golang-ical
   dh_auto_test -i -O--builddirectory=_build -O--buildsystem=golang
        cd _build && go test -vet=off -v -p 1 github.com/arran4/golang-ical
=== RUN   TestTimeParsing
    calendar_test.go:28: could not load location
--- FAIL: TestTimeParsing (0.00s)
panic: time: missing Location in call to Date [recovered]
        panic: time: missing Location in call to Date

goroutine 6 [running]:
testing.tRunner.func1.2({0x5c0ca0, 0x642e50})
        /usr/lib/go-1.18/src/testing/testing.go:1389 +0x24e
testing.tRunner.func1()
        /usr/lib/go-1.18/src/testing/testing.go:1392 +0x39f
panic({0x5c0ca0, 0x642e50})
        /usr/lib/go-1.18/src/runtime/panic.go:838 +0x207
time.Date(0xc00008d040?, 0x6009c4?, 0x0?, 0x0?, 0x0?, 0x732c01?, 0x6?, 
0x766800?)
        /usr/lib/go-1.18/src/time/time.go:1404 +0x4e5
github.com/arran4/golang-ical.TestTimeParsing(0xc00008d040)
        
/<<PKGBUILDDIR>>/_build/src/github.com/arran4/golang-ical/calendar_test.go:58 
+0x366
testing.tRunner(0xc00008d040, 0x6106c0)
        /usr/lib/go-1.18/src/testing/testing.go:1439 +0x102
created by testing.(*T).Run
        /usr/lib/go-1.18/src/testing/testing.go:1486 +0x35f
FAIL    github.com/arran4/golang-ical   0.007s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 1 
github.com/arran4/golang-ical returned exit code 1
make: *** [debian/rules:4: 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.

Reply via email to