Zulip Chat Archive

Stream: general

Topic: elan installation 404


Shing Tak Lam (Apr 17 2021 at 14:37):

It seems like right a few PRs in staging are failing their builds, since there is a 404 when installing elan

Examples:

Run set -o pipefail
  set -o pipefail
  curl https://raw.githubusercontent.com/Kha/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y
  ~/.elan/bin/lean --version
  echo "$HOME/.elan/bin" >> $GITHUB_PATH
  shell: /usr/bin/bash -e {0}
info: downloading installer
curl: (22) The requested URL returned error: 404
elan: command failed: curl -sSfL https://github.com/Kha/elan/releases/download/latest/elan-x86_64-unknown-linux-gnu.tar.gz -o /tmp/tmp.LotzRWUxTN/elan-init.tar.gz
Error: Process completed with exit code 1.

Bryan Gin-ge Chen (Apr 17 2021 at 14:56):

This is probably related to the fact that elan moved to the leanprover organization. I haven't figured out what the fix should be yet though.

cc: @Sebastian Ullrich

Bryan Gin-ge Chen (Apr 17 2021 at 15:12):

FWIW, elan self update from an older version didn't work for me on macOS:

$ elan self update
info: checking for self-updates
info: downloading self-update
error: failed to set permissions for '/Users/chb/.elan/bin/elan-init'
info: caused by: No such file or directory (os error 2)

However, reinstalling with curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh did work.

Bryan Gin-ge Chen (Apr 17 2021 at 15:15):

#7324 should hopefully fix things in mathlib. I'll go through the other repos and see what else needs updating.

Sebastian Ullrich (Apr 17 2021 at 15:30):

This should have only been an intermittent issue, all URLs seem to be forwarded properly now

Yaël Dillies (Dec 08 2021 at 13:52):

We seem to have that problem again. 5 of my builds recently failed because of that.

Sebastian Ullrich (Dec 08 2021 at 14:31):

This time we didn't change anything on our side

Bryan Gin-ge Chen (Dec 08 2021 at 14:37):

@Yaël Dillies can you link to some of the build logs?

Yaël Dillies (Dec 08 2021 at 14:53):

Here: https://github.com/leanprover-community/mathlib/runs/4456647696?check_suite_focus=true

Yaël Dillies (Dec 08 2021 at 14:54):

Sorry, should have probably changed to thread "elan installation 503" :grinning:

Sebastian Ullrich (Dec 08 2021 at 14:56):

Looks like a GitHub hiccup

Gabriel Ebner (Dec 08 2021 at 15:38):

It's been going on for a few days, and not just with elan. We've been seeing 503 Egress is over the account limit errors repeatedly.

Chris Lovett (Dec 09 2021 at 04:38):

Github did go down for about an hour last weekend.

Gabriel Ebner (Dec 10 2021 at 10:50):

Found the github issue: https://github.com/github/feedback/discussions/8535 Seems to have been resolved two days ago.


Last updated: Dec 20 2023 at 11:08 UTC