Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] host-python3: Do not use the system OpenSSL.
Date: Fri, 25 Nov 2016 23:14:30 +0100	[thread overview]
Message-ID: <20161125231430.5ccd16ea@free-electrons.com> (raw)
In-Reply-To: <20161122131109.4459-1-nicolas.cavallari@green-communications.fr>

Hello,

On Tue, 22 Nov 2016 14:11:09 +0100, Nicolas Cavallari wrote:
> host-python3 currently detect if there is an usable OpenSSL installation
> and conditionnaly compiles the 'ssl', '_ssl' and '_hashlib' modules.
> This may break compilation if the system's OpenSSL has been updated to
> 1.1.0 because of a bug in python, see https://bugs.python.org/issue26470
> for details.
> 
> Unlike Python 2.7, Python 3 unconditionnaly compiles fallbacks for
> common hash algorithm, so disabling OpenSSL will still leave Python 3
> with implementations of common hash algorithm.
> 
> This adds a patch to configure.ac patch to implement a --disable-openssl
> option.
> ---
>  .../0031-Add-an-option-to-disable-openssl.patch    | 23 ++++++++++++++++++++++
>  package/python3/python3.mk                         |  3 ++-
>  2 files changed, 25 insertions(+), 1 deletion(-)
>  create mode 100644 package/python3/0031-Add-an-option-to-disable-openssl.patch

Applied to master, thanks. A useful improvement (for next) would be to
use --enable-ssl/--disable-ssl for the target variant of python3,
depending on the value of BR2_PACKAGE_PYTHON3_SSL.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      parent reply	other threads:[~2016-11-25 22:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15 16:02 [Buildroot] [PATCH 1/1] host-python: Fix building with OpenSSL 1.1.0 Nicolas Cavallari
2016-11-15 17:00 ` Thomas Petazzoni
2016-11-16  8:53   ` Nicolas Cavallari
2016-11-17 15:06     ` [Buildroot] [PATCH 1/1] host-python: Really do not use the system OpenSSL Nicolas Cavallari
2016-11-19 12:02       ` Arnout Vandecappelle
2016-11-19 15:56         ` Nicolas Cavallari
2016-11-19 16:43           ` Arnout Vandecappelle
2016-11-19 16:50             ` Arnout Vandecappelle
2016-11-22 13:09             ` Nicolas Cavallari
2016-11-22 13:11               ` [Buildroot] [PATCH 1/1] host-python3: Do " Nicolas Cavallari
2016-11-24 22:46                 ` Arnout Vandecappelle
2016-11-25 16:06                   ` Nicolas Cavallari
2016-11-25 22:14                 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161125231430.5ccd16ea@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox