Windows 11: Trying to build with `ghc-git-682bf9799b3c3037ee484732bd83c3d21f620fc0`

オープン
#6,823 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
haskell

調査の方向性

Start by reproducing the Windows 11 build with compiler ghc-git-682bf9799b3c3037ee484732bd83c3d21f620fc0, comparing Stage 0 and Stage 1 behavior with the default and shortened TEMP/TMP paths. Inspect lib\targets\default.target and its absolute paths, then verify that the resulting GHC build works after the path issue is addressed.

索引モデルが issue の本文から書いたものです。

説明

On Windows 11, trying to build with compiler: ghc-git-682bf9799b3c3037ee484732bd83c3d21f620fc0 was failing during Stage 1, with:

_build/stage0/bin/ghc.exe: createProcess: does not exist (No such file or directory)

even though _build/stage0/bin/ghc.exe had been created during Stage 0.

The reason seems to be a problem with long paths (even though long paths support was enabled). Creating, short, C:\Temp and setting TEMP and TMP to reference it saw GHC built from source.

However, the build has folder lib\targets containing file default.target and that file has absolute paths. The built GHC does not work, as a consequence.

主要言語
Haskell
スター
4.1k
フォーク
857
平均マージ
17時間 32分
マージ済み PR(30日)
5

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

commercialhaskell/stack のほかの issue

commercialhaskell/stack の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。