William Scullin <[email protected]> added the comment:
Hi Kenneth:
I can recreate this issue on Haswell, Skylake-X, and KNL running SLES 12, Clear
Linux, and Centos 7.5. I've tried 18.1 and 18.2. It's still present across the
board with Intel C/C++ 18.0.2.199. On the Centos 7.5.1804 image, the build will
seemingly complete, but since _sha3 didn't actually compile, the regression
tests will fail with errors of the form:
$ /dev/shm/testinstall/icc/python/3.6.5/bin/python3 -m test
ERROR:root:code for hash sha3_224 was not found.
Traceback (most recent call last):
File "/dev/shm/testinstall/icc/python/3.6.5/lib/python3.6/hashlib.py", line
121, in __get_openssl_constructor
f = getattr(_hashlib, 'openssl_' + name)
AttributeError: module '_hashlib' has no attribute 'openssl_sha3_224'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/dev/shm/testinstall/icc/python/3.6.5/lib/python3.6/hashlib.py", line
243, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/dev/shm/testinstall/icc/python/3.6.5/lib/python3.6/hashlib.py", line
128, in __get_openssl_constructor
return __get_builtin_constructor(name)
File "/dev/shm/testinstall/icc/python/3.6.5/lib/python3.6/hashlib.py", line
113, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha3_224
ERROR:root:code for hash sha3_256 was not found.
Traceback (most recent call last):
File "/dev/shm/testinstall/icc/python/3.6.5/lib/python3.6/hashlib.py", line
121, in __get_openssl_constructor
f = getattr(_hashlib, 'openssl_' + name)
AttributeError: module '_hashlib' has no attribute 'openssl_sha3_256'
...
Searching about, it looks like you may have seen something similar in EasyBuild:
https://github.com/easybuilders/easybuild-easyconfigs/pull/5086
but it doesn't look like the root cause was sussed out.
- William
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33174>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com