Skip to content

Bump to Lean v4.20.0-rc3 #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dranov
Copy link
Contributor

@dranov dranov commented May 6, 2025

lean-auto currently doesn't work on macOS 15.4 due to a bug in Lean that has been fixed in v4.20.0-rc3.

This is the kind of error you see:

✖ [201/234] Building Auto.EvaluateAuto.EnvAnalysis
trace: .> LEAN_PATH=././.lake/build/lib/lean /Users/dranov/.elan/toolchains/leanprover--lean4---v4.18.0/bin/lean ././././Auto/EvaluateAuto/EnvAnalysis.lean -R ./././. -o ././.lake/build/lib/lean/Auto/EvaluateAuto/EnvAnalysis.olean -i ././.lake/build/lib/lean/Auto/EvaluateAuto/EnvAnalysis.ilean -c ././.lake/build/ir/Auto/EvaluateAuto/EnvAnalysis.c --plugin ././.lake/build/lib/lean/Auto_EvaluateAuto_NameArr.dylib --json
info: stderr:
libc++abi: terminating due to uncaught exception of type lean::exception: error loading library, dlopen(/Users/dranov/src/lean-auto-upstream/.lake/build/lib/lean/Auto_EvaluateAuto_NameArr.dylib, 0x0009): tried: '/Users/dranov/src/lean-auto-upstream/.lake/build/lib/lean/Auto_EvaluateAuto_NameArr.dylib' (__DATA_CONST segment missing SG_READ_ONLY flag), '/System/Volumes/Preboot/Cryptexes/OS/Users/dranov/src/lean-auto-upstream/.lake/build/lib/lean/Auto_EvaluateAuto_NameArr.dylib' (no such file), '/Users/dranov/src/lean-auto-upstream/.lake/build/lib/lean/Auto_EvaluateAuto_NameArr.dylib' (__DATA_CONST segment missing SG_READ_ONLY flag)

This PR bumps the toolchain to v4.20.0-rc3 so that users running macOS 15.4 can still build lean-auto.

@dranov dranov force-pushed the bump-v4.20.0-rc3 branch from 073d318 to 9f7714e Compare May 6, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant