My arm64
snap fails with:
+ snapcraftctl stage
[12/Feb/2022:05:11:00 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/e/elfutils/libdw1_0.176-1.1build1_arm64.deb HTTP/1.1" 407 2193 "-" "Debian APT-HTTP/1.3 (2.0.6) non-interactive"
Err libdw1_0.176-1.1build1_arm64.deb
407 Proxy Authentication Required [IP: 10.10.10.1 8222]
Fetched 0 B in 0s (0 B/s)
Package fetch error: The item '/root/.cache/snapcraft/download/libdw1_0.176-1.1build1_arm64.deb' could not be fetched: 407 Proxy Authentication Required [IP: 10.10.10.1 8222]
Build failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 202, in run
self.pull()
File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 172, in pull
env=env)
File "/usr/lib/python3/dist-packages/lpbuildd/target/operation.py", line 50, in run_build_command
return self.backend.run(args, cwd=cwd, env=full_env, **kwargs)
File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 539, in run
subprocess.check_call(cmd, **kwargs)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['lxc', 'exec', 'lp-focal-arm64', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'http_proxy=http://10.10.10.1:8222/', '--env', 'https_proxy=http://10.10.10.1:8222/', '--env', 'GIT_PROXY_COMMAND=/usr/local/bin/lpbuildd-git-proxy', '--env', 'SNAPPY_STORE_NO_CDN=1', '--env', 'SNAPCRAFT_LOCAL_SOURCES=1', '--env', 'SNAPCRAFT_SETUP_CORE=1', '--env', 'SNAPCRAFT_BUILD_INFO=1', '--env', 'SNAPCRAFT_IMAGE_INFO={"build-request-id": "lp-69242982", "build-request-timestamp": "2022-02-11T23:52:53Z", "build_url": "https://launchpad.net/~build.snapcraft.io/+snap/88b3637f4e0291817fac9f2f7ed53efa/+build/1671489"}', '--env', 'SNAPCRAFT_BUILD_ENVIRONMENT=host', '--', '/bin/sh', '-c', 'cd /build/qtcreator-ros && linux64 snapcraft pull']' returned non-zero exit status 2.
Revoking proxy token...
while the amd64
builds fine.
Is there a way to prevent this (e.g. by using another source)? Also, if I want to retry this, I have to rebuild both snaps (amd64
and arm64
). This is quite ineffective. Is there a way to only rebuild the failed snaps?