[pkg-go] Bug#1006025: textql: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/dinedal/textql/inputs github.com/dinedal/textql/outputs github.com/dinedal/textql/sqlparser github.com/dinedal/textql/sqlparser/sqltypes github.com/dinedal/textql/storage github.com/dinedal/textql/test_util github.com/dinedal/textql/textql github.com/dinedal/textql/util returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:33:31 GMT 2022


Source: textql
Version: 2.0.3-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 8 github.com/dinedal/textql/inputs github.com/dinedal/textql/outputs github.com/dinedal/textql/sqlparser github.com/dinedal/textql/sqlparser/sqltypes github.com/dinedal/textql/storage github.com/dinedal/textql/test_util github.com/dinedal/textql/textql github.com/dinedal/textql/util
> internal/unsafeheader
> internal/goexperiment
> runtime/internal/sys
> internal/race
> runtime/internal/atomic
> internal/cpu
> internal/abi
> unicode/utf8
> unicode
> sync/atomic
> internal/itoa
> runtime/internal/math
> math/bits
> encoding
> unicode/utf16
> internal/bytealg
> math
> runtime
> internal/reflectlite
> sync
> internal/testlog
> runtime/cgo
> errors
> sort
> internal/oserror
> path
> io
> strconv
> syscall
> bytes
> hash
> strings
> crypto
> reflect
> bufio
> regexp/syntax
> internal/syscall/execenv
> time
> internal/syscall/unix
> regexp
> context
> io/fs
> internal/poll
> os
> encoding/binary
> internal/fmtsort
> encoding/base64
> crypto/sha1
> crypto/sha256
> crypto/sha512
> io/ioutil
> path/filepath
> fmt
> github.com/dinedal/textql/test_util
> os/exec
> log
> encoding/csv
> database/sql/driver
> encoding/hex
> flag
> net/url
> encoding/json
> encoding/gob
> os/user
> github.com/dinedal/textql/inputs
> database/sql
> github.com/dinedal/textql/sqlparser/sqltypes
> github.com/dinedal/textql/outputs
> github.com/mattn/go-sqlite3
> github.com/dinedal/textql/sqlparser
> github.com/dinedal/textql/util
> github.com/dinedal/textql/storage
> github.com/dinedal/textql/textql
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/dinedal/textql/inputs github.com/dinedal/textql/outputs github.com/dinedal/textql/sqlparser github.com/dinedal/textql/sqlparser/sqltypes github.com/dinedal/textql/storage github.com/dinedal/textql/test_util github.com/dinedal/textql/textql github.com/dinedal/textql/util
> === RUN   TestCSVInputFakesHeader
> --- PASS: TestCSVInputFakesHeader (0.00s)
> === RUN   TestCSVInputReadsHeader
> --- PASS: TestCSVInputReadsHeader (0.00s)
> === RUN   TestCSVInputReadsSimple
> --- PASS: TestCSVInputReadsSimple (0.00s)
> === RUN   TestCSVInputReadsBad
> --- PASS: TestCSVInputReadsBad (0.00s)
> === RUN   TestCSVInputHasAName
> --- PASS: TestCSVInputHasAName (0.00s)
> PASS
> ok  	github.com/dinedal/textql/inputs	0.002s
> ?   	github.com/dinedal/textql/outputs	[no test files]
> ?   	github.com/dinedal/textql/sqlparser	[no test files]
> === RUN   TestNull
> --- PASS: TestNull (0.00s)
> === RUN   TestNumeric
> --- PASS: TestNumeric (0.00s)
> === RUN   TestTime
> --- PASS: TestTime (0.00s)
> === RUN   TestBuildNumeric
> --- PASS: TestBuildNumeric (0.00s)
> === RUN   TestString
> --- PASS: TestString (0.00s)
> === RUN   TestBuildValue
> --- PASS: TestBuildValue (0.00s)
> === RUN   TestEncode
> --- PASS: TestEncode (0.00s)
> PASS
> ok  	github.com/dinedal/textql/sqlparser/sqltypes	0.010s
> === RUN   TestSQLiteStorageLoadInput
> --- PASS: TestSQLiteStorageLoadInput (0.00s)
> === RUN   TestSQLiteStorageSaveTo
> --- PASS: TestSQLiteStorageSaveTo (0.03s)
> === RUN   TestSQLiteStorageExecuteSQLStringNormalSQL
> --- PASS: TestSQLiteStorageExecuteSQLStringNormalSQL (0.00s)
> === RUN   TestSQLiteStorageExecuteSQLStringMissingSelect
> --- PASS: TestSQLiteStorageExecuteSQLStringMissingSelect (0.00s)
> === RUN   TestSQLiteStorageExecuteSQLStringMissingFromOuterQuery
> --- PASS: TestSQLiteStorageExecuteSQLStringMissingFromOuterQuery (0.00s)
> === RUN   TestSQLiteStorageExecuteSQLStringMissingFromSubQuery
> --- PASS: TestSQLiteStorageExecuteSQLStringMissingFromSubQuery (0.00s)
> === RUN   TestWhitespaceLoadsAsNull
> --- FAIL: TestWhitespaceLoadsAsNull (0.00s)
> panic: interface conversion: interface {} is string, not []uint8 [recovered]
> 	panic: interface conversion: interface {} is string, not []uint8
> 
> goroutine 39 [running]:
> testing.tRunner.func1.2({0x5e42a0, 0xc0001654d0})
> 	/usr/lib/go-1.17/src/testing/testing.go:1209 +0x24e
> testing.tRunner.func1()
> 	/usr/lib/go-1.17/src/testing/testing.go:1212 +0x218
> panic({0x5e42a0, 0xc0001654d0})
> 	/usr/lib/go-1.17/src/runtime/panic.go:1038 +0x215
> github.com/dinedal/textql/storage.TestWhitespaceLoadsAsNull(0xc00016a4e0)
> 	/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/dinedal/textql/storage/sqlite_test.go:254 +0x7a9
> testing.tRunner(0xc00016a4e0, 0x620a90)
> 	/usr/lib/go-1.17/src/testing/testing.go:1259 +0x102
> created by testing.(*T).Run
> 	/usr/lib/go-1.17/src/testing/testing.go:1306 +0x35a
> FAIL	github.com/dinedal/textql/storage	0.041s
> ?   	github.com/dinedal/textql/test_util	[no test files]
> ?   	github.com/dinedal/textql/textql	[no test files]
> ?   	github.com/dinedal/textql/util	[no test files]
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/dinedal/textql/inputs github.com/dinedal/textql/outputs github.com/dinedal/textql/sqlparser github.com/dinedal/textql/sqlparser/sqltypes github.com/dinedal/textql/storage github.com/dinedal/textql/test_util github.com/dinedal/textql/textql github.com/dinedal/textql/util returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/textql_2.0.3-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-go-maintainers mailing list