
Thank you Edward.
I managed to build from HEAD under Fedora 21 (after 'cabal install containers').
The errors I reported may be related to the way I tried to clone a particular
branch:
git clone -b ghc-7.8 git://github.com/ghc/ghc.git
It is not clear how to checkout/build/package a particular version of ghc for
Fedora 21.
Dominick
On Sun, Jan 11, 2015 at 1:44 AM, Edward Z. Yang
What you cabal installed should be irrelevant, since containers is never built by the boot compiler. In your full log, is 'deepseq' registered before the build process attempts to register 'containers'? Is there a deepseq file in inplace/lib/package.conf.d?
Edward
Excerpts from Dominick Samperi's message of 2015-01-10 22:07:18 -0800:
Hello,
I'm trying to build ghc-7.8 branch under Fedora 21 and I get the failure diagnostics appended below. The problem seems to be that the build process cannot satisfy deepseq >=1.2 && <1.4, but I explicitly installed deepseq-1.3.0.2, and this did not help (same error?).
Under Fedora 21 Haskell Platform contains ghc-7.6.3, so this is the boot compiler. The ghc binary for centos65 installs provided I define /usr/lib64/libgmp.so.3 as a symbolic link to /usr/lib64/libgmp.so.10, a risky move.
Any tips would be much appreciated.
Thanks, Dominick
===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for 'phase_0_builds'. ===--- building phase 1 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds "inplace/bin/ghc-cabal" check libraries/containers 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users. "inplace/bin/ghc-cabal" configure libraries/containers dist-install "" --with-ghc="/home/dsamperi/install/git/ghc/inplace/bin/ghc-stage1" --with-ghc-pkg="/home/dsamperi/install/git/ghc/inplace/bin/ghc-pkg" --disable-library-for-ghci --enable-library-vanilla --disable-library-profiling --enable-shared --configure-option=CFLAGS=" -fno-stack-protector " --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options=" -fno-stack-protector " --with-gcc="/usr/bin/gcc" --with-ld="/usr/bin/ld" --configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-ranlib="/usr/bin/ranlib" --with-alex="/home/dsamperi/.cabal/bin/alex" --with-happy="/home/dsamperi/.cabal/bin/happy" Configuring containers-0.5.5.1... ghc-cabal: At least the following dependencies are missing: deepseq >=1.2 && <1.4 libraries/containers/ghc.mk:4: recipe for target 'libraries/containers/dist-install/package-data.mk' failed make[1]: *** [libraries/containers/dist-install/package-data.mk] Error 1 Makefile:71: recipe for target 'all' failed make: *** [all] Error 2