<div dir="ltr"><div>Hi Chaowen,</div><div><br></div><div>Have you tried the proposed "<span style="display:inline-block">The package list for '<a href="http://hackage.haskell.org" target="_blank">hackage.haskell.org</a>' does not exist. Run 'cabal</span> <span style="display:inline-block">update' to download it."?</span></div><div><span style="display:inline-block"><br></span></div><div><span style="display:inline-block">I.e. I guess you only need to add `cabal update` to the list of commands to run.<br></span></div><div><span style="display:inline-block"><br></span></div><div><span style="display:inline-block">Best regards,</span></div><div><span style="display:inline-block"><br></span></div><div><span style="display:inline-block">Sven<br></span></div><div><span style="display:inline-block"><br></span></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Am So., 23. März 2025 um 11:37 Uhr schrieb chaowen guo <<a href="mailto:chaowen.guo1@gmail.com">chaowen.guo1@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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><span style="display:inline-block">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><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" target="_blank">1178</a><span style="display:inline-block">--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><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" target="_blank">1179</a><span style="display:inline-block">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><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" target="_blank">1180</a><span style="display:inline-block">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><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" target="_blank">1181</a><span style="display:inline-block">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><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" target="_blank">1182</a><span style="display:inline-block">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><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" target="_blank">1183</a><span style="display:inline-block">- 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><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" target="_blank">1184</a><span style="display:inline-block">Warning: The package list for '<a href="http://hackage.haskell.org" target="_blank">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><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" target="_blank">1185</a><span style="display:inline-block">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><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" target="_blank">1186</a><span style="display:inline-block">Warning: There is no index-state for '<a href="http://hackage.haskell.org" target="_blank">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><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" target="_blank">1187</a><span style="display:inline-block">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><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" target="_blank">1188</a><span style="display:inline-block">before the one requested, so the repository '<a href="http://hackage.haskell.org" target="_blank">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><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" target="_blank">1189</a><span style="display:inline-block">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><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" target="_blank">1190</a><span style="display:inline-block">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><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" target="_blank">1191</a><span style="display:inline-block">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><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" target="_blank">1192</a><span style="display:inline-block">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><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" target="_blank">1193</a><span style="display:inline-block">[__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><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" target="_blank">1194</a><span style="display:inline-block">[__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><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" target="_blank">1195</a><span style="display:inline-block">[__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><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" target="_blank">1196</a><span style="display:inline-block">[__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><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" target="_blank">1197</a><span style="display:inline-block">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>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>