Skip to contentSkip to conversation

package/python-cryptography: add missing openssl build dependency

PATCH Applied James Hilliard 2 participants 2 messages Jan 29, 2022 – Jan 30, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-cryptography: add missing openssl build dependency

Fixes:
build/temp.linux-x86_64-3.10/_openssl.c:575:10: fatal error: openssl/opensslv.h: No such file or directory
575 | #include <openssl/opensslv.h>

      |          ^~~~~~~~~~~~~~~~~~~~
---
 package/python-cryptography/python-cryptography.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +5 -1
index fc1686af9a..e642691bc5 100644
@@ -12,7 +12,11 @@ PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause
 PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD
 PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
-PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-setuptools-rust host-python-cffi host-rustc
+PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+	host-python-setuptools-rust \
+	host-python-cffi \
+	host-rustc \
+	openssl
 PYTHON_CRYPTOGRAPHY_ENV = \
 	$(PKG_CARGO_ENV) \
 	PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · On Sat, 29 Jan 2022 13:27:51 -0700 James Hilliard <[email protected]>…

Fixes:
build/temp.linux-x86_64-3.10/_openssl.c:575:10: fatal error: openssl/opensslv.h: No such file or directory
575 | #include <openssl/opensslv.h>

      |          ^~~~~~~~~~~~~~~~~~~~
---
 package/python-cryptography/python-cryptography.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Applied to master with an extended commit log, especially pointing at when the regression/issue was introduced.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot