Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Mar 2014 00:08:04 -0500
From:      "Kenta S." <kentas@hush.com>
To:        python@freebsd.org
Cc:        koobs@freebsd.org
Subject:   security/py-cryptography broken
Message-ID:  <20140308050804.A430920106@smtp.hushmail.com>
In-Reply-To: <20140306044423.GA65814@dev.san.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Trying to install deluge.

ValueError: unsupported hash type sha512
running build
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 131, in <module>
    "test": PyTest,
  File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 971, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/local/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "setup.py", line 59, in finalize_options
    from cryptography.hazmat.primitives import constant_time, padding
  File "cryptography/hazmat/primitives/constant_time.py", line 25, in <module>
    """)
  File "/usr/local/lib/python2.7/site-packages/cffi/api.py", line 102, in cdef
    self._parser.parse(csource, override=override)
  File "/usr/local/lib/python2.7/site-packages/cffi/cparser.py", line 154, in parse
    self._internal_parse(csource)
  File "/usr/local/lib/python2.7/site-packages/cffi/cparser.py", line 159, in _internal_parse
    ast, macros = self._parse(csource)
  File "/usr/local/lib/python2.7/site-packages/cffi/cparser.py", line 124, in _parse
    ast = _get_parser().parse(csource)
  File "/usr/local/lib/python2.7/site-packages/cffi/cparser.py", line 31, in _get_parser
    _parser_cache = pycparser.CParser()
  File "/usr/local/lib/python2.7/site-packages/pycparser/c_parser.py", line 103, in __init__
    tabmodule=yacctab)
  File "/usr/local/lib/python2.7/site-packages/pycparser/ply/yacc.py", line 3065, in yacc
    signature = pinfo.signature()
  File "/usr/local/lib/python2.7/site-packages/pycparser/ply/yacc.py", line 2800, in signature
    from md5 import md5
  File "/usr/local/lib/python2.7/md5.py", line 10, in <module>
    from hashlib import md5
ImportError: cannot import name md5
*** [do-build] Error code 1

Stop in /usr/ports/security/py-cryptography.

===>>> make failed for security/py-cryptography
===>>> Aborting update




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140308050804.A430920106>