* Package: dev-haskell/tls-1.3.9 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 compat elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tls-1.3.9.tar.gz to /var/tmp/portage/dev-haskell/tls-1.3.9/work >>> Source unpacked in /var/tmp/portage/dev-haskell/tls-1.3.9/work >>> Preparing source in /var/tmp/portage/dev-haskell/tls-1.3.9/work/tls-1.3.9 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/tls-1.3.9/work/tls-1.3.9 ... * 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/tls-1.3.9/work/tls-1.3.9/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/tls-1.3.9/work/tls-1.3.9/Setup.hs, /var/tmp/portage/dev-haskell/tls-1.3.9/work/tls-1.3.9/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=tls-1.3.9/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=tls-1.3.9/ghc-8.0.2 --disable-tests --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-diagnostics-color --ghc-option=-optc-falign-functions=32:25:16 --ghc-option=-optc-Wformat --ghc-option=-optc-Werror=format-security --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --disable-executable-stripping --docdir=/usr/share/doc/tls-1.3.9 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=compat --flags=-network Configuring tls-1.3.9... Flags chosen: hans=False, network=False, compat=True Dependency asn1-encoding -any: using asn1-encoding-0.9.6 Dependency asn1-types >=0.2.0: using asn1-types-0.3.3 Dependency async -any: using async-2.1.1 Dependency base >=4.3 && <5: using base-4.9.1.0 Dependency bytestring -any: using bytestring-0.10.8.1 Dependency cereal >=0.4: using cereal-0.4.1.1 Dependency cryptonite >=0.21: using cryptonite-0.26 Dependency data-default-class -any: using data-default-class-0.0.1 Dependency memory -any: using memory-0.15.0 Dependency mtl >=2: using mtl-2.2.1 Dependency transformers -any: using transformers-0.5.2.0 Dependency x509 >=1.6.5 && <1.7.0: using x509-1.6.5 Dependency x509-store >=1.6: using x509-store-1.6.2 Dependency x509-validation >=1.6.5 && <1.7.0: using x509-validation-1.6.5 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/tls-1.3.9/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/tls-1.3.9/ghc-8.0.2 Documentation installed in: /usr/share/doc/tls-1.3.9 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 10.1.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.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.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 1.7.3 found on system at: /usr/bin/pkg-config Using strip version 2.34 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/tls-1.3.9/work/tls-1.3.9 ... ./setup build Building tls-1.3.9... Preprocessing library tls-1.3.9... [ 1 of 51] Compiling Network.TLS.X509 ( Network/TLS/X509.hs, dist/build/Network/TLS/X509.o ) [ 2 of 51] Compiling Network.TLS.Util.Serialization ( Network/TLS/Util/Serialization.hs, dist/build/Network/TLS/Util/Serialization.o ) [ 3 of 51] Compiling Network.TLS.Util.ASN1 ( Network/TLS/Util/ASN1.hs, dist/build/Network/TLS/Util/ASN1.o ) [ 4 of 51] Compiling Network.TLS.Types ( Network/TLS/Types.hs, dist/build/Network/TLS/Types.o ) [ 5 of 51] Compiling Network.TLS.Session ( Network/TLS/Session.hs, dist/build/Network/TLS/Session.o ) [ 6 of 51] Compiling Network.TLS.RNG ( Network/TLS/RNG.hs, dist/build/Network/TLS/RNG.o ) [ 7 of 51] Compiling Network.TLS.Measurement ( Network/TLS/Measurement.hs, dist/build/Network/TLS/Measurement.o ) [ 8 of 51] Compiling Network.TLS.Imports ( Network/TLS/Imports.hs, dist/build/Network/TLS/Imports.o ) [ 9 of 51] Compiling Network.TLS.Util ( Network/TLS/Util.hs, dist/build/Network/TLS/Util.o ) [10 of 51] Compiling Network.TLS.Extension.EC ( Network/TLS/Extension/EC.hs, dist/build/Network/TLS/Extension/EC.o ) [11 of 51] Compiling Network.TLS.ErrT ( Network/TLS/ErrT.hs, dist/build/Network/TLS/ErrT.o ) [12 of 51] Compiling Network.TLS.Crypto.ECDH ( Network/TLS/Crypto/ECDH.hs, dist/build/Network/TLS/Crypto/ECDH.o ) [13 of 51] Compiling Network.TLS.Crypto.DH ( Network/TLS/Crypto/DH.hs, dist/build/Network/TLS/Crypto/DH.o ) [14 of 51] Compiling Network.TLS.Struct ( Network/TLS/Struct.hs, dist/build/Network/TLS/Struct.o ) [15 of 51] Compiling Network.TLS.Hooks ( Network/TLS/Hooks.hs, dist/build/Network/TLS/Hooks.o ) [16 of 51] Compiling Network.TLS.Wire ( Network/TLS/Wire.hs, dist/build/Network/TLS/Wire.o ) [17 of 51] Compiling Network.TLS.Crypto ( Network/TLS/Crypto.hs, dist/build/Network/TLS/Crypto.o ) [18 of 51] Compiling Network.TLS.MAC ( Network/TLS/MAC.hs, dist/build/Network/TLS/MAC.o ) [19 of 51] Compiling Network.TLS.Credentials ( Network/TLS/Credentials.hs, dist/build/Network/TLS/Credentials.o ) [20 of 51] Compiling Network.TLS.Compression ( Network/TLS/Compression.hs, dist/build/Network/TLS/Compression.o ) [21 of 51] Compiling Network.TLS.Cipher ( Network/TLS/Cipher.hs, dist/build/Network/TLS/Cipher.o ) [22 of 51] Compiling Network.TLS.Cap ( Network/TLS/Cap.hs, dist/build/Network/TLS/Cap.o ) [23 of 51] Compiling Network.TLS.Packet ( Network/TLS/Packet.hs, dist/build/Network/TLS/Packet.o ) [24 of 51] Compiling Network.TLS.Extension ( Network/TLS/Extension.hs, dist/build/Network/TLS/Extension.o ) [25 of 51] Compiling Network.TLS.Parameters ( Network/TLS/Parameters.hs, dist/build/Network/TLS/Parameters.o ) [26 of 51] Compiling Network.TLS.State ( Network/TLS/State.hs, dist/build/Network/TLS/State.o ) [27 of 51] Compiling Network.TLS.Record.State ( Network/TLS/Record/State.hs, dist/build/Network/TLS/Record/State.o ) [28 of 51] Compiling Network.TLS.Handshake.State ( Network/TLS/Handshake/State.hs, dist/build/Network/TLS/Handshake/State.o ) [29 of 51] Compiling Network.TLS.Record.Types ( Network/TLS/Record/Types.hs, dist/build/Network/TLS/Record/Types.o ) [30 of 51] Compiling Network.TLS.Record.Disengage ( Network/TLS/Record/Disengage.hs, dist/build/Network/TLS/Record/Disengage.o ) [31 of 51] Compiling Network.TLS.Record.Engage ( Network/TLS/Record/Engage.hs, dist/build/Network/TLS/Record/Engage.o ) [32 of 51] Compiling Network.TLS.Record ( Network/TLS/Record.hs, dist/build/Network/TLS/Record.o ) [33 of 51] Compiling Network.TLS.Backend ( Network/TLS/Backend.hs, dist/build/Network/TLS/Backend.o ) Network/TLS/Backend.hs:62:13: error: Not in scope: type constructor or class ‘Network.Socket’ No module named ‘Network’ is imported. Network/TLS/Backend.hs:64:12: error: Not in scope: ‘Network.recv’ No module named ‘Network’ is imported. * ERROR: dev-haskell/tls-1.3.9::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2739: Called haskell-cabal_src_compile * environment, line 1963: Called cabal_src_compile * environment, line 775: Called cabal-build * environment, line 533: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/tls-1.3.9::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/tls-1.3.9::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:tls-1.3.9:20200609-045825.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/tls-1.3.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/tls-1.3.9/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/tls-1.3.9/work/tls-1.3.9' * S: '/var/tmp/portage/dev-haskell/tls-1.3.9/work/tls-1.3.9'