Skip to content

Instantly share code, notes, and snippets.

@tsudot
Created May 16, 2015 15:23
Show Gist options
  • Select an option

  • Save tsudot/0ec11dba50d8ac5de689 to your computer and use it in GitHub Desktop.

Select an option

Save tsudot/0ec11dba50d8ac5de689 to your computer and use it in GitHub Desktop.
servo build
➜ servo git:(master) ✗ ./mach build --dev
Submodule path 'support/android-rs-glue': checked out 'dc8aef3e1b8f1acd141986cfab492e3f57d2d5f6'
Downloading Rust snapshot...
Error running mach:
['build', '--dev']
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:
URLError: <urlopen error unknown url type: https>
File "/Users/tsudot/workspace/servo/python/servo/build_commands.py", line 132, in build
self.ensure_bootstrapped()
File "./python/servo/command_base.py", line 240, in ensure_bootstrapped
Registrar.dispatch("bootstrap-rust", context=self.context)
File "/Users/tsudot/workspace/servo/python/mach/mach/registrar.py", line 62, in dispatch
return fn(**args) or 0
File "/Users/tsudot/workspace/servo/python/servo/bootstrap_commands.py", line 102, in bootstrap_rustc
download("Rust snapshot", snapshot_url, tgz_file)
File "/Users/tsudot/workspace/servo/python/servo/bootstrap_commands.py", line 25, in download
resp = urllib2.urlopen(src)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 427, in _open
'unknown_open', req)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1247, in unknown_open
raise URLError('unknown url type: %s' % type)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment