[
https://issues.apache.org/jira/browse/IMPALA-9705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095597#comment-17095597
]
Laszlo Gaal commented on IMPALA-9705:
-------------------------------------
I think this means we should fix the toolchain build of Python3.
The failure happens only on some (relatively older) OS platforms, so without a
closer look I'd guess it depends on the OS default version of the OpenSSL
libraries.
Note that there are other modules that failed to build. Python calls them
"optional" (my guess is that they are optional in the sense that the lack of
them does not fail the Python build), but Impala tests, infrastructure or human
users may well find them required for their use.
> Toolchain Python 3 fails to build _ssl and ssl modules
> ------------------------------------------------------
>
> Key: IMPALA-9705
> URL: https://issues.apache.org/jira/browse/IMPALA-9705
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Laszlo Gaal
> Priority: Critical
>
> Reviewing the toolchain build logs found this problem on older OS platforms
> (Centos7, Ubuntu 14.04) in check/python-3.7.4.log:
> {code}
> Python build finished successfully!
> The necessary bits to build these optional modules were not found:
> _lzma _sqlite3 _ssl
> _tkinter _uuid
> To find the necessary bits, look in setup.py in detect_modules() for the
> module's name.
> The following modules found by detect_modules() in setup.py, have been
> built by the Makefile instead, as configured by the Setup files:
> _abc atexit pwd
> time
> Could not build the ssl module!
> Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with
> X509_VERIFY_PARAM_set1_host().
> LibreSSL 2.6.4 and earlier do not provide the necessary APIs,
> https://github.com/libressl-portable/portable/issues/381
> {code}
> Impala is still using Python 2 for impala-virtualenv, so this is not a
> blocker, but it would block moving to Python 3.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]