Package: src:golang-gopkg-irc.v4
Version: 4.0.0+dfsg-2
Severity: important
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
[ please read the notes at the end ]
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang
dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
dh_clean -O--builddirectory=_build -O--buildsystem=golang
debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang
dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
cd _build && go install -trimpath -v -p 1 gopkg.in/irc.v4
internal/goarch
internal/abi
internal/unsafeheader
internal/cpu
internal/bytealg
internal/byteorder
internal/chacha8rand
internal/coverage/rtcov
internal/godebugs
internal/goexperiment
internal/goos
internal/profilerecord
internal/runtime/atomic
internal/runtime/exithook
internal/asan
internal/msan
internal/race
internal/runtime/math
internal/runtime/sys
internal/runtime/maps
internal/runtime/syscall
internal/stringslite
runtime
internal/reflectlite
errors
sync/atomic
internal/sync
sync
io
iter
math/bits
unicode
unicode/utf8
bytes
strings
bufio
internal/bisect
internal/godebug
internal/itoa
internal/oserror
syscall
time
context
cmp
math
strconv
reflect
slices
internal/fmtsort
path
io/fs
internal/filepathlite
internal/syscall/unix
internal/poll
internal/syscall/execenv
internal/testlog
os
fmt
golang.org/x/time/rate
sort
regexp/syntax
regexp
gopkg.in/irc.v4
dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
cd _build && go test -vet=off -v -p 1 gopkg.in/irc.v4
=== RUN TestHandlerFunc
=== PAUSE TestHandlerFunc
=== RUN TestCapReq
=== PAUSE TestCapReq
=== RUN TestClient
=== PAUSE TestClient
=== RUN TestSendLimit
=== PAUSE TestSendLimit
=== RUN TestClientHandler
=== PAUSE TestClientHandler
=== RUN TestFromChannel
=== PAUSE TestFromChannel
=== RUN TestPingLoop
=== PAUSE TestPingLoop
=== RUN TestWriteMessageError
=== PAUSE TestWriteMessageError
=== RUN TestConn
=== PAUSE TestConn
=== RUN TestDebugCallback
=== PAUSE TestDebugCallback
=== RUN TestParseMessage
=== PAUSE TestParseMessage
=== RUN TestMustParseMessage
=== PAUSE TestMustParseMessage
=== RUN TestMessageParam
=== PAUSE TestMessageParam
=== RUN TestMessageTrailing
=== PAUSE TestMessageTrailing
=== RUN TestMessageCopy
=== PAUSE TestMessageCopy
=== RUN TestMsgSplit
parser_test.go:149: Disabled as the _testcases submodule is not available
--- SKIP: TestMsgSplit (0.00s)
=== RUN TestMsgJoin
parser_test.go:209: Disabled as the _testcases submodule is not available
--- SKIP: TestMsgJoin (0.00s)
=== RUN TestUserhostSplit
parser_test.go:256: Disabled as the _testcases submodule is not available
--- SKIP: TestUserhostSplit (0.00s)
=== RUN TestMaskToRegex
=== PAUSE TestMaskToRegex
=== CONT TestHandlerFunc
--- PASS: TestHandlerFunc (0.00s)
=== CONT TestMaskToRegex
--- PASS: TestMaskToRegex (0.00s)
=== CONT TestMessageCopy
--- PASS: TestMessageCopy (0.00s)
=== CONT TestMessageTrailing
--- PASS: TestMessageTrailing (0.00s)
=== CONT TestMessageParam
--- PASS: TestMessageParam (0.00s)
=== CONT TestMustParseMessage
--- PASS: TestMustParseMessage (0.00s)
=== CONT TestParseMessage
--- PASS: TestParseMessage (0.00s)
=== CONT TestDebugCallback
--- PASS: TestDebugCallback (0.00s)
=== CONT TestConn
--- PASS: TestConn (0.00s)
=== CONT TestWriteMessageError
--- PASS: TestWriteMessageError (0.00s)
=== CONT TestPingLoop
--- PASS: TestPingLoop (0.15s)
=== CONT TestFromChannel
--- PASS: TestFromChannel (0.00s)
=== CONT TestClientHandler
--- PASS: TestClientHandler (0.02s)
=== CONT TestSendLimit
client_test.go:291:
Error Trace:
/<<PKGBUILDDIR>>/_build/src/gopkg.in/irc.v4/client_test.go:291
Error: Max difference between 2025-04-02
10:13:14.395261686 +0000 UTC m=+0.200573674 and 2025-04-02 10:13:14.455759578
+0000 UTC m=+0.261071566 allowed is 60ms, but difference was -60.497892ms
Test: TestSendLimit
--- FAIL: TestSendLimit (0.09s)
=== CONT TestClient
--- PASS: TestClient (0.16s)
=== CONT TestCapReq
--- PASS: TestCapReq (0.09s)
FAIL
FAIL gopkg.in/irc.v4 0.516s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 1 gopkg.in/irc.v4
returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
In this particular case, the build was made on AWS machines of type
m7a.medium and r7a.medium. Incidentally, those machines have a single CPU,
but at this point it's not clear yet if that's the condition which triggers
the build failure or, for example, the fact that they are overall slower
than other instance types, or maybe some other reason.
If you could not reproduce the bug using GRUB_CMDLINE_LINUX="nr_cpus=1"
please contact me privately, as I am willing to provide ssh access to a
virtual machine where the bug is fully reproducible.
Disclaimer: Please note that this is probably a violation of
Debian Policy 4.2, and the only reason I'm initially reporting
it as "important" is to avoid discussing about the severity.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-gopkg-irc.v4, so that this is still
visible in the BTS web page for this package.
Thanks.