leanprover-community / leanprover-community/lean

Cannot build .olean file on NFS

Open
#718 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
433
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
  • Put an X between the brackets on this line if you have done all of the following:
    • Checked that your issue isn't already filed.
    • Reduced the issue to a self-contained, reproducible test case.
Description

I store mathlib on an NFS server. When I use leanpkg build to build it, there are not have .olean files, but have many files *.olean. lock files with size 0.

Steps to Reproduce
  1. Store some package or source files on an NFS server.
  2. Build it.
Versions
Lean (version 3.43.0, commit bfce34363b0e, Release)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing leanpkg build with the package or source files stored on NFS, using the reported Lean 3.43.0 version. Inspect the build handling for .olean and .olean.lock files; done means the expected .olean files are produced rather than only zero-byte lock files.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.