package/python: re-enable hashlib
PATCH 1/1 package/python: re-enable hashlib
From: Titouan Christophe <[email protected]>
In commit e5cfb319f9493d677f059ca72b80f7fa22fc9f0f, the committer did add the flag --disable-hashlib to python, even though this was not part of the original patch
(https://patchwork.ozlabs.org/patch/1231905/).
This unexpected modification break the builds of waf-based packages, such as jack2, mpv or aubio. This commit therefore
--- package/python/python.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/python/python.mk +1 -1
@@ -60,7 +60,7 @@ HOST_PYTHON_DEPENDENCIES = host-expat host-zlib ifeq ($(BR2_PACKAGE_HOST_PYTHON_SSL),y) HOST_PYTHON_DEPENDENCIES += host-openssl else -HOST_PYTHON_CONF_OPTS += --disable-ssl --disable-hashlib +HOST_PYTHON_CONF_OPTS += --disable-ssl endif PYTHON_INSTALL_STAGING = YES
Signature · 1 line
2.24.1
PATCH 1/1 package/python: re-enable hashlib
Quoted 7 lines · On Mon, 3 Feb 2020 12:18:37 +0100 titouan.christophe at railnova.eu wrote:
From: Titouan Christophe <[email protected]>
In commit
e5cfb319f9493d677f059ca72b80f7fa22fc9f0f, the committer did add the flag--disable-hashlibto python, even though this was not part of the original patch
(https://patchwork.ozlabs.org/patch/1231905/).
Quoted 7 lines
This unexpected modification break the builds of waf-based packages, such as jack2, mpv or aubio. This commit therefore
Signed-off-by Titouan Christophe <[email protected]>
Note to self: "git commit -a --amend" can be dangerous. Sorry for the mess.
However, this particular change is related to a discussion I had on the mailing list about this hashlib module which was causing build issues on some machines in host Python. This module needs OpenSSL on the host, which we don't have installed on some autobuilders. So how come we hadn't seen these failures before ?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com