Alright, lasts news on that, I packaged 2 new things:
https://salsa.debian.org/go-team/packages/golang-github-census-instrumentation-opencensus-proto
which is needed to build
https://salsa.debian.org/go-team/packages/golang-github-census-ecosystem-opencensus-go-exporter-ocagent
which is needed to build Azure/go-autorest v13.3.0
I could build Azure/go-autorest v13.3.0, and then rebuild
Azure/azure-sdk-for-go with additional go packages services/compute and
services/network. So it looks good at a first glance, it seems like it
would be feasible to remove the patch 00-Disable_azure.patch in
Prometheus, and make it build against Azure/azure-sdk-for-go. At some
point in the future. Hopefully.
However, I could NOT run ratt on this new version of Azure/go-autorest,
as I don't know how to inject additional debs to the build (in this case
I would need to inject the 2 opencensus deb packages mentioned above).
So I didn't push anything to the Azure/go-autorest repo on Salsa. Any idea?
Additionally, I tried to build prometheus "as is", but it FTBFS in sbuild:
FAIL github.com/prometheus/prometheus/web 0.071s
So I didn't go further and didn't try to rebuild it without the patch
00-Disable_azure.patch.
Everyone with time on their hands are already welcome to review the two
new packages mentioned above!
Thanks
Arnaud
On 11/20/19 6:23 PM, Arnaud Rebillout wrote:
On 11/20/19 5:55 PM, Arnaud Rebillout wrote:
On 11/20/19 8:54 AM, Dmitry Smirnov wrote:
I had a quick look and found that even latest release of the latter (v.
13.3.0 released in October) does not provide "github.com/Azure/go-autorest/
tracing" so we probably need to step back few versions of "azure-sdk-for-
go"...
I think you're mistaken here, the v12 from Apr 2018 provides tracing:
https://github.com/Azure/go-autorest/tree/v12.0.0. And this is this
version that is used in Azure/azure-sdk-for-go, so it seems
reasonable to try to bump this package to v12.
And so I tried to package it, but hey, it requires a new dependency:
*https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/tree/v0.4.12*
dh-make-golang gives me a good package straight, but hey, a new
dependency:
*https://github.com/census-instrumentation/opencensus-proto/tree/v0.2.0*
dh-make-golang give me a good package again, and this time this is
the end of the game.
Based on that, I can finally ALMOST build Azure/go-autorest v12 (a
test still fails).
Oh no, actually I was mistaken, it's v13.3.0 that is needed, not
v12... Which just invalidates everything above. Nice try Arnaud.