Skip to content

Failed to download rustc.exe #21743

@trippleflux

Description

@trippleflux

When doing make, curl failed to download with the following error :

$ make
cfg: build triple x86_64-pc-windows-gnu
cfg: host triples x86_64-pc-windows-gnu
cfg: target triples x86_64-pc-windows-gnu
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-pc-windows-gnu is x86_64
cfg: os for x86_64-pc-windows-gnu is pc-windows-gnu
cfg: good valgrind for x86_64-pc-windows-gnu is
cfg: using CC=gcc (CFG_CC)
cfg: enabling valgrind run-pass tests (CFG_ENABLE_VALGRIND_RPASS)
cfg: no lualatex found, deferring to xelatex
cfg: no xelatex found, deferring to pdflatex
cfg: no pdflatex found, disabling LaTeX docs
cfg: no pandoc found, omitting PDF and EPUB docs
fetch: x86_64-pc-windows-gnu/stage0/bin/rustc.exe
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (77) error setting certificate verify locations:
  CAfile: /usr/ssl/certs/ca-bundle.crt
  CApath: none
determined most recent snapshot: rust-stage0-2015-01-20-9006c3c-winnt-x86_64-36b6f239fe1264bceb4b8202e692b7d49947eebe.tar.bz2
Traceback (most recent call last):
  File "C:/msys64/home/Prodigy/rust/src/etc/get-snapshot.py", line 78, in <module>
    main(sys.argv)
  File "C:/msys64/home/Prodigy/rust/src/etc/get-snapshot.py", line 66, in main
    get_url_to_file(url, dl)
  File "C:/msys64/home/Prodigy/rust/src/etc/snapshot.py", line 155, in get_url_to_file
    raise Exception("failed to fetch url")
Exception: failed to fetch url
/home/Prodigy/rust/mk/stage0.mk:17: recipe for target 'x86_64-pc-windows-gnu/stage0/bin/rustc.exe' failed
make: *** [x86_64-pc-windows-gnu/stage0/bin/rustc.exe] Error 1

Adding -k option to disable cert verification on src/etc/snapshot.py still failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions