* Package: dev-haskell/tls-session-manager-0.0.4 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking tls-session-manager-0.0.4.tar.gz to /var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work >>> Source unpacked in /var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work >>> Preparing source in /var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work/tls-session-manager-0.0.4 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work/tls-session-manager-0.0.4 ... * 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-session-manager-0.0.4/work/tls-session-manager-0.0.4/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work/tls-session-manager-0.0.4/Setup.hs, /var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work/tls-session-manager-0.0.4/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-session-manager-0.0.4/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=tls-session-manager-0.0.4/ghc-8.0.2 --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=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --disable-executable-stripping --docdir=/usr/share/doc/tls-session-manager-0.0.4 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Configuring tls-session-manager-0.0.4... Dependency auto-update -any: using auto-update-0.1.6 Dependency base >=4.7 && <5: using base-4.9.1.0 Dependency basement -any: using basement-0.0.11 Dependency bytestring -any: using bytestring-0.10.8.1 Dependency clock -any: using clock-0.7.2 Dependency memory -any: using memory-0.15.0 Dependency psqueues >=0.2.3: using psqueues-0.2.7.2 Dependency tls -any: using tls-1.3.9 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-session-manager-0.0.4/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-session-manager-0.0.4/ghc-8.0.2 Documentation installed in: /usr/share/doc/tls-session-manager-0.0.4 Configuration files installed in: /etc Using alex version 3.2.5 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.6 found on system at: /usr/bin/c2hs Using cpphs version 1.20.8 found on system at: /usr/bin/cpphs Using gcc version 10.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 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-session-manager-0.0.4/work/tls-session-manager-0.0.4 ... ./setup build Building tls-session-manager-0.0.4... Preprocessing library tls-session-manager-0.0.4... [1 of 2] Compiling Network.TLS.Imports ( Network/TLS/Imports.hs, dist/build/Network/TLS/Imports.o ) [2 of 2] Compiling Network.TLS.SessionManager ( Network/TLS/SessionManager.hs, dist/build/Network/TLS/SessionManager.o ) Network/TLS/SessionManager.hs:71:10: error: • The constructor ‘SessionData’ should have 3 arguments, but has been given 5 • In the pattern: SessionData v cid comp msni sec In an equation for ‘toValue’: toValue (SessionData v cid comp msni sec) = SessionDataCopy v cid comp msni sec' where !sec' = convert sec Network/TLS/SessionManager.hs:91:5: error: • Couldn't match expected type ‘Maybe HostName -> t0 -> SessionData’ with actual type ‘SessionData’ • The function ‘SessionData’ is applied to five arguments, but its type ‘Version -> CipherID -> ByteString -> SessionData’ has only three In the expression: SessionData v cid comp msni sec In an equation for ‘fromValue’: fromValue (SessionDataCopy v cid comp msni sec') = SessionData v cid comp msni sec where !sec = convert sec' • Relevant bindings include sec :: t0 (bound at Network/TLS/SessionManager.hs:93:6) Network/TLS/SessionManager.hs:91:23: error: • Couldn't match type ‘Word8’ with ‘ByteString’ Expected type: ByteString Actual type: CompressionID • In the third argument of ‘SessionData’, namely ‘comp’ In the expression: SessionData v cid comp msni sec In an equation for ‘fromValue’: fromValue (SessionDataCopy v cid comp msni sec') = SessionData v cid comp msni sec where !sec = convert sec' * ERROR: dev-haskell/tls-session-manager-0.0.4::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 1887: Called haskell-cabal_src_compile * environment, line 1528: Called cabal_src_compile * environment, line 690: Called cabal-build * environment, line 448: 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-session-manager-0.0.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/tls-session-manager-0.0.4::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:tls-session-manager-0.0.4:20200803-230358.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work/tls-session-manager-0.0.4' * S: '/var/tmp/portage/dev-haskell/tls-session-manager-0.0.4/work/tls-session-manager-0.0.4'