canonical / prometheus-openstack-exporter

OpenStack exporter for the prometheus monitoring system
GNU General Public License v3.0
128 stars 113 forks source link

Add missing snap build dependencies #132

Closed samuelallan72 closed 5 months ago

samuelallan72 commented 5 months ago

On some architectures, binary wheels for some pypi packages aren't available, so pip must build them from source. Some of these require more build dependencies that must be installed:

samuelallan72 commented 5 months ago

Note: I'm testing builds on other architectures with snapcraft remote-build, so working on fixing all the build issues in this PR.

samuelallan72 commented 5 months ago

Can confirm successful build on all supported architectures with this patch:

$ snapcraft remote-build --build-on=s390x,ppc64el,armhf,amd64,arm64
...
Build status as of 2024-06-14 12:51:29.716895:
        arch=armhf      state=Successfully built
        arch=arm64      state=Successfully built
        arch=ppc64el    state=Successfully built
        arch=s390x      state=Successfully built
        arch=amd64      state=Successfully built