Hello, i want to release gradio as a snap package. However i cannot build it on “build snapcraft io”. I don’t have much experience with snap, so i need a bit help.
Source repository: https://github.com/haecker-felix/gradio-snap Build #79156: build. snapcraft. io/user/haecker-felix/gradio-snap/79156 Build log:
[…] Get:31 http:// ftpmaster.internal/ubuntu xenial-updates/universe Translation-en [210 kB]
Get:32 http:// ftpmaster.internal/ubuntu xenial-updates/multiverse armhf Packages [11.2 kB]
Get:33 http:// ftpmaster.internal/ubuntu xenial-updates/multiverse Translation-en [7540 B]
Fetched 16.4 MB in 6s (2720 kB/s)
E:Unable to correct problems, you have held broken packages.
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Downloading parts list
Build failed
Traceback (most recent call last):
File “/usr/lib/launchpad-buildd/lpbuildd/target/build_snap.py”, line 215, in run
self.pull()
File “/usr/lib/launchpad-buildd/lpbuildd/target/build_snap.py”, line 177, in pull
env=env)
File “/usr/lib/launchpad-buildd/lpbuildd/target/build_snap.py”, line 86, in run_build_command
["/bin/sh", “-c”, command], get_output=get_output, echo=echo)
File “/usr/lib/launchpad-buildd/lpbuildd/target/lxd.py”, line 392, 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-xenial-armhf’, ‘–’, ‘linux32’, ‘/bin/sh’, ‘-c’, ‘cd /build/75a0c51ae61746832478403b0a67db5b-xenial && env LANG=C.UTF-8 SNAPCRAFT_LOCAL_SOURCES=1 SNAPCRAFT_SETUP_CORE=1 http_proxy=http://snap-proxy.launchpad.net:3128 https_proxy=http://snap-proxy.launchpad.net:3128 GIT_PROXY_COMMAND=/usr/local/bin/snap-git-proxy snapcraft pull’]’ returned non-zero exit status 1
Revoking proxy token…
RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=lxd --series=xenial --arch=armhf SNAPBUILD-79157
Scanning for processes to kill in build SNAPBUILD-79157
RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=lxd --series=xenial --arch=armhf SNAPBUILD-79157
Stopping target for build SNAPBUILD-79157
RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=lxd --series=xenial --arch=armhf SNAPBUILD-79157
I don’t see what’s the problem here?
Greetings!