* Package: dev-lang/ghc-8.0.2 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc gmp kernel_linux profile userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking for at least 8 GiB disk space at "/var/tmp/portage/dev-lang/ghc-8.0.2/temp" ... [ ok ] * Checking for at least 2 GiB disk space at "//usr" ... [ ok ] >>> Unpacking source... >>> Unpacking ghc-8.0.2-src.tar.xz to /var/tmp/portage/dev-lang/ghc-8.0.2/work >>> Unpacking ghc-bin-8.0.2-x86_64-pc-linux-gnu.tbz2 to /var/tmp/portage/dev-lang/ghc-8.0.2/work bzip2: /var/tmp/portage/dev-lang/ghc-8.0.2/distdir/ghc-bin-8.0.2-x86_64-pc-linux-gnu.tbz2: trailing garbage after EOF ignored >>> Source unpacked in /var/tmp/portage/dev-lang/ghc-8.0.2/work >>> Preparing source in /var/tmp/portage/dev-lang/ghc-8.0.2/work/ghc-8.0.2 ... * Applying ghc-7.0.4-CHOST-prefix.patch ... [ ok ] * Applying ghc-8.0.1_rc1-cgen-constify.patch ... [ ok ] * Applying ghc-7.8.3-prim-lm.patch ... [ ok ] * Applying ghc-8.0.1-limit-jN.patch ... [ ok ] * Applying ghc-8.0.1-ww-args-limit.patch ... [ ok ] * Applying ghc-8.0.1-par-g0-on-A32.patch ... [ ok ] * Applying ghc-8.0.2_rc2-old-sphinx.patch ... [ ok ] * Applying ghc-8.0.2-libffi-alpha.patch ... [ ok ] * Applying ghc-8.0.2-O2-unreg.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-lang/ghc-8.0.2/work/ghc-8.0.2' ... * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: ghc-8.0.2/ * Running elibtoolize in: ghc-8.0.2/libraries/base/ * Running elibtoolize in: ghc-8.0.2/libraries/directory/ * Running elibtoolize in: ghc-8.0.2/libraries/integer-gmp/ * Running elibtoolize in: ghc-8.0.2/libraries/process/ * Running elibtoolize in: ghc-8.0.2/libraries/terminfo/ * Running elibtoolize in: ghc-8.0.2/libraries/time/ * Running elibtoolize in: ghc-8.0.2/libraries/unix/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ghc-8.0.2/work/ghc-8.0.2 ... /var/tmp/portage/dev-lang/ghc-8.0.2/temp/environment: line 2358: --info: command not found * Final mk/build.mk: # Gentoo changes docdir = /usr/share/doc/ghc-8.0.2 htmldir = /usr/share/doc/ghc-8.0.2 SRC_HC_OPTS+= -optc-march=native -opta-march=native -optl-Wl,-O1 -optl-Wl,--as-needed SRC_CC_OPTS+=-O2 -pipe -march=native -march=native -march=native SRC_LD_OPTS+=-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed utils/ghc-cabal_dist_EXTRA_HC_OPTS+= BUILD_SPHINX_PDF = NO BUILD_SPHINX_HTML = NO BUILD_MAN = NO HADDOCK_DOCS = YES BUILD_PROF_LIBS = YES INTEGER_LIBRARY = integer-gmp STRIP_CMD = : * econf: updating ghc-8.0.2/libraries/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-8.0.2/libraries/unix/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-8.0.2/libraries/integer-gmp/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-8.0.2/libraries/integer-gmp/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-8.0.2/libraries/base/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-8.0.2/libraries/base/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-8.0.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-8.0.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-gcc=x86_64-pc-linux-gnu-gcc --with-system-libffi --with-ffi-includes=/usr/lib64/libffi-3.2.1/include --enable-bootstrap-with-devel-snapshot checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for GHC Git commit id... given 8c7250379d0d2bad1d07dfd556812ff7aa2c42e8 checking for ghc... /var/tmp/portage/dev-lang/ghc-8.0.2/work/usr/bin/ghc checking version of ghc... 8.0.2 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu GHC build : x86_64-unknown-linux GHC host : x86_64-unknown-linux GHC target : x86_64-unknown-linux configure: Building in-tree ghc-pwd x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-no-pie' `x86_64-pc-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1) configure: error: Building ghc-pwd failed !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/ghc-8.0.2/work/ghc-8.0.2/config.log * ERROR: dev-lang/ghc-8.0.2::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 3532: Called econf '--with-gcc=x86_64-pc-linux-gnu-gcc' '--with-system-libffi' '--with-ffi-includes=/usr/lib64/libffi-3.2.1/include' '--enable-bootstrap-with-devel-snapshot' * phase-helpers.sh, line 666: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-lang/ghc-8.0.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ghc-8.0.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:ghc-8.0.2:20180220-181752.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ghc-8.0.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ghc-8.0.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ghc-8.0.2/work/ghc-8.0.2' * S: '/var/tmp/portage/dev-lang/ghc-8.0.2/work/ghc-8.0.2'