Skip to content

Instantly share code, notes, and snippets.

@zbraniecki
Created October 2, 2018 14:29
Show Gist options
  • Select an option

  • Save zbraniecki/67fa0427cfe663af96f5ef966afa4223 to your computer and use it in GitHub Desktop.

Select an option

Save zbraniecki/67fa0427cfe663af96f5ef966afa4223 to your computer and use it in GitHub Desktop.
~/projects/mozilla-unified central ⍉
▶ ./mach build
Build configuration changed. Regenerating backend.
0:00.37 /home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/_virtualenvs/init/bin/python /home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/config.status
Reticulating splines...
0:00.76 File already read. Skipping: /home/zbraniecki/projects/mozilla-unified/security/pkix/moz.build
0:01.80 File already read. Skipping: /home/zbraniecki/projects/mozilla-unified/gfx/angle/targets/angle_common/moz.build
0:07.82 /usr/bin/cargo build --build-plan -Z unstable-options --release --frozen --manifest-path /home/zbraniecki/projects/mozilla-unified/js/src/rust/Cargo.toml --lib --target=x86_64-unknown-linux-gnu
Traceback (most recent call last):
File "/home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/config.status", line 1297, in <module>
config_status(**args)
File "/home/zbraniecki/projects/mozilla-unified/python/mozbuild/mozbuild/config_status.py", line 146, in config_status
the_backend.consume(definitions)
File "/home/zbraniecki/projects/mozilla-unified/python/mozbuild/mozbuild/backend/base.py", line 128, in consume
if (not self.consume_object(obj) and
File "/home/zbraniecki/projects/mozilla-unified/python/mozbuild/mozbuild/backend/tup.py", line 667, in consume_object
self._gen_rust_rules(obj, backend_file)
File "/home/zbraniecki/projects/mozilla-unified/python/mozbuild/mozbuild/backend/tup.py", line 1014, in _gen_rust_rules
'\n'.join(output_lines))
Exception: cargo --build-plan failed with output:
error: failed to find winapi v0.3.6
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:
Exception: Process executed with non-0 exit code 1: ['/home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/_virtualenvs/init/bin/python', u'/home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/config.status']
File "/home/zbraniecki/projects/mozilla-unified/python/mozbuild/mozbuild/mach_commands.py", line 173, in build
mach_context=self._mach_context)
File "/home/zbraniecki/projects/mozilla-unified/python/mozbuild/mozbuild/controller/building.py", line 1086, in build
self.run_process(args, cwd=self.topobjdir, pass_thru=True)
File "/home/zbraniecki/projects/mozilla-unified/python/mach/mach/mixin/process.py", line 162, in run_process
raise Exception('Process executed with non-0 exit code %d: %s' % (status, args))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment