Build error on remote build, works locally

Hello,

I just enable “builds” on my snap on snapcraft.io. But all build fail with this error message :

Running pull phase...
Failed to find extension 'gnome-3-28': a extension by that name does not exist.
Check the extension name and try again.
Build failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/build_snap.py", line 265, in run
    self.pull()
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/build_snap.py", line 231, in pull
    env=env)
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/build_snap.py", line 102, in run_build_command
    return self.backend.run(args, env=full_env, **kwargs)
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/lxd.py", line 536, in run
    subprocess.check_call(cmd, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['lxc', 'exec', 'lp-bionic-ppc64el', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'SNAPCRAFT_LOCAL_SOURCES=1', '--env', 'SNAPCRAFT_SETUP_CORE=1', '--env', 'SNAPCRAFT_BUILD_INFO=1', '--env', 'SNAPCRAFT_IMAGE_INFO={"build-request-id": "lp-55128802", "build-request-timestamp": "2020-03-16T18:36:16Z", "build_url": "https://launchpad.net/~build.snapcraft.io/+snap/57b7451efd48a548909c54546673b39c/+build/870602"}', '--env', 'SNAPCRAFT_BUILD_ENVIRONMENT=host', '--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/snap-git-proxy', '--', '/bin/sh', '-c', 'cd /build/chip8-emulator && linux64 snapcraft pull']' returned non-zero exit status 2
Revoking proxy token...
RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=lxd --series=bionic --arch=ppc64el SNAPBUILD-870602
Scanning for processes to kill in build SNAPBUILD-870602

Just tried on local computer (Archlinux x64 - Manjaro), snap creation works like a charm.

Any idea how fix issue on the remote build ?

Seems like the same issue as in Build.snapcraft.io build failing due to ancient snapcraft, @wgrant any ideas here?

1 Like

this has been pinpointed to a new rollout done on the webfront where they are incorrectly setting the “channels” which forces the default to use the deb.

Is something i can fix/use a workaround on my side ?

A fix has been pushed to https://snapcraft.io - can you try again and let me know if the error still happens? Thanks.

It working ! Thanks a lot

1 Like