Bug 1121624 - ghc-hint fails to build on s390* and ppc* since it needs ghci
Summary: ghc-hint fails to build on s390* and ppc* since it needs ghci
Alias: None
Product: Fedora
Classification: Fedora
Component: ghc-hint
Version: 20
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
Reported: 2014-07-21 12:05 UTC by Jakub Čajka
Modified: 2014-07-30 21:57 UTC (History)
1 user (show)

Fixed In Version: ghc-ghc-mtl-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-30 21:57:38 UTC
Type: Bug

Attachments (Terms of Use)
Koji shadow build log (4.84 KB, text/x-log)
2014-07-21 12:05 UTC, Jakub Čajka
no flags Details

Description Jakub Čajka 2014-07-21 12:05:53 UTC
Created attachment 919615 [details]
Koji shadow build log

Description of problem:
ghc-hint fails to build on s390(x)

Shadow build( http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1441416 ) fails with:
Building hint-
Preprocessing library hint-
[ 1 of 23] Compiling Hint.SignalHandlers ( src/Hint/SignalHandlers.hs, dist/build/Hint/SignalHandlers.o )
[ 2 of 23] Compiling Hint.Util        ( src/Hint/Util.hs, dist/build/Hint/Util.o )
[ 3 of 23] Compiling Hint.CompatPlatform ( src/Hint/CompatPlatform.hs, dist/build/Hint/CompatPlatform.o )
[ 4 of 23] Compiling Hint.GHC         ( src/Hint/GHC.hs, dist/build/Hint/GHC.o )
[ 5 of 23] Compiling Hint.Compat      ( src/Hint/Compat.hs, dist/build/Hint/Compat.o )
src/Hint/Compat.hs:53:6: Not in scope: `GHC.setContext'
src/Hint/Compat.hs:56:14: Not in scope: `GHC.getContext'
    Not in scope: type constructor or class `GHC.HValue'
src/Hint/Compat.hs:146:27: Not in scope: `GHC.compileExpr'
src/Hint/Compat.hs:150:24: Not in scope: `GHC.exprType'
src/Hint/Compat.hs:158:39: Not in scope: `GHC.typeKind'

Comment 3 Jens Petersen 2014-07-22 04:07:52 UTC
This issue is not s390* specific it also applies to ppc*.

The problem is that hint needs ghci support to build.
So I will do an update that excludes archs without ghci support.

Comment 4 Fedora Update System 2014-07-22 05:47:58 UTC
ghc-ghc-mtl-, ghc-hint- has been submitted as an update for Fedora 20.

Comment 5 Fedora Update System 2014-07-23 02:59:57 UTC
ghc-ghc-mtl-, ghc-hint- has been pushed to the Fedora 20 testing repository.

Comment 6 Fedora Update System 2014-07-30 21:57:38 UTC
ghc-ghc-mtl-, ghc-hint- has been pushed to the Fedora 20 stable repository.

Note You need to log in before you can comment on or make changes to this bug.