3
0
Fork 0
forked from mirrors/nixpkgs

ghc-7.6.1: parallel builds of this package fail

I got the following error in 4 consecutive attempts:

  building rts/dist/build/AutoApply.debug_o
  building rts/dist/build/AutoApply.thr_o
    rts_dist_HC rts/dist/build/AutoApply.debug_o
  /nix/store/1iigiim5855m8j7pmwf5xrnpf705s4dh-binutils-2.21.1a/bin/ld: cannot find libraries/integer-gmp/dist-install/build/cbits/gmp-wrappers_o_split/gmp-wrappers__1.o
  collect2: ld returned 1 exit status
  make[1]: *** [libraries/integer-gmp/dist-install/build/cbits/gmp-wrappers.p_o] Error 1
This commit is contained in:
Peter Simons 2012-09-10 12:17:59 +02:00
parent 1037089c55
commit 15df3d131a

View file

@ -12,7 +12,16 @@ stdenv.mkDerivation rec {
buildInputs = [ ghc perl gmp ncurses ];
enableParallelBuilding = true;
# My attempts to compile GHC with parallel build support enabled, failed
# 4 consecutive times with the following error:
#
# building rts/dist/build/AutoApply.debug_o
# building rts/dist/build/AutoApply.thr_o
# rts_dist_HC rts/dist/build/AutoApply.debug_o
# /nix/store/1iigiim5855m8j7pmwf5xrnpf705s4dh-binutils-2.21.1a/bin/ld: cannot find libraries/integer-gmp/dist-install/build/cbits/gmp-wrappers_o_split/gmp-wrappers__1.o
# collect2: ld returned 1 exit status
# make[1]: *** [libraries/integer-gmp/dist-install/build/cbits/gmp-wrappers.p_o] Error 1
enableParallelBuilding = false;
buildMK = ''
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"