Skip to content

Instantly share code, notes, and snippets.

@daleharvey
Created September 11, 2019 13:02
Show Gist options
  • Save daleharvey/4eb934ccbe0584c461e776a32e428d93 to your computer and use it in GitHub Desktop.
Save daleharvey/4eb934ccbe0584c461e776a32e428d93 to your computer and use it in GitHub Desktop.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/taskgraph.cron.rst.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/taskgraph.loader.rst.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/taskgraph.optimize.rst.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/taskgraph.test.rst.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/taskgraph.transforms.rst.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/taskgraph.transforms.job.rst.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/taskgraph.util.rst.
Creating file /Users/dale/src/gecko/objdir/firefox-opt/docs/html/_staging/python/marionette_driver.rst.
WARNING: The config value `js_source_path' has type `list', defaults to `str'.
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 395 source files that are out of date
updating environment: 395 added, 0 changed, 0 removed
/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'doc': [Errno 2] No such file or directory
WARNING: the mozbuild.sphinx extension does not declare if it is safe for parallel reading, assuming it isn't - please ask the extension author to check and make it explicit
WARNING: doing serial read
/Users/dale/src/gecko/python/mozbuild/mozbuild/artifact_cache.py:docstring of mozbuild.artifact_cache.ArtifactPersistLimit:12: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/artifact_cache.py:docstring of mozbuild.artifact_cache.ArtifactPersistLimit:14: WARNING: Block quote ends without a blank line; unexpected unindent.
WARNING: autodoc: failed to import module u'faster_daemon' from module u'mozbuild'; the following exception was raised:
No module named pywatchman
/Users/dale/src/gecko/python/mozbuild/mozbuild/makeutil.py:docstring of mozbuild.makeutil.Rule:3: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:57: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:59: WARNING: Inline emphasis start-string without end-string.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:65: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:68: WARNING: Inline emphasis start-string without end-string.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:74: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:78: WARNING: Inline emphasis start-string without end-string.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:84: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/moz_yaml.py:docstring of mozbuild.moz_yaml.VALID_LICENSES:100: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/util.py:docstring of mozbuild.util.StrictOrderingOnAppendListWithFlagsFactory:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/dale/src/gecko/python/mozbuild/mozbuild/artifact_commands.py:docstring of mozbuild.artifact_commands.PackageFrontend.artifact:3: WARNING: Undefined substitution referenced: "mach build".
/Users/dale/src/gecko/python/mozbuild/mozbuild/artifact_commands.py:docstring of mozbuild.artifact_commands.PackageFrontend.artifact:3: WARNING: Undefined substitution referenced: "mach artifact last".
/Users/dale/src/gecko/python/mozbuild/mozbuild/artifacts.py:docstring of mozbuild.artifacts:24: WARNING: Undefined substitution referenced: "mach artifact".
WARNING: autodoc: failed to import module u'invoke_mach_command' from module u'mach.test'; the following exception was raised:
Traceback (most recent call last):
File "/Users/dale/src/gecko/objdir/firefox-opt/_virtualenvs/docs-Xx3KerSc/lib/python2.7/site-packages/sphinx/ext/autodoc/importer.py", line 154, in import_module
__import__(modname)
File "/Users/dale/src/gecko/build/mach_bootstrap.py", line 406, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/dale/src/gecko/python/mach/mach/test/invoke_mach_command.py", line 5, in <module>
subprocess.check_call([sys.executable] + sys.argv[1:])
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['/usr/local/opt/python@2/bin/python2.7', 'doc']' returned non-zero exit status 2
WARNING: autodoc: failed to import module u'registrar_dispatch' from module u'mach.test'; the following exception was raised:
Traceback (most recent call last):
File "/Users/dale/src/gecko/objdir/firefox-opt/_virtualenvs/docs-Xx3KerSc/lib/python2.7/site-packages/sphinx/ext/autodoc/importer.py", line 154, in import_module
__import__(modname)
File "/Users/dale/src/gecko/build/mach_bootstrap.py", line 406, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/dale/src/gecko/python/mach/mach/test/registrar_dispatch.py", line 4, in <module>
self._mach_context.commands.dispatch('uuid', self._mach_context) # noqa: F821
NameError: name 'self' is not defined
WARNING: autodoc: failed to import module u'zero_microseconds' from module u'mach.test'; the following exception was raised:
Traceback (most recent call last):
File "/Users/dale/src/gecko/objdir/firefox-opt/_virtualenvs/docs-Xx3KerSc/lib/python2.7/site-packages/sphinx/ext/autodoc/importer.py", line 154, in import_module
__import__(modname)
File "/Users/dale/src/gecko/build/mach_bootstrap.py", line 406, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/dale/src/gecko/python/mach/mach/test/zero_microseconds.py", line 4, in <module>
old = self._mach_context.post_dispatch_handler # noqa: F821
NameError: name 'self' is not defined
/Users/dale/src/gecko/python/mozbuild/mozbuild/frontend/context.py:docstring of mozbuild.frontend.context.ContextDerivedTypedRecord:10: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/dale/src/gecko/python/mozbuild/mozbuild/frontend/context.py:docstring of mozbuild.frontend.context.Path:5: WARNING: Unexpected indentation.
/Users/dale/src/gecko/python/mozbuild/mozbuild/frontend/context.py:docstring of mozbuild.frontend.context.Path.join:1: WARNING: Inline emphasis start-string without end-string.
/Users/dale/src/gecko/python/mozbuild/mozbuild/frontend/reader.py:docstring of mozbuild.frontend.reader.BuildReader.read_mozbuild:6: WARNING: Inline emphasis start-string without end-string.
Sphinx error:
No JSDoc documentation was found for object "ExtensionAPI" or any path ending with that.
./mach: failed to generate documentation:
/Users/dale/src/gecko/tools: sphinx return code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment