regression on -current with mozilla-nss
by nobodino from LinuxQuestions.org on (#5QJPM)
mozilla-nss doesn't build anymore on -current:
----------------------
gmake: Leaving directory '/tmp/nss-3.71/nspr/Release'
run_scanbuild gyp -f ninja --depth=/tmp/nss-3.71/nss --generator-output=. -Duse_system_sqlite=1 -Ddisable_libpkix=0 -Ddisable_tests=1 -Dtarget_arch=x64 -Denable_sslkeylogfile=1 -Dnss_dist_dir=/tmp/nss-3.71/dist -Dnss_dist_obj_dir=/tmp/nss-3.71/dist/Release -Dnspr_include_dir=/tmp/nss-3.71/dist/Release/include/nspr -Dnspr_lib_dir=/tmp/nss-3.71/dist/Release/lib /tmp/nss-3.71/nss/nss.gyp
Traceback (most recent call last):
File "/usr/bin/gyp", line 33, in <module>
sys.exit(load_entry_point('gyp==0.1', 'console_scripts', 'gyp')())
File "/usr/bin/gyp", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 162, in load
module = import_module(match.group('module'))
File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib64/python3.10/site-packages/gyp/__init__.py", line 10, in <module>
import gyp.input
File "/usr/lib64/python3.10/site-packages/gyp/input.py", line 8, in <module>
import gyp.common
File "/usr/lib64/python3.10/site-packages/gyp/common.py", line 497, in <module>
class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'
/tmp/nss-3.71
cp: cannot stat 'bin/certutil': No such file or directory
cp: cannot stat 'bin/cmsutil': No such file or directory
cp: cannot stat 'bin/crlutil': No such file or directory
cp: cannot stat 'bin/modutil': No such file or directory
cp: cannot stat 'bin/pk12util': No such file or directory
cp: cannot stat 'bin/shlibsign': No such file or directory
cp: cannot stat 'bin/signtool': No such file or directory
cp: cannot stat 'bin/signver': No such file or directory
cp: cannot stat 'bin/ssltap': No such file or directory
cp: -r not specified; omitting directory 'lib/pkgconfig'
cp: cannot stat '../public/nss/*.h': No such file or directory
cp: cannot stat '../../nss/out/Release/libcrmf.a': No such file or directory
cp: cannot stat '../../nss/out/Release/libnssb.a': No such file or directory
cp: cannot stat '../../nss/out/Release/libnssckfw.a': No such file or directory
------------------------------
maybe the new python3 and gyp: there are gyp-python38.patch.gz and gyp-python39.patch.gz, but may be it needs also gyp-python310.patch.gz ?
----------------------
gmake: Leaving directory '/tmp/nss-3.71/nspr/Release'
run_scanbuild gyp -f ninja --depth=/tmp/nss-3.71/nss --generator-output=. -Duse_system_sqlite=1 -Ddisable_libpkix=0 -Ddisable_tests=1 -Dtarget_arch=x64 -Denable_sslkeylogfile=1 -Dnss_dist_dir=/tmp/nss-3.71/dist -Dnss_dist_obj_dir=/tmp/nss-3.71/dist/Release -Dnspr_include_dir=/tmp/nss-3.71/dist/Release/include/nspr -Dnspr_lib_dir=/tmp/nss-3.71/dist/Release/lib /tmp/nss-3.71/nss/nss.gyp
Traceback (most recent call last):
File "/usr/bin/gyp", line 33, in <module>
sys.exit(load_entry_point('gyp==0.1', 'console_scripts', 'gyp')())
File "/usr/bin/gyp", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 162, in load
module = import_module(match.group('module'))
File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib64/python3.10/site-packages/gyp/__init__.py", line 10, in <module>
import gyp.input
File "/usr/lib64/python3.10/site-packages/gyp/input.py", line 8, in <module>
import gyp.common
File "/usr/lib64/python3.10/site-packages/gyp/common.py", line 497, in <module>
class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'
/tmp/nss-3.71
cp: cannot stat 'bin/certutil': No such file or directory
cp: cannot stat 'bin/cmsutil': No such file or directory
cp: cannot stat 'bin/crlutil': No such file or directory
cp: cannot stat 'bin/modutil': No such file or directory
cp: cannot stat 'bin/pk12util': No such file or directory
cp: cannot stat 'bin/shlibsign': No such file or directory
cp: cannot stat 'bin/signtool': No such file or directory
cp: cannot stat 'bin/signver': No such file or directory
cp: cannot stat 'bin/ssltap': No such file or directory
cp: -r not specified; omitting directory 'lib/pkgconfig'
cp: cannot stat '../public/nss/*.h': No such file or directory
cp: cannot stat '../../nss/out/Release/libcrmf.a': No such file or directory
cp: cannot stat '../../nss/out/Release/libnssb.a': No such file or directory
cp: cannot stat '../../nss/out/Release/libnssckfw.a': No such file or directory
------------------------------
maybe the new python3 and gyp: there are gyp-python38.patch.gz and gyp-python39.patch.gz, but may be it needs also gyp-python310.patch.gz ?