Fork me on GitHub
#circleci
<
2020-02-29
>
borkdude09:02:08

@marc-omorain I'm getting

100 13.9M  100 13.9M    0     0  13.4M      0  0:00:01  0:00:01 --:--:-- 29.4M
shasum: /Users/distiller/.lein/self-installs/leiningen-2.9.2-standalone.jar.pending.shasum: no properly formatted SHA1 checksum lines found
Failed to properly download 
The checksum was mismatched. and we could not verify the downloaded
file. We expected a sha256 of
09805bd809656794cfe7d9155fd4b8bea2646092318690bf68e3c379574a2d3c and actually had
0b320b5ba103b199872e2ec6632dfbc1f3e045455ae35a1f3b5b3b5a2ba3ca16.
in my Mac container all of a sudden.

borkdude10:02:39

I'm getting this in babashka. It seems spire has the same problem: https://circleci.com/gh/epiccastle/spire/627?utm_campaign=vcs-integration-link&amp;utm_medium=referral&amp;utm_source=github-build-link so it might be a general Mac image problem?

Crispin10:02:24

"09805bd809656794cfe7d9155fd4b8bea2646092318690bf68e3c379574a2d3c and actually had 0b320b5ba103b199872e2ec6632dfbc1f3e045455ae35a1f3b5b3b5a2ba3ca16."

Crispin10:02:44

on spire its on lein clean

Crispin10:02:18

is lein trying to update? leiningen-2.9.2-standalone.jar?

Crispin10:02:43

hash mismatch... someone up to no good?

Crispin10:02:28

Downloading Leiningen to /home/crispin/.lein/self-installs/leiningen-2.9.2-standalone.jar now...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   618  100   618    0     0    939      0 --:--:-- --:--:-- --:--:--   939
100 13.9M  100 13.9M    0     0   407k      0  0:00:35  0:00:35 --:--:--  444k
/home/crispin/.lein/self-installs/leiningen-2.9.2-standalone.jar.pending: OK
Leiningen 2.9.2 on Java 11.0.5 OpenJDK 64-Bit Server VM

Crispin10:02:42

my linux box lein upgrade is ok

Crispin10:02:55

do you want to try on your mac @borkdude

Crispin10:02:39

(if its ok on your mac then theory: could be http download. Could be a transparent http proxy in circleci infra with corrupted file??)

borkdude12:02:30

@retrogradeorbit @marc-omorain fixed by pinning lein to the previous version:

#!/usr/bin/env bash

curl  > lein
sudo mkdir -p /usr/local/bin/
sudo mv lein /usr/local/bin/lein
sudo chmod a+x /usr/local/bin/lein

👍 1