From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] host-python: Fix building with OpenSSL 1.1.0.
Date: Tue, 15 Nov 2016 18:00:49 +0100 [thread overview]
Message-ID: <20161115180049.558f3183@free-electrons.com> (raw)
In-Reply-To: <20161115160240.30234-1-nicolas.cavallari@green-communications.fr>
Hello,
On Tue, 15 Nov 2016 17:02:40 +0100, Nicolas Cavallari wrote:
> OpenSSL 1.1.0 now hides some internal structures and deprecate some
> methods and constants. This breaks the compilation of host-python
> since it uses the system's openssl. See
> https://bugs.python.org/issue26470 for details.
>
> Even if buildroot patches host-python to not compile the 'ssl' module,
> the '_ssl' module is still compiled and fails. Another module,
> '_hashlib' also uses openssl's hash algorithms and is also broken by the
> bump to OpenSSL 1.1.0.
>
> if both '_ssl' and '_hashlib' are disabled, host-python compiles
> but other packages are now broken, like the crda packages which
> uses the hash functions.
Are you sure? Many of the autobuilder instances don't have the OpenSSL
development files installed on the host, which means that OpenSSL
support is not enabled in host-python, and crda would fail to build.
I think that a better fix for this problem is to really disable OpenSSL
in Python. Indeed, we shouldn't rely on the system-provided OpenSSL:
OpenSSL has never been part of the Buildroot "core dependencies".
Can we instead disable OpenSSL usage, and then identify (if any) the
packages that needed OpenSSL support from host-python?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-11-15 17:00 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 [this message]
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
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=20161115180049.558f3183@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