Fix s390x and pp64el builds

Add build dependencies needed for s390x and pp64el

::   writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
::   running build_ext
::   generating cffi module 'build/temp.linux-s390x-cpython-310/_padding.c'
::   creating build/temp.linux-s390x-cpython-310
::   generating cffi module 'build/temp.linux-s390x-cpython-310/_openssl.c'
::   building '_openssl' extension
::   creating build/temp.linux-s390x-cpython-310/build
::   creating build/temp.linux-s390x-cpython-310/build/temp.linux-s390x-cpython-310
::   s390x-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/buildd/barbican/build/parts/charm/build/.tox/build-reactive/include -I/usr/include/python3.10 -c build/temp.linux-s390x-cpython-310/_openssl.c -o build/temp.linux-s390x-cpython-310/build/temp.linux-s390x-cpython-310/_openssl.o -Wconversion -Wno-error=sign-conversion
::   build/temp.linux-s390x-cpython-310/_openssl.c:575:10: fatal error: openssl/opensslv.h: No such file or directory
::     575 | #include <openssl/opensslv.h>
::         |          ^~~~~~~~~~~~~~~~~~~~

Change-Id: I8e73c8b75496d8581f169103825f3ba12900f140
This commit is contained in:
Felipe Reyes
2022-09-29 17:25:16 -03:00
parent 6cc6006572
commit cdbb9a178b

View File

@ -7,7 +7,11 @@ parts:
- git
- python3-dev
- libffi-dev
- libssl-dev
- rustc
- cargo
build-environment:
- MAKEFLAGS: -j$(nproc)
- CHARM_INTERFACES_DIR: /root/project/interfaces/
- CHARM_LAYERS_DIR: /root/project/layers/
override-build: |