When dev-haskell/json is build without the "generic" use flag it doesn't expose the module Text.JSON.Generic. This can be shown using the ghc-pkg command: ghc-pkg find-module Text.JSON.Generic This is also reported in the file /usr/lib/ghc-*/package.conf.d/json-*.conf citeproc-hs reports this as: Preprocessing library citeproc-hs-0.3.8... src/Text/CSL/Input/Bibutils.hs:27:8: Could not find module `Text.JSON.Generic' Use -v to see a list of the files searched for. Reproducible: Always Steps to Reproduce: 1. Build dev-haskell/json without the "generic" use flag 2. Build dev-haskell/citeproc-hs 3.
Created attachment 352444 [details] citeproc-hs ebuild with fixed rdepend
Comment on attachment 352444 [details] citeproc-hs ebuild with fixed rdepend --- citeproc-hs-0.3.8.ebuild 2013-04-02 13:48:22.000000000 +0200 +++ - 2013-07-02 17:01:10.168561190 +0200 @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86" IUSE="+bibutils +hexpat +network +small_base embed_data_files" -RDEPEND="dev-haskell/json:=[profile?] +RDEPEND="dev-haskell/json:=[profile?,generic] dev-haskell/mtl:=[profile?] >=dev-haskell/pandoc-types-1.8:=[profile?] <dev-haskell/pandoc-types-1.11:=[profile?]
Pushed as: > *citeproc-hs-0.3.8-r1 (25 Jul 2013) > > 25 Jul 2013; Sergei Trofimovich <slyfox@gentoo.org> > +citeproc-hs-0.3.8-r1.ebuild, -citeproc-hs-0.3.8.ebuild: > Added lost json[generic] depend. Bug #475490 by siebz0r. Thanks!