* Package: dev-haskell/libxml-sax-0.7.5  * Repository: gentoo  * Maintainer: haskell@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libxml-sax-0.7.5.tar.gz to /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work >>> Source unpacked in /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work >>> Preparing source in /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5 ... * Using cabal-1.24.2.0. * Prepending /usr/lib64/ghc-8.0.2 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5/Setup.hs -j5 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5/Setup.hs, /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5/Setup.o ) 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=libxml-sax-0.7.5/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=libxml-sax-0.7.5/ghc-8.0.2 --ghc-options=-j5 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-march=native --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/libxml-sax-0.7.5 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Configuring libxml-sax-0.7.5... Dependency base >=4.1 && <5.0: using base-4.9.1.0 Dependency bytestring >=0.9: using bytestring-0.10.8.1 Dependency text >=0.7: using text-1.2.2.1 Dependency xml-types ==0.3.*: using xml-types-0.3.6 Dependency libxml-2.0 -any: using version 2.9.7 Using Cabal-1.24.2.0 compiled by ghc-8.0 Using compiler: ghc-8.0.2 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/libxml-sax-0.7.5/ghc-8.0.2 Dynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-8.0.2 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/libxml-sax-0.7.5/ghc-8.0.2 Documentation installed in: /usr/share/doc/libxml-sax-0.7.5 Configuration files installed in: /etc Using alex version 3.2.1 found on system at: /usr/bin/alex Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar Using c2hs version 0.28.3 found on system at: /usr/bin/c2hs Using cpphs version 1.20.2 found on system at: /usr/bin/cpphs Using gcc version 6.4.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.0.2 given by user at: /usr/bin/ghc Using ghc-pkg version 8.0.2 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.17.3 found on system at: /usr/bin/haddock-ghc-8.0.2 Using happy version 1.19.5 found on system at: /usr/bin/happy 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.68.1 found on system at: /usr/bin/hsc2hs No hscolour found No jhc found Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld No lhc found No lhc-pkg found Using pkg-config version 0.29.2 found on system at: /usr/bin/pkg-config Using strip version 2.29 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5 ... ./setup build Building libxml-sax-0.7.5... Preprocessing library libxml-sax-0.7.5... [1 of 1] Compiling Text.XML.LibXML.SAX ( lib/Text/XML/LibXML/SAX.hs, dist/build/Text/XML/LibXML/SAX.o ) lib/Text/XML/LibXML/SAX.hs:19:1: warning: [-Wtabs] Tab character found here, and in 345 further locations. Please use spaces instead. lib/Text/XML/LibXML/SAX.hs:77:16: warning: [-Wunused-top-binds] Defined but not used: data constructor ‘Context’ /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: -r and -pie may not be used together collect2: error: ld returned 1 exit status : error: `x86_64-pc-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1) * ERROR: dev-haskell/libxml-sax-0.7.5::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2705: Called haskell-cabal_src_compile * environment, line 1906: Called cabal_src_compile * environment, line 699: Called cabal-build * environment, line 463: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/libxml-sax-0.7.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/libxml-sax-0.7.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-haskell/libxml-sax-0.7.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/libxml-sax-0.7.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5' * S: '/var/tmp/portage/dev-haskell/libxml-sax-0.7.5/work/libxml-sax-0.7.5'