Bug: 2.53.14 release build failure- regression
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-10-14 21:30:47+00:00
Resolved: 2023-07-10 20:36:30+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0

Steps to reproduce:

I tried to compile 2.53.14 on same system and same configuration as 2.53.13 succesfully built.


Actual results:

+ cd /var/uhubuild/work/object
+ /var/uhubuild/work/compile/configure
Traceback (most recent call last):
  File "/var/uhubuild/work/compile/configure.py", line 167, in <module>
    sys.exit(main(sys.argv))
  File "/var/uhubuild/work/compile/configure.py", line 40, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 446, in run
    self.include_file(path)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 437, in include_file
    exec_(code, self)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/util.py", line 56, in exec_
    exec(object, globals, locals)
  File "/var/uhubuild/work/compile/moz.configure", line 7, in <module>
    include('build/moz.configure/init.configure')
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 746, in include_impl
    self.include_file(what)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 437, in include_file
    exec_(code, self)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/util.py", line 56, in exec_
    exec(object, globals, locals)
  File "/var/uhubuild/work/compile/build/moz.configure/init.configure", line 210, in <module>
    @imports(_from='mozbuild.virtualenv', _import='PY2')
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 729, in decorator
    depends = DependsFunction(self, func, dependencies, when=when)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 134, in __init__
    sandbox._value_for(self)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 521, in _value_for
    return self._value_for_depends(obj)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/util.py", line 981, in method_call
    cache[args] = self.func(instance, *args)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 530, in _value_for_depends
    value = obj.result()
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/util.py", line 981, in method_call
    cache[args] = self.func(instance, *args)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 160, in result
    return self._func(*resolved_args)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 1121, in wrapped
    return new_func(*args, **kwargs)
  File "/var/uhubuild/work/compile/build/moz.configure/init.configure", line 265, in virtualenv_python2
    found_python = find_program(python)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 1120, in wrapped
    self._apply_imports(func, glob)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 853, in _apply_imports
    glob[what] = self._get_one_import('%s%s' % (_from, what))
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/configure/__init__.py", line 931, in _get_one_import
    exec_(import_line, {}, glob)
  File "/var/uhubuild/work/compile/python/mozbuild/mozbuild/util.py", line 56, in exec_
    exec(object, globals, locals)
  File "<string>", line 1, in <module>
ImportError: No module named mozfile


Expected results:

+ cd /var/uhubuild/work/object
+ /var/uhubuild/work/compile/configure
Creating Python environment
New python executable in /var/uhubuild/work/object/_virtualenvs/init/bin/python2
Also creating executable in /var/uhubuild/work/object/_virtualenvs/init/bin/python
Installing setuptools, pip, wheel...done.
Error processing command. Ignoring because optional. (optional:setup.py:third_party/python/psutil:build_ext:--inplace)
Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
Reexecuting in the virtualenv
Adding configure options from /var/uhubuild/work/compile/.mozconfig