There are 2 parts to it: On 09/04/25 11:18 pm, Otto Kekäläinen wrote: > I am still working on this > https://salsa.debian.org/go-team/packages/usql/-/merge_requests/1 > > Currently I am stuck with another build scope issue. Any tips from anyone? > > Seems the tests depend on files that the build system does not copy, > and Go tests fail.
Part-1: It does not seem to be that. I see several of | # github.com/xo/usql/internal | src/github.com/xo/usql/drivers/sqlserver/sqlserver.go:21:2: cannot find package "github.com/microsoft/go-mssqldb/ | azuread" in any of: But this should be excluded anyway as you are not building that driver right? I think you also need to pass in the TAGS to dh_auto_test. Here's an example for you https://salsa.debian.org/go-team/packages/singularity-container/-/commit/210ec08671c35faa8604bd731d47c8a23934be15 > ... > ok github.com/xo/usql/drivers/metadata 0.007s > ? github.com/xo/usql/drivers/metadata/mysql [no test files] > ? github.com/xo/usql/drivers/mymysql [no test files] > ? github.com/xo/usql/drivers/mysql [no test files] > ? github.com/xo/usql/drivers/sqlite3 [no test files] > # github.com/xo/usql/drivers/sqlite3/sqshared > [github.com/xo/usql/drivers/sqlite3/sqshared.test] > src/github.com/xo/usql/drivers/sqlite3/sqshared/reader_test.go:98:47: > undefined: types.ContainerStartOptions > src/github.com/xo/usql/drivers/sqlite3/sqshared/reader_test.go:123:49: > undefined: types.ContainerRemoveOptions Part-2: This is a different failure, unrelated to dependency stuff that rest of the log contains. It is due to docker (library) version mismatch. Try to replace types.ContainerStartOptions with container.StartOptions I had done something similar for crowdsec here if this helps https://salsa.debian.org/go-team/packages/crowdsec/-/commit/2b05ac047d59f387b9c99f16098b51135e0602f1
