[pkg-go] Bug#1027367: golang-github-jinzhu-gorm: FTBFS in bullseye (missing build-depends on tzdata)

Santiago Vila sanvila at debian.org
Fri Dec 30 18:02:05 GMT 2022


Package: src:golang-github-jinzhu-gorm
Version: 1.9.6-1
Severity: serious
Tags: ftbfs patch

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules build-indep
dh build-indep --buildsystem=golang --with=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 2 github.com/jinzhu/gorm github.com/jinzhu/gorm/dialects/mssql github.com/jinzhu/gorm/dialects/mysql github.com/jinzhu/gorm/dialects/postgres github.com/jinzhu/gorm/dialects/sqlite
internal/unsafeheader
internal/cpu
runtime/internal/atomic
runtime/internal/sys
internal/bytealg
runtime/internal/math
internal/race
sync/atomic
unicode
runtime
unicode/utf8
math/bits
math
internal/testlog
encoding
unicode/utf16
crypto/internal/subtle
crypto/subtle
container/list
vendor/golang.org/x/crypto/cryptobyte/asn1
internal/nettrace
runtime/cgo
vendor/golang.org/x/crypto/internal/subtle
github.com/lib/pq/oid
sync
internal/reflectlite
math/rand
internal/singleflight
errors
sort
io
internal/oserror
syscall
bytes
hash
strconv
crypto
reflect
time
context
internal/syscall/unix
internal/poll
internal/syscall/execenv
os
encoding/binary
crypto/sha1
internal/fmtsort
fmt
encoding/base64
strings
regexp/syntax
database/sql/driver
database/sql
encoding/json
regexp
github.com/jinzhu/inflection
go/token
path/filepath
log
go/scanner
crypto/cipher
go/ast
crypto/des
crypto/md5
bufio
github.com/jinzhu/gorm
crypto/aes
math/big
crypto/rand
crypto/elliptic
crypto/internal/randutil
crypto/sha512
encoding/asn1
crypto/ed25519/internal/edwards25519
vendor/golang.org/x/crypto/cryptobyte
crypto/ed25519
crypto/hmac
crypto/rc4
crypto/ecdsa
crypto/rsa
crypto/sha256
crypto/dsa
encoding/hex
encoding/pem
crypto/x509/pkix
io/ioutil
vendor/golang.org/x/net/dns/dnsmessage
net/url
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/poly1305
net
vendor/golang.org/x/sys/cpu
vendor/golang.org/x/crypto/chacha20poly1305
vendor/golang.org/x/crypto/curve25519
vendor/golang.org/x/crypto/hkdf
golang.org/x/crypto/md4
golang.org/x/net/context
github.com/lib/pq/scram
os/user
path
github.com/lib/pq/hstore
github.com/mattn/go-sqlite3
crypto/x509
crypto/tls
github.com/denisenkom/go-mssqldb
github.com/go-sql-driver/mysql
github.com/jinzhu/gorm/dialects/mysql
github.com/lib/pq
github.com/jinzhu/gorm/dialects/mssql
github.com/jinzhu/gorm/dialects/sqlite
github.com/jinzhu/gorm/dialects/postgres
    dh_auto_test -i -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/jinzhu/gorm github.com/jinzhu/gorm/dialects/mssql github.com/jinzhu/gorm/dialects/mysql github.com/jinzhu/gorm/dialects/postgres github.com/jinzhu/gorm/dialects/sqlite
testing sqlite3...


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:292)
[2022-11-30 15:52:24]  no such table: animals 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:292)
[2022-11-30 15:52:24]  no such table: user_languages 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: shorts 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: really_long_thing_that_references_shorts 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: really_long_table_name_to_test_my_sql_name_length_limits 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: not_so_long_table_names 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: products 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: emails 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: addresses 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: credit_cards 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: companies 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: roles 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: languages 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: hn_posts 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: engadget_posts 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: animals 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: users 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: join_tables 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: posts 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: categories 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: comments 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: cats 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: dogs 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: hamsters 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: toys 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: element_with_ignored_field 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)
[2022-11-30 15:52:24]  no such table: places 
=== RUN   TestRegisterCallback


