Package: src:golang-github-mattn-go-sqlite3
Version: 1.14.15~ds1-1
Severity: serious
Tags: ftbfs patch
Dear maintainer:
During a rebuild of all packages in bookworm, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary-arch
dh binary-arch --builddirectory=_build --buildsystem=golang --with=golang
dh_update_autotools_config -a -O--builddirectory=_build
-O--buildsystem=golang
dh_autoreconf -a -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure -a -O--builddirectory=_build -O--buildsystem=golang
dh_auto_build -a -O--builddirectory=_build -O--buildsystem=golang
cd _build && go install -trimpath -v -p 2 github.com/mattn/go-sqlite3
github.com/mattn/go-sqlite3/upgrade
internal/goarch
internal/unsafeheader
internal/abi
internal/cpu
internal/goexperiment
internal/goos
runtime/internal/atomic
internal/bytealg
runtime/internal/math
runtime/internal/sys
runtime/internal/syscall
internal/race
runtime
sync/atomic
internal/itoa
math/bits
math
unicode/utf8
crypto/internal/subtle
crypto/subtle
unicode
crypto/internal/boring/sig
github.com/mattn/go-sqlite3/upgrade
sync
internal/reflectlite
internal/testlog
runtime/cgo
errors
internal/oserror
syscall
time
io
hash
context
strconv
sort
internal/syscall/unix
internal/poll
crypto
reflect
internal/syscall/execenv
path
io/fs
os
strings
encoding/binary
internal/fmtsort
fmt
crypto/cipher
crypto/internal/boring
crypto/sha1
crypto/sha256
crypto/sha512
database/sql/driver
net/url
database/sql
github.com/mattn/go-sqlite3
dh_auto_test -a -O--builddirectory=_build -O--buildsystem=golang
cd _build && go test -vet=off -v -p 2 github.com/mattn/go-sqlite3
github.com/mattn/go-sqlite3/upgrade
=== RUN TestBackupStepByStep
--- PASS: TestBackupStepByStep (0.21s)
=== RUN TestBackupAllRemainingPages
--- PASS: TestBackupAllRemainingPages (0.20s)
=== RUN TestBackupError
--- PASS: TestBackupError (0.00s)
=== RUN TestCallbackArgCast
--- PASS: TestCallbackArgCast (0.00s)
=== RUN TestCallbackConverters
--- PASS: TestCallbackConverters (0.00s)
=== RUN TestCallbackReturnAny
--- PASS: TestCallbackReturnAny (0.00s)
=== RUN TestSimpleError
--- PASS: TestSimpleError (0.00s)
=== RUN TestCorruptDbErrors
--- PASS: TestCorruptDbErrors (0.00s)
=== RUN TestSqlLogicErrors
--- PASS: TestSqlLogicErrors (0.00s)
=== RUN TestExtendedErrorCodes_ForeignKey
--- PASS: TestExtendedErrorCodes_ForeignKey (0.01s)
=== RUN TestExtendedErrorCodes_NotNull
--- PASS: TestExtendedErrorCodes_NotNull (0.01s)
=== RUN TestExtendedErrorCodes_Unique
--- PASS: TestExtendedErrorCodes_Unique (0.00s)
=== RUN TestError_SystemErrno
--- PASS: TestError_SystemErrno (0.00s)
=== RUN TestCryptEncoders
--- PASS: TestCryptEncoders (0.00s)
=== RUN TestBeginTxCancel
--- PASS: TestBeginTxCancel (0.20s)
=== RUN TestStmtReadonly
--- PASS: TestStmtReadonly (0.00s)
=== RUN TestNamedParams
--- PASS: TestNamedParams (0.00s)
=== RUN TestShortTimeout
--- PASS: TestShortTimeout (0.23s)
=== RUN TestExecContextCancel
--- PASS: TestExecContextCancel (2.26s)
=== RUN TestQueryRowContextCancel
--- PASS: TestQueryRowContextCancel (1.03s)
=== RUN TestQueryRowContextCancelParallel
--- PASS: TestQueryRowContextCancelParallel (4.60s)
=== RUN TestExecCancel
--- PASS: TestExecCancel (0.00s)
=== RUN TestOpenContext
--- PASS: TestOpenContext (0.01s)
=== RUN TestFileCopyTruncate
--- PASS: TestFileCopyTruncate (0.01s)
=== RUN TestExtensionsError
--- PASS: TestExtensionsError (0.00s)
=== RUN TestLoadExtensionError
--- PASS: TestLoadExtensionError (0.00s)
=== RUN TestFTS3
--- PASS: TestFTS3 (0.01s)
=== RUN TestFTS4
--- PASS: TestFTS4 (0.01s)
=== RUN TestOpen
--- PASS: TestOpen (0.01s)
=== RUN TestOpenWithVFS
--- PASS: TestOpenWithVFS (0.00s)
=== RUN TestOpenNoCreate
--- PASS: TestOpenNoCreate (0.00s)
=== RUN TestReadonly
--- PASS: TestReadonly (0.00s)
=== RUN TestForeignKeys
--- PASS: TestForeignKeys (0.00s)
=== RUN TestRecursiveTriggers
--- PASS: TestRecursiveTriggers (0.00s)
=== RUN TestClose
--- PASS: TestClose (0.00s)
=== RUN TestInsert
--- PASS: TestInsert (0.01s)
=== RUN TestUpsert
--- PASS: TestUpsert (0.04s)
=== RUN TestUpdate
--- PASS: TestUpdate (0.01s)
=== RUN TestDelete
--- PASS: TestDelete (0.01s)
=== RUN TestBooleanRoundtrip
--- PASS: TestBooleanRoundtrip (0.01s)
=== RUN TestTimestamp
--- PASS: TestTimestamp (0.07s)
=== RUN TestBoolean
--- PASS: TestBoolean (0.01s)
=== RUN TestFloat32
--- PASS: TestFloat32 (0.00s)
=== RUN TestNull
--- PASS: TestNull (0.00s)
=== RUN TestTransaction
--- PASS: TestTransaction (0.01s)
=== RUN TestWAL
--- PASS: TestWAL (0.01s)
=== RUN TestTimezoneConversion
sqlite3_test.go:952: Failed to create table: Invalid _loc: US/Central:
unknown time zone US/Central
--- FAIL: TestTimezoneConversion (0.04s)
=== RUN TestExecer
--- PASS: TestExecer (0.01s)
=== RUN TestQueryer
--- PASS: TestQueryer (0.00s)
=== RUN TestStress
--- PASS: TestStress (2.66s)
=== RUN TestDateTimeLocal
sqlite3_test.go:1150: Failed to scan datetime: Invalid _loc: Asia/Tokyo:
unknown time zone Asia/Tokyo
--- FAIL: TestDateTimeLocal (0.00s)
=== RUN TestVersion
--- PASS: TestVersion (0.00s)
=== RUN TestStringContainingZero
--- PASS: TestStringContainingZero (0.01s)
=== RUN TestDateTimeNow
--- PASS: TestDateTimeNow (0.00s)
=== RUN TestFunctionRegistration
--- PASS: TestFunctionRegistration (0.00s)
=== RUN TestAggregatorRegistration
--- PASS: TestAggregatorRegistration (0.00s)
=== RUN TestAggregatorRegistration_GenericReturn
--- PASS: TestAggregatorRegistration_GenericReturn (0.00s)
=== RUN TestCollationRegistration
--- PASS: TestCollationRegistration (0.00s)
=== RUN TestDeclTypes
--- PASS: TestDeclTypes (0.00s)
=== RUN TestPinger
--- PASS: TestPinger (0.00s)
=== RUN TestUpdateAndTransactionHooks
--- PASS: TestUpdateAndTransactionHooks (0.00s)
=== RUN TestAuthorizer
--- PASS: TestAuthorizer (0.00s)
=== RUN TestSetFileControlInt
=== RUN TestSetFileControlInt/PERSIST_WAL
--- PASS: TestSetFileControlInt (0.01s)
--- PASS: TestSetFileControlInt/PERSIST_WAL (0.01s)
=== RUN TestNonColumnString
--- PASS: TestNonColumnString (0.00s)
=== RUN TestNilAndEmptyBytes
--- PASS: TestNilAndEmptyBytes (0.00s)
=== RUN TestInsertNilByteSlice
--- PASS: TestInsertNilByteSlice (0.00s)
=== RUN TestNamedParam
--- PASS: TestNamedParam (0.01s)
=== RUN TestSuite
=== RUN TestSuite/TestResult
=== RUN TestSuite/TestBlobs
=== RUN TestSuite/TestMultiBlobs
=== RUN TestSuite/TestNullZeroLengthBlobs
=== RUN TestSuite/TestManyQueryRow
=== RUN TestSuite/TestTxQuery
=== RUN TestSuite/TestPreparedStmt
=== RUN TestSuite/TestExecEmptyQuery
--- PASS: TestSuite (0.74s)
--- PASS: TestSuite/TestResult (0.00s)
--- PASS: TestSuite/TestBlobs (0.01s)
--- PASS: TestSuite/TestMultiBlobs (0.01s)
--- PASS: TestSuite/TestNullZeroLengthBlobs (0.01s)
--- PASS: TestSuite/TestManyQueryRow (0.34s)
--- PASS: TestSuite/TestTxQuery (0.00s)
--- PASS: TestSuite/TestPreparedStmt (0.37s)
--- PASS: TestSuite/TestExecEmptyQuery (0.00s)
FAIL
FAIL github.com/mattn/go-sqlite3 12.496s
? github.com/mattn/go-sqlite3/upgrade [no test files]
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2
github.com/mattn/go-sqlite3 github.com/mattn/go-sqlite3/upgrade returned exit code 1
make: *** [debian/rules:6: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch 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.