error with package ghc-6.10.1 and its dependency on process-1.0.1.[01]

allan a.d.clark at ed.ac.uk
Mon Nov 24 04:54:25 EST 2008


Hi

Thanks for the reply, here is a small terminal session with the commands you suggest as well as "ghc-pkg list"

allan at delgado:~$ cabal install -v haddock
/home/allan/install//bin/ghc --numeric-version
looking for package tool: ghc-pkg near compiler in /home/allan/install//bin
found package tool in /home/allan/install//bin/ghc-pkg
/home/allan/install//bin/ghc-pkg --version
/home/allan/install//bin/ghc --supported-languages
Reading installed packages...
/home/allan/install//bin/ghc-pkg dump --global
/home/allan/install//bin/ghc-pkg dump --user
Reading available packages...
Resolving dependencies...
selecting haddock-2.4.1 (hackage) and discarding Cabal-1.1.6, 1.2.1, 1.2.2.0,
1.2.3.0, 1.2.4.0, 1.4.0.0, 1.4.0.1, 1.4.0.2, haddock-0.8, 0.9, 2.0.0.0, 2.1.0,
2.2.0, 2.2.1, 2.2.2, 2.3.0 and 2.4.0
selecting Cabal-1.6.0.1 (installed or hackage)
selecting
cabal: dependencies conflict: ghc-6.10.1 requires process ==1.0.1.0 however
process-1.0.1.0 was excluded because ghc-6.10.1 requires process ==1.0.1.1

allan at delgado:~$ ghc-pkg list
/home/allan/install/lib/ghc-6.10.1/./package.conf:
    Cabal-1.6.0.1, HUnit-1.2.0.3, QuickCheck-1.2.0.0, array-0.2.0.0,
    base-3.0.3.0, base-4.0.0.0, bytestring-0.9.1.4, cairo-0.9.13,
    containers-0.2.0.0, directory-1.0.0.2, (dph-base-0.3),
    (dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3),
    (dph-prim-seq-0.3), (dph-seq-0.3), filepath-1.1.0.1, (ghc-6.10.1),
    ghc-prim-0.1.0.0, glade-0.9.13, glib-0.9.13, gtk-0.9.13,
    gtkglext-0.9.13, haddock-2.3.0, haskell-src-1.0.1.3,
    haskell98-1.0.1.0, hpc-0.5.0.2, html-1.0.1.2, integer-0.1.0.0,
    mozembed-0.9.13, mtl-1.1.0.2, network-2.2.0.1, old-locale-1.0.0.1,
    old-time-1.0.0.1, packedstring-0.1.0.1, parallel-1.1.0.0,
    parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.0, random-1.0.0.1,
    regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3,
    rts-1.0, soegtk-0.9.13, sourceview-0.9.13, stm-2.1.1.2,
    syb-0.1.0.0, template-haskell-2.3.0.0, time-1.1.2.2, unix-2.3.1.0,
    xhtml-3000.2.0.1
/home/allan/.ghc/i386-linux-6.10.1/package.conf:
    Cabal-1.6.0.1, Chart-0.9, Diff-0.1.2, HTTP-3001.1.4, binary-0.4.4,
    cgi-3001.1.7.0, cpphs-1.6, data-accessor-0.1.4,
    data-accessor-template-0.1.4, fgl-5.4.2.2, fingertree-0.0,
    ghc-paths-0.1.0.5, graphviz-2008.9.20, haskell98-1.0.1.0,
    hmatrix-0.5.0.1, parsec-2.1.0.1, parsec-3.0.0, polyparse-1.1,
    process-1.0.1.1, pureMD5-0.2.4, readline-1.0.1.0,
    regex-base-0.93.1, regex-compat-0.71.0.1, regex-posix-0.72.0.3,
    regex-tdfa-0.95.2, rosezipper-0.1, storable-complex-0.1,
    terminfo-0.2.2.1, unix-compat-0.1.2.1, utf8-string-0.3.3,
    vty-3.1.2, zlib-0.5.0.0

allan at delgado:~$ ghc-pkg field ghc depends
depends: Cabal-1.6.0.1 array-0.2.0.0 base-4.0.0.0
         bytestring-0.9.1.4 containers-0.2.0.0 directory-1.0.0.2
         filepath-1.1.0.1 haskell98-1.0.1.0 hpc-0.5.0.2 old-time-1.0.0.1
         process-1.0.1.0 template-haskell-2.3.0.0 unix-2.3.1.0

allan at delgado:~$ ghc-pkg unregister process-1.0.1.1
ghc-pkg: unregistering process-1.0.1.1 would break the following packages: haskell98-1.0.1.0 graphviz-2008.9.20 readline-1.0.1.0 Cabal-1.6.0.1 (use --force to override)

allan at delgado:~$ ghc-pkg unregister process-1.0.1.0
ghc-pkg: unregistering process-1.0.1.0 would break the following packages: haddock-2.3.0 ghc-6.10.1 Cabal-1.6.0.1 haskell98-1.0.1.0 (use --force to override)




Duncan Coutts wrote:
> On Fri, 2008-11-21 at 15:42 +0000, allan wrote:
>> Dear all
>>
>> I'm attempting to install the latest haddock version via 'hackage' and I'm getting the error:
>> Resolving dependencies...
>> cabal: dependencies conflict: ghc-6.10.1 requires process ==1.0.1.0 however
>> process-1.0.1.0 was excluded because ghc-6.10.1 requires process ==1.0.1.1
>>
>> I tried re-installing ghc, but I get the same problem.
>> Any suggestions?
> 
> Hmm, that's odd. It makes it look like the ghc api package depends on
> two different versions of the process library.
> 
> The output of "cabal install -v haddock" might give us more of a hint.
> That and "ghc-pkg field ghc depends"
> 
> Duncan
> 
> 


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the cabal-devel mailing list