<div dir="auto"><div dir="auto">i fork the ghc repo from github and use the following workflow</div><div dir="auto"><br></div><div dir="auto">on: push</div><div dir="auto"> </div><div dir="auto">jobs:</div><div dir="auto"> build:</div><div dir="auto"> runs-on: ubuntu-24.04</div><div dir="auto"> steps:</div><div dir="auto"> - uses: actions/checkout@main</div><div dir="auto"> - run: | </div><div dir="auto"> git submodule update --init --recursive</div><div dir="auto"> sudo apt install -y --no-install-recommends alex happy</div><div dir="auto"> python3 boot</div><div dir="auto"> ./configure</div><div dir="auto"> hadrian/build</div><div dir="auto"><br></div><div dir="auto"><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><span style="display:inline-block!important">Warning: Specifying an absolute path to the project file is deprecated. Use
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1179" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1178</a><span style="display:inline-block!important">--project-dir to set the project's directory.
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1180" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1179</a><span style="display:inline-block!important">Config file path source is default config file.
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1181" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1180</a><span style="display:inline-block!important">Config file not found: /home/runner/.config/cabal/config
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1182" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1181</a><span style="display:inline-block!important">Writing default configuration to /home/runner/.config/cabal/config
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1183" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1182</a><span style="display:inline-block!important">Configuration is affected by the following files:
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1184" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1183</a><span style="display:inline-block!important">- cabal.project
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1185" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1184</a><span style="display:inline-block!important">Warning: The package list for '<a href="http://hackage.haskell.org">hackage.haskell.org</a>' does not exist. Run 'cabal
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1186" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1185</a><span style="display:inline-block!important">update' to download it.
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1187" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1186</a><span style="display:inline-block!important">Warning: There is no index-state for '<a href="http://hackage.haskell.org">hackage.haskell.org</a>' exactly at the
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1188" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1187</a><span style="display:inline-block!important">requested timestamp (2025-01-27T17:45:32Z). Also, there are no index-states
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1189" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1188</a><span style="display:inline-block!important">before the one requested, so the repository '<a href="http://hackage.haskell.org">hackage.haskell.org</a>' will be
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1190" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1189</a><span style="display:inline-block!important">empty.
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1191" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1190</a><span style="display:inline-block!important">Resolving dependencies...
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1192" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1191</a><span style="display:inline-block!important">Error: [Cabal-7107]
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1193" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1192</a><span style="display:inline-block!important">Could not resolve dependencies:
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1194" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1193</a><span style="display:inline-block!important">[__0] trying: hadrian-0.1.0.0 (user goal)
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1195" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1194</a><span style="display:inline-block!important">[__1] trying: hadrian:+selftest
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1196" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1195</a><span style="display:inline-block!important">[__2] unknown package: QuickCheck (dependency of hadrian +selftest)
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1197" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1196</a><span style="display:inline-block!important">[__2] fail (backjumping, conflict set: QuickCheck, hadrian, hadrian:selftest)
</span></div></div><div style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;background-color:rgb(1,4,9)" dir="auto"><div style="display:!important;line-height:20px"><a href="https://github.com/chaowenguo1/ghc/actions/runs/14017990071/job/39246149896#step:3:1198" style="background-color:transparent;text-decoration-line:none;width:48px;text-align:right;text-overflow:ellipsis;display:inline-block!important">1197</a><span style="display:inline-block!important">After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hadrian, hadrian:selftest, QuickCheck</span></div></div></div><div dir="auto">i have no idea what happen. please help.</div></div>