[...] File "/usr/lib/python2.7/hashlib.py", line 147, in File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor ValueError: unsupported hash type sha512 Traceback (most recent call last): File "./psl-make-dafsa", line 692, in sys.exit(main()) File "./psl-make-dafsa", line 686, in main outfile.write(converter(parser(infile, utf_mode, codecs), utf_mode, codecs)) File "./psl-make-dafsa", line 538, in words_to_cxx_plus return words_to_whatever(words, to_cxx_plus, utf_mode, codecs) File "./psl-make-dafsa", line 529, in words_to_whatever return converter(encode(dafsa, utf_mode), codecs) File "./psl-make-dafsa", line 520, in to_cxx_plus text += b'static const char _psl_sha1_checksum[] = "%s";\n' % bytes(sha1_file(psl_input_file), **codecs) File "./psl-make-dafsa", line 504, in sha1_file sha1 = hashlib.sha1() AttributeError: 'module' object has no attribute 'sha1' make[2]: *** [Makefile:813: suffixes_dafsa.h] Error 1 make[2]: Leaving directory '/tmp/B.1usy6d1_/BUILD/libpsl-0.21.1/src' make[1]: *** [Makefile:539: all-recursive] Error 1 make: *** [Makefile:446: all] Error 2 error: Bad exit status from /tmp/B.1usy6d1_/BUILD/tmp/rpm-tmp.0rBXVM (%build) RPM build errors: Bad exit status from /tmp/B.1usy6d1_/BUILD/tmp/rpm-tmp.0rBXVM (%build) ended at: Fri Feb 25 14:03:18 2022, done in 0:00:18.318079 error: No files produced. + chmod -R u+rwX /tmp/B.1usy6d1_/BUILD + rm -rf /tmp/B.1usy6d1_/tmp /tmp/B.1usy6d1_/BUILD + rm -rf /tmp/B.1usy6d1_ Begin-TLD-Builder-Info Build-Time: user:17.27s sys:4.12s real:21.36s (faults io:0 non-io:836136) End-TLD-Builder-Info