Bug: Port Bug 1716613 to SeaMonkey 2.53's M-r
Status: NEW
Priority: --
Created: 2023-07-27 09:54:43+00:00
Resolved: 2023-07-27 09:54:43+00:00

Windows 64 -3 build using latest version of MozillaBuild fails with the following error:

+ ./mach build
 0:01.52 Clobber not needed.
 0:01.52 Adding make options from E:\worker\workspace\Build_56_Win32\build\.mozconfig
    export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=e:/builds/data/crash-stats-api.token
    MOZ_MAKE_FLAGS=-j4
    MOZ_OBJDIR=e:/worker/workspace/Build_56_Win32/obj-i686-pc-mingw32
    OBJDIR=e:/worker/workspace/Build_56_Win32/obj-i686-pc-mingw32
    FOUND_MOZCONFIG=E:/worker/workspace/Build_56_Win32/build/.mozconfig
    export FOUND_MOZCONFIG
 0:01.55 C:\mozilla-build\bin\mozmake.EXE -f client.mk MOZ_PARALLEL_BUILD=4 -s configure
 Config object not found by mach.
Error running mach:

    ['build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ValueError: too many values to unpack (expected 18)

  File "E:\worker\workspace\Build_56_Win32\build\python/mozbuild/mozbuild/build_commands.py", line 77, in build
    return driver.build(
  File "E:\worker\workspace\Build_56_Win32\build\python/mozbuild\mozbuild\controller\building.py", line 1140, in build
    config_rc = self.configure(buildstatus_messages=True,
  File "E:\worker\workspace\Build_56_Win32\build\python/mozbuild\mozbuild\controller\building.py", line 1438, in configure
    status = self._run_client_mk(target='configure',
  File "E:\worker\workspace\Build_56_Win32\build\python/mozbuild\mozbuild\controller\building.py", line 1585, in _run_client_mk
    return self._run_make(srcdir=True,
  File "E:\worker\workspace\Build_56_Win32\build\python/mozbuild\mozbuild\base.py", line 753, in _run_make
    return fn(**params)
  File "E:\worker\workspace\Build_56_Win32\build\python/mozbuild\mozbuild\base.py", line 804, in _run_command_in_srcdir
    return self.run_process(cwd=self.topsrcdir, **args)
  File "E:\worker\workspace\Build_56_Win32\build\python/mach\mach\mixin\process.py", line 127, in run_process
    p.run()
  File "E:\worker\workspace\Build_56_Win32\build\testing/mozbase/mozprocess\mozprocess\processhandler.py", line 827, in run
    self.proc = self.Process([self.cmd] + self.args, **args)
  File "E:\worker\workspace\Build_56_Win32\build\testing/mozbase/mozprocess\mozprocess\processhandler.py", line 140, in __init__
    subprocess.Popen.__init__(self, args, **kwargs)
  File "C:\mozilla-build\python3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "E:\worker\workspace\Build_56_Win32\build\testing/mozbase/mozprocess\mozprocess\processhandler.py", line 269, in _execute_child
    (args, executable, preexec_fn, close_fds,
Exception ignored in: <function ProcessHandlerMixin.Process.__del__ at 0x000002E1AA21B550>
Traceback (most recent call last):
  File "E:\worker\workspace\Build_56_Win32\build\testing/mozbase/mozprocess\mozprocess\processhandler.py", line 173, in __del__
    if handle or self._job or self._io_port:
AttributeError: 'Process' object has no attribute '_job'
Build step 'Execute shell' marked build as failure