articleBody
| -
hello,
Iâm following the steps in: https://firefox-source-docs.mozilla.org/setup/windows_build.html
and I'm stuck on the step to run the command "mach build" the error that is displayed is:
0:01.52 Clobber not needed.
0:01.52 c:\Users<my user name>.mozbuild_virtualenvs\mach\Scripts\python.exe c:/mozilla-source/mozilla-unified\configure.py
0:02.13 Re-executing in the virtualenv
0:02.85 checking for vcs source checkout⦠hg
0:02.94 checking for a shell⦠C:/mozilla-build/msys/bin/sh.exe
0:02.94 checking for host system type⦠x86_64-pc-mingw32
0:02.94 checking for target system type⦠x86_64-pc-mingw32
0:03.56 checking whether cross compiling⦠no
0:03.77 checking for Python 3⦠c:/mozilla-source/mozilla-unified/obj-x86_64-pc-mingw32/_virtualenvs/build/Scripts/python.exe (3.7.4)
0:03.77 checking for hg⦠c:/mozilla-build/python/Scripts/hg.exe
0:04.01 checking for Mercurial version⦠5.1.2
0:04.33 checking for sparse checkout⦠no
0:10.25 checking for wget⦠c:/mozilla-build/bin/wget.exe
0:10.32 Installing bootstrapped toolchain in c:/Users/s396454.mozbuild\clang
0:19.70 Error running mach:
0:19.70 [ââlog-no-timesâ, âartifactâ, âtoolchainâ, ââfrom-buildâ, âtoolchain-win64-clangâ]
0:19.70 The error occurred in code that was called by the mach command. This is either
0:19.70 a bug in the called code itself or in the way that mach is calling it.
0:19.70 You can invoke |./mach busted| to check if this issue is already on file. If it
0:19.70 isnât, please use |./mach busted file artifact| to report it. If |./mach busted| is
0:19.70 misbehaving, you can also inspect the dependencies of bug 1543241.
0:19.70 If filing a bug, please include the full output of mach, including this error
0:19.70 message.
0:19.70 The details of the failure are as follows:
0:19.71 requests.exceptions.SSLError: HTTPSConnectionPool(host=âfirefoxci.taskcluster-artifacts.netâ, port=443): Max retries exceeded with url: /LvigWSOpQCOZ45vTeLSmog/0/public/chain-of-trust.json (Caused by SSLError(SSLCertVerificationError(1, â[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)â)))
0:19.71 File âc:\mozilla-source\mozilla-unified\python/mozbuild/mozbuild/artifact_commands.pyâ, line 468, in artifact_toolchain
0:19.71 record = ArtifactRecord(task_id, artifact_name)
0:19.71 File âc:\mozilla-source\mozilla-unified\python/mozbuild/mozbuild/artifact_commands.pyâ, line 323, in init
0:19.71 get_artifact_url(task_id, âpublic/chain-of-trust.jsonâ)
0:19.71 File âc:\mozilla-source\mozilla-unified\third_party/python/requests\requests\sessions.pyâ, line 555, in get
0:19.71 return self.request(âGETâ, url, **kwargs)
0:19.71 File âc:\mozilla-source\mozilla-unified\third_party/python/requests\requests\sessions.pyâ, line 542, in request
0:19.71 resp = self.send(prep, **send_kwargs)
0:19.71 File âc:\mozilla-source\mozilla-unified\third_party/python/requests\requests\sessions.pyâ, line 677, in send
0:19.71 history = [resp for resp in gen]
0:19.71 File âc:\mozilla-source\mozilla-unified\third_party/python/requests\requests\sessions.pyâ, line 677, in
0:19.71 history = [resp for resp in gen]
0:19.71 File âc:\mozilla-source\mozilla-unified\third_party/python/requests\requests\sessions.pyâ, line 245, in resolve_redirects
0:19.71 **adapter_kwargs
0:19.71 File âc:\mozilla-source\mozilla-unified\third_party/python/requests\requests\sessions.pyâ, line 655, in send
0:19.71 r = adapter.send(request, **kwargs)
0:19.71 File âc:\mozilla-source\mozilla-unified\third_party/python/requests\requests\adapters.pyâ, line 514, in send
0:19.71 raise SSLError(e, request=request)
0:19.79 ERROR: Command â[âC:/mozilla-build/msys/bin/sh.exeâ, âc:/mozilla-source/mozilla-unified\machâ, ââlog-no-timesâ, âartifactâ, âtoolchainâ, ââfrom-buildâ, âtoolchain-win64-clangâ]â returned non-zero exit status 1.
0:19.79 ERROR: If you canât fix the above, retry with --disable-bootstrap.
Config object not found by mach.
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 can invoke |./mach busted| to check if this issue is already on file. If it
isnât, please use |./mach busted file build| 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:
Exception: Process executed with non-0 exit code 1: [âc:\Users\s396454\.mozbuild\_virtualenvs\mach\Scripts\python.exeâ, âc:/mozilla-source/mozilla-unified\configure.pyâ]
File âc:\mozilla-source\mozilla-unified\python/mozbuild/mozbuild/build_commands.pyâ, line 229, in build
append_env=append_env,
File âc:\mozilla-source\mozilla-unified\python/mozbuild\mozbuild\controller\building.pyâ, line 1149, in build
append_env=append_env,
File âc:\mozilla-source\mozilla-unified\python/mozbuild\mozbuild\controller\building.pyâ, line 1529, in configure
append_env=append_env,
File âc:\mozilla-source\mozilla-unified\python/mozbuild\mozbuild\base.pyâ, line 853, in _run_command_in_objdir
return self.run_process(cwd=self.topobjdir, **args)
File âc:\mozilla-source\mozilla-unified\python\mach\mach\mixin\process.pyâ, line 175, in run_process
âProcess executed with non-0 exit code %d: %sâ % (status, args)
is there a way to configure the command to ignore verifying the ssl certificate?
|