Building v68 from source on Linux arm64
Hello,
I need to build 68.12.1 from source for a Debian-based Linux aarch64. I have the required dependencies, then, from the obj folder, but the Python configure script fails here:
Traceback (most recent call last):
File "../configure.py", line 132, in <module> sys.exit(main(sys.argv)) File "../configure.py", line 38, in main sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure')) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/configure/__init__.py", line 481, in run func(*args) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/configure/__init__.py", line 525, in _value_for return self._value_for_depends(obj) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/util.py", line 947, in method_call cache[args] = self.func(instance, *args) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/configure/__init__.py", line 534, in _value_for_depends value = obj.result() File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/util.py", line 947, in method_call cache[args] = self.func(instance, *args) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/configure/__init__.py", line 151, in result return self._func(*resolved_args) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/configure/__init__.py", line 1097, in wrapped return new_func(*args, **kwargs) File "/home/user/src/thunderbird-68.12.1/build/moz.configure/rust.configure", line 60, in unwrap (retcode, stdout, stderr) = get_cmd_output(prog, '+stable') File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/configure/__init__.py", line 1097, in wrapped return new_func(*args, **kwargs) File "/home/user/src/thunderbird-68.12.1/build/moz.configure/util.configure", line 46, in get_cmd_output log.debug('Executing: `%s`', quote(*args)) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/shellutil.py", line 208, in quote return ' '.join(_quote(s) for s in strings) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/shellutil.py", line 208, in <genexpr> return ' '.join(_quote(s) for s in strings) File "/home/user/src/thunderbird-68.12.1/python/mozbuild/mozbuild/shellutil.py", line 194, in _quote return t("'%s'") % t(s).replace(t("'"), t("'\\"))
TypeError: cannot create 'NoneType' instances
My current Python knowledge is at absolute zero. Obviously, _quote() in shellutil.py takes care of strings by properly escaping quote chars. But for some reason the type of the s variable turns out to be None. I decided to try and type-cast s to str, but then I get TypeError: 'str' object is not callable
Assistance would be appreciated.