Closed Bug 1369320 Opened 7 years ago Closed 7 years ago

"mach vendor rust" fails with: Process executed with non-0 exit code 101: [u'/%home%/.cargo/bin/cargo', u'install', u'cargo-vendor']

Categories

(Firefox Build System :: General, defect)

54 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1359334

People

(Reporter: whimboo, Unassigned)

Details

% mach vendor rust
 0:02.81 Installing cargo-vendor (this may take a few minutes)...
 0:02.81 Using OpenSSL in /usr/local/opt/openssl
 0:02.81 /Volumes/data/Users/henrik/.cargo/bin/cargo install cargo-vendor
Error running mach:

    ['vendor', 'rust']

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 101: [u'/Volumes/data/Users/henrik/.cargo/bin/cargo', u'install', u'cargo-vendor']

  File "/Volumes/data/code/gecko/python/mozbuild/mozbuild/mach_commands.py", line 1877, in vendor_rust
    vendor_command.vendor(**kwargs)
  File "/Volumes/data/code/gecko/python/mozbuild/mozbuild/vendor_rust.py", line 257, in vendor
    cargo = self._ensure_cargo()
  File "/Volumes/data/code/gecko/python/mozbuild/mozbuild/vendor_rust.py", line 115, in _ensure_cargo
    append_env=env)
  File "/Volumes/data/code/gecko/python/mach/mach/mixin/process.py", line 147, in run_process
    raise Exception('Process executed with non-0 exit code %d: %s' % (status, args))
Component: mach → Build Config
Btw. the problem here actually was that cmake wasn't installed. So I had to do it via `brew install cmake`.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.