/srv/irclogs.ubuntu.com/2022/06/29/#launchpad.txt

=== synapt is now known as nate
=== cpaelzer_ is now known as cpaelzer
=== lan3y is now known as Laney
=== Laney is now known as laney
zyga[m]is launchpad using an enforcing proxy during snap builds?18:43
zyga[m]a package builds fine locally18:43
zyga[m]farm build fails: https://launchpadlibrarian.net/610289005/buildlog_snap_ubuntu_jammy_amd64_hare_BUILDING.txt.gz18:44
zyga[m]Failed to pull source: command ['git', 'clone', '--recursive', 'git://c9x.me/qbe.git', PosixPath('/build/hare/parts/qbe/src')] exited with code 128.18:44
zyga[m]I've created this package using lp api directly, perhaps I'm missing an attribute somewhere?18:45
zyga[m]Looking at the API the "allow_internet" attribute is true18:45
zyga[m]ah, the repo uses git://18:56
zyga[m]and not https://18:56
zyga[m]in fact upstream has no https support 18:56
zyga[m]oh fun18:56
cjwatsonzyga[m]: yes, the only way to get external network access is through the proxy.  Your build is apparently using the proxy (as evidenced by '"CONNECT c9x.me:9418 HTTP/1.0" 200 534 "-" "-"' in the log) but for some reason failing anyway20:22
cjwatsoncould be a proxy bug since use of unencrypted git:// is kind of uncommon nowadays, not sure20:23
zyga[m]yes, I've solved it by mirroring the git:// repo on gitlab20:23
cjwatsonfair enough20:23
zyga[m]I don't know which is it20:23
zyga[m]but meh :)20:23
zyga[m]it works20:23
cjwatson(allow_internet means "permit use of the proxy" BTW)20:23
zyga[m]right20:23
zyga[m]I was wondering about one more thing20:24
zyga[m]in my case, snapcraft.yaml is in a small repo20:24
zyga[m]that pulls in other repos20:24
zyga[m]is this something that auto-building is meant to work with as well?20:24
zyga[m]since my small repo won't change all that often20:24
zyga[m]but the other repos do20:24
cjwatsonafraid not really, LP doesn't know enough to follow the links20:24
zyga[m]I can build manually but I was wondering if I'm holding it wrong or if there's a setting I'm missing somewhere 20:24
cjwatson(and in general it's a pretty hard problem)20:25
zyga[m]okay, I'll script a periodic build20:25
cjwatsonyeah, that seems best20:25
zyga[m]I was looking for "build daily" kind of thing20:25

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!