Skip to content

Cannot build .olean file on NFS #718

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
1 task done
Longhao-Chen opened this issue May 21, 2022 · 6 comments
Open
1 task done

Cannot build .olean file on NFS #718

Longhao-Chen opened this issue May 21, 2022 · 6 comments

Comments

@Longhao-Chen
Copy link

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)
@ge9
Copy link

ge9 commented Jun 11, 2024

I experienced the same issue. I also had *.tlean.lock and *.ast.json.lock files. Their permission was set as -rwsrwsr-t. Using tmpfs (create a temporary directory in /tmp and make a symbolic link) worked.

@PatrickMassot
Copy link
Member

@ge9 you are commenting on an issue about a completely obsolete piece of software. Are you sure you really want to use Lean 3?

@ge9
Copy link

ge9 commented Jun 15, 2024

Actually not, I was just trying to port https://github.com/openai/miniF2F to Lean 4 (since many theorems are missing from https://github.com/yangky11/miniF2F-lean4), with https://github.com/leanprover-community/mathport. I don't think this (possible) bug should be fixed, but posted the message just for someone's help. Sorry

@PatrickMassot
Copy link
Member

There is nothing to be sorry about, don’t worry. I was only trying to help you not wasting time on a badly outdated version of Lean.

@PatrickMassot
Copy link
Member

And I’m afraid I can confirm nobody will work on this issue. Support for Lean 3 ended almost one year ago.

@ge9
Copy link

ge9 commented Jun 16, 2024

Okay, that's fine. Thank you for your help!

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

No branches or pull requests

3 participants