On Fri, Mar 24, 2023 at 3:33 PM Anthony Fok <
fo...@debian.org> wrote:
> ratt finds 89 packages with direct or indirect dependency on
> golang-go.opencensus and is able to build all of them with
> with golang-go.opencensus/0.24.0-1 smoothly with no hiccup.
Clarification: Out of the 89 packages, 4 failed but not due to
golang-go.opencensus:
FAILED: cadvisor (see buildlogs/cadvisor_0.38.7+ds1-2)
FAILED: golang-github-prometheus-common
(see buildlogs/golang-github-prometheus-common_0.15.0-2)
FAILED: nomad (see buildlogs/nomad_0.12.10+dfsg1-3)
FAILED: nomad-driver-podman (see buildlogs/nomad-driver-podman_0.1.0-2)
3 of them, cadvisor, nomad and nomad-driver-podman are currently FTBFS
in the archive and are not in "testing".
As for golang-github-prometheus-common_0.15.0-2, ratt picked the wrong
version in stable (bullseye) instead of 0.39.0-2 in sid.
Apparently, ratt's dependency dose-ceve does not handle the multiple
"same Package, different Version" entries in the source list
and simply picks the first one:
$ grep -A2 '^Package: golang-github-prometheus-common' \
/var/lib/apt/lists/deb.debian.org_debian_dists_sid_main_source_Sources
Package: golang-github-prometheus-common
Binary: golang-github-prometheus-common-dev
Version: 0.15.0-2
--
Package: golang-github-prometheus-common
Binary: golang-github-prometheus-common-dev
Version: 0.39.0-2
So, while this erroneous sbuild command fails:
sbuild --arch-all --dist=unstable --nolog \
golang-github-prometheus-common_0.15.0-2 \
--extra-package=../golang-go.opencensus-dev_0.24.0-1_all.deb
the correct sbuild command pointing to the correct version in sid passes:
sbuild --arch-all --dist=unstable --nolog \
golang-github-prometheus-common_0.39.0-2 \
--extra-package=../golang-go.opencensus-dev_0.24.0-1_all.deb
So, yes, it is perfectly safe to upgrade golang-go.opencensus 0.23.0-4
to 0.24.0-1.
Many thanks!
Cheers,
Anthony Fok