All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python3: requires blake2 support in openssl
@ 2021-12-31  9:24 Fabrice Fontaine
  2022-01-01 10:07 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-31  9:24 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni, Asaf Kahlon

Fix the following build failure raised since bump to version 3.10.1 in
commit 25b1fc2898d68ddf2674b14c738045875fc5a2dc:

/home/buildroot/autobuild/instance-3/output-1/build/python3-3.10.1/Modules/_hashopenssl.c:244:22: error: implicit declaration of function 'EVP_blake2s256'; did you mean 'LN_blake2s256'? [-Werror=implicit-function-declaration]
  244 |             digest = EVP_blake2s256();
      |                      ^~~~~~~~~~~~~~
      |                      LN_blake2s256

Fixes:
 - http://autobuild.buildroot.org/results/9112571b75aebb0ba5032ef1b16226d9848f5184

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/python3/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python3/Config.in b/package/python3/Config.in
index efc4dbb3d4..7714518edc 100644
--- a/package/python3/Config.in
+++ b/package/python3/Config.in
@@ -90,6 +90,7 @@ config BR2_PACKAGE_PYTHON3_READLINE
 config BR2_PACKAGE_PYTHON3_SSL
 	bool "ssl"
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL
 	help
 	  _ssl module for Python3 (required for https in urllib etc).
 
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/python3: requires blake2 support in openssl
  2021-12-31  9:24 [Buildroot] [PATCH 1/1] package/python3: requires blake2 support in openssl Fabrice Fontaine
@ 2022-01-01 10:07 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-01-01 10:07 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Asaf Kahlon, Thomas Petazzoni, buildroot

Fabrice, All,

On 2021-12-31 10:24 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump to version 3.10.1 in
> commit 25b1fc2898d68ddf2674b14c738045875fc5a2dc:
> 
> /home/buildroot/autobuild/instance-3/output-1/build/python3-3.10.1/Modules/_hashopenssl.c:244:22: error: implicit declaration of function 'EVP_blake2s256'; did you mean 'LN_blake2s256'? [-Werror=implicit-function-declaration]
>   244 |             digest = EVP_blake2s256();
>       |                      ^~~~~~~~~~~~~~
>       |                      LN_blake2s256
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/9112571b75aebb0ba5032ef1b16226d9848f5184
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/python3/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/python3/Config.in b/package/python3/Config.in
> index efc4dbb3d4..7714518edc 100644
> --- a/package/python3/Config.in
> +++ b/package/python3/Config.in
> @@ -90,6 +90,7 @@ config BR2_PACKAGE_PYTHON3_READLINE
>  config BR2_PACKAGE_PYTHON3_SSL
>  	bool "ssl"
>  	select BR2_PACKAGE_OPENSSL
> +	select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL
>  	help
>  	  _ssl module for Python3 (required for https in urllib etc).
>  
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-01 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31  9:24 [Buildroot] [PATCH 1/1] package/python3: requires blake2 support in openssl Fabrice Fontaine
2022-01-01 10:07 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.