Hi,

I am currently working on packaging docker-compose v2. there is one missing dependency, and one that is too outdated:
golang-github-jonboulle-clockwork

I updated it to v0.5.0 in the Git repository (https://salsa.debian.org/go-team/packages/golang-github-jonboulle-clockwork) then realised that it was quite a big jump of versions, so I ran ratt:

$ ratt ../golang-github-jonboulle-clockwork_0.5.0-1_amd64.changes
2025/02/16 13:34:06 Loading changes file "../golang-github-jonboulle-clockwork_0.5.0-1_amd64.changes" 2025/02/16 13:34:06 - 1 binary packages: golang-github-jonboulle-clockwork-dev
2025/02/16 13:34:06 Corresponding .debs (will be injected when building):
2025/02/16 13:34:06 ../golang-github-jonboulle-clockwork-dev_0.5.0-1_all.deb
2025/02/16 13:34:06 Setting -dist=sid (from .changes file)
2025/02/16 13:34:07 Figuring out reverse build dependencies using dose-ceve(1). This might take a while
2025/02/16 13:34:59 Found 72 reverse build dependencies
2025/02/16 13:34:59 Setting -sbuild_dist=unstable (from .changes file)
2025/02/16 13:34:59 Building package 1 of 72: golang-github-canonical-candid
2025/02/16 13:37:02 Building package 2 of 72: minio-client
2025/02/16 13:40:19 Building package 3 of 72: golang-github-tonistiigi-fsutil 2025/02/16 13:42:07 Building package 4 of 72: golang-github-mudler-docker-companion
2025/02/16 13:44:02 Building package 5 of 72: victoriametrics
2025/02/16 13:48:38 Building package 6 of 72: golang-github-katalix-go-l2tp
2025/02/16 13:50:13 Building package 7 of 72: crowdsec-custom-bouncer
2025/02/16 13:52:30 Building package 8 of 72: golang-github-crc-org-crc
2025/02/16 13:54:51 Building package 9 of 72: golang-github-go-kit-kit
2025/02/16 13:57:46 Building package 10 of 72: go-containerregistry
2025/02/16 14:00:15 Building package 11 of 72: golang-github-vulcand-oxy
2025/02/16 14:01:49 Building package 12 of 72: docker.io
2025/02/16 14:13:08 Building package 13 of 72: gitlab-ci-multi-runner
2025/02/16 14:18:56 building gitlab-ci-multi-runner failed: exit status 2
2025/02/16 14:18:56 Building package 14 of 72: golang-github-optiopay-kafka
2025/02/16 14:21:14 Building package 15 of 72: prometheus-sql-exporter
2025/02/16 14:23:22 Building package 16 of 72: oci-seccomp-bpf-hook
2025/02/16 14:26:02 Building package 17 of 72: golang-github-micromdm-scep
2025/02/16 14:27:55 Building package 18 of 72: singularity-container
2025/02/16 14:30:59 building singularity-container failed: exit status 2
2025/02/16 14:30:59 Building package 19 of 72: aptly
2025/02/16 14:33:45 Building package 20 of 72: golang-github-containers-image 2025/02/16 14:38:07 Building package 21 of 72: golang-github-containers-common 2025/02/16 14:45:59 Building package 22 of 72: golang-github-openshift-imagebuilder 2025/02/16 14:50:05 Building package 23 of 72: golang-github-xordataexchange-crypt 2025/02/16 14:53:43 Building package 24 of 72: golang-github-docker-leadership
2025/02/16 14:55:26 Building package 25 of 72: golang-github-minio-colorjson
2025/02/16 14:56:44 Building package 26 of 72: golang-github-gravitational-trace 2025/02/16 14:58:20 Building package 27 of 72: golang-github-smallstep-certificates
2025/02/16 15:01:42 Building package 28 of 72: rekor
2025/02/16 15:06:29 Building package 29 of 72: golang-github-containerd-nydus-snapshotter 2025/02/16 15:14:19 Building package 30 of 72: golang-github-samalba-dockerclient 2025/02/16 15:16:32 Building package 31 of 72: golang-gitlab-gitlab-org-labkit
2025/02/16 15:18:46 Building package 32 of 72: certstream-server-go
2025/02/16 15:21:59 Building package 33 of 72: golang-github-rootless-containers-bypass4netns
2025/02/16 15:24:42 Building package 34 of 72: shoelaces
2025/02/16 15:27:26 Building package 35 of 72: golang-github-theupdateframework-go-tuf
2025/02/16 15:31:05 Building package 36 of 72: trillian
2025/02/16 15:33:07 Building package 37 of 72: skopeo
2025/02/16 15:38:18 Building package 38 of 72: cosign
2025/02/16 15:46:38 Building package 39 of 72: golang-github-grpc-ecosystem-go-grpc-middleware
2025/02/16 15:49:22 Building package 40 of 72: golang-github-sigstore-fulcio
2025/02/16 15:51:53 Building package 41 of 72: etcd
2025/02/16 15:52:51 building etcd failed: exit status 2
2025/02/16 15:52:51 Building package 42 of 72: lxd
2025/02/16 16:03:02 Building package 43 of 72: crowdsec
2025/02/16 16:10:42 Building package 44 of 72: golang-github-minio-pkg
2025/02/16 16:13:51 Building package 45 of 72: sigstore-go
2025/02/16 16:18:27 Building package 46 of 72: vip-manager
2025/02/16 16:20:40 Building package 47 of 72: caddy
2025/02/16 16:27:08 Building package 48 of 72: golang-github-vulcand-predicate
2025/02/16 16:28:59 Building package 49 of 72: gitsign
2025/02/16 16:36:04 Building package 50 of 72: golang-github-containers-buildah
2025/02/16 16:43:45 Building package 51 of 72: golang-github-coreos-go-oidc
2025/02/16 16:45:19 Building package 52 of 72: golang-github-russellhaering-goxmldsig
2025/02/16 16:46:46 Building package 53 of 72: distrobuilder
2025/02/16 16:49:59 Building package 54 of 72: golang-github-crowdsecurity-go-cs-bouncer
2025/02/16 16:53:27 Building package 55 of 72: skeema
2025/02/16 16:56:19 Building package 56 of 72: prometheus-hacluster-exporter
2025/02/16 16:59:11 Building package 57 of 72: prometheus-mqtt-exporter
2025/02/16 17:01:23 Building package 58 of 72: podman
2025/02/16 17:10:18 Building package 59 of 72: golang-github-awslabs-soci-snapshotter
2025/02/16 17:16:42 Building package 60 of 72: prometheus-postfix-exporter
2025/02/16 17:19:12 Building package 61 of 72: crowdsec-firewall-bouncer
2025/02/16 17:22:01 Building package 62 of 72: golang-github-containerd-stargz-snapshotter
2025/02/16 17:26:58 Building package 63 of 72: golang-github-sylabs-sif
2025/02/16 17:29:32 Building package 64 of 72: golang-github-fsouza-go-dockerclient
2025/02/16 17:31:54 Building package 65 of 72: vip-manager2
2025/02/16 17:34:44 Building package 66 of 72: golang-github-sigstore-sigstore 2025/02/16 17:37:26 Building package 67 of 72: golang-github-sigstore-timestamp-authority
2025/02/16 17:39:34 Building package 68 of 72: docker-libkv
2025/02/16 17:41:25 Building package 69 of 72: prometheus
2025/02/16 17:57:47 Building package 70 of 72: prometheus-pushgateway
2025/02/16 18:00:25 Building package 71 of 72: nextcloud-spreed-signaling
2025/02/16 18:04:19 Building package 72 of 72: gittuf
2025/02/16 18:11:11 3 packages failed the first pass; you can rerun ratt only for them passing the option -include '^(gitlab-ci-multi-runner|etcd|singularity-container)$'
2025/02/16 18:11:11 Build results:
2025/02/16 18:11:11 PASSED: golang-github-xordataexchange-crypt
2025/02/16 18:11:11 PASSED: trillian
2025/02/16 18:11:11 PASSED: crowdsec
2025/02/16 18:11:11 PASSED: distrobuilder
2025/02/16 18:11:11 PASSED: golang-github-mudler-docker-companion
2025/02/16 18:11:11 PASSED: docker.io
2025/02/16 18:11:11 PASSED: golang-github-containers-common
2025/02/16 18:11:11 PASSED: skopeo
2025/02/16 18:11:11 PASSED: prometheus-postfix-exporter
2025/02/16 18:11:11 PASSED: podman
2025/02/16 18:11:11 PASSED: golang-github-sylabs-sif
2025/02/16 18:11:11 PASSED: vip-manager2
2025/02/16 18:11:11 PASSED: golang-github-optiopay-kafka
2025/02/16 18:11:11 PASSED: certstream-server-go
2025/02/16 18:11:11 PASSED: golang-github-theupdateframework-go-tuf
2025/02/16 18:11:11 PASSED: golang-github-sigstore-sigstore
2025/02/16 18:11:11 PASSED: golang-github-canonical-candid
2025/02/16 18:11:11 PASSED: golang-github-katalix-go-l2tp
2025/02/16 18:11:11 PASSED: golang-github-fsouza-go-dockerclient
2025/02/16 18:11:11 PASSED: go-containerregistry
2025/02/16 18:11:11 PASSED: cosign
2025/02/16 18:11:11 PASSED: golang-github-russellhaering-goxmldsig
2025/02/16 18:11:11 PASSED: prometheus-hacluster-exporter
2025/02/16 18:11:11 PASSED: golang-github-go-kit-kit
2025/02/16 18:11:11 PASSED: golang-github-minio-colorjson
2025/02/16 18:11:11 PASSED: golang-github-smallstep-certificates
2025/02/16 18:11:11 PASSED: shoelaces
2025/02/16 18:11:11 PASSED: lxd
2025/02/16 18:11:11 PASSED: golang-github-minio-pkg
2025/02/16 18:11:11 PASSED: aptly
2025/02/16 18:11:11 PASSED: sigstore-go
2025/02/16 18:11:11 PASSED: golang-github-sigstore-timestamp-authority
2025/02/16 18:11:11 PASSED: golang-github-containers-image
2025/02/16 18:11:11 PASSED: golang-github-grpc-ecosystem-go-grpc-middleware
2025/02/16 18:11:11 PASSED: prometheus
2025/02/16 18:11:11 PASSED: prometheus-mqtt-exporter
2025/02/16 18:11:11 PASSED: victoriametrics
2025/02/16 18:11:11 PASSED: golang-github-openshift-imagebuilder
2025/02/16 18:11:11 PASSED: golang-github-docker-leadership
2025/02/16 18:11:11 PASSED: golang-github-containerd-nydus-snapshotter
2025/02/16 18:11:11 PASSED: golang-gitlab-gitlab-org-labkit
2025/02/16 18:11:11 PASSED: golang-github-crowdsecurity-go-cs-bouncer
2025/02/16 18:11:11 PASSED: skeema
2025/02/16 18:11:11 PASSED: golang-github-awslabs-soci-snapshotter
2025/02/16 18:11:11 PASSED: minio-client
2025/02/16 18:11:11 PASSED: prometheus-sql-exporter
2025/02/16 18:11:11 PASSED: oci-seccomp-bpf-hook
2025/02/16 18:11:11 PASSED: golang-github-vulcand-predicate
2025/02/16 18:11:11 PASSED: crowdsec-firewall-bouncer
2025/02/16 18:11:11 PASSED: golang-github-tonistiigi-fsutil
2025/02/16 18:11:11 PASSED: crowdsec-custom-bouncer
2025/02/16 18:11:11 PASSED: rekor
2025/02/16 18:11:11 PASSED: golang-github-sigstore-fulcio
2025/02/16 18:11:11 PASSED: golang-github-coreos-go-oidc
2025/02/16 18:11:11 PASSED: nextcloud-spreed-signaling
2025/02/16 18:11:11 PASSED: golang-github-crc-org-crc
2025/02/16 18:11:11 PASSED: golang-github-vulcand-oxy
2025/02/16 18:11:11 PASSED: golang-github-samalba-dockerclient
2025/02/16 18:11:11 PASSED: caddy
2025/02/16 18:11:11 PASSED: golang-github-containers-buildah
2025/02/16 18:11:11 PASSED: golang-github-containerd-stargz-snapshotter
2025/02/16 18:11:11 PASSED: prometheus-pushgateway
2025/02/16 18:11:11 PASSED: golang-github-rootless-containers-bypass4netns
2025/02/16 18:11:11 PASSED: docker-libkv
2025/02/16 18:11:11 PASSED: gittuf
2025/02/16 18:11:11 PASSED: golang-github-micromdm-scep
2025/02/16 18:11:11 PASSED: golang-github-gravitational-trace
2025/02/16 18:11:11 PASSED: vip-manager
2025/02/16 18:11:11 PASSED: gitsign
2025/02/16 18:11:11 FAILED: singularity-container (see buildlogs/singularity-container_4.1.5+ds3-1) 2025/02/16 18:11:11 FAILED: gitlab-ci-multi-runner (see buildlogs/gitlab-ci-multi-runner_14.10.1-1)
2025/02/16 18:11:11 FAILED: etcd (see buildlogs/etcd_3.5.16-3)


All three packages that failed are already failing in unstable, but etcd should still be updated. I prepared a branch with a patch cherry-picked from upstream [1] that should allow building with clockwork v0.5.0, but I couldn't test it with sbuild, as the build is currently failing with this error [2]:

stringer: internal error: package "fmt" without types was imported from "go.etcd.io/etcd/raft/quorum" src/go.etcd.io/etcd/raft/quorum/quorum.go:47: running "stringer": exit status 1

If I understood correctly the related issues on the Web, it could come from the fact that golang-golang-x-tools is too outdated compared to the current version of the compiler. Also, I do not get this error on testing, with golang-default 1.23.

[1] https://salsa.debian.org/go-team/packages/etcd/-/commits/n-peugnet/clockwork-v0.5.0
[2] https://salsa.debian.org/go-team/packages/etcd/-/jobs/7100917#L2292
--
Nicolas Peugnet

Reply via email to