After updating GHC transformers-compat fails to build Building library for transformers-compat-0.6.5.. [1 of 4] Compiling Control.Monad.Trans.Instances ( src/Control/Monad/Trans/Instances.hs, dist/build/Control/Monad/Trans/Instances.o ) [2 of 4] Compiling Data.Functor.Classes.Generic.Internal ( generics/Data/Functor/Classes/Generic/Internal.hs, dist/build/Data/Functor/Classes/Generic/Internal.o ) [3 of 4] Compiling Data.Functor.Classes.Generic ( generics/Data/Functor/Classes/Generic.hs, dist/build/Data/Functor/Classes/Generic.o ) [4 of 4] Compiling Paths_transformers_compat ( dist/build/autogen/Paths_transformers_compat.hs, dist/build/Paths_transformers_compat.o ) [1 of 4] Compiling Control.Monad.Trans.Instances ( src/Control/Monad/Trans/Instances.hs, dist/build/Control/Monad/Trans/Instances.p_o ) src/Control/Monad/Trans/Instances.hs:38:8: error: Could not find module ‘Prelude’ Perhaps you haven't installed the profiling libraries for package ‘base-4.13.0.0’? Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 38 | module Control.Monad.Trans.Instances () where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Control/Monad/Trans/Instances.hs:48:1: error: Could not find module ‘Control.Applicative.Backwards’ Perhaps you haven't installed the profiling libraries for package ‘transformers-0.5.6.2’? Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 48 | import Control.Applicative.Backwards (Backwards(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... Reproducible: Always
Created attachment 652278 [details] emerge --info
Created attachment 652280 [details] build.log
Maybe it is a missing dependency to dev-haskell/base-prelude ?
(In reply to Bernd Buschinski from comment #3) > Maybe it is a missing dependency to dev-haskell/base-prelude ? Prelute should come from ghc's base. The culprit here is missing profiling libs of ghc itself. Can you post 'emerge --info ghc'? It's probably missing USE=profile on ghc (and missing dependency for libraries).
Sorry, I no longer have this setup, after Haskell go too annoying, I removed it completely. But I vaguely remember setting: "dev-haskell/* profile" in my packages.use but not for dev-lang/ghc. So you might be right.