Skip to content

Instantly share code, notes, and snippets.

@karlcow
Created March 23, 2020 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlcow/345b3b9c63091f2c83f7c4b2ed3af381 to your computer and use it in GitHub Desktop.
Save karlcow/345b3b9c63091f2c83f7c4b2ed3af381 to your computer and use it in GitHub Desktop.
./mach build
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/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/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/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/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/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/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/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/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/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/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/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 "./mach", line 262, in <module>
main(sys.argv[1:])
File "./mach", line 254, in main
mach = get_mach()
File "./mach", line 244, in get_mach
mach = check_and_get_mach(dir_path)
File "./mach", line 200, in check_and_get_mach
return load_mach(dir_path, mach_path)
File "./mach", line 188, in load_mach
return mach_bootstrap.bootstrap(dir_path)
File "/Users/karl/code/mozilla-central/build/mach_bootstrap.py", line 402, in bootstrap
driver.load_commands_from_file(os.path.join(mozilla_dir, path))
File "/Users/karl/code/mozilla-central/python/mach/mach/main.py", line 267, in load_commands_from_file
imp.load_source(module_name, path)
File "/Users/karl/code/mozilla-central/python/mozrelease/mozrelease/mach_commands.py", line 21, in <module>
from mozilla_version.gecko import GeckoVersion
File "/Users/karl/code/mozilla-central/build/mach_bootstrap.py", line 434, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/karl/code/mozilla-central/third_party/python/mozilla-version/mozilla_version/gecko.py", line 49, in <module>
import attr
File "/Users/karl/code/mozilla-central/build/mach_bootstrap.py", line 434, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/karl/code/mozilla-central/third_party/python/attrs/src/attr/__init__.py", line 5, in <module>
from . import converters, exceptions, filters, validators
File "/Users/karl/code/mozilla-central/build/mach_bootstrap.py", line 434, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/karl/code/mozilla-central/third_party/python/attrs/src/attr/filters.py", line 8, in <module>
from ._make import Attribute
File "/Users/karl/code/mozilla-central/build/mach_bootstrap.py", line 434, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/karl/code/mozilla-central/third_party/python/attrs/src/attr/_make.py", line 1496, in <module>
_add_cmp(_add_repr(Attribute, attrs=_a), attrs=_a),
File "/Users/karl/code/mozilla-central/third_party/python/attrs/src/attr/_make.py", line 955, in _add_cmp
_make_cmp(attrs)
File "/Users/karl/code/mozilla-central/third_party/python/attrs/src/attr/_make.py", line 862, in _make_cmp
sha1 = hashlib.sha1()
AttributeError: 'module' object has no attribute 'sha1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment