Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475490 - dev-haskell/citeproc-hs should depend on dev-haskell/json[generic]
Summary: dev-haskell/citeproc-hs should depend on dev-haskell/json[generic]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-07-02 11:54 UTC by siebz0r
Modified: 2013-07-25 19:11 UTC (History)
0 users

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


Attachments
citeproc-hs ebuild with fixed rdepend (citeproc-hs-0.3.8-r1.ebuild,1.53 KB, text/plain)
2013-07-02 11:56 UTC, siebz0r
Details

Note You need to log in before you can comment on or make changes to this bug.
Description siebz0r 2013-07-02 11:54:46 UTC
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.
Comment 1 siebz0r 2013-07-02 11:56:25 UTC
Created attachment 352444 [details]
citeproc-hs ebuild with fixed rdepend
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-02 15:01:18 UTC
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?]
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2013-07-25 19:11:24 UTC
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!