leanprover-community / leanprover-community/mathlib4
lake update gets stuck if I add mathlib as dependency
Open
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 4.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
When the last 2 lines are added:
import Lake
open Lake DSL
package "lean1" where
version := v!"0.1.0"
lean_lib «Lean1» where
-- add library configuration options here
@[default_target]
lean_exe "lean1" where
root := `Main
require mathlib from git
"https://github.com/leanprover-community/mathlib4"
then I run lake update -vv and it displays no output and gets stuck forever with no return.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported setup by adding the shown require mathlib from git declaration and running lake update -vv. Investigate the dependency update entry point and determine why the command hangs; done means the update completes or reports a useful failure instead of remaining stuck.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100