Skip to content

Instantly share code, notes, and snippets.

@zslayton
Created March 8, 2015 18:49
Show Gist options
  • Save zslayton/f5bf953f1d949cd747c6 to your computer and use it in GitHub Desktop.
Save zslayton/f5bf953f1d949cd747c6 to your computer and use it in GitHub Desktop.
$ ./mach build
Usage: git submodule [--quiet] add [-b branch] [-f|--force] [--reference <repository>] [--] <repository> [<path>]
or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
or: git submodule [--quiet] init [--] [<path>...]
or: git submodule [--quiet] update [--init] [-N|--no-fetch] [-f|--force] [--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]
or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
or: git submodule [--quiet] foreach [--recursive] <command>
or: git submodule [--quiet] sync [--] [<path>...]
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:
CalledProcessError: Command '['git', 'submodule', '--quiet', 'sync', '--recursive']' returned non-zero exit status 1
File "/home/zslayton/servo/python/servo/build_commands.py", line 48, in build
self.ensure_bootstrapped()
File "./python/servo/command_base.py", line 221, in ensure_bootstrapped
subprocess.check_call(["git", "submodule", "--quiet", "sync", "--recursive"])
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment