Closed Bug 1663369 Opened 4 years ago Closed 4 years ago

execution of zstd fails

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

x86_64
Windows 10
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1660559

People

(Reporter: mt, Unassigned)

Details

Running ./mach bootstrap (geckoview builds, option 4) on windows under mozilla-build 3.3 I get the following:

 0:05.15 Setting up artifact clang.tar.zst
 0:05.15 Using artifact from local cache: c:\code\.mozbuild\toolchains\d33fc3b0f548e8e7-clang.tar.zst
Requirement already satisfied: zstandard<=0.13.0,>=0.9.0 in c:\code\.mozbuild\_virtualenvs\mach\lib\site-packages (0.13.0)
Requirement already satisfied: cffi>=1.11 in c:\code\.mozbuild\_virtualenvs\mach\lib\site-packages (from zstandard<=0.13.0,>=0.9.0) (1.14.2)
Requirement already satisfied: pycparser in c:\code\.mozbuild\_virtualenvs\mach\lib\site-packages (from cffi>=1.11->zstandard<=0.13.0,>=0.9.0) (2.20)
WARNING: You are using pip version 19.3.1; however, version 20.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Error running mach:

    ['artifact', 'toolchain', '--bootstrap', '--from-build', 'win64-clang-cl']

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 can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file artifact| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ModuleNotFoundError: No module named 'zstandard'

  File "c:\code\gecko\python/mozbuild/mozbuild/artifact_commands.py", line 472, in artifact_toolchain
    unpack_file(local)
  File "c:\code\gecko\python/mozbuild\mozbuild\action\tooltool.py", line 918, in unpack_file
    import zstandard
  File "c:\code\gecko\build/mach_bootstrap.py", line 474, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)

Running ./mach artifact toolchain --bootstrap --from-build win64-clang-cl works fine.

Are you still seeing this today (after updating to a new mozilla-central)? Bug 1660559 should have fixed this.

Thanks Ricky, rebasing seemed to do the trick.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.