`stack ghci` broken(?) on GHC 9.14.1
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- haskell
- 領域
- build-system, cli
調査の方向性
このレポートの出力を使って GHC 9.14.1 で stack ghci を再現し、その後、リンクされている GHC issue 26866 を読んでください。Stack がプロジェクト用に GHCi をどのように設定しているかを追跡し、Module Lib not found エラーが診断目的 בלבדなのかを判断してください。完了の条件は、一覧にあるモジュールの読み込み中に、誤解を招くエラーや警告なしで stack ghci が起動することです。
索引モデルが issue の本文から書いたものです。
説明
See GHC issue:
With GHC 9.14.1:
> stack ghci
Using main module:
1. Package testGhc9141, component testGhc9141:exe:testGhc9141-exe, with main-is file:
D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs.
testGhc9141> configure (lib + exe)
Configuring testGhc9141-0.1.0.0...
testGhc9141> initial-build-steps (lib + exe)
Warning: The following GHC options are incompatible with GHCi and have not been passed to it: -threaded.
Configuring GHCi with the following packages: testGhc9141.
GHCi, version 9.14.1: https://www.haskell.org/ghc/ :? for help
<interactive>: error: [GHCi-23305]
Module Lib not found
<no location info>: warning: [GHC-32850] [-Wmissing-home-modules]
Modules are not listed in options for ‘main’ but needed for compilation:
Lib
[1 of 3] Compiling Lib ( D:\Users\mike\Code\Haskell\testGhc9141\src\Lib.hs, interpreted )[main]
[2 of 3] Compiling Main ( D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs, interpreted )[interactive-session]
Ok, one module added.
Loaded GHCi configuration from C:\Users\mike\AppData\Local\stack\ghci-script\a658edde\ghci-script
ghci>
The <no location info> warning is a consequence of ghc-options: [-Wmissing-home-modules]. Without that:
GHCi, version 9.14.1: https://www.haskell.org/ghc/ :? for help
<interactive>: error: [GHCi-23305]
Module Lib not found
[1 of 3] Compiling Lib ( D:\Users\mike\Code\Haskell\testGhc9141\src\Lib.hs, interpreted )[main]
[2 of 3] Compiling Main ( D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs, interpreted )[interactive-session]
Ok, one module added.
Loaded GHCi configuration from C:\Users\mike\AppData\Local\stack\ghci-script\a658edde\ghci-script
ghci> :show modules
Lib ( D:\Users\mike\Code\Haskell\testGhc9141\src\Lib.hs, interpreted )
Main ( D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs, interpreted )
ghci>
Despite the Module Lib not found and Ok, one module added., both modules are compiled and shown as loaded.
- 主要言語
- Haskell
- スター
- 4.1k
- フォーク
- 857
- 平均マージ
- 17時間 32分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
commercialhaskell/stack のほかの issue
-
Build Stack against Cabal >= 3.18対応中かも @mpilgrem が 14 日前に担当しました。 オープン
commercialhaskell/stack#6976 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
commercialhaskell/stack#6954 ·
-
Support type-checking without compiling再び着手できるかも @mpilgrem が 135 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcomponent: build type: enhancement
commercialhaskell/stack#6951 · リアクション 3 件 · 担当者 1 名 ·
-
Support semaphore-compat 2.0.0再び着手できるかも @mpilgrem が 158 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcomponent: build in progress type: enhancement
commercialhaskell/stack#6934 · コメント 3 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
commercialhaskell/stack#6864 · コメント 1 件 ·
commercialhaskell/stack の issue をすべて見る
似ている issue
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
alunduil/network-arbitrary#293 ·
メンテナーはふだん 1 日以内に返信
-
area:client bug priority-low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 91/100
simplex-chat/simplex-chat#8372 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9710 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信