* Package: dev-haskell/hslua-0.3.13 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc hscolour kernel_linux userland_GNU * FEATURES: compressdebug fakeroot installsources network-sandbox preserve-libs sandbox splitdebug usersandbox >>> -sandbox(setup) ]0;emerge 08:13:38 49|301 hslua (root@ALESSAND-F1E8)kemerge 08:13:38 49|301 hslua (root@ALESSAND-F1E8)\ * /etc/portage/package.cflags/cflags -> */*: NOFFLAGS=1 * /etc/portage/package.cflags/cflags -> */*: LDFLAGS-="-Wl,-z,now -Wl,-z,relro" * /etc/portage/package.cflags/cflags -> */*: USE_NONGNU="" +fPIE +fstack-protector-all +D_FORTIFY_SOURCE=2 * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy cgroup clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles installsources ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms sign split-elog split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr' * CFLAGS='-Os -pipe -march=native -mtune=native -mfpmath=sse -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wvolatile-register-var -Wdate-time -Wno-error=implicit-function-declaration -Wimplicit-function-declaration -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp' * CXXFLAGS='-Os -pipe -march=native -mtune=native -mfpmath=sse -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wvolatile-register-var -Wdate-time -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp' * FFLAGS='-Os -pipe -march=native -mtune=native -mfpmath=sse -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Warray-bounds -Wclobbered -Wvolatile-register-var -Wdate-time -Wno-error=implicit-function-declaration' * FCFLAGS='-Os -pipe -march=native -mtune=native -mfpmath=sse -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Warray-bounds -Wclobbered -Wvolatile-register-var -Wdate-time -Wno-error=implicit-function-declaration' * F77FLAGS='-Os -pipe -march=native -mtune=native -mfpmath=sse -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wvolatile-register-var -Wdate-time -Wno-error=implicit-function-declaration' * LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp' * MAKEOPTS='-j4 -l8' * gcc (Gentoo Hardened 9.2.0-r1 p2) 9.2.0 * Linux ALESSAND-F1E8 4.19.10-rt-rt8-bfq-aufs4-debian-graysky-ksm-CJK #15 SMP PREEMPT RT Wed Sep 18 16:42:34 CEST 2019 x86_64 Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz GenuineIntel GNU/Linux >>> Unpacking source... >>> Unpacking hslua-0.3.13.tar.gz to /var/tmp/portage/dev-haskell/hslua-0.3.13/work >>> Source unpacked in /var/tmp/portage/dev-haskell/hslua-0.3.13/work >>> Preparing source in /var/tmp/portage/dev-haskell/hslua-0.3.13/work/hslua-0.3.13 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/hslua-0.3.13/work/hslua-0.3.13 ... * 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/hslua-0.3.13/work/hslua-0.3.13/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/hslua-0.3.13/work/hslua-0.3.13/Setup.hs, /var/tmp/portage/dev-haskell/hslua-0.3.13/work/hslua-0.3.13/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=hslua-0.3.13/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=hslua-0.3.13/ghc-8.0.2 --disable-tests --ghc-options=-j4 +RTS -A256M -qb0 -RTS --with-ar=ar --ghc-option=-optc-Os --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optc-mtune=native --ghc-option=-optc-mfpmath=sse --ghc-option=-optc-fopenmp --ghc-option=-optc-pthread --ghc-option=-optc-fno-unroll-all-loops --ghc-option=-optc-fno-unroll-loops --ghc-option=-optc-fno-peel-loops --ghc-option=-optc-Wformat --ghc-option=-optc-Wformat-security --ghc-option=-optc-Warray-bounds --ghc-option=-optc-Wclobbered --ghc-option=-optc-Wvolatile-register-var --ghc-option=-optc-Wdate-time --ghc-option=-optc-Wno-error=implicit-function-declaration --ghc-option=-optc-Wimplicit-function-declaration --ghc-option=-optc-Wl,-O1 --ghc-option=-optc-Wl,--as-needed --ghc-option=-optc-Wl,-fuse-ld=gold --ghc-option=-optc-lpthread --ghc-option=-optc-lgomp --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,-fuse-ld=gold --ghc-option=-optl-lpthread --ghc-option=-optl-lgomp --disable-executable-stripping --docdir=/usr/share/doc/hslua-0.3.13 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=-apicheck --flags=-system-lua Configuring hslua-0.3.13... Flags chosen: apicheck=False, system-lua=False Dependency base ==4.*: using base-4.9.1.0 Dependency mtl >=2.1: using mtl-2.2.1 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/hslua-0.3.13/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/hslua-0.3.13/ghc-8.0.2 Documentation installed in: /usr/share/doc/hslua-0.3.13 Configuration files installed in: /etc No alex found Using ar given by user at: /usr/bin/ar No c2hs found No cpphs found Using gcc version 9.2.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 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.68.1 found on system at: /usr/bin/hsc2hs Using hscolour version 1.24 found on system at: /usr/bin/HsColour 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.32 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/hslua-0.3.13/work/hslua-0.3.13 ... ./setup build Building hslua-0.3.13... Preprocessing library hslua-0.3.13... [1 of 2] Compiling Scripting.Lua ( dist/build/Scripting/Lua.hs, dist/build/Scripting/Lua.o ) src/Scripting/Lua.hsc:183:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: fatal error: cannot mix -r with dynamic object /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/libpthread.so collect2: error: ld returned 1 exit status : error: `x86_64-pc-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1) * ERROR: dev-haskell/hslua-0.3.13::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3941: Called haskell-cabal_src_compile * environment, line 3074: Called cabal_src_compile * environment, line 1936: Called cabal-build * environment, line 1696: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/hslua-0.3.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/hslua-0.3.13::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-haskell/hslua-0.3.13:20191001-061333.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/hslua-0.3.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/hslua-0.3.13/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/hslua-0.3.13/work/hslua-0.3.13' * S: '/var/tmp/portage/dev-haskell/hslua-0.3.13/work/hslua-0.3.13'