Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-text/pandoc-1.9.4.2: Could not find module `Data.Default' #160

Closed
CasperVector opened this issue Sep 15, 2012 · 1 comment
Closed

app-text/pandoc-1.9.4.2: Could not find module `Data.Default' #160

CasperVector opened this issue Sep 15, 2012 · 1 comment

Comments

@CasperVector
Copy link

The problem is in app-text/pandoc/files/pandoc-1.9.4.2-ghc76.patch, since it introduced Data.Default into Setup.hs: GHC 7.4.2 (the version on my machine) does not provide builtin Data.Default, while dev-haskell/data-default is not set as a dependency in the ebuild.

See below for the build.log.

 * Package:    app-text/pandoc-1.9.4.2
 * Repository: gentoo-haskell
 * Maintainer: haskell@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   fakeroot sandbox
>>> Unpacking source...
>>> Unpacking pandoc-1.9.4.2.tar.gz to /var/tmp/portage/app-text/pandoc-1.9.4.2/work
>>> Source unpacked in /var/tmp/portage/app-text/pandoc-1.9.4.2/work
>>> Preparing source in /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2 ...
 * Applying pandoc-1.9.4.2-ghc76.patch ...                                         [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2 ...
 * Using cabal-1.14.0.
/usr/bin/ghc -package Cabal-1.14.0 --make /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2/Setup.hs -o setup

/var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2/Setup.hs:24:8:
    Could not find module `Data.Default'
    Use -v to see a list of the files searched for.
 * ERROR: app-text/pandoc-1.9.4.2 failed (configure phase):
 *   compiling /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2/Setup.hs failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 2718:  Called cabal_src_configure '--flags=-tests'
 *   environment, line  692:  Called haskell-cabal_src_configure '--flags=-tests'
 *   environment, line 2067:  Called cabal-bootstrap
 *   environment, line  489:  Called die
 * The specific snippet of code:
 *           make_setup "$@" || die "compiling ${setupmodule} failed";
 * 
 * If you need support, post the output of `emerge --info '=app-text/pandoc-1.9.4.2'`,
 * the complete build log and the output of `emerge -pqv '=app-text/pandoc-1.9.4.2'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/haskell/eclass/haskell-cabal.eclass
 *   /var/lib/layman/haskell/eclass/ghc-package.eclass
 * This ebuild is from an overlay named 'gentoo-haskell': '/var/lib/layman/haskell/'
 * The complete build log is located at '/var/tmp/portage/app-text/pandoc-1.9.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/pandoc-1.9.4.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2'
 * S: '/var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2'
@markwright
Copy link
Member

Thanks for reporting, added the missing data-default dep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants