On Sun, 2026-08-09 at 17:47 +0300, Otto Kekäläinen wrote:
> Now I am seeing a bunch of issues:
> 
> https://salsa.debian.org/go-team/packages/victoriametrics/-/jobs/10103450
>    dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
> go: module _build/src/github.com/VictoriaMetrics/VictoriaMetrics
> listed in go.work file requires go >= 1.26.4, but go.work lists go
> 1.26; to update it:
> go work use
> cd _build && go install -trimpath -v -p 2
> go: module src/github.com/VictoriaMetrics/VictoriaMetrics listed in
> go.work file requires go >= 1.26.4, but go.work lists go 1.26; to
> update it:
> go work use
> dh_auto_build: error: cd _build && go install -trimpath -v -p 2
> returned exit code 1
> make: *** [debian/rules:16: binary] Error 25

  Should be fixed with dh-golang 1.66~exp6.

> https://salsa.debian.org/go-team/packages/etcd/-/jobs/10103461
> dh build --buildsystem=golang --builddirectory=_build
>    dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=_build
>    dh_autoreconf -O--buildsystem=golang -O--builddirectory=_build
>    dh_auto_configure -O--buildsystem=golang -O--builddirectory=_build
>    dh_auto_build -O--buildsystem=golang -O--builddirectory=_build
> dh_auto_build: error: Unable to open directory
> _build/src/go.etcd.io/etcd/api/v3/authpb No such file or directory
> make[1]: *** [debian/rules:40: build] Error 25
> make[1]: Leaving directory '/build/package/package'
> make: *** [debian/rules:17: binary] Error 2

  I'll need to take a look.

> https://salsa.debian.org/go-team/packages/umoci/-/jobs/10104111
> src/github.com/klauspost/compress/zstd/blockdec.go:15:2: no required
> module provides package github.com/cespare/xxhash; to add it:

  An updated version of golang-github-cespare-xxhash is available in
experimental; depend on golang-github-cespare-xxhash-dev >= 2.3.0-3.

> https://salsa.debian.org/go-team/packages/tiup/-/jobs/10103505
> src/github.com/pingcap/tiup/cmd/mirror.go:30:2:
> github.com/dlclark/[email protected] (replaced by
> ./src/github.com/dlclark/regexp2): reading
> src/github.com/dlclark/regexp2/go.mod: open
> /build/package/package/debian/_build/upstream/src/github.com/dlclark/regexp2/go.mod:
> no such file or directory
> src/github.com/pingcap/tiup/cmd/root.go:26:2:
> github.com/dlclark/[email protected] (replaced by
> ./src/github.com/dlclark/regexp2): reading
> src/github.com/dlclark/regexp2/go.mod: open
> /build/package/package/debian/_build/upstream/src/github.com/dlclark/regexp2/go.mod:
> no such file or directory
> src/github.com/pingcap/tiup/cmd/history.go:21:2:
> github.com/dlclark/[email protected] (replaced by
> ./src/github.com/dlclark/regexp2): reading
> src/github.com/dlclark/regexp2/go.mod: open
> /build/package/package/debian/_build/upstream/src/github.com/dlclark/regexp2/go.mod:
> no such file or directory
> src/github.com/pingcap/tiup/pkg/localdata/config.go:19:2:
> github.com/dlclark/[email protected] (replaced by
> ./src/github.com/dlclark/regexp2): reading
> src/github.com/dlclark/regexp2/go.mod: open
> /build/package/package/debian/_build/upstream/src/github.com/dlclark/regexp2/go.mod:
> no such file or directory
> ...

  Looks like golang-github-dlclark-regexp2 needs an upload to properly
include the go.mod file in the -dev package package. Alternatively, it
looks like golang-github-dlclark-regexp2-v2 is also packaged. If tiup
actually depends on v2 of that library, switch its dependencies to
depend on the v2 package.

> https://salsa.debian.org/go-team/packages/usql/-/jobs/10103516
>  cd debian/.build/upstream && go install -trimpath -v -p 2 -tags
> "mymysql mysql sqlite sqlite_app_armor sqlite_fts5 sqlite_introspect
> sqlite_json1 sqlite_math_functions sqlite_stat4 sqlite_vtable
> no_clickhouse no_csvq no_oracle no_sqlserver no_moderncsqlite"
> -ldflags="-linkmode=external -X
> github.com/xo/usql/text.CommandName=usql -X
> github.com/xo/usql/text.CommandVersion=0.19.19" -buildmode=pie
> github.com/xo/usql github.com/xo/usql/drivers/metadata
> github.com/xo/usql/drivers/metadata/informationschema
> github.com/xo/usql/drivers/metadata/mysql
> github.com/xo/usql/drivers/metadata/postgres
> github.com/xo/usql/drivers/mymysql github.com/xo/usql/drivers/mysql
> github.com/xo/usql/drivers/sqlite3
> github.com/xo/usql/drivers/sqlite3/sqshared github.com/xo/usql/env
> github.com/xo/usql/handler github.com/xo/usql/metacmd
> github.com/xo/usql/metacmd/charts github.com/xo/usql/rline
> github.com/xo/usql/stmt github.com/xo/usql/styles
> github.com/xo/usql/text
> src/github.com/xo/usql/run.go:14:2: github.com/ziutek/[email protected]
> (replaced by ./src/github.com/ziutek/mymysql): reading
> src/github.com/ziutek/mymysql/go.mod: open
> /build/package/package/debian/.build/upstream/src/github.com/ziutek/mymysql/go.mod:
> no such file or directory
> src/github.com/xo/usql/run.go:15:2: github.com/ziutek/[email protected]
> (replaced by ./src/github.com/ziutek/mymysql): reading
> src/github.com/ziutek/mymysql/go.mod: open
> /build/package/package/debian/.build/upstream/src/github.com/ziutek/mymysql/go.mod:
> no such file or directory
> src/github.com/xo/usql/run.go:16:2: github.com/ziutek/[email protected]
> (replaced by ./src/github.com/ziutek/mymysql): reading
> src/github.com/ziutek/mymysql/go.mod: open
> /build/package/package/debian/.build/upstream/src/github.com/ziutek/mymysql/go.mod:
> no such file or directory
> src/github.com/xo/usql/run.go:17:2: github.com/ziutek/[email protected]
> (replaced by ./src/github.com/ziutek/mymysql): reading
> src/github.com/ziutek/mymysql/go.mod: open
> /build/package/package/debian/.build/upstream/src/github.com/ziutek/mymysql/go.mod:
> no such file or directory
> ...

  golang-github-ziutek-mymysql doesn't include a go.mod file; I'll have
to take a look at why the auto-generation of a minimal go.mod isn't
working.

Mathias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to