Omni/Web.hs build fails with missing dependency 'base64 base64-bytestring' while shipping web. Investigate malformed dep annotation/package list entry introducing a combined package token, then fix and verify bild Omni/Web.hs succeeds.
Fixed Omni/Web.hs build failure caused by malformed langdep token from bild's ghc-pkg parsing.
Root cause:
bild used ghc-pkg --simple-output find-module and parsed output with lines.
For modules provided by multiple packages, ghc-pkg returns a single line with space-separated package names (e.g. base64 base64-bytestring).
That was treated as one package name, producing invalid dep "base64 base64-bytestring".
Changes:
Omni/Bild.hs
Parse ghc-pkg output as package tokens (words over output lines), not single lines.
Normalize cached ghc-pkg package entries to split any legacy space-joined tokens.
Add resolveGhcPkgCandidates so when multiple packages provide a module, bild prefers explicit : dep declarations and drops unresolved ambiguous candidates.
Fixed Omni/Web.hs build failure caused by malformed langdep token from bild's ghc-pkg parsing.
Root cause:
ghc-pkg --simple-output find-moduleand parsed output withlines.base64 base64-bytestring)."base64 base64-bytestring".Changes:
wordsover output lines), not single lines.resolveGhcPkgCandidatesso when multiple packages provide a module, bild prefers explicit: depdeclarations and drops unresolved ambiguous candidates.Verification:
Commit: