snap: Add rust to build-packages [2.8 backport] (#683)
* snap: Add rust to build-packages (#682)
* snap: Add rust to build-packages
When building the snap on s390x some Python modules need to compile
their extensions (rust based), this is not needed on amd64 since pypi
has compiled packages available.
This change add rustc, cargo and pkg-config to the list of
build-packages in the snapcraft.yaml definition.
macaroonbakery in v1.3.4 added a constraint of protobuf>=3.20.0[0] which
makes it incompatible with python 3.6 and v1.3.3 was released in a
broken state[1].
d9d6671...
by
Alex Kavanagh <email address hidden>
Merge pull request #670 from freyes/fix-multi-arch
ruamel.yaml 0.18 hard deprecated the old PyYAML functions removing
yaml.safe_load among many others. This causes charm-build to exit
sometimes without a visible error.