* Package: dev-lang/ghc-7.0.4  * Repository: gentoo  * Maintainer: haskell@gentoo.org  * USE: bash-completion elibc_glibc ghcbootstrap kernel_linux llvm userland_GNU x86  * FEATURES: ccache sandbox * You requested ghc bootstrapping, this is usually only used * by Gentoo developers to make binary .tbz2 packages for * use with the ghc ebuild's USE="binary" feature. >>> Unpacking source... >>> Unpacking ghc-7.0.4-src.tar.bz2 to /var/tmp/portage/dev-lang/ghc-7.0.4/work >>> Source unpacked in /var/tmp/portage/dev-lang/ghc-7.0.4/work >>> Preparing source in /var/tmp/portage/dev-lang/ghc-7.0.4/work/ghc-7.0.4 ... * Applying ghc-7.0.2-CHOST.patch ...  [ ok ] * Applying ghc-7.0.4-CHOST-prefix.patch ...  [ ok ] * Applying ghc-7.0.4-CHOST-softfloat.patch ...  [ ok ] * Applying ghc-7.0.4-darwin8.patch ...  [ ok ] * Applying ghc-6.12.3-mach-o-relocation-limit.patch ...  [ ok ] * Applying ghc-7.0.4-nxstack.patch ...  [ ok ] * Applying ghc-7.0.4-fix-ppc-linker.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-lang/ghc-7.0.4/work/ghc-7.0.4' ... * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ghc-7.0.4/work/ghc-7.0.4 ... * econf: updating ghc-7.0.4/libraries/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.0.4/libraries/unix/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.0.4/libraries/directory/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.0.4/libraries/directory/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.0.4/libraries/base/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.0.4/libraries/base/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.0.4/libraries/old-time/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.0.4/libraries/old-time/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.0.4/libraries/process/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.0.4/libraries/process/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.0.4/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.0.4/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-gcc=gcc configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux configure: loading site script /usr/share/crossdev/include/site/linux-gnu configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for ghc... /usr/local/bin/ghc checking version of ghc... 7.0.2 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Target platform inferred as: i386-unknown-linux GHC build : i386-unknown-linux GHC host : i386-unknown-linux GHC target : i386-unknown-linux checking for nhc... no checking for nhc98... no checking for hbc... no configure: Building in-tree ghc-pwd /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ld: utils/ghc-pwd/dist-boot/Main.o: warning: relocation in readonly section `.text'. /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in a shared object. checking for path to top of build tree... utils/ghc-pwd/dist-boot/ghc-pwd: error while loading shared libraries: cannot make segment writable for relocation: Permission denied configure: error: cannot determine current directory !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/ghc-7.0.4/work/ghc-7.0.4/config.log * ERROR: dev-lang/ghc-7.0.4 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 3552: Called econf '--with-gcc=gcc' * phase-helpers.sh, line 467: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-lang/ghc-7.0.4', * the complete build log and the output of 'emerge -pqv =dev-lang/ghc-7.0.4'. * The complete build log is located at '/var/tmp/portage/dev-lang/ghc-7.0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ghc-7.0.4/temp/environment'. * S: '/var/tmp/portage/dev-lang/ghc-7.0.4/work/ghc-7.0.4'