Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670720

Summary: dev-haskell/text : not independent of ghc version
Product: Gentoo Linux Reporter: Klaus Ethgen <Klaus+gentoo>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Klaus Ethgen 2018-11-09 01:03:32 UTC
The version of dev-haskell/text has to be the same as build in into ghc.

Currently I stumbled over a version mismatch between ghc-8.4.3 (from haskell overlay) and
dev-haskell/text-1.2.3.1. The version bundled in ghc is 1.2.3.0.

When ghc and dev-haskell/text does not match, packages use _both_ versions and fail to compile
badly.

Combinations that I seen is:
ghc-8.4.3: dev-haskell/text-1.2.3.0
ghc-8.4.4: dev-haskell/text-1.2.3.1

The same is valid for the versions in main gentoo repo.
Comment 1 Sergei Trofimovich gentoo-dev 2018-12-03 00:11:26 UTC
(In reply to Klaus Ethgen from comment #0)
> The version of dev-haskell/text has to be the same as build in into ghc.

That's correct. We'll need to fix eclass to enforce that match.