* Package: dev-haskell/io-streams-haproxy-1.0.1.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 io-streams-haproxy-1.0.1.0.tar.gz to /var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work >>> Preparing source in /var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0 ... * CHDEP: 'base >= 4.5 && < 4.13' -> 'base >= 4.5' * CHDEP: 'network >= 2.3 && < 3.1' -> 'network >= 2.3 && < 3.2' >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0 ... * 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/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0/Setup.hs, /var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0/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=io-streams-haproxy-1.0.1.0/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=io-streams-haproxy-1.0.1.0/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=-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/io-streams-haproxy-1.0.1.0-r1 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping Configuring io-streams-haproxy-1.0.1.0... Dependency attoparsec >=0.7 && <0.14: using attoparsec-0.13.2.3 Dependency base >=4.5: using base-4.9.1.0 Dependency bytestring >=0.9 && <0.11: using bytestring-0.10.8.1 Dependency io-streams >=1.3 && <1.6: using io-streams-1.3.6.0 Dependency network >=2.3 && <3.2: using network-3.0.1.1 Dependency transformers >=0.3 && <0.6: using transformers-0.5.2.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package io-streams-1.3.6.0 requires network-2.6.3.1 package io-streams-haproxy-1.0.1.0 requires network-3.0.1.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/io-streams-haproxy-1.0.1.0/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/io-streams-haproxy-1.0.1.0/ghc-8.0.2 Documentation installed in: /usr/share/doc/io-streams-haproxy-1.0.1.0-r1 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 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 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/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0 ... ./setup build Building io-streams-haproxy-1.0.1.0... Preprocessing library io-streams-haproxy-1.0.1.0... [1 of 2] Compiling System.IO.Streams.Network.Internal.Address ( src/System/IO/Streams/Network/Internal/Address.hs, dist/build/System/IO/Streams/Network/Internal/Address.o ) [2 of 2] Compiling System.IO.Streams.Network.HAProxy ( src/System/IO/Streams/Network/HAProxy.hs, dist/build/System/IO/Streams/Network/HAProxy.o ) src/System/IO/Streams/Network/HAProxy.hs:106:41: error: • Couldn't match expected type ‘network-2.6.3.1:Network.Socket.Types.Socket’ with actual type ‘N.Socket’ NB: ‘N.Socket’ is defined in ‘Network.Socket.Types’ in package ‘network-3.0.1.1’ ‘network-2.6.3.1:Network.Socket.Types.Socket’ is defined in ‘Network.Socket.Types’ in package ‘network-2.6.3.1’ • In the first argument of ‘Streams.socketToStreams’, namely ‘socket’ In a stmt of a 'do' block: sockets <- Streams.socketToStreams socket In the expression: do { pinfo <- socketToProxyInfo socket sa; sockets <- Streams.socketToStreams socket; behindHAProxyWithLocalInfo pinfo sockets m } * ERROR: dev-haskell/io-streams-haproxy-1.0.1.0-r1::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 1890: Called haskell-cabal_src_compile * environment, line 1531: Called cabal_src_compile * environment, line 693: Called cabal-build * environment, line 451: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/io-streams-haproxy-1.0.1.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/io-streams-haproxy-1.0.1.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:io-streams-haproxy-1.0.1.0-r1:20200806-214443.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0' * S: '/var/tmp/portage/dev-haskell/io-streams-haproxy-1.0.1.0-r1/work/io-streams-haproxy-1.0.1.0'