Not logged in : Login

About: proxy:entity/https/discourse.mozilla.org/t/self-signed-cert-error-when-using-mach-build/86528/1     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : sioc:Post, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
Date Created
  • 2021-09-29T13:30:52.500Z
Date Modified
  • 2021-09-29T13:30:52.500Z
sameAs
seeAlso
discourse:topic_slug
  • self-signed-cert-error-when-using-mach-build
discourse:post_number
  • 1
discourse:quote_count
  • 0
discourse:incoming_link_count
  • 167
discourse:score
  • 836
discourse:topic_id
  • 86528
described by
has container
content
  • proxy:entity/https/discourse.mozilla.org/t/self-signed-cert-error-when-using-mach-build/86528/1#content_202314

    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?

discourse:reply_count
  • 0
author
hasWebService
is sameAs of
is described by of
is container of of
is mainEntity of
is mainEntityOfPage of
is subject of
Faceted Search & Find service v1.17_git55 as of Mar 01 2021


Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software