* Package: dev-haskell/gnutls-0.2 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gnutls-0.2.tar.gz to /var/tmp/portage/dev-haskell/gnutls-0.2/work >>> Source unpacked in /var/tmp/portage/dev-haskell/gnutls-0.2/work >>> Preparing source in /var/tmp/portage/dev-haskell/gnutls-0.2/work/gnutls-0.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/gnutls-0.2/work/gnutls-0.2 ... * Using cabal-1.24.2.0. * Prepending /usr/lib64/ghc-7.10.3 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-haskell/gnutls-0.2/work/gnutls-0.2/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/gnutls-0.2/work/gnutls-0.2/Setup.hs, /var/tmp/portage/dev-haskell/gnutls-0.2/work/gnutls-0.2/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=gnutls-0.2/ghc-7.10.3 --datadir=/usr/share/ --datasubdir=gnutls-0.2/ghc-7.10.3 --ghc-options=-j1 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/gnutls-0.2 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Configuring gnutls-0.2... Dependency base >=4.0 && <5.0: using base-4.8.2.0 Dependency bytestring >=0.9: using bytestring-0.10.6.0 Dependency monads-tf ==0.1.*: using monads-tf-0.1.0.3 Dependency transformers >=0.2: using transformers-0.5.2.0 Dependency gnutls -any: using version 3.5.19 Using Cabal-1.24.2.0 compiled by ghc-7.10 Using compiler: ghc-7.10.3 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/gnutls-0.2/ghc-7.10.3 Dynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-7.10.3 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/gnutls-0.2/ghc-7.10.3 Documentation installed in: /usr/share/doc/gnutls-0.2 Configuration files installed in: /etc No alex found Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar No c2hs found No cpphs found Using gcc version 7.3.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 7.10.3 given by user at: /usr/bin/ghc Using ghc-pkg version 7.10.3 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.16.1 found on system at: /usr/bin/haddock-ghc-7.10.3 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 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.30 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/gnutls-0.2/work/gnutls-0.2 ... ./setup build Building gnutls-0.2... Preprocessing library gnutls-0.2... [1 of 3] Compiling Network.Protocol.TLS.GNU.Foreign ( lib/Network/Protocol/TLS/GNU/Foreign.hs, dist/build/Network/Protocol/TLS/GNU/Foreign.o ) lib/Network/Protocol/TLS/GNU/Foreign.hs:26:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:29:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:32:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:35:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:38:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:41:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:44:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:47:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:50:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:53:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:56:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:59:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:62:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:65:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:68:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:71:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:74:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:77:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:80:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:83:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:86:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:89:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:105:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:108:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:111:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:114:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:117:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:124:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:127:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:130:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:133:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:140:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:143:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:146:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:149:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:152:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:155:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:162:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:165:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:168:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:171:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:174:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:181:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:184:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:187:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:190:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:193:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:196:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:203:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:206:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:213:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:216:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:219:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:222:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:225:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:228:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:231:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:240:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:243:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:246:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:253:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:254:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:255:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:256:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:257:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:258:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:259:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:262:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:265:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:268:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:271:1: Warning: Tab character lib/Network/Protocol/TLS/GNU/Foreign.hs:274:1: Warning: Tab character /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: -r and -pie may not be used together collect2: error: ld returned 1 exit status * ERROR: dev-haskell/gnutls-0.2::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2674: Called haskell-cabal_src_compile * environment, line 1871: Called cabal_src_compile * environment, line 664: Called cabal-build * environment, line 428: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/gnutls-0.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/gnutls-0.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:gnutls-0.2:20180727-073417.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/gnutls-0.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/gnutls-0.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/gnutls-0.2/work/gnutls-0.2' * S: '/var/tmp/portage/dev-haskell/gnutls-0.2/work/gnutls-0.2'