[GHC] #7987: GHC Build Error

#7987: GHC Build Error --------------------------------+------------------------------------------- Reporter: singpolyma | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: x86 Failure: Building GHC failed | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- Trying to build HEAD as a native compiler (not cross-compiler). Build options: BuildFlavour = quick stage=1 INTEGER_LIBRARY = integer-simple Stage1Only = YES DYNAMIC_BY_DEFAULT = NO I'm trying to get an integer-simple based build going so that I can test a bug I'm having with that. I'm on Ubuntu 12.10 32bit {{{ "inplace/bin/ghc-cabal" check libraries/haskell2010 "inplace/bin/ghc-cabal" configure libraries/haskell2010 dist-install "" --with-ghc="/home/singpolyma/src/ghc-linux-i486-integer-simple/inplace/bin /ghc-stage1" --with-ghc-pkg="/home/singpolyma/src/ghc-linux-i486-integer- simple/inplace/bin/ghc-pkg" --disable-library-for-ghci --enable-library- vanilla --disable-library-profiling --enable-shared --with- hscolour="/usr/bin/HsColour" --configure-option=CFLAGS=" -U__i686 -fno- stack-protector " --configure-option=LDFLAGS=" -Wl,--hash-size=31 -Wl ,--reduce-memory-overheads " --configure-option=CPPFLAGS=" " --with- gcc="/usr/bin/gcc" --with-ld="/usr/bin/ld" --configure-option=--with- cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-ranlib="true" --with- alex="/usr/bin/alex" --with-happy="/usr/bin/happy" Configuring haskell2010-1.1.1.0... "/home/singpolyma/src/ghc-linux-i486-integer-simple/inplace/bin/ghc-pkg" update --force libraries/haskell2010/dist-install/inplace-pkg-config Reading package info from "libraries/haskell2010/dist-install/inplace-pkg- config" ... done. haskell2010-1.1.1.0: Warning: haddock-interfaces: /home/singpolyma/src /ghc-linux-i486-integer-simple/libraries/haskell2010/dist- install/doc/html/haskell2010/haskell2010.haddock doesn't exist or isn't a file haskell2010-1.1.1.0: cannot find any of ["Data/Array.hi","Data/Array.p_hi","Data/Array.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Char.hi","Data/Char.p_hi","Data/Char.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Complex.hi","Data/Complex.p_hi","Data/Complex.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["System/IO.hi","System/IO.p_hi","System/IO.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["System/IO/Error.hi","System/IO/Error.p_hi","System/IO/Error.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Ix.hi","Data/Ix.p_hi","Data/Ix.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/List.hi","Data/List.p_hi","Data/List.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Maybe.hi","Data/Maybe.p_hi","Data/Maybe.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Control/Monad.hi","Control/Monad.p_hi","Control/Monad.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Ratio.hi","Data/Ratio.p_hi","Data/Ratio.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["System/Environment.hi","System/Environment.p_hi","System/Environment.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["System/Exit.hi","System/Exit.p_hi","System/Exit.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Numeric.hi","Numeric.p_hi","Numeric.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Prelude.hi","Prelude.p_hi","Prelude.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Int.hi","Data/Int.p_hi","Data/Int.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Word.hi","Data/Word.p_hi","Data/Word.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Data/Bits.hi","Data/Bits.p_hi","Data/Bits.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign.hi","Foreign.p_hi","Foreign.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/Ptr.hi","Foreign/Ptr.p_hi","Foreign/Ptr.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/ForeignPtr.hi","Foreign/ForeignPtr.p_hi","Foreign/ForeignPtr.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/StablePtr.hi","Foreign/StablePtr.p_hi","Foreign/StablePtr.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/Storable.hi","Foreign/Storable.p_hi","Foreign/Storable.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/C.hi","Foreign/C.p_hi","Foreign/C.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/C/Error.hi","Foreign/C/Error.p_hi","Foreign/C/Error.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/C/String.hi","Foreign/C/String.p_hi","Foreign/C/String.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/C/Types.hi","Foreign/C/Types.p_hi","Foreign/C/Types.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/Marshal.hi","Foreign/Marshal.p_hi","Foreign/Marshal.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/Marshal/Alloc.hi","Foreign/Marshal/Alloc.p_hi","Foreign/Marshal/Alloc.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/Marshal/Array.hi","Foreign/Marshal/Array.p_hi","Foreign/Marshal/Array.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/Marshal/Error.hi","Foreign/Marshal/Error.p_hi","Foreign/Marshal/Error.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["Foreign/Marshal/Utils.hi","Foreign/Marshal/Utils.p_hi","Foreign/Marshal/Utils.dyn_hi"] (ignoring) haskell2010-1.1.1.0: cannot find any of ["libHShaskell2010-1.1.1.0.a","libHShaskell2010-1.1.1.0.p_a","libHShaskell2010-1.1.1.0-ghc7.7.20130615.so","libHShaskell2010-1.1.1.0-ghc7.7.20130615.dylib","HShaskell2010-1.1.1.0-ghc7.7.20130615.dll"] on library path (ignoring) "inplace/bin/ghc-cabal" check utils/hsc2hs "inplace/bin/ghc-cabal" configure utils/hsc2hs dist-install "" --with- ghc="/home/singpolyma/src/ghc-linux-i486-integer-simple/inplace/bin/ghc- stage1" --with-ghc-pkg="/home/singpolyma/src/ghc-linux-i486-integer- simple/inplace/bin/ghc-pkg" --disable-library-for-ghci --disable-library- vanilla --disable-library-profiling --disable-shared --with- hscolour="/usr/bin/HsColour" --configure-option=CFLAGS=" -U__i686 -fno- stack-protector " --configure-option=LDFLAGS=" -Wl,--hash-size=31 -Wl ,--reduce-memory-overheads " --configure-option=CPPFLAGS=" " --with- gcc="/usr/bin/gcc" --with-ld="/usr/bin/ld" --configure-option=--with- cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-ranlib="true" --with- alex="/usr/bin/alex" --with-happy="/usr/bin/happy" Configuring hsc2hs-0.67... "inplace/bin/ghc-cabal" check utils/ghctags A 'license-file' is not specified. "inplace/bin/ghc-cabal" configure utils/ghctags dist-install "" --with- ghc="/home/singpolyma/src/ghc-linux-i486-integer-simple/inplace/bin/ghc- stage1" --with-ghc-pkg="/home/singpolyma/src/ghc-linux-i486-integer- simple/inplace/bin/ghc-pkg" --disable-library-for-ghci --disable-library- vanilla --disable-library-profiling --disable-shared --with- hscolour="/usr/bin/HsColour" --configure-option=CFLAGS=" -U__i686 -fno- stack-protector " --configure-option=LDFLAGS=" -Wl,--hash-size=31 -Wl ,--reduce-memory-overheads " --configure-option=CPPFLAGS=" " --with- gcc="/usr/bin/gcc" --with-ld="/usr/bin/ld" --configure-option=--with- cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-ranlib="true" --with- alex="/usr/bin/alex" --with-happy="/usr/bin/happy" Configuring ghctags-0.1... ghc-cabal: At least the following dependencies are missing: ghc -any make[1]: *** [utils/ghctags/dist-install/package-data.mk] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7987 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7987: GHC Build Error --------------------------------+------------------------------------------- Reporter: singpolyma | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: x86 Failure: Building GHC failed | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- Comment(by singpolyma): This error does not occur with just BuildFlavour = quick -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7987#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7987: GHC Build Error --------------------------------+------------------------------------------- Reporter: singpolyma | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: x86 Failure: Building GHC failed | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- Comment(by singpolyma): make disclean, adding INTEGER_LIBRARY = integer-simple, and make again leads to: {{{ checking whether altzone is declared... no configure: creating ./config.status config.status: error: cannot find input file: `include/HsTimeConfig.h.in' make[1]: *** [libraries/time/dist-install/package-data.mk] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7987#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7987: GHC Build Error --------------------------------+------------------------------------------- Reporter: singpolyma | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: x86 Failure: Building GHC failed | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- Comment(by singpolyma): Ok, clean clone with just BuildFlavour? = quick and INTEGER_LIBRARY = integer-simple builds fine. And I can use the stage1 compiler it spits out, even though it goes on to try to build stage2, so I can use that for me testing. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7987#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC