Closed Bug 1586015 Opened 5 years ago Closed 5 years ago

`mach bootstrap` fails for Android with infinite recursion error

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: snorp, Unassigned)

References

(Blocks 1 open bug)

Details

<snip about a billion lines>
File "/home/snorp/source/gecko/python/mozbuild/mozpack/files.py", line 1042, in _find_glob
pattern[1:]):
File "/home/snorp/source/gecko/python/mozbuild/mozpack/files.py", line 1042, in _find_glob
pattern[1:]):
File "/home/snorp/source/gecko/python/mozbuild/mozpack/files.py", line 1021, in _find_glob
for p, f in self._find(base):
File "/home/snorp/source/gecko/python/mozbuild/mozpack/files.py", line 987, in find_dir
for p
, f in self._find(mozpath.join(path, p)):
File "/home/snorp/source/gecko/python/mozbuild/mozpack/files.py", line 1042, in _find_glob
pattern[1:]):
File "/home/snorp/source/gecko/python/mozbuild/mozpack/files.py", line 1041, in _find_glob
for p, f in self._find_glob(mozpath.join(base, pattern[0]),
File "/home/snorp/source/gecko/python/mozbuild/mozpack/path.py", line 68, in join
return normsep(os.path.join(*paths))
File "/usr/lib64/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
Error running mach:

['bootstrap', '--no-system-changes']

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 can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

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

The details of the failure are as follows:

CalledProcessError: Command '['/usr/bin/python2.7', u'/home/snorp/source/gecko/mach', u'artifact', u'toolchain', u'--from-build', u'linux64-node']' returned non-zero exit status 1

File "/home/snorp/source/gecko/python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
bootstrapper.bootstrap()
File "/home/snorp/source/gecko/python/mozboot/mozboot/bootstrap.py", line 443, in bootstrap
checkout_root)
File "/home/snorp/source/gecko/python/mozboot/mozboot/bootstrap.py", line 390, in maybe_install_private_packages_or_exit
self.instance.ensure_node_packages(state_dir, checkout_root)
File "/home/snorp/source/gecko/python/mozboot/mozboot/linux_common.py", line 69, in ensure_node_packages
self.install_toolchain_artifact(state_dir, checkout_root, node.LINUX)
File "/home/snorp/source/gecko/python/mozboot/mozboot/base.py", line 328, in install_toolchain_artifact
subprocess.check_call(cmd, cwd=state_dir)
File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)

Apparently I had some untracked files causing this. False alarm.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.