* Package: dev-haskell/http-streams-0.8.4.0 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux network-uri userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking http-streams-0.8.4.0.tar.gz to /var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work >>> Source unpacked in /var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work >>> Preparing source in /var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work/http-streams-0.8.4.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work/http-streams-0.8.4.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/http-streams-0.8.4.0/work/http-streams-0.8.4.0/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work/http-streams-0.8.4.0/Setup.hs, /var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work/http-streams-0.8.4.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=http-streams-0.8.4.0/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=http-streams-0.8.4.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/http-streams-0.8.4.0 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=network-uri Configuring http-streams-0.8.4.0... Flags chosen: network-uri=True Dependency HsOpenSSL >=0.10.3.5: using HsOpenSSL-0.11.4.17 Dependency aeson -any: using aeson-1.0.2.1 Dependency attoparsec -any: using attoparsec-0.13.2.3 Dependency base ==4.*: using base-4.9.1.0 Dependency base64-bytestring -any: using base64-bytestring-1.0.0.3 Dependency blaze-builder >=0.4: using blaze-builder-0.4.0.2 Dependency bytestring -any: using bytestring-0.10.8.1 Dependency case-insensitive -any: using case-insensitive-1.2.1.0 Dependency directory -any: using directory-1.3.0.0 Dependency http-common >=0.8.2: using http-common-0.8.2.0 Dependency io-streams ==1.3.*: using io-streams-1.3.6.0 Dependency mtl -any: using mtl-2.2.1 Dependency network >=2.6: using network-3.0.1.1 Dependency network-uri >=2.6: using network-uri-2.6.3.0 Dependency openssl-streams >=1.1 && <1.4: using openssl-streams-1.2.2.0 Dependency text -any: using text-1.2.2.1 Dependency transformers -any: using transformers-0.5.2.0 Dependency unordered-containers -any: using unordered-containers-0.2.10.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 openssl-streams-1.2.2.0 requires network-3.0.1.1 package http-streams-0.8.4.0 requires network-3.0.1.1 package http-common-0.8.2.0 requires network-3.0.1.1 package HsOpenSSL-0.11.4.17 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/http-streams-0.8.4.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/http-streams-0.8.4.0/ghc-8.0.2 Documentation installed in: /usr/share/doc/http-streams-0.8.4.0 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/http-streams-0.8.4.0/work/http-streams-0.8.4.0 ... ./setup build Building http-streams-0.8.4.0... Preprocessing library http-streams-0.8.4.0... [1 of 5] Compiling Network.Http.Utilities ( lib/Network/Http/Utilities.hs, dist/build/Network/Http/Utilities.o ) [2 of 5] Compiling Network.Http.ResponseParser ( lib/Network/Http/ResponseParser.hs, dist/build/Network/Http/ResponseParser.o ) [3 of 5] Compiling Network.Http.Connection ( lib/Network/Http/Connection.hs, dist/build/Network/Http/Connection.o ) lib/Network/Http/Connection.hs:178:39: error: • Couldn't match expected type ‘network-2.6.3.1:Network.Socket.Types.Socket’ with actual type ‘Socket’ NB: ‘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 ‘s’ In a stmt of a 'do' block: (i, o1) <- Streams.socketToStreams s In the expression: do { is <- getAddrInfo (Just hints) (Just h1) (Just $ show p); let addr = head is; let a = addrAddress addr; s <- socket (addrFamily addr) Stream defaultProtocol; .... } lib/Network/Http/Connection.hs:278:39: error: • Couldn't match expected type ‘network-2.6.3.1:Network.Socket.Types.Socket’ with actual type ‘Socket’ NB: ‘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 ‘s’ In a stmt of a 'do' block: (i, o1) <- Streams.socketToStreams s In the expression: do { let a = SockAddrUnix path; s <- socket AF_UNIX Stream defaultProtocol; connect s a; (i, o1) <- Streams.socketToStreams s; .... } * ERROR: dev-haskell/http-streams-0.8.4.0::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2765: Called haskell-cabal_src_compile * environment, line 1986: Called cabal_src_compile * environment, line 798: Called cabal-build * environment, line 556: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/http-streams-0.8.4.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/http-streams-0.8.4.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:http-streams-0.8.4.0:20200803-042717.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/http-streams-0.8.4.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/http-streams-0.8.4.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work/http-streams-0.8.4.0' * S: '/var/tmp/portage/dev-haskell/http-streams-0.8.4.0/work/http-streams-0.8.4.0'