* Package: dev-haskell/readline-1.0.3.0-r1 * 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 readline-1.0.3.0.tar.gz to /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work >>> Preparing source in /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0 ... * Applying readline-1.0.3.0-tinfo.patch ... [ ok ] * Running autoconf ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0 ... * 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/readline-1.0.3.0-r1/work/readline-1.0.3.0/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0/Setup.hs, /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0/Setup.o ) /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0/Setup.hs:6:29: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" 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=readline-1.0.3.0/ghc-7.10.3 --datadir=/usr/share/ --datasubdir=readline-1.0.3.0/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=-optc-fno-common --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/readline-1.0.3.0-r1 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Warning: defaultUserHooks in Setup script is deprecated. Configuring readline-1.0.3.0... Flags chosen: split-base=True Dependency base >=3 && <5: using base-4.8.2.0 Dependency process -any: using process-1.2.3.0 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/readline-1.0.3.0/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/readline-1.0.3.0/ghc-7.10.3 Documentation installed in: /usr/share/doc/readline-1.0.3.0-r1 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 Using cpphs version 1.20.8 found on system at: /usr/bin/cpphs Using gcc version 9.2.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 Using happy version 1.19.12 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.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 1.6.3 found on system at: /usr/bin/pkg-config Using strip version 2.33 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found /bin/sh ./configure '--with-hc=/usr/bin/ghc' '--with-hc-pkg=/usr/bin/ghc-pkg' '--prefix=/usr' '--libdir=/usr/lib64' '--datadir=/usr/share/' '--sysconfdir=/etc' 'CC=/usr/bin/x86_64-pc-linux-gnu-gcc' configure: WARNING: unrecognized options: --with-hc, --with-hc-pkg configure: loading site script /usr/share/config.site checking for gcc... /usr/bin/x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/x86_64-pc-linux-gnu-gcc accepts -g... yes checking for /usr/bin/x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for GNUreadline.framework... checking for readline... no checking for tputs in -lncurses... no checking for tputs in -ltermcap... no checking for tputs in -lcurses... no checking for tputs in -ltinfo... yes checking for readline in -lreadline... yes checking for rl_readline_version... yes checking for rl_begin_undo_group... yes checking for rl_erase_empty_line... yes checking for rl_free_undo_list... yes checking for rl_completion_word_break_hook in -lreadline... yes configure: creating ./config.status config.status: creating config.mk config.status: creating readline.buildinfo config.status: creating include/HsReadlineConfig.h config.status: include/HsReadlineConfig.h is unchanged configure: WARNING: unrecognized options: --with-hc, --with-hc-pkg Reading parameters from ./readline.buildinfo >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0 ... ./setup build Building readline-1.0.3.0... Preprocessing library readline-1.0.3.0... [1 of 2] Compiling System.Console.SimpleLineEditor ( System/Console/SimpleLineEditor.hs, dist/build/System/Console/SimpleLineEditor.o ) System/Console/SimpleLineEditor.hs:19:15: Warning: Tab character System/Console/SimpleLineEditor.hs:20:12: Warning: Tab character System/Console/SimpleLineEditor.hs:21:18: Warning: Tab character System/Console/SimpleLineEditor.hs:22:13: Warning: Tab character System/Console/SimpleLineEditor.hs:33:1: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead System/Console/SimpleLineEditor.hs:104:21: Warning: Tab character System/Console/SimpleLineEditor.hs:105:1: Warning: Tab character System/Console/SimpleLineEditor.hs:128:21: Warning: Tab character [2 of 2] Compiling System.Console.Readline ( dist/build/System/Console/Readline.hs, dist/build/System/Console/Readline.o ) System/Console/Readline.hsc:286:21: Warning: Tab character System/Console/Readline.hsc:287:17: Warning: Tab character System/Console/Readline.hsc:288:18: Warning: Tab character System/Console/Readline.hsc:289:17: Warning: Tab character System/Console/Readline.hsc:291:18: Warning: Tab character System/Console/Readline.hsc:292:19: Warning: Tab character System/Console/Readline.hsc:293:1: Warning: Tab character System/Console/Readline.hsc:294:24: Warning: Tab character System/Console/Readline.hsc:298:23: Warning: Tab character System/Console/Readline.hsc:299:24: Warning: Tab character System/Console/Readline.hsc:300:1: Warning: Tab character System/Console/Readline.hsc:301:24: Warning: Tab character System/Console/Readline.hsc:325:1: Warning: Tab character /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.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/readline-1.0.3.0-r1::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2230: Called haskell-cabal_src_compile * environment, line 1887: Called cabal_src_compile * environment, line 906: Called cabal-build * environment, line 664: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/readline-1.0.3.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/readline-1.0.3.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:readline-1.0.3.0-r1:20200129-191206.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0' * S: '/var/tmp/portage/dev-haskell/readline-1.0.3.0-r1/work/readline-1.0.3.0'