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

Re: What is the story with cabal-debian?



Hi.

Il 25/05/2013 11:38, Giovanni Mascellani ha scritto:
> Il 25/05/2013 09:16, Joachim Breitner ha scritto:
>>> I've done a little research, and I think the big version bump represents
>>> some significant changes, but the intention of the package is still the
>>> same.
>>
>> Ok, thanks. While I’m busy with the mass-changes, would someone take
>> care of that package? Gio, you offered help?
> 
> I can look after it this evening.

I tried to have a look at it, but unfortunately I had a few technical
problems: I didn't even manage to compile it. There is something strange
going on here (trying to build cabal-debian-3.0.7):

> $ cabal build -v
> creating dist/build
> creating dist/build/autogen
> Building cabal-debian-3.0.7...
> Preprocessing library cabal-debian-3.0.7...
> Building library...
> creating dist/build
> /usr/bin/ghc --make -fbuilding-cabal-package -O -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name cabal-debian-3.0.7 -hide-all-packages -package-db dist/package.conf.inplace -package-id Cabal-1.16.0-c6e09e008cd04cf255c1ce0c59aba905 -package-id Diff-0.3.0-17d3ddb42675017dc066afaa731d1baf -package-id HUnit-1.2.5.1-014f5b7e5a090cb6aa347c9559c2c048 -package-id Unixutils-1.50-4f480fcfda8640f2885913e4e7b0cc88 -package-id ansi-wl-pprint-0.6.4-38b850dcea3a482fbfd22348fa4469e4 -package-id applicative-extras-0.1.8-af4bef984603131ab98f963b57a80cf1 -package-id base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57 -package-id bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f -package-id containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2 -package-id data-lens-2.10.2-c83a5b39a8ea051570d32c5267615022 -package-id debian-3.70.1-049f25463a7deaf1e0e9fabdb34668
9c -package-id directory-1.2.0.1-91a788fd88acd7f149f0f10f5f1e23f2 -package-id filepath-1.3.0.1-b12cbe18566fe1532a1fda4c85e31cbe -package-id hsemail-1.7.6-8c6791da039b87c6cc85c1d9e6077b15 -package-id mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62 -package-id network-2.4.0.1-7ebef9b8a285a0766dcb237f6c952179 -package-id parsec-3.1.3-9c21adc149b2590d4342ec560ee50362 -package-id process-1.1.0.2-76e05340eb66705981411022731ca84a -package-id pureMD5-2.1.2.1-25576558b445e5a38fc4853567631290 -package-id regex-tdfa-1.1.8-a4710d62e3e3140fab46c3ea204d8204 -package-id syb-0.3.7-f18e0a2a02fd4707ab46ea071c1d5cab -package-id text-0.11.2.3-20bbe8fabd6e57647019c7050504c715 -package-id unix-2.6.0.1-4f219f792083f70ec440ce406f12ce57 -package-id utf8-string-0.3.7-26a8ed8ca48fe809983bde6faca943a9 -XHaskell98 Data.Algorithm.Diff.Context Data.Algorithm.Diff.Pretty Debian.Debianize Debian.Debianize.Atoms Debian.Debianize.Bundled Debian.Debianize.ControlFile Debian.Debianize.Debianize Debian.Debianize.Dependencies D
ebian.Debianize.Files Debian.Debianize.Finalize Debian.Debianize.Generic Debian.Debianize.Goodies Debian.Debianize.Interspersed Debian.Debianize.Input Debian.Debianize.Options Debian.Debianize.SubstVars Debian.Debianize.Tests Debian.Debianize.Types Debian.Debianize.Utility Debian.Orphans Debian.Policy Distribution.Version.Invert Triplets -threaded -Wall -O2
> 
> src/Data/Algorithm/Diff/Context.hs:6:8:
>     Could not find module `Data.Algorithm.Diff'
>     There are files missing in the `Diff-0.3.0' package,
>     try running 'ghc-pkg check'.
>     Use -v to see a list of the files searched for.

I don't understand why cabal tries to compile against Diff-0.3.0, given
that the version I have installed is 0.2.0 (from the Debian package). I
can't find anywhere any trace of Diff-0.3.0, but cabal wants to use it
(and, of course, it fails). I also tried to delete ~/.cabal, without
success. The same happens running "cabal update ; cabal install
cabal-debian".

I know more or less nothing of the internals of ghc and cabal and will
try to investigate more tomorrow. In the meantime, useful suggestions
are welcome!

Giovanni.
-- 
Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani@jabber.org / giovanni@elabor.homelinux.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: