Ticket #1214 (new defect)

Opened 4 years ago

Build fails with ghc 7.0.3 from Haskell Platform, Mac OS Snow Leopard

Reported by: guest Owned by: somebody
Priority: normal Milestone: 0.12.0
Component: general (Gtk+, Glib) Version:
Keywords: Cc: anand.prabhakar.patil@…

Description

The output of cabal install gtk2hs-buildtools -v is:

Reading available packages...
Resolving dependencies...
In order, the following would be installed:
gtk2hs-buildtools-0.12.0 (new package)
Extracting
/Users/anand/Library/Haskell/repo-cache/hackage.haskell.org/gtk2hs-buildtools/0.12.0/gtk2hs-buildtools-0.12.0.tar.gz
to
/var/folders/l-/l-eZVRT5FTCUeVfqhBz46U+++TI/-Tmp-/gtk2hs-buildtools-0.12.033930...
Configuring gtk2hs-buildtools-0.12.0...
Flags chosen: closuresignals=True
Dependency array ==0.3.0.2: using array-0.3.0.2
Dependency base ==4.3.1.0: using base-4.3.1.0
Dependency containers ==0.4.0.0: using containers-0.4.0.0
Dependency directory ==1.1.0.0: using directory-1.1.0.0
Dependency filepath ==1.2.0.0: using filepath-1.2.0.0
Dependency haskell98 ==1.1.0.1: using haskell98-1.1.0.1
Dependency pretty ==1.0.1.2: using pretty-1.0.1.2
Dependency process ==1.0.1.5: using process-1.0.1.5
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package haskell98-1.1.0.1 requires process-1.0.1.5
package gtk2hs-buildtools-0.12.0 requires process-1.0.1.5
Using Cabal-1.10.1.0 compiled by ghc-7.0
Using compiler: ghc-7.0.3
Using install prefix:
/Users/anand/Library/Haskell/ghc-7.0.3/lib/gtk2hs-buildtools-0.12.0
Binaries installed in:
/Users/anand/Library/Haskell/ghc-7.0.3/lib/gtk2hs-buildtools-0.12.0/bin
Libraries installed in:
/Users/anand/Library/Haskell/ghc-7.0.3/lib/gtk2hs-buildtools-0.12.0/lib
Private binaries installed in:
/Users/anand/Library/Haskell/ghc-7.0.3/lib/gtk2hs-buildtools-0.12.0/libexec
Data files installed in:
/Users/anand/Library/Haskell/ghc-7.0.3/lib/gtk2hs-buildtools-0.12.0/share
Documentation installed in:
/Users/anand/Library/Haskell/ghc-7.0.3/lib/gtk2hs-buildtools-0.12.0/doc
Using alex version 2.3.5 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.0.3 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.0.3 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.9.2 found on system at: /usr/bin/haddock
Using happy version 1.18.6 found on system at: /usr/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.25 found on system at: /opt/local/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing executables for gtk2hs-buildtools-0.12.0...
Building gtk2hs-buildtools-0.12.0...
Building executable gtk2hsTypeGen...
Creating dist/build/gtk2hsTypeGen (and its parents)
Creating dist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp (and its parents)
/usr/bin/ghc --make -o dist/build/gtk2hsTypeGen/gtk2hsTypeGen -hide-all-packages -fbuilding-cabal-package -package-conf dist/package.conf.inplace -i -idist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp -ihierarchyGen -idist/build/autogen -Idist/build/autogen -Idist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp -hidir dist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp -stubdir dist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp -package-id array-0.3.0.2-143060371bda4ff52c270d1067551fe8 -package-id base-4.3.1.0-f5c465200a37a65ca26c5c6c600f6c76 -package-id containers-0.4.0.0-b4885363abca642443ccd842502a3b7e -package-id directory-1.1.0.0-1ea434899f49294b2eb2d1e1ba551982 -package-id filepath-1.2.0.0-b4f4cf7e95546b00f075372f0ccb0653 -package-id haskell98-1.1.0.1-150131ea75216886448a7146c9e0526b -package-id pretty-1.0.1.2-f8dc299a95cc94a3e513e27c5b80f951 -package-id process-1.0.1.5-7c9fb34b89d8d7848a51a3a9ba1a77f8 -O -XHaskell98 hierarchyGen/TypeGen.hs
<command line>: cannot satisfy -package-id process-1.0.1.5-7c9fb34b89d8d7848a51a3a9ba1a77f8: 
    process-1.0.1.5-7c9fb34b89d8d7848a51a3a9ba1a77f8 is shadowed by package process-1.0.1.5-3e412eee765d141be15796c32f22f7a3
    (use -v for more information)
World file is already up to date.
cabal: Error: some packages failed to install:
gtk2hs-buildtools-0.12.0 failed during the building phase. The exception was:
ExitFailure 1

Thanks, Anand

Note: See TracTickets for help on using tickets.