-
-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Labels
type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Not sure yet what changed but today when I tried to (re)build HLS 2.11 I hit the compilation error below.
Your environment
Which OS do you use? Fedora
Which version of GHC do you use and how did you install it? ghc's from Fedora
How is your project built (alternative: link to the project)?
https://github.com/fedora-haskell/haskell-language-server
Steps to reproduce
Expected behaviour
Successful build of HLS 2.11 with cabal-install
Actual behaviour
[16 of 19] Compiling Ide.Plugin.Cabal.CabalAdd ( plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/CabalAdd.hs, dist/build/hls-cabal-plugin/Ide/Plugin/Cabal/CabalAdd.o, dist/build/hls-cabal-plugin/Ide/Plugin/Cabal/CabalAdd.dyn_o )
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/CabalAdd.hs:283:55: error: [GHC-76037]
Not in scope: data constructor ‘Config’
Suggested fix:
Add ‘Config’ to the import list in the import of ‘Ide.Types’
(at plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/CabalAdd.hs:(61,1)-(65,82)).
|
283 | case executeConfig (validateChanges origPackDescr) (Config {..}) of
| ^^^^^^
[17 of 19] Compiling Ide.Plugin.Cabal.Outline ( plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/Outline.hs, dist/build/hls-cabal-plugin/Ide/Plugin/Cabal/Outline.o, dist/build/hls-cabal-plugin/Ide/Plugin/Cabal/Outline.dyn_o )
[18 of 19] Compiling Ide.Plugin.Cabal.Parse ( plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/Parse.hs, dist/build/hls-cabal-plugin/Ide/Plugin/Cabal/Parse.o, dist/build/hls-cabal-plugin/Ide/Plugin/Cabal/Parse.dyn_o )
Error: [Cabal-7125]
Failed to build lib:hls-cabal-plugin from haskell-language-server-2.11.0.0 (which is required by exe:haskell-language-server-wrapper from haskell-language-server-2.11.0.0 and exe:haskell-language-server from haskell-language-server-2.11.0.0). See the build log above for details.
Debug information
It built okay at the end of May for Fedora 41, 42, and Rawhide on x86_64 and aarch64,
so I am not sure yet what changed: perhaps some dep bound would fix it possibly??
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..