Re: Bradford D. Boyle
> Add golang-uber-automaxprocs-dev to Build-Depends. (Closes: #1139524)

Hi,

thanks for the fix!

Unfortunately, it doesn't seem to be enough: github.com/cenkalti/backoff is 
version 5 in the meantime. We have a patch "backoff-v4" that enables building 
with version 4:

-       "github.com/cenkalti/backoff"
+       "github.com/cenkalti/backoff/v4"

but even after removing that (the new modules doesn't seem to have a /v 
component), it fails:

# github.com/justwatchcom/sql_exporter
src/github.com/justwatchcom/sql_exporter/job.go:508:5: bo.MaxElapsedTime 
undefined (type *"github.com/cenkalti/backoff".ExponentialBackOff has no field 
or method MaxElapsedTime)
src/github.com/justwatchcom/sql_exporter/job.go:512:37: in call to 
backoff.Retry, type *"github.com/cenkalti/backoff".ExponentialBackOff of bo 
does not match "github.com/cenkalti/backoff".Operation[T] (cannot infer T)

Perhaps we should just forward that to upstream...

Christoph

Reply via email to