Faidon Liambotis <[email protected]> writes:

>> src/github.com/maxmind/geoipupdate/internal/geoipupdate/geoip_updater.go:15:2:
>> cannot find package "github.com/cenkalti/backoff/v4" in any of:
>>      /usr/lib/go-1.24/src/github.com/cenkalti/backoff/v4 (from $GOROOT)
>>      /<<PKGBUILDDIR>>/build/src/github.com/cenkalti/backoff/v4 (from $GOPATH)
>
> Thanks for the report! The root cause seems to be
> golang-github-cenkalti-backoff switching to v5 of the package. It looks
> like v4 is now being provided by golang-github-cenkalti-backoff-v4-dev
> instead.

That seems right!  Changed the Build-Depends should fix this.

> Curiously, the golang-github-cenkalti-backoff 5.0.3-2 changelog entry
> mentions this:
>>    - All reverse build dependencies now usees
>>      golang-github-cenkalti-backoff-v4-dev or
>>      is not in testing
>
> This does not seem to be the case for geoipupdate, though. Perhaps it
> was missed because it's in contrib, and only main was checked? Cc'ing
> Simon who did that upload, in case it informs future migrations of his.

It is really strange, and I'd appreciate advice on this.

Obviously 'geoipupdate' 7.1.0-1 which is in all of stable, testing, and
unstable right now has a Build-Depends on
golang-github-cenkalti-backoff-dev.  I really should have found it.

To find reverse build dependencies, I used two methods:

1) ssh mirror.ftp-master.debian.org dak rm -Rn -b 
golang-github-cenkalti-backoff-dev

This command does not list 'geoipupdate' even now.  Why?

2) Salsa CI reverse build pipeline:

https://salsa.debian.org/jas/golang-github-cenkalti-backoff/-/pipelines/991984

The 'generate-build-rdep-config' job does not identify 'geoipupdate'
either:

https://salsa.debian.org/jas/golang-github-cenkalti-backoff/-/jobs/8762513

> In any case, upstream geoiupdate has already switched to v5, and I've
> been waiting for it to show up in Debian in order to upload 7.1.1. So
> this is actually great to see and an easy enough fix :)

Yay!

Sorry about this, but indeed this suggest some workflow improvement is
needed to identify reverse build dependencies.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to