[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: build of ghc 7.4.0 from debian experimental succeeds, but can't install resulting ghc-doc package



So I guess we need a patch to haskell-devscripts like the one attached.

On Wed, Jan 4, 2012 at 10:32 AM, Joachim Breitner <nomeata@debian.org> wrote:
Dear David,

yes, this is correct. Previously, --interface-version was added by me to
the Debian package, to expose the number in the first place:
http://patch-tracker.debian.org/patch/series/view/ghc/7.0.4-8/haddock-expose-interface-version
There, the result includes the prefix "haddock-interface-".

Upstream adopted the patch, but dropped the prefix:
http://trac.haskell.org/haddock/ticket/172


Greetings,
Joachim

Am Mittwoch, den 04.01.2012, 08:50 -0800 schrieb David Fox:
> In ghc revision 4 the ghc-doc package now depends on
> haddock-interface-18, but haddock --interface-version still prints
> "18"  whereas in earlier compilers it printed "haddock-interface-16".
>
> On Sat, Dec 31, 2011 at 12:06 PM, Joachim Breitner
> <nomeata@debian.org> wrote:
>         Hi David,
>
>         Am Samstag, den 31.12.2011, 10:31 -0800 schrieb David Fox:
>         > On Sat, Dec 31, 2011 at 10:27 AM, David Fox
>         <ddssff@gmail.com> wrote:
>         >         When I try to install ghc-doc I get this message:
>         >
>         >
>         >         The following packages have unmet dependencies:
>         >          ghc-doc : Depends: 18
>         >
>         > Oh, I see, 18 is provided by ghc-haddock.
>
>
>         correct, but thanks for the heads up, it should be
>         "haddock-interface-18", fixed in Darcs and will be better in
>         the next
>         upload.
>
>         Greetings,
>         Joachim
>
>         --
>         Joachim "nomeata" Breitner
>         Debian Developer
>          nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
>          JID: nomeata@joachim-breitner.de |
>         http://people.debian.org/~nomeata
>
>

--
Joachim "nomeata" Breitner
Debian Developer
 nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
 JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

--- old/dh_haskell_depends	2011-07-30 03:21:03.000000000 -0700
+++ new/dh_haskell_depends	2012-01-04 17:33:50.904992456 -0800
@@ -125,7 +125,7 @@
                 -e ^haskell:Suggests \
                 $sfile > $sfile.tmp || true
 	    depends=`haddock --interface-version`
-            echo "haskell:Depends=$depends" >> $sfile.tmp
+            echo "haskell:Depends=haddock-interface-${depends#haddock-interface-}" >> $sfile.tmp
             recommends=` \
                 find debian/$pkg -name \*.html -exec hxwls -r \{\} \; \
                 | grep ^/ \

Reply to: