[GHC] #8210: Make fails for Building a GHC cross-compiler for Apple iOS target (i386-apple-darwin11)

GHC ghc-devs at haskell.org
Mon Sep 2 19:35:12 CEST 2013


#8210: Make fails for Building a GHC cross-compiler for Apple iOS target (i386
-apple-darwin11)
----------------------------------------+----------------------------------
        Reporter:  alen_ribic           |            Owner:
            Type:  bug                  |           Status:  new
        Priority:  normal               |        Milestone:
       Component:  Compiler             |          Version:  7.7
      Resolution:                       |         Keywords:
Operating System:  Unknown/Multiple     |     Architecture:  x86_64 (amd64)
 Type of failure:  Building GHC failed  |       Difficulty:  Unknown
       Test Case:                       |       Blocked By:
        Blocking:                       |  Related Tickets:
----------------------------------------+----------------------------------

Comment (by alen_ribic):

 As a follow up to my comment above, I realised I have the latest cabal-
 install (from head) already built when I built it agains standard ghc
 (7.6.3). So I went ahead and I ran the example: `i386-apple-darwin11-cabal
 install network`, but still got an error but with quite a bit more detail
 (ran with -v2 flag).

 {{{
 Reading available packages...
 Choosing modular solver.
 Resolving dependencies...
 Ready to install mtl-2.1.2
 Ready to install text-0.11.3.1
 Waiting for install task to finish...
 Extracting
 /Users/alen/Library/Haskell/repo-
 cache/hackage.haskell.org/mtl/2.1.2/mtl-2.1.2.tar.gz
 to /var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/mtl-2.1.2-24160...
 Updating mtl.cabal with the latest revision from the index.
 Configuring mtl-2.1.2...
 Dependency base ==4.7.0.0: using base-4.7.0.0
 Dependency transformers ==0.3.0.0: using transformers-0.3.0.0
 '/usr/local/ghc-ios-sim/bin/i386-apple-darwin11-ghc' '--info'
 Using Cabal-1.18.0 compiled by ghc-7.6
 Using compiler: ghc-7.7.20130831
 Using install prefix:
 /Users/alen/Library/Haskell/ghc-7.7.20130831/lib/mtl-2.1.2
 Binaries installed in:
 /Users/alen/Library/Haskell/ghc-7.7.20130831/lib/mtl-2.1.2/bin
 Libraries installed in:
 /Users/alen/Library/Haskell/ghc-7.7.20130831/lib/mtl-2.1.2/lib
 Private binaries installed in:
 /Users/alen/Library/Haskell/ghc-7.7.20130831/lib/mtl-2.1.2/libexec
 Data files installed in:
 /Users/alen/Library/Haskell/ghc-7.7.20130831/lib/mtl-2.1.2/share
 Documentation installed in:
 /Users/alen/Library/Haskell/ghc-7.7.20130831/lib/mtl-2.1.2/doc
 Configuration files installed in:
 /Users/alen/Library/Haskell/ghc-7.7.20130831/lib/mtl-2.1.2/etc
 Using alex version 3.0.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 given by user at:
 /Users/alen/Development/haskell/projects/ghc-ios-scripts/i386-apple-
 darwin11-gcc
 Using ghc version 7.7.20130831 given by user at:
 /usr/local/ghc-ios-sim/bin/i386-apple-darwin11-ghc
 Using ghc-pkg version 7.7.20130831 given by user at:
 /usr/local/ghc-ios-sim/bin/i386-apple-darwin11-ghc-pkg
 No greencard found
 Using haddock version 2.13.2 found on system at: /usr/bin/haddock
 Using happy version 1.18.10 found on system at: /usr/bin/happy
 No hmake found
 Using hpc version 0.6 found on system at: /usr/bin/hpc
 Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
 No hscolour found
 No hugs found
 No jhc found
 Using ld given by user at:
 /Users/alen/Development/haskell/projects/ghc-ios-scripts/i386-apple-
 darwin11-ld
 No lhc found
 No lhc-pkg found
 No nhc98 found
 Using pkg-config version 0.28 found on system at: /usr/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
 Component build order: library
 creating dist/build
 creating dist/build/autogen
 Building mtl-2.1.2...
 Preprocessing library mtl-2.1.2...
 Building library...
 '/usr/local/ghc-ios-sim/bin/i386-apple-darwin11-ghc' '--info'
 '/usr/local/ghc-ios-sim/bin/i386-apple-darwin11-ghc' '--info'
 creating dist/build
 /usr/local/ghc-ios-sim/bin/i386-apple-darwin11-ghc --make -fbuilding-
 cabal-package -O -outputdir dist/build -odir dist/build -hidir dist/build
 -stubdir dist/build -i -idist/build -i. -idist/build/autogen
 -Idist/build/autogen -Idist/build -optP-include
 -optPdist/build/autogen/cabal_macros.h -package-name mtl-2.1.2 -hide-all-
 packages -package-db dist/package.conf.inplace -package-id
 base-4.7.0.0-03ba819d5e9dd4c8377e09180a8091ec -package-id
 transformers-0.3.0.0-08699d9f0e97d51635b4fa218a540861 -XHaskell98
 -XMultiParamTypeClasses -XFunctionalDependencies -XFlexibleInstances
 Control.Monad.Cont Control.Monad.Cont.Class Control.Monad.Error
 Control.Monad.Error.Class Control.Monad.Identity Control.Monad.List
 Control.Monad.RWS Control.Monad.RWS.Class Control.Monad.RWS.Lazy
 Control.Monad.RWS.Strict Control.Monad.Reader Control.Monad.Reader.Class
 Control.Monad.State Control.Monad.State.Class Control.Monad.State.Lazy
 Control.Monad.State.Strict Control.Monad.Trans Control.Monad.Writer
 Control.Monad.Writer.Class Control.Monad.Writer.Lazy
 Control.Monad.Writer.Strict -Wall -fno-warn-unused-imports
 [ 1 of 21] Compiling Control.Monad.Writer.Class (
 Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o )
 [ 2 of 21] Compiling Control.Monad.State.Class (
 Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o )
 [ 3 of 21] Compiling Control.Monad.Reader.Class (
 Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o )
 [ 4 of 21] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs,
 dist/build/Control/Monad/RWS/Class.o )
 [ 5 of 21] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs,
 dist/build/Control/Monad/Identity.o )
 [ 6 of 21] Compiling Control.Monad.Error.Class (
 Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o )

 Control/Monad/Error/Class.hs:58:1: Warning:
     Module ‛Control.Monad.Instances’ is deprecated:
       This module now contains no instances and will be removed in the
 future
 [ 7 of 21] Compiling Control.Monad.Cont.Class (
 Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o )
 [ 8 of 21] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs,
 dist/build/Control/Monad/Trans.o )
 [ 9 of 21] Compiling Control.Monad.Error ( Control/Monad/Error.hs,
 dist/build/Control/Monad/Error.o )

 Control/Monad/Error.hs:57:1: Warning:
     Module ‛Control.Monad.Instances’ is deprecated:
       This module now contains no instances and will be removed in the
 future
 [10 of 21] Compiling Control.Monad.List ( Control/Monad/List.hs,
 dist/build/Control/Monad/List.o )
 [11 of 21] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs,
 dist/build/Control/Monad/RWS/Lazy.o )
 [12 of 21] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs,
 dist/build/Control/Monad/RWS.o )
 [13 of 21] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs,
 dist/build/Control/Monad/Reader.o )
 [14 of 21] Compiling Control.Monad.RWS.Strict (
 Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o )
 [15 of 21] Compiling Control.Monad.State.Lazy (
 Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o )
 [16 of 21] Compiling Control.Monad.State ( Control/Monad/State.hs,
 dist/build/Control/Monad/State.o )
 [17 of 21] Compiling Control.Monad.State.Strict (
 Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o )
 [18 of 21] Compiling Control.Monad.Writer.Lazy (
 Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o )
 [19 of 21] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs,
 dist/build/Control/Monad/Writer.o )
 [20 of 21] Compiling Control.Monad.Writer.Strict (
 Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o )
 [21 of 21] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs,
 dist/build/Control/Monad/Cont.o )
 /usr/local/ghc-ios-sim/bin/i386-apple-darwin11-ghc --make -fbuilding-
 cabal-package -O -prof -osuf p_o -hisuf p_hi -outputdir dist/build -odir
 dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i.
 -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include
 -optPdist/build/autogen/cabal_macros.h -package-name mtl-2.1.2 -hide-all-
 packages -package-db dist/package.conf.inplace -package-id
 base-4.7.0.0-03ba819d5e9dd4c8377e09180a8091ec -package-id
 transformers-0.3.0.0-08699d9f0e97d51635b4fa218a540861 -XHaskell98
 -XMultiParamTypeClasses -XFunctionalDependencies -XFlexibleInstances
 Control.Monad.Cont Control.Monad.Cont.Class Control.Monad.Error
 Control.Monad.Error.Class Control.Monad.Identity Control.Monad.List
 Control.Monad.RWS Control.Monad.RWS.Class Control.Monad.RWS.Lazy
 Control.Monad.RWS.Strict Control.Monad.Reader Control.Monad.Reader.Class
 Control.Monad.State Control.Monad.State.Class Control.Monad.State.Lazy
 Control.Monad.State.Strict Control.Monad.Trans Control.Monad.Writer
 Control.Monad.Writer.Class Control.Monad.Writer.Lazy
 Control.Monad.Writer.Strict -Wall -fno-warn-unused-imports

 Control/Monad/Cont.hs:1:1:
     Could not find module ‛Prelude’
     Perhaps you haven't installed the profiling libraries for package
 ‛base’?
     Use -v to see a list of the files searched for.
 Failed to install mtl-2.1.2
 Waiting for install task to finish...
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8210#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list