Zulip Chat Archive

Stream: general

Topic: Lean 3.49 on Mac OS


Oliver Nash (Nov 18 2022 at 15:34):

Is anyone else having trouble upgrading to Lean 3.49 on Mac OS?

elan complains that:

error: binary package was not provided for 'darwin'

Kevin Buzzard (Nov 18 2022 at 15:34):

Is this the old error fixed by elan self update? What does elan -V give? Are you on >= 1.4.2 or below?

Oliver Nash (Nov 18 2022 at 15:35):

elan -V reports something quite embarrassing:

elan 1.0.8 (b41b00c6a 2021-09-10)

Oliver Nash (Nov 18 2022 at 15:35):

I'll try updating.

Eric Rodriguez (Nov 18 2022 at 15:36):

yeah this came up for me too, updating fixed the issue pretty fast

Kevin Buzzard (Nov 18 2022 at 15:38):

If elan self update doesn't work then uninstall and reinstall elan; this will hopefully fix it.

Oliver Nash (Nov 18 2022 at 15:38):

Now elan self update fails with an apparently known issue: https://github.com/leanprover/elan/issues/78

I'm losing the will.

Oliver Nash (Nov 18 2022 at 15:39):

OK maybe if I blow everything away. Thanks.

Oliver Nash (Nov 18 2022 at 15:43):

Oliver Nash said:

OK maybe if I blow everything away. Thanks.

This worked, specifically, all that was required was:

rm -rf ~/.elan
brew install elan-init

Mauricio Collares (Nov 18 2022 at 15:53):

@Sebastian Ullrich Is it worth using gnu tar for creating the Mac elan tarballs too?


Last updated: Dec 20 2023 at 11:08 UTC