[Bug 232982] devel/cmake: ImportError: cannot import name md5 during sphinx docs compilation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 5 14:11:26 GMT 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232982

            Bug ID: 232982
           Summary: devel/cmake: ImportError: cannot import name md5
                    during sphinx docs compilation
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: dch at freebsd.org
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
 Attachment #198967 text/plain
         mime type:

Created attachment 198967
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198967&action=edit
poudriere build log for 12.0-BETA3 amd64 for devel/cmake 3.12.3 from ports
r484187

uname: 12.0-BETA3 amd64 (r340109)
ports: (r484187)

full poudriere log attached, snippet follows:

[ 99%] Linking CXX executable ../bin/ccmake
[ 99%] Built target ccmake
Scanning dependencies of target documentation
[100%] sphinx-build man: see Utilities/Sphinx/build-man.log
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "/usr/local/bin/sphinx-build", line 11, in <module>
    load_entry_point('Sphinx==1.6.5', 'console_scripts', 'sphinx-build')()
  File "/usr/local/lib/python2.7/site-packages/sphinx/__init__.py", line 71, in
main
    return build_main(argv)
  File "/usr/local/lib/python2.7/site-packages/sphinx/__init__.py", line 82, in
build_main
    from sphinx import cmdline
  File "/usr/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 24, in
<module>
    from sphinx.application import Sphinx
  File "/usr/local/lib/python2.7/site-packages/sphinx/application.py", line 43,
in <module>
    from sphinx.util.tags import Tags
  File "/usr/local/lib/python2.7/site-packages/sphinx/util/tags.py", line 11,
in <module>
    from jinja2 import nodes
  File "/usr/local/lib/python2.7/site-packages/jinja2/__init__.py", line 36, in
<module>
    from jinja2.loaders import BaseLoader, FileSystemLoader, PackageLoader, \
  File "/usr/local/lib/python2.7/site-packages/jinja2/loaders.py", line 16, in
<module>
    from hashlib import sha1
ImportError: cannot import name sha1
*** Error code 1

Stop.
make[3]: stopped in /tmp/usr/ports/devel/cmake/work/cmake-3.12.3
*** Error code 1

Stop.
make[2]: stopped in /tmp/usr/ports/devel/cmake/work/cmake-3.12.3
*** Error code 1

Stop.
make[1]: stopped in /tmp/usr/ports/devel/cmake/work/cmake-3.12.3
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/cmake
=>> Cleaning up wrkdir
===>  Cleaning for cmake-3.12.3
build of devel/cmake | cmake-3.12.3 ended at Mon Nov  5 13:19:09 UTC 2018
build time: 00:00:51
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list