Package: src:golang-github-spf13-cast
Version: 1.5.0-1
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 --buildsystem=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 -trimpath -v -p 1 
github.com/spf13/cast
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
encoding
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
strings
unicode/utf16
encoding/json
html
path/filepath
net/url
text/template/parse
text/template
html/template
github.com/spf13/cast
   dh_auto_test -i -O--buildsystem=golang
        cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 
github.com/spf13/cast
=== RUN   TestToUintE
--- PASS: TestToUintE (0.00s)
=== RUN   TestToUint64E
--- PASS: TestToUint64E (0.00s)
=== RUN   TestToUint32E
--- PASS: TestToUint32E (0.00s)
=== RUN   TestToUint16E
--- PASS: TestToUint16E (0.00s)
=== RUN   TestToUint8E
--- PASS: TestToUint8E (0.00s)
=== RUN   TestToIntE
--- PASS: TestToIntE (0.00s)
=== RUN   TestToInt64E
--- PASS: TestToInt64E (0.00s)
=== RUN   TestToInt32E
--- PASS: TestToInt32E (0.00s)
=== RUN   TestToInt16E
--- PASS: TestToInt16E (0.00s)
=== RUN   TestToInt8E
--- PASS: TestToInt8E (0.00s)
=== RUN   TestToFloat64E
--- PASS: TestToFloat64E (0.00s)
=== RUN   TestToFloat32E
--- PASS: TestToFloat32E (0.00s)
=== RUN   TestToStringE
--- PASS: TestToStringE (0.00s)
=== RUN   TestStringerToString
--- PASS: TestStringerToString (0.00s)
=== RUN   TestErrorToString
--- PASS: TestErrorToString (0.00s)
=== RUN   TestStringMapStringSliceE
--- PASS: TestStringMapStringSliceE (0.00s)
=== RUN   TestToStringMapE
--- PASS: TestToStringMapE (0.00s)
=== RUN   TestToStringMapBoolE
--- PASS: TestToStringMapBoolE (0.00s)
=== RUN   TestToStringMapIntE
--- PASS: TestToStringMapIntE (0.00s)
=== RUN   TestToStringMapInt64E
--- PASS: TestToStringMapInt64E (0.00s)
=== RUN   TestToStringMapStringE
--- PASS: TestToStringMapStringE (0.00s)
=== RUN   TestToBoolSliceE
--- PASS: TestToBoolSliceE (0.00s)
=== RUN   TestToIntSliceE
--- PASS: TestToIntSliceE (0.00s)
=== RUN   TestToSliceE
--- PASS: TestToSliceE (0.00s)
=== RUN   TestToStringSliceE
--- PASS: TestToStringSliceE (0.00s)
=== RUN   TestToDurationSliceE
--- PASS: TestToDurationSliceE (0.00s)
=== RUN   TestToBoolE
--- PASS: TestToBoolE (0.00s)
=== RUN   TestIndirectPointers
--- PASS: TestIndirectPointers (0.00s)
=== RUN   TestToTime
--- PASS: TestToTime (0.00s)
=== RUN   TestToDurationE
--- PASS: TestToDurationE (0.00s)
=== RUN   TestToTimeWithTimezones
    cast_test.go:1015:
        error:
          got non-nil error
        got:
          e"unknown time zone EST"
        stack:
          
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/spf13/cast/cast_test.go:1015
            c.Assert(err, qt.IsNil)
--- FAIL: TestToTimeWithTimezones (0.00s)
=== RUN   TestTrimZeroDecimal
--- PASS: TestTrimZeroDecimal (0.00s)
FAIL
FAIL    github.com/spf13/cast   0.010s
FAIL
dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 
github.com/spf13/cast 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