lookup of proxy.golang.org fails on build

Bug #1874423 reported by Leif Johansson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-buildd
Invalid
Undecided
Unassigned

Bug Description

I am building a go-based application (normal Makefile and very "standard" rules-file) in ppa:sunet/tinyq. I am getting an error that looks like the build-host can't resolve proxy.golang.go:

go: <email address hidden>+incompatible: Get https://proxy.golang.org/github.com/gofrs/uuid/@v/v3.2.0+incompatible.mod: dial tcp: lookup proxy.golang.org on 10.89.128.2:53: no such host

Full build-log here: https://launchpadlibrarian.net/475830903/buildlog_ubuntu-xenial-amd64.tinyq_0.0.1ubuntu3_BUILDING.txt.gz

The error isn't intermittent.

Revision history for this message
Leif Johansson (leifj) wrote :

NB that the error in question just happens to be the first dependency that go build tries to resolve - this has nothing to do with github.com/gofrs/uuid.

The ppa:sunet/tinyq is the github.com/SUNET/tq project on github for reference.

Revision history for this message
Leif Johansson (leifj) wrote :

I tried to use the golang buildsystem but the result is the same

Revision history for this message
Colin Watson (cjwatson) wrote :

You appear to have a build system that doesn't honour http_proxy. I don't speak Go - is that a sufficient clue for you to dig into that?

affects: launchpad → launchpad-buildd
Revision history for this message
Colin Watson (cjwatson) wrote :

Oh wait, this isn't a snap build. It is intentional that .deb package builds are not permitted to talk to the internet - you need to package or vendor your build-dependencies.

Changed in launchpad-buildd:
status: New → Invalid
Revision history for this message
Leif Johansson (leifj) wrote :

oh thats "interesting". Thx!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.