[2022-11-30 15:52:24] [info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:28  


[2022-11-30 15:52:24] [info] registering callback `before_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:29  


[2022-11-30 15:52:24] [info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:30  


[2022-11-30 15:52:24] [info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:31  


[2022-11-30 15:52:24] [info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:32  
--- PASS: TestRegisterCallback (0.00s)
=== RUN   TestRegisterCallbackWithOrder


[2022-11-30 15:52:24] [info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:41  


[2022-11-30 15:52:24] [info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:42  


[2022-11-30 15:52:24] [info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:43  


[2022-11-30 15:52:24] [info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:44  


[2022-11-30 15:52:24] [info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:51  


[2022-11-30 15:52:24] [info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:52  


[2022-11-30 15:52:24] [info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:53  


[2022-11-30 15:52:24] [info] registering callback `before_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:54  


[2022-11-30 15:52:24] [info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:55  
--- PASS: TestRegisterCallbackWithOrder (0.00s)
=== RUN   TestRegisterCallbackWithComplexOrder


[2022-11-30 15:52:24] [info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:65  


[2022-11-30 15:52:24] [info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:66  


[2022-11-30 15:52:24] [info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:67  


[2022-11-30 15:52:24] [info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:75  


[2022-11-30 15:52:24] [info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:76  


[2022-11-30 15:52:24] [info] registering callback `before_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:77  


[2022-11-30 15:52:24] [info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:78  


[2022-11-30 15:52:24] [info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:79  
--- PASS: TestRegisterCallbackWithComplexOrder (0.00s)
=== RUN   TestReplaceCallback


[2022-11-30 15:52:24] [info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:91  


[2022-11-30 15:52:24] [info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:92  


[2022-11-30 15:52:24] [info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:93  


[2022-11-30 15:52:24] [info] replacing callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:94  
--- PASS: TestReplaceCallback (0.00s)
=== RUN   TestRemoveCallback


[2022-11-30 15:52:24] [info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:104  


[2022-11-30 15:52:24] [info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:105  


[2022-11-30 15:52:24] [info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:106  


[2022-11-30 15:52:24] [info] removing callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:107  
--- PASS: TestRemoveCallback (0.00s)
=== RUN   TestCloneSearch
--- PASS: TestCloneSearch (0.00s)
=== RUN   TestWhereCloneCorruption
=== RUN   TestWhereCloneCorruption/w=1
=== RUN   TestWhereCloneCorruption/w=2
=== RUN   TestWhereCloneCorruption/w=3
=== RUN   TestWhereCloneCorruption/w=4
=== RUN   TestWhereCloneCorruption/w=5
=== RUN   TestWhereCloneCorruption/w=6
=== RUN   TestWhereCloneCorruption/w=7
=== RUN   TestWhereCloneCorruption/w=8
--- PASS: TestWhereCloneCorruption (0.00s)
     --- PASS: TestWhereCloneCorruption/w=1 (0.00s)
     --- PASS: TestWhereCloneCorruption/w=2 (0.00s)
     --- PASS: TestWhereCloneCorruption/w=3 (0.00s)
     --- PASS: TestWhereCloneCorruption/w=4 (0.00s)
     --- PASS: TestWhereCloneCorruption/w=5 (0.00s)
     --- PASS: TestWhereCloneCorruption/w=6 (0.00s)
     --- PASS: TestWhereCloneCorruption/w=7 (0.00s)
     --- PASS: TestWhereCloneCorruption/w=8 (0.00s)
=== RUN   TestBelongsTo
--- PASS: TestBelongsTo (0.02s)
=== RUN   TestBelongsToOverrideForeignKey1
--- PASS: TestBelongsToOverrideForeignKey1 (0.00s)
=== RUN   TestBelongsToOverrideForeignKey2
--- PASS: TestBelongsToOverrideForeignKey2 (0.00s)
=== RUN   TestHasOne
--- PASS: TestHasOne (0.02s)
=== RUN   TestHasOneOverrideForeignKey1
--- PASS: TestHasOneOverrideForeignKey1 (0.00s)
=== RUN   TestHasOneOverrideForeignKey2
--- PASS: TestHasOneOverrideForeignKey2 (0.00s)
=== RUN   TestHasMany
--- PASS: TestHasMany (0.03s)
=== RUN   TestHasManyOverrideForeignKey1
--- PASS: TestHasManyOverrideForeignKey1 (0.00s)
=== RUN   TestHasManyOverrideForeignKey2
--- PASS: TestHasManyOverrideForeignKey2 (0.00s)
=== RUN   TestManyToMany
--- PASS: TestManyToMany (0.06s)
=== RUN   TestRelated
--- PASS: TestRelated (0.00s)
=== RUN   TestForeignKey
--- PASS: TestForeignKey (0.00s)
=== RUN   TestLongForeignKey
--- PASS: TestLongForeignKey (0.00s)
=== RUN   TestLongForeignKeyWithShortDest
--- PASS: TestLongForeignKeyWithShortDest (0.00s)
=== RUN   TestHasManyChildrenWithOneStruct
--- PASS: TestHasManyChildrenWithOneStruct (0.00s)
=== RUN   TestAutoSaveBelongsToAssociation


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/association_test.go:901)
[2022-11-30 15:52:24]  no such column: deleted_at 
--- PASS: TestAutoSaveBelongsToAssociation (0.03s)
=== RUN   TestAutoSaveHasOneAssociation
--- PASS: TestAutoSaveHasOneAssociation (0.01s)
=== RUN   TestAutoSaveMany2ManyAssociation
--- PASS: TestAutoSaveMany2ManyAssociation (0.02s)
=== RUN   TestRunCallbacks
--- PASS: TestRunCallbacks (0.01s)
=== RUN   TestCallbacksWithErrors


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:117)
[2022-11-30 15:52:24]  invalid product 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:125)
[2022-11-30 15:52:24]  can't save 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:133)
[2022-11-30 15:52:24]  can't update 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:146)
[2022-11-30 15:52:24]  can't save 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:152)
[2022-11-30 15:52:24]  can't delete 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:161)
[2022-11-30 15:52:24]  can't save 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:172)
[2022-11-30 15:52:24]  can't delete 
--- PASS: TestCallbacksWithErrors (0.01s)
=== RUN   TestGetCallback


[2022-11-30 15:52:24] [info] registering callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:185  


[2022-11-30 15:52:24] [info] replacing callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:195  


[2022-11-30 15:52:24] [info] removing callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:205  


[2022-11-30 15:52:24] [info] registering callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:210  


[2022-11-30 15:52:24] [warning] duplicated callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:210  
--- PASS: TestGetCallback (0.00s)
=== RUN   TestUseDefaultCallback
--- PASS: TestUseDefaultCallback (0.00s)
=== RUN   TestCreate
--- PASS: TestCreate (0.00s)
=== RUN   TestCreateEmptyStrut
--- PASS: TestCreateEmptyStrut (0.00s)
=== RUN   TestCreateWithExistingTimestamp
--- PASS: TestCreateWithExistingTimestamp (0.00s)
=== RUN   TestCreateWithNowFuncOverride
--- PASS: TestCreateWithNowFuncOverride (0.00s)
=== RUN   TestCreateWithAutoIncrement
     create_test.go:151: Skipping this because only postgres properly support auto_increment on a non-primary_key column
--- SKIP: TestCreateWithAutoIncrement (0.00s)
=== RUN   TestCreateWithNoGORMPrimayKey
--- PASS: TestCreateWithNoGORMPrimayKey (0.00s)
=== RUN   TestCreateWithNoStdPrimaryKeyAndDefaultValues
--- PASS: TestCreateWithNoStdPrimaryKeyAndDefaultValues (0.00s)
=== RUN   TestAnonymousScanner
--- PASS: TestAnonymousScanner (0.00s)
=== RUN   TestAnonymousField
--- PASS: TestAnonymousField (0.00s)
=== RUN   TestSelectWithCreate
--- PASS: TestSelectWithCreate (0.00s)
=== RUN   TestOmitWithCreate
--- PASS: TestOmitWithCreate (0.00s)
=== RUN   TestCreateIgnore
--- PASS: TestCreateIgnore (0.00s)
=== RUN   TestCustomizeColumn


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:25)
[2022-11-30 15:52:24]  no such table: customize_columns 
--- PASS: TestCustomizeColumn (0.00s)
=== RUN   TestCustomColumnAndIgnoredFieldClash


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:64)
[2022-11-30 15:52:24]  no such table: custom_column_and_ignored_field_clashes 
--- PASS: TestCustomColumnAndIgnoredFieldClash (0.00s)
=== RUN   TestManyToManyWithCustomizedColumn


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:81)
[2022-11-30 15:52:24]  no such table: customize_people 
--- PASS: TestManyToManyWithCustomizedColumn (0.01s)
=== RUN   TestOneToOneWithCustomizedColumn


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:121)
[2022-11-30 15:52:24]  no such table: customize_users 
--- PASS: TestOneToOneWithCustomizedColumn (0.01s)
=== RUN   TestOneToManyWithCustomizedColumn


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:176)
[2022-11-30 15:52:24]  no such table: promotion_discounts 
--- PASS: TestOneToManyWithCustomizedColumn (0.01s)
=== RUN   TestHasOneWithPartialCustomizedColumn


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:211)
[2022-11-30 15:52:24]  no such table: promotion_rules 
--- PASS: TestHasOneWithPartialCustomizedColumn (0.01s)
=== RUN   TestBelongsToWithPartialCustomizedColumn


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:249)
[2022-11-30 15:52:24]  no such table: promotion_benefits 
--- PASS: TestBelongsToWithPartialCustomizedColumn (0.01s)
=== RUN   TestSelfReferencingMany2ManyColumn


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:290)
[2022-11-30 15:52:24]  no such table: self_referencing_users 
--- PASS: TestSelfReferencingMany2ManyColumn (0.02s)
=== RUN   TestDelete
--- PASS: TestDelete (0.00s)
=== RUN   TestInlineDelete
--- PASS: TestInlineDelete (0.01s)
=== RUN   TestSoftDelete
--- PASS: TestSoftDelete (0.00s)
=== RUN   TestSoftDeleteWithCustomizedDeletedAtColumnName
--- PASS: TestSoftDeleteWithCustomizedDeletedAtColumnName (0.00s)
=== RUN   TestPrefixColumnNameForEmbeddedStruct
--- PASS: TestPrefixColumnNameForEmbeddedStruct (0.00s)
=== RUN   TestSaveAndQueryEmbeddedStruct
--- PASS: TestSaveAndQueryEmbeddedStruct (0.00s)
=== RUN   TestEmbeddedPointerTypeStruct
--- PASS: TestEmbeddedPointerTypeStruct (0.00s)
=== RUN   TestErrorsCanBeUsedOutsideGorm
--- PASS: TestErrorsCanBeUsedOutsideGorm (0.00s)
=== RUN   TestCalculateField
--- PASS: TestCalculateField (0.00s)
=== RUN   TestFieldSet
--- PASS: TestFieldSet (0.00s)
=== RUN   TestJoinTable


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/join_table_test.go:56)
[2022-11-30 15:52:24]  no such table: person_addresses 
--- PASS: TestJoinTable (0.01s)
=== RUN   TestEmbeddedMany2ManyRelationship
--- PASS: TestEmbeddedMany2ManyRelationship (0.01s)
=== RUN   TestOpen_ReturnsError_WithBadArgs
=== RUN   TestOpen_ReturnsError_WithBadArgs/42
=== RUN   TestOpen_ReturnsError_WithBadArgs/2022-11-30_15:52:24.857959222_+0000_UTC_m=+0.456957948
=== RUN   TestOpen_ReturnsError_WithBadArgs/0xc000501450
--- PASS: TestOpen_ReturnsError_WithBadArgs (0.00s)
     --- PASS: TestOpen_ReturnsError_WithBadArgs/42 (0.00s)
     --- PASS: TestOpen_ReturnsError_WithBadArgs/2022-11-30_15:52:24.857959222_+0000_UTC_m=+0.456957948 (0.00s)
     --- PASS: TestOpen_ReturnsError_WithBadArgs/0xc000501450 (0.00s)
=== RUN   TestStringPrimaryKey


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:112)
[2022-11-30 15:52:24]  no such table: uuid_structs 
--- PASS: TestStringPrimaryKey (0.01s)
=== RUN   TestExceptionsWithInvalidSql


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:128)
[2022-11-30 15:52:24]  no such table:  


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:132)
[2022-11-30 15:52:24]  no such column: aaa 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:136)
[2022-11-30 15:52:24]  no such column: sdsd.zaaa 
--- PASS: TestExceptionsWithInvalidSql (0.00s)
=== RUN   TestSetTable


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:170)
[2022-11-30 15:52:24]  no such table: invalid_table 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:174)
[2022-11-30 15:52:24]  no such table: deleted_users 
--- PASS: TestSetTable (0.03s)
=== RUN   TestHasTable


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:220)
[2022-11-30 15:52:24]  no such table: foos 
--- PASS: TestHasTable (0.00s)
=== RUN   TestTableName
--- PASS: TestTableName (0.00s)
=== RUN   TestTableNameConcurrently
--- PASS: TestTableNameConcurrently (0.00s)
=== RUN   TestNullValues


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:322)
[2022-11-30 15:52:24]  no such table: null_values 
--- PASS: TestNullValues (0.01s)
=== RUN   TestNullValuesWithFirstOrCreate


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:360)
[2022-11-30 15:52:24]  NOT NULL constraint failed: null_values.name 
--- PASS: TestNullValuesWithFirstOrCreate (0.00s)
=== RUN   TestTransaction


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:419)
[2022-11-30 15:52:24]  sql: transaction has already been committed or rolled back 


(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:451)
[2022-11-30 15:52:24]  sql: transaction has already been committed or rolled back 
--- PASS: TestTransaction (0.01s)
=== RUN   TestTransactionWithBlock
--- PASS: TestTransactionWithBlock (0.00s)
=== RUN   TestTransaction_NoErrorOnRollbackAfterCommit
--- PASS: TestTransaction_NoErrorOnRollbackAfterCommit (0.00s)
=== RUN   TestTransactionReadonly
     main_test.go:567: sqlite does not support readonly transactions
--- SKIP: TestTransactionReadonly (0.00s)
=== RUN   TestRow
--- PASS: TestRow (0.01s)
=== RUN   TestRows
--- PASS: TestRows (0.01s)
=== RUN   TestScanRows
--- PASS: TestScanRows (0.01s)
=== RUN   TestScan
--- PASS: TestScan (0.01s)
=== RUN   TestRaw
--- PASS: TestRaw (0.01s)
=== RUN   TestGroup
--- PASS: TestGroup (0.00s)
=== RUN   TestJoins
--- PASS: TestJoins (0.00s)
=== RUN   TestScanIdenticalColumnNames
--- PASS: TestScanIdenticalColumnNames (0.00s)
=== RUN   TestJoinsWithSelect
--- PASS: TestJoinsWithSelect (0.00s)
=== RUN   TestHaving
--- PASS: TestHaving (0.00s)
=== RUN   TestQueryBuilderSubselectInWhere
--- PASS: TestQueryBuilderSubselectInWhere (0.01s)
=== RUN   TestQueryBuilderRawQueryWithSubquery
--- PASS: TestQueryBuilderRawQueryWithSubquery (0.01s)
=== RUN   TestQueryBuilderSubselectInHaving
--- PASS: TestQueryBuilderSubselectInHaving (0.01s)
=== RUN   TestTimeWithZone
--- FAIL: TestTimeWithZone (0.00s)
panic: time: missing Location in call to Date [recovered]
	panic: time: missing Location in call to Date

goroutine 1590 [running]:
testing.tRunner.func1.1(0x8643c0, 0x96a1f0)
	/usr/lib/go-1.15/src/testing/testing.go:1072 +0x30d
testing.tRunner.func1(0xc0003ded80)
	/usr/lib/go-1.15/src/testing/testing.go:1075 +0x41a
panic(0x8643c0, 0x96a1f0)
	/usr/lib/go-1.15/src/runtime/panic.go:969 +0x1b9
time.Date(0x7dd, 0x2, 0x13, 0x1, 0x33, 0x31, 0x75bcd15, 0x0, 0x0, 0x516c00, ...)
	/usr/lib/go-1.15/src/time/time.go:1344 +0x636
github.com/jinzhu/gorm_test.TestTimeWithZone(0xc0003ded80)
	/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:977 +0x98
testing.tRunner(0xc0003ded80, 0x909d88)
	/usr/lib/go-1.15/src/testing/testing.go:1123 +0xef
created by testing.(*T).Run
	/usr/lib/go-1.15/src/testing/testing.go:1168 +0x2b3
FAIL	github.com/jinzhu/gorm	0.586s
?   	github.com/jinzhu/gorm/dialects/mssql	[no test files]
?   	github.com/jinzhu/gorm/dialects/mysql	[no test files]
?   	github.com/jinzhu/gorm/dialects/postgres	[no test files]
?   	github.com/jinzhu/gorm/dialects/sqlite	[no test files]
FAIL
dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/jinzhu/gorm github.com/jinzhu/gorm/dialects/mssql github.com/jinzhu/gorm/dialects/mysql github.com/jinzhu/gorm/dialects/postgres github.com/jinzhu/gorm/dialects/sqlite returned exit code 1
make: *** [debian/rules:4: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-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.



More information about the Pkg-go-maintainers mailing list