Stack fails with `Cabal-3.11.0.0` (GHC >= 9.10)
@mpilgrem arbeitet bereits daran.
Seit 30.3.2024.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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
- Vorherrschende Sprache
- Haskell
- Sterne
- 4.1k
- Forks
- 857
- Ø Merge
- 17 Std. 32 Min.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus commercialhaskell/stack
-
Build Stack against Cabal >= 3.18Evtl. vergeben @mpilgrem hat das vor 14 Tagen übernommen. Offen
commercialhaskell/stack#6976 · 1 zugewiesene Person ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
commercialhaskell/stack#6954 ·
-
Support type-checking without compilingEvtl. wieder frei @mpilgrem hat das vor 135 Tagen übernommen, und es ist kein Pull Request offen. Offencomponent: build type: enhancement
commercialhaskell/stack#6951 · 3 Reaktionen · 1 zugewiesene Person ·
-
Support semaphore-compat 2.0.0Evtl. wieder frei @mpilgrem hat das vor 158 Tagen übernommen, und es ist kein Pull Request offen. Offencomponent: build in progress type: enhancement
commercialhaskell/stack#6934 · 3 Kommentare · 1 zugewiesene Person ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
commercialhaskell/stack#6864 · 1 Kommentar ·
Alle Issues in commercialhaskell/stack
Ähnliche Issues
-
documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
alunduil/network-arbitrary#293 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:client bug priority-low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
bug triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 91/100
simplex-chat/simplex-chat#8372 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
agda/agda#8965 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag