[...] + echo 'Patch #3 (ghc-use-ld.bfd.patch):' Patch #3 (ghc-use-ld.bfd.patch): + mk/build.mk + cat + pwd + top=/tmp/B.yzT2FD/BUILD/ghc-7.6.3 + '[' ! -f .bindist.install.mark ']' + pwd + top=/tmp/B.yzT2FD/BUILD/ghc-7.6.3 + cd binsrc + ./configure '--prefix=/tmp/B.yzT2FD/BUILD/ghc-7.6.3/bindist' checking for path to top of build tree... utils/ghc-pwd/dist-install/build/tmp/ghc-pwd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory configure: error: cannot determine current directory error: Bad exit status from /tmp/B.yzT2FD/BUILD/tmp/rpm-tmp.19483 (%build) RPM build errors: Bad exit status from /tmp/B.yzT2FD/BUILD/tmp/rpm-tmp.19483 (%build) ended at: Fri Oct 20 01:35:24 2017, done in 0:00:40.143076 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.yzT2FD/BUILD + rm -rf /tmp/B.yzT2FD/tmp /tmp/B.yzT2FD/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.yzT2FD Begin-TLD-Builder-Info Build-Time: user:44.93s sys:6.19s real:158.56s (faults io:0 non-io:227550) End-TLD-Builder-Info