Stack fails with `Cabal-3.11.0.0` (GHC >= 9.10)
@mpilgrem đang làm issue này rồi.
Từ ngày 30/3/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
GHC 9.10.0.20240328 is available (Alpha 2, first alpha for Windows). However stack build with:
snapshot: nightly-2024-03-30
compiler: ghc-9.10.0.20240328 # Override the compiler version in the snapshot
# Not needed once Stack has setup GHC 9.10.0.20240328:
setup-info:
ghc:
windows64:
9.10.0.20240328:
url: https://downloads.haskell.org/ghc/9.10.1-alpha2/ghc-9.10.0.20240328-x86_64-unknown-mingw32.tar.xz
# Can be extended with SHA protections etc: see https://docs.haskellstack.org/en/stable/yaml_configuration/#setup-info
fails with (extract, reformatted for clarity):
Warning: Stack has not been tested with GHC versions 9.10 and above, and using 9.10.0.20240328,
this may fail.
Warning: Stack has not been tested with Cabal versions 3.12 and above, but version 3.11.0.0 was
found, this may fail.
...
[2 of 3] Compiling StackSetupShim ( C:\sr\setup-exe-src\setup-shim-9p6GVs8J.hs, C:\sr\setup-exe-src\setup-shim-9p6GVs8J.o )
C:\sr\setup-exe-src\setup-shim-9p6GVs8J.hs:38:28: error: [GHC-88464]
Variable not in scope:
initialBuildSteps
:: FilePath
-> PackageDescription
-> LocalBuildInfo
-> Distribution.Verbosity.Verbosity
-> IO ()
|
38 | | null rest -> initialBuildSteps distPref pkg_descr lbi verbosity
| ^^^^^^^^^^^^^^^^^
Error: [S-6374]
While building simple Setup.hs (scroll up to its section to see the error) using:
...\x86_64-windows\ghc-9.10.0.20240328\bin\ghc-9.10.0.20240328.exe
-rtsopts
-threaded
-clear-package-db
-global-package-db
-hide-all-packages
-package base
-main-is StackSetupShim.mainOverride
-package Cabal-3.11.0.0
C:\sr\setup-exe-src\setup-9p6GVs8J.hs
C:\sr\setup-exe-src\setup-shim-9p6GVs8J.hs
-o C:\sr\setup-exe-cache\x86_64-windows\tmp-Cabal-simple_9p6GVs8J_3.11.0.0_ghc-9.10.0.20240328.exe
Process exited with code: ExitFailure 1
- Ngôn ngữ chính
- Haskell
- Star
- 4.1k
- Fork
- 857
- Merge trung bình
- 17 giờ 32 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 commercialhaskell/stack
-
Build Stack against Cabal >= 3.18Có thể đã có người làm @mpilgrem đã nhận 14 ngày trước. Đang mở
commercialhaskell/stack#6976 · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
commercialhaskell/stack#6954 ·
-
Support type-checking without compilingCó thể làm lại được @mpilgrem đã nhận 135 ngày trước và không có pull request nào đang mở. Đang mởcomponent: build type: enhancement
commercialhaskell/stack#6951 · 3 reaction · 1 người được giao ·
-
Support semaphore-compat 2.0.0Có thể làm lại được @mpilgrem đã nhận 158 ngày trước và không có pull request nào đang mở. Đang mởcomponent: build in progress type: enhancement
commercialhaskell/stack#6934 · 3 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
commercialhaskell/stack#6864 · 1 bình luận ·
Tất cả issue của commercialhaskell/stack
Issue tương tự
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
alunduil/network-arbitrary#293 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:client bug priority-low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 91/100
simplex-chat/simplex-chat#8372 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
agda/agda#8965 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày