Dear Maintainer,
When compiling firefox 126.0 on loong64, the following error occurred.
After installing python3-venv, the problem was solved.
patch:
--- a/debian/control.in 2024-05-29 03:36:06.696109308 +0000
+++ b/debian/control.in 2024-05-29 03:37:08.840042343 +0000
@@ -18,6 +18,7 @@
%endif
libreadline-dev,
python3 (>= 3.6),
+ python3-venv,
dpkg-dev,
%if USE_SYSTEM_NSPR
%define NSPR_VERSION 4.32
build error msg:
Traceback (most recent call last):
File "/usr/src/firefox/firefox-126.0/./mach", line 199, in <module>
main(sys.argv[1:])
File "/usr/src/firefox/firefox-126.0/./mach", line 155, in main
mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)),
args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/firefox/firefox-126.0/./mach", line 39, in
check_and_get_mach
return load_mach(dir_path, mach_path, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/firefox/firefox-126.0/./mach", line 25, in load_mach
return mach_initialize.initialize(dir_path, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/firefox/firefox-126.0/build/mach_initialize.py", line 354,
in initialize
command_site_manager.activate()
File "/usr/src/firefox/firefox-126.0/python/mach/mach/site.py", line 602,
in activate
self.ensure()
File "/usr/src/firefox/firefox-126.0/python/mach/mach/site.py", line 574,
in ensure
_create_venv_with_pthfile(
File "/usr/src/firefox/firefox-126.0/python/mach/mach/site.py", line
1290, in _create_venv_with_pthfile
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'venv',
'--without-pip',
'/usr/src/firefox/firefox-126.0/debian/.mozbuild/srcdirs/firefox-126.0-600b8d9dd763/_virtualenvs/common']'
returned non-zero exit status 1.