Build failure under Fedora 21

Dominick Samperi djsamperi at gmail.com
Sun Jan 11 06:07:18 UTC 2015


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


More information about the ghc-devs mailing list