riseupvpn: automate snap builds
Goal: automate snap builds. We decided to go first with launchpad infrastructure, and then transition to ours, due to schedule limitations.
- when building from artful and running the snap in bionic, systray quits with this error:
user@bionic:~$ /snap/bin/riseup-vpn.launcher /snap/riseup-vpn/17/lib/python2.7/site-packages/leap/common/events/client.py:40: VisibleDeprecationWarning: zmq.eventloop.minitornado is deprecated in pyzmq 14.0 and will be removed. Install tornado itself to use zmq with the tornado IOLoop. from zmq.eventloop import zmqstream trying to launch: /snap/bin/riseup-vpn.bitmask-systray [+] launching bitmaskd... /snap/riseup-vpn/17/./bin/bitmask-systray.git: /snap/core/current/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /snap/riseup-vpn/17/bin/../usr/lib/x86_64-linux-gnu/libmirclient.so.9) /snap/riseup-vpn/17/./bin/bitmask-systray.git: /snap/core/current/lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /snap/riseup-vpn/17/bin/../usr/lib/x86_64-linux-gnu/libpng16.so.16) /snap/riseup-vpn/17/./bin/bitmask-systray.git: /snap/core/current/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /snap/riseup-vpn/17/bin/../usr/lib/x86_64-linux-gnu/libmircommon.so.7) [anonvpn] Systray Quitted. [bitmask] terminating bitmaskd... [bitmask] cleaning up files
- When building on bionic, we get a build error: log
Failed to fetch stage packages: Error downloading packages for part 'bitmask-systray': The package 'libsodium18' was not found..
- It is yet to be seen if a snap built in bionic will work on artful (or others).