* Package: dev-vcs/darcs-2.8.5-r3 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 color curl elibc_glibc hscolour http kernel_linux libiconv mmap network-uri optimize terminfo threaded userland_GNU * FEATURES: fakeroot preserve-libs sandbox userpriv usersandbox * Applying darcs-2.8.5-ghc-7.10.patch ... [ ok ] * CHDEP: 'terminfo == 0.3.*' -> 'terminfo >= 0.3 && < 0.5' * CHDEP: 'text >= 0.11.0.6 && < 1.2' -> 'text >= 0.11.0.6 && < 1.3' * CHDEP: 'random == 1.0.*' -> 'random >= 1.0 && < 1.2' * CHDEP: 'base >= 4.5 && < 4.8' -> 'base >= 4.5 && < 4.9' * CHDEP: 'ghc >= 6.10 && < 7.10' -> 'ghc >= 6.10 && < 7.12' * Using cabal-1.20.0.2. * Prepending /usr/lib64/ghc-7.8.4 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.20.0.2 --make /dev/shm/portage/dev-vcs/darcs-2.8.5-r3/work/darcs-2.8.5/Setup.lhs -dynamic -o setup [1 of 1] Compiling Main ( /dev/shm/portage/dev-vcs/darcs-2.8.5-r3/work/darcs-2.8.5/Setup.lhs, /dev/shm/portage/dev-vcs/darcs-2.8.5-r3/work/darcs-2.8.5/Setup.o ) /dev/shm/portage/dev-vcs/darcs-2.8.5-r3/work/darcs-2.8.5/Setup.lhs:69:1: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead /dev/shm/portage/dev-vcs/darcs-2.8.5-r3/work/darcs-2.8.5/Setup.lhs:108:3: Warning: In the use of ‘runTests’ (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking setup ... ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=darcs-2.8.5/ghc-7.8.4 --datadir=/usr/share/ --datasubdir=darcs-2.8.5/ghc-7.8.4 --ghc-option=-j4 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/darcs-2.8.5-r3 --verbose --sysconfdir=/etc --disable-library-stripping --flags=color --flags=curl --flag=executable --flag=-hpc --flags=http --flags=libiconv --flag=library --flags=mmap --flags=network-uri --flags=optimize --flags=-static --flags=terminfo --flags=-test --flags=threaded --flag=-warn-as-error Configuring darcs-2.8.5... Flags chosen: libiconv=True, force-char8-encoding=True, warn-as-error=False, optimize=True, test=False, hpc=False, mmap=True, color=True, executable=True, library=True, threaded=True, terminfo=True, static=False, network-uri=True, http=True, curl=True Dependency HTTP >=4000.0.8 && <4000.3: using HTTP-4000.2.19 Dependency array >=0.1 && <0.6: using array-0.5.0.0 Dependency base >=4.5 && <4.9: using base-4.7.0.2 Dependency bytestring >=0.9.0 && <0.11: using bytestring-0.10.4.0 Dependency containers >=0.1 && <0.6: using containers-0.5.5.1 Dependency directory >=1.0.0.0 && <1.3.0.0: using directory-1.2.1.0 Dependency extensible-exceptions ==0.1.*: using extensible-exceptions-0.1.1.4 Dependency filepath >=1.1.0.0 && <1.5.0.0: using filepath-1.3.0.2 Dependency hashed-storage >=0.5.6 && <0.6: using hashed-storage-0.5.11 Dependency haskeline >=0.6.3 && <0.8: using haskeline-0.7.1.3 Dependency html ==1.0.*: using html-1.0.1.2 Dependency mmap ==0.5.*: using mmap-0.5.9 Dependency mtl >=1.0 && <2.3: using mtl-2.2.1 Dependency network >=2.6: using network-2.6.0.2 Dependency network-uri >=2.6: using network-uri-2.6.0.1 Dependency old-time >=1.0 && <1.2: using old-time-1.1.0.2 Dependency parsec >=2.0 && <3.2: using parsec-3.1.7 Dependency process >=1.0.0.0 && <1.3.0.0: using process-1.2.0.0 Dependency random >=1.0 && <1.2: using random-1.1 Dependency regex-compat >=0.95.1: using regex-compat-0.95.1 Dependency tar >=0.3 && <0.5: using tar-0.4.0.1 Dependency terminfo >=0.3 && <0.5: using terminfo-0.4.0.0 Dependency text >=0.11.0.6 && <1.3: using text-1.2.0.3 Dependency unix >=1.0 && <2.8: using unix-2.7.0.1 Dependency utf8-string >=0.3.6 && <0.4: using utf8-string-0.3.8 Dependency vector >=0.7: using vector-0.10.12.2 Dependency zlib >=0.5.1.0 && <0.6.0.0: using zlib-0.5.4.2 Using Cabal-1.20.0.2 compiled by ghc-7.8 Using compiler: ghc-7.8.4 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/darcs-2.8.5/ghc-7.8.4 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/darcs-2.8.5/ghc-7.8.4 Documentation installed in: /usr/share/doc/darcs-2.8.5-r3 Configuration files installed in: /etc No alex found Using ar found on system at: /usr/bin/ar No c2hs found No cpphs found No ffihugs found Using gcc version 4.8.4 found on system at: /usr/bin/gcc Using ghc version 7.8.4 given by user at: /usr/bin/ghc Using ghc-pkg version 7.8.4 given by user at: /usr/bin/ghc-pkg No greencard found No haddock found No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.67 found on system at: /usr/bin/hpc Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs Using hscolour version 1.20 found on system at: /usr/bin/HsColour No hugs found No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.28 found on system at: /usr/bin/pkg-config Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found /usr/bin/gcc /dev/shm/portage/dev-vcs/darcs-2.8.5-r3/temp/5748.c -o /dev/shm/portage/dev-vcs/darcs-2.8.5-r3/temp/5748 '-D__GLASGOW_HASKELL__=708' '-Dlinux_BUILD_OS=1' '-Dx86_64_BUILD_ARCH=1' '-Dlinux_HOST_OS=1' '-Dx86_64_HOST_ARCH=1' -Idist/build/autogen -Isrc -Isrc -I. '-DGADT_WITNESSES=1' -DFORCE_CHAR8_ENCODING -DHAVE_CURL -DHAVE_HTTP -DHAVE_MMAP -DHAVE_TERMINFO -DFORCE_CHAR8_ENCODING -DHAVE_CURL -DHAVE_HTTP -DHAVE_MMAP -DHAVE_TERMINFO -D_REENTRANT -DHAVE_CURL -D_REENTRANT -DHAVE_CURL -I/usr/lib64/vector-0.10.12.2/ghc-7.8.4/include -I/usr/lib64/ghc-7.8.4/process-1.2.0.0/include -I/usr/lib64/primitive-0.5.4.0/ghc-7.8.4/include -I/usr/lib64/ghc-7.8.4/directory-1.2.1.0/include -I/usr/lib64/ghc-7.8.4/old-time-1.1.0.2/include -I/usr/lib64/network-2.6.0.2/ghc-7.8.4/include -I/usr/lib64/ghc-7.8.4/unix-2.7.0.1/include -I/usr/lib64/ghc-7.8.4/time-1.4.2/include -I/usr/lib64/ghc-7.8.4/bytestring-0.10.4.0/include -I/usr/lib64/ghc-7.8.4/base-4.7.0.2/include -I/usr/lib64/ghc-7.8.4/integer-gmp-0.5.1.0/include -I/usr/lib64/ghc-7.8.4/include -I/usr/lib64/libffi-3.2.1/include -D_REENTRANT -DHAVE_CURL -D_REENTRANT -DHAVE_CURL -lcurl -lcurl -L/usr/lib64/vector-0.10.12.2/ghc-7.8.4 -L/usr/lib64/utf8-string-0.3.8/ghc-7.8.4 -L/usr/lib64/tar-0.4.0.1/ghc-7.8.4 -L/usr/lib64/regex-compat-0.95.1/ghc-7.8.4 -L/usr/lib64/regex-posix-0.95.2/ghc-7.8.4 -L/usr/lib64/regex-base-0.93.2/ghc-7.8.4 -L/usr/lib64/random-1.1/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/process-1.2.0.0 -L/usr/lib64/primitive-0.5.4.0/ghc-7.8.4 -L/usr/lib64/html-1.0.1.2/ghc-7.8.4 -L/usr/lib64/haskeline-0.7.1.3/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/terminfo-0.4.0.0 -L/usr/lib64/hashed-storage-0.5.11/ghc-7.8.4 -L/usr/lib64/zlib-0.5.4.2/ghc-7.8.4 -L/usr/lib64/mmap-0.5.9/ghc-7.8.4 -L/usr/lib64/extensible-exceptions-0.1.1.4/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/directory-1.2.1.0 -L/usr/lib64/ghc-7.8.4/filepath-1.3.0.2 -L/usr/lib64/dataenc-0.14.0.7/ghc-7.8.4 -L/usr/lib64/binary-0.7.2.3/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/containers-0.5.5.1 -L/usr/lib64/http-4000.2.19/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/old-time-1.1.0.2 -L/usr/lib64/network-uri-2.6.0.1/ghc-7.8.4 -L/usr/lib64/parsec-3.1.7/ghc-7.8.4 -L/usr/lib64/text-1.2.0.3/ghc-7.8.4 -L/usr/lib64/network-2.6.0.2/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/unix-2.7.0.1 -L/usr/lib64/ghc-7.8.4/time-1.4.2 -L/usr/lib64/ghc-7.8.4/old-locale-1.0.0.6 -L/usr/lib64/mtl-2.2.1/ghc-7.8.4 -L/usr/lib64/transformers-0.4.2.0/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/bytestring-0.10.4.0 -L/usr/lib64/ghc-7.8.4/deepseq-1.3.0.2 -L/usr/lib64/ghc-7.8.4/array-0.5.0.0 -L/usr/lib64/ghc-7.8.4/base-4.7.0.2 -L/usr/lib64/ghc-7.8.4/integer-gmp-0.5.1.0 -L/usr/lib64/ghc-7.8.4/ghc-prim-0.3.1.0 -L/usr/lib64/ghc-7.8.4/rts-1.0 Using -liconv. ./setup build Building darcs-2.8.5... Preprocessing library darcs-2.8.5... /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -liconv collect2: error: ld returned 1 exit status linking dist/build/Encoding/IConv_hsc_make.o failed (exit code 1) command was: /usr/bin/gcc dist/build/Encoding/IConv_hsc_make.o dist/build/Encoding/IConv_hsc_utils.o -o dist/build/Encoding/IConv_hsc_make -liconv -lcurl -L/usr/lib64/vector-0.10.12.2/ghc-7.8.4 -Wl,-R,/usr/lib64/vector-0.10.12.2/ghc-7.8.4 -L/usr/lib64/utf8-string-0.3.8/ghc-7.8.4 -Wl,-R,/usr/lib64/utf8-string-0.3.8/ghc-7.8.4 -L/usr/lib64/tar-0.4.0.1/ghc-7.8.4 -Wl,-R,/usr/lib64/tar-0.4.0.1/ghc-7.8.4 -L/usr/lib64/regex-compat-0.95.1/ghc-7.8.4 -Wl,-R,/usr/lib64/regex-compat-0.95.1/ghc-7.8.4 -L/usr/lib64/regex-posix-0.95.2/ghc-7.8.4 -Wl,-R,/usr/lib64/regex-posix-0.95.2/ghc-7.8.4 -L/usr/lib64/regex-base-0.93.2/ghc-7.8.4 -Wl,-R,/usr/lib64/regex-base-0.93.2/ghc-7.8.4 -L/usr/lib64/random-1.1/ghc-7.8.4 -Wl,-R,/usr/lib64/random-1.1/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/process-1.2.0.0 -Wl,-R,/usr/lib64/ghc-7.8.4/process-1.2.0.0 -L/usr/lib64/primitive-0.5.4.0/ghc-7.8.4 -Wl,-R,/usr/lib64/primitive-0.5.4.0/ghc-7.8.4 -L/usr/lib64/html-1.0.1.2/ghc-7.8.4 -Wl,-R,/usr/lib64/html-1.0.1.2/ghc-7.8.4 -L/usr/lib64/haskeline-0.7.1.3/ghc-7.8.4 -Wl,-R,/usr/lib64/haskeline-0.7.1.3/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/terminfo-0.4.0.0 -Wl,-R,/usr/lib64/ghc-7.8.4/terminfo-0.4.0.0 -lncursesw -L/usr/lib64/hashed-storage-0.5.11/ghc-7.8.4 -Wl,-R,/usr/lib64/hashed-storage-0.5.11/ghc-7.8.4 -L/usr/lib64/zlib-0.5.4.2/ghc-7.8.4 -Wl,-R,/usr/lib64/zlib-0.5.4.2/ghc-7.8.4 -lz -L/usr/lib64/mmap-0.5.9/ghc-7.8.4 -Wl,-R,/usr/lib64/mmap-0.5.9/ghc-7.8.4 -L/usr/lib64/extensible-exceptions-0.1.1.4/ghc-7.8.4 -Wl,-R,/usr/lib64/extensible-exceptions-0.1.1.4/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/directory-1.2.1.0 -Wl,-R,/usr/lib64/ghc-7.8.4/directory-1.2.1.0 -L/usr/lib64/ghc-7.8.4/filepath-1.3.0.2 -Wl,-R,/usr/lib64/ghc-7.8.4/filepath-1.3.0.2 -L/usr/lib64/dataenc-0.14.0.7/ghc-7.8.4 -Wl,-R,/usr/lib64/dataenc-0.14.0.7/ghc-7.8.4 -L/usr/lib64/binary-0.7.2.3/ghc-7.8.4 -Wl,-R,/usr/lib64/binary-0.7.2.3/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/containers-0.5.5.1 -Wl,-R,/usr/lib64/ghc-7.8.4/containers-0.5.5.1 -L/usr/lib64/http-4000.2.19/ghc-7.8.4 -Wl,-R,/usr/lib64/http-4000.2.19/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/old-time-1.1.0.2 -Wl,-R,/usr/lib64/ghc-7.8.4/old-time-1.1.0.2 -L/usr/lib64/network-uri-2.6.0.1/ghc-7.8.4 -Wl,-R,/usr/lib64/network-uri-2.6.0.1/ghc-7.8.4 -L/usr/lib64/parsec-3.1.7/ghc-7.8.4 -Wl,-R,/usr/lib64/parsec-3.1.7/ghc-7.8.4 -L/usr/lib64/text-1.2.0.3/ghc-7.8.4 -Wl,-R,/usr/lib64/text-1.2.0.3/ghc-7.8.4 -L/usr/lib64/network-2.6.0.2/ghc-7.8.4 -Wl,-R,/usr/lib64/network-2.6.0.2/ghc-7.8.4 -Wl,-O1 -Wl,--as-needed -L/usr/lib64/ghc-7.8.4/unix-2.7.0.1 -Wl,-R,/usr/lib64/ghc-7.8.4/unix-2.7.0.1 -lrt -lutil -ldl -lpthread -L/usr/lib64/ghc-7.8.4/time-1.4.2 -Wl,-R,/usr/lib64/ghc-7.8.4/time-1.4.2 -L/usr/lib64/ghc-7.8.4/old-locale-1.0.0.6 -Wl,-R,/usr/lib64/ghc-7.8.4/old-locale-1.0.0.6 -L/usr/lib64/mtl-2.2.1/ghc-7.8.4 -Wl,-R,/usr/lib64/mtl-2.2.1/ghc-7.8.4 -L/usr/lib64/transformers-0.4.2.0/ghc-7.8.4 -Wl,-R,/usr/lib64/transformers-0.4.2.0/ghc-7.8.4 -L/usr/lib64/ghc-7.8.4/bytestring-0.10.4.0 -Wl,-R,/usr/lib64/ghc-7.8.4/bytestring-0.10.4.0 -L/usr/lib64/ghc-7.8.4/deepseq-1.3.0.2 -Wl,-R,/usr/lib64/ghc-7.8.4/deepseq-1.3.0.2 -L/usr/lib64/ghc-7.8.4/array-0.5.0.0 -Wl,-R,/usr/lib64/ghc-7.8.4/array-0.5.0.0 -L/usr/lib64/ghc-7.8.4/base-4.7.0.2 -Wl,-R,/usr/lib64/ghc-7.8.4/base-4.7.0.2 -L/usr/lib64/ghc-7.8.4/integer-gmp-0.5.1.0 -Wl,-R,/usr/lib64/ghc-7.8.4/integer-gmp-0.5.1.0 -lgmp -L/usr/lib64/ghc-7.8.4/ghc-prim-0.3.1.0 -Wl,-R,/usr/lib64/ghc-7.8.4/ghc-prim-0.3.1.0 -lm -L/usr/lib64/ghc-7.8.4/rts-1.0 -Wl,-R,/usr/lib64/ghc-7.8.4/rts-1.0 -lm -lrt -ldl -lffi * ERROR: dev-vcs/darcs-2.8.5-r3::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2922: Called haskell-cabal_src_compile * environment, line 2038: Called cabal_src_compile * environment, line 876: Called cabal-build * environment, line 638: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-vcs/darcs-2.8.5-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-vcs/darcs-2.8.5-r3::gentoo'`. * The complete build log is located at '/dev/shm/portage/dev-vcs/darcs-2.8.5-r3/temp/build.log.gz'. * The ebuild environment file is located at '/dev/shm/portage/dev-vcs/darcs-2.8.5-r3/temp/environment'. * Working directory: '/dev/shm/portage/dev-vcs/darcs-2.8.5-r3/work/darcs-2.8.5' * S: '/dev/shm/portage/dev-vcs/darcs-2.8.5-r3/work/darcs-2.8.5'