Static facets and Export.Parse not built
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu trong lakefile.toml, tại cấu hình thư viện Export, và xem xét cách comparator được build dựa trên các artifact lean4export được phân phối. Xác minh cấu hình cho Export.Parse và các static facet, sau đó build comparator bằng các artifact lean4export chỉ-đọc. Hoàn tất khi các oleans và tệp thực thi của comparator được build mà lake không cố ghi vào vị trí lean4export bất biến.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Currently, when building comparator with an already built/distributed lean4export, it tries to build Export.Parse leading to a permission denied issue when the artifacts of lean4export are distributed in a read-only state (as is the case with nix e.g.).
To fix this, lean4export should also build Export.Parse which can be fixed by adding globs = ["Export.*"] to lakefile.toml under the Export library configuration (otherwise, when building comparator for example, lake tries to build these in the immutable location /path/to/lean4export/.lake).
This would be sufficient to build comparator's oleans, but as it also contains an exe which import Export.Parse, it needs the static library facets (including the .c.o.export files that are found under .lake/build/ir/Export/) which again, when missing, lake tries to build in the immutable location. To build static facets as part of lean4export we should add defaultFacets = ["static"] to the Export library configuration.
I can submit a PR for this if it's okay?
- Ngôn ngữ chính
- Lean
- Star
- 52
- Fork
- 30
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của leanprover/lean4export
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
leanprover/lean4export#64 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
leanprover/lean4export#62 · 2 bình luận ·
-
Exported binder names and binder info depend on what else is exportedCó thể đã có người làm @JoAdo07 đã nhận 31 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
leanprover/lean4export#58 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
leanprover/lean4export#48 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
leanprover/lean4export#8 · 2 bình luận ·
Tất cả issue của leanprover/lean4export
Issue tương tự
-
Packaging: support mise-en-placeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Unable to installĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
[BUG] Nightly Build JDK 17: latest-frameworks job red since 2026-11-28 — quarkiverse-langchain4j 2.0.0 pins Quarkus 4.0.0, which requires Java 21Có thể đã có người làm @uhhgxg đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
langchain4j/langchain4j#7344 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
connectrpc/connect-es#1915 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ninja_build.sh -t compile_commands fails: `cmake ..` points at build/ instead of the repo rootĐang mởneeds review regression MS4
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
Maintainer thường phản hồi trong vòng 2 ngày