Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314599 - dev-haskell/haskell-src-exts-0.2 emerge fails due to missing dependencies
Summary: dev-haskell/haskell-src-exts-0.2 emerge fails due to missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Luis Araujo (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-11 00:10 UTC by Amy de Buitléir
Modified: 2010-07-12 18:57 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.info,3.96 KB, text/plain)
2010-04-11 00:11 UTC, Amy de Buitléir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amy de Buitléir 2010-04-11 00:10:26 UTC
I suspect the problem is that I haven't emerged dev-haskell/haskell-platform. The Yi documentation at http://haskell.org/haskellwiki/Yi indicates that haskell-platform is required.

I'm using dev-lang/ghc-6.12.1, which I think is a couple of versions ahead of haskell-platform. Dependency conflicts prevent me from installing haskell-platform, which probably means I can't install Yi until a version of dev-haskell/haskell-platform >= 6.12 is available.

Reproducible: Always

Steps to Reproduce:
1.emerge haskell-src-exts

Actual Results:  
Emerge fails due to missing dependencies.

Expected Results:  
Emerge should either install the dependencies along with haskell-src-exts, or notify the user of a conflict.


Preprocessing library haskell-src-exts-0.2...
shift/reduce conflicts:  5
Building haskell-src-exts-0.2...

Language/Haskell/Hsx/Syntax.hs:96:7:
    Could not find module `Data.Generics.Instances':
      It is a member of the hidden package `syb-0.1.0.2'.
      Perhaps you need to add `syb' to the build-depends in your .cabal file.
      It is a member of the hidden package `base-3.0.3.2'.
      Perhaps you need to add `base' to the build-depends in your .cabal file.
      Use -v to see a list of the files searched for.
 * ERROR: dev-haskell/haskell-src-exts-0.2 failed:
 *   setup build failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3203:  Called haskell-cabal_src_compile
 *   environment, line 2533:  Called cabal_src_compile
 *   environment, line  670:  Called cabal-build
 *   environment, line  561:  Called die
 * The specific snippet of code:
 *       ./setup build || die "setup build failed"
Comment 1 Amy de Buitléir 2010-04-11 00:11:49 UTC
Created attachment 227333 [details]
emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2010-07-12 18:57:41 UTC
Syb stuff was removed from base-4, but left in base-3.

Thank you, Amy!

If you really like to try YI, you could try to use in-overlay ebuilds: http://www.haskell.org/haskellwiki/Gentoo#Gentoo_Haskell_Overlay

layman's overlay name is 'haskell'