Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735172 - dev-haskell/transformers-compat-0.6.5 USE=profile - 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’?
Summary: dev-haskell/transformers-compat-0.6.5 USE=profile - src/Control/Monad/Trans/I...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-02 08:41 UTC by Bernd Buschinski
Modified: 2020-09-06 14:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.log,8.34 KB, text/plain)
2020-08-02 08:42 UTC, Bernd Buschinski
Details
build.log (transformers-compat-build.log,41.80 KB, text/plain)
2020-08-02 08:43 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Buschinski 2020-08-02 08:41:58 UTC
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
Comment 1 Bernd Buschinski 2020-08-02 08:42:23 UTC
Created attachment 652278 [details]
emerge --info
Comment 2 Bernd Buschinski 2020-08-02 08:43:02 UTC
Created attachment 652280 [details]
build.log
Comment 3 Bernd Buschinski 2020-08-02 08:45:24 UTC
Maybe it is a missing dependency to dev-haskell/base-prelude ?
Comment 4 Sergei Trofimovich gentoo-dev 2020-09-05 08:18:48 UTC
(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).
Comment 5 Bernd Buschinski 2020-09-06 14:45:42 UTC
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.