* Package: dev-haskell/snap-server-1.1.1.2 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux openssl portable userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking snap-server-1.1.1.2.tar.gz to /var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work >>> Source unpacked in /var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work >>> Preparing source in /var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work/snap-server-1.1.1.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work/snap-server-1.1.1.2 ... * No Setup.lhs or Setup.hs found. Either add Setup.hs to package or call cabal-mksetup from ebuild * Creating 'Setup.hs' for 'Simple' build type. * Using cabal-3.2.1.0. * Prepending /usr/lib64/ghc-8.10.4 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-3.2.1.0 --make /var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work/snap-server-1.1.1.2/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work/snap-server-1.1.1.2/Setup.hs, /var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work/snap-server-1.1.1.2/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=snap-server-1.1.1.2/ghc-8.10.4 --datadir=/usr/share/ --datasubdir=snap-server-1.1.1.2/ghc-8.10.4 --disable-tests --ghc-options=-j4 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optc-fno-diagnostics-color --ghc-option=-optc-O2 --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/snap-server-1.1.1.2 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=-build-pong --flags=-debug --flags=openssl --flags=portable Using Parsec parser Configuring snap-server-1.1.1.2... Flags chosen: build-pong=False, build-testserver=False, debug=False, openssl=True, portable=True Dependency HsOpenSSL >=0.10.4 && <0.12: using HsOpenSSL-0.11.4.17 Dependency attoparsec >=0.12 && <0.14: using attoparsec-0.13.2.3 Dependency base >=4.6 && <4.15: using base-4.14.1.0 Dependency blaze-builder ==0.4.*: using blaze-builder-0.4.1.0 Dependency bytestring >=0.9.1 && <0.11: using bytestring-0.10.12.0 Dependency bytestring-builder >=0.10.4 && <0.11: using bytestring-builder-0.10.8.2.0 Dependency case-insensitive >=1.1 && <1.3: using case-insensitive-1.2.1.0 Dependency clock >=0.7.1 && <0.9: using clock-0.7.2 Dependency containers >=0.3 && <0.7: using containers-0.6.2.1 Dependency filepath >=1.1 && <2.0: using filepath-1.4.2.1 Dependency io-streams >=1.3 && <1.6: using io-streams-1.5.2.0 Dependency io-streams-haproxy ==1.0.*: using io-streams-haproxy-1.0.1.0 Dependency lifted-base >=0.1 && <0.3: using lifted-base-0.2.3.12 Dependency mtl >=2.0 && <2.3: using mtl-2.2.2 Dependency network >=2.3 && <3.2: using network-3.0.1.1 Dependency old-locale ==1.0.*: using old-locale-1.0.0.7 Dependency openssl-streams >=1.1 && <1.3: using openssl-streams-1.2.3.0 Dependency snap-core ==1.0.*: using snap-core-1.0.4.2 Dependency text >=0.11 && <1.3: using text-1.2.4.1 Dependency time >=1.0 && <1.11: using time-1.9.3 Dependency unix-compat >=0.2 && <0.6: using unix-compat-0.5.2 Dependency vector >=0.7 && <0.13: using vector-0.12.1.2 Source component graph: component lib Configured component graph: component snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz include HsOpenSSL-0.11.4.17-5xBamrTpEEKKZUT9YihK3h include attoparsec-0.13.2.3-JuG4qec0H3DHzPdmMxowmr include base-4.14.1.0 include blaze-builder-0.4.1.0-AY5yPUQEaMfQ8f1oQxUHw include bytestring-0.10.12.0 include bytestring-builder-0.10.8.2.0-9WLOVTTEqbf9oWvLtI2S0o include case-insensitive-1.2.1.0-Kc8drWHh5YWfPEThMpVLE include clock-0.7.2-Eg6Gv0QEI6p7gQqnlVwkVr include containers-0.6.2.1 include filepath-1.4.2.1 include io-streams-1.5.2.0-KIvzpiQ1dHLIlIDwUJRoI7 include io-streams-haproxy-1.0.1.0-2aJcB272ZguIG9Uzdeybsm include lifted-base-0.2.3.12-AKq5U5EtLNVBY3xhK7LDrN include mtl-2.2.2 include network-3.0.1.1-75aTV6GuG9GGRWde9Nu8Kf include old-locale-1.0.0.7-LpTuchyagHAP7STZdm71P include openssl-streams-1.2.3.0-D1rSP5o0xXx124IqHTtXvQ include snap-core-1.0.4.2-1teV5eJNcnTIENxMIAIYEg include text-1.2.4.1 include time-1.9.3 include unix-compat-0.5.2-CoGoJNPx9z03uxZv5sgPH3 include vector-0.12.1.2-4HQVNqqVzfT4s2QyB6q79l Linked component graph: unit snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz include HsOpenSSL-0.11.4.17-5xBamrTpEEKKZUT9YihK3h include attoparsec-0.13.2.3-JuG4qec0H3DHzPdmMxowmr include base-4.14.1.0 include blaze-builder-0.4.1.0-AY5yPUQEaMfQ8f1oQxUHw include bytestring-0.10.12.0 include bytestring-builder-0.10.8.2.0-9WLOVTTEqbf9oWvLtI2S0o include case-insensitive-1.2.1.0-Kc8drWHh5YWfPEThMpVLE include clock-0.7.2-Eg6Gv0QEI6p7gQqnlVwkVr include containers-0.6.2.1 include filepath-1.4.2.1 include io-streams-1.5.2.0-KIvzpiQ1dHLIlIDwUJRoI7 include io-streams-haproxy-1.0.1.0-2aJcB272ZguIG9Uzdeybsm include lifted-base-0.2.3.12-AKq5U5EtLNVBY3xhK7LDrN include mtl-2.2.2 include network-3.0.1.1-75aTV6GuG9GGRWde9Nu8Kf include old-locale-1.0.0.7-LpTuchyagHAP7STZdm71P include openssl-streams-1.2.3.0-D1rSP5o0xXx124IqHTtXvQ include snap-core-1.0.4.2-1teV5eJNcnTIENxMIAIYEg include text-1.2.4.1 include time-1.9.3 include unix-compat-0.5.2-CoGoJNPx9z03uxZv5sgPH3 include vector-0.12.1.2-4HQVNqqVzfT4s2QyB6q79l Snap.Http.Server=snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz:Snap.Http.Server,Snap.Http.Server.Config=snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz:Snap.Http.Server.Config,Snap.Http.Server.Types=snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz:Snap.Http.Server.Types,Snap.Internal.Http.Server.Config=snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz:Snap.Internal.Http.Server.Config,Snap.Internal.Http.Server.Types=snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz:Snap.Internal.Http.Server.Types,System.FastLogger=snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz:System.FastLogger Ready component graph: definite snap-server-1.1.1.2-HaKrxSYqQdY8Fd0sCiQCJz depends HsOpenSSL-0.11.4.17-5xBamrTpEEKKZUT9YihK3h depends attoparsec-0.13.2.3-JuG4qec0H3DHzPdmMxowmr depends base-4.14.1.0 depends blaze-builder-0.4.1.0-AY5yPUQEaMfQ8f1oQxUHw depends bytestring-0.10.12.0 depends bytestring-builder-0.10.8.2.0-9WLOVTTEqbf9oWvLtI2S0o depends case-insensitive-1.2.1.0-Kc8drWHh5YWfPEThMpVLE depends clock-0.7.2-Eg6Gv0QEI6p7gQqnlVwkVr depends containers-0.6.2.1 depends filepath-1.4.2.1 depends io-streams-1.5.2.0-KIvzpiQ1dHLIlIDwUJRoI7 depends io-streams-haproxy-1.0.1.0-2aJcB272ZguIG9Uzdeybsm depends lifted-base-0.2.3.12-AKq5U5EtLNVBY3xhK7LDrN depends mtl-2.2.2 depends network-3.0.1.1-75aTV6GuG9GGRWde9Nu8Kf depends old-locale-1.0.0.7-LpTuchyagHAP7STZdm71P depends openssl-streams-1.2.3.0-D1rSP5o0xXx124IqHTtXvQ depends snap-core-1.0.4.2-1teV5eJNcnTIENxMIAIYEg depends text-1.2.4.1 depends time-1.9.3 depends unix-compat-0.5.2-CoGoJNPx9z03uxZv5sgPH3 depends vector-0.12.1.2-4HQVNqqVzfT4s2QyB6q79l Using Cabal-3.2.1.0 compiled by ghc-8.10 Using compiler: ghc-8.10.4 Using install prefix: /usr Executables installed in: /usr/bin Libraries installed in: /usr/lib64/snap-server-1.1.1.2/ghc-8.10.4 Dynamic Libraries installed in: /usr/lib64/x86_64-linux-ghc-8.10.4 Private executables installed in: /usr/libexec/x86_64-linux-ghc-8.10.4/snap-server-1.1.1.2 Data files installed in: /usr/share/snap-server-1.1.1.2/ghc-8.10.4 Documentation installed in: /usr/share/doc/snap-server-1.1.1.2 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 No c2hs found No cpphs found No doctest found Using gcc version 11.2.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.10.4 given by user at: /usr/bin/ghc Using ghc-pkg version 8.10.4 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.24.0 found on system at: /usr/bin/haddock-ghc-8.10.4 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.68 found on system at: /usr/bin/hpc Using hsc2hs version 0.68.7 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 Using pkg-config version 1.8.0 found on system at: /usr/bin/pkg-config Using runghc version 8.10.4 found on system at: /usr/bin/runghc Using strip version 2.37 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/snap-server-1.1.1.2/work/snap-server-1.1.1.2 ... ./setup build Preprocessing library for snap-server-1.1.1.2.. Building library for snap-server-1.1.1.2.. [ 1 of 18] Compiling Control.Concurrent.Extended ( src/Control/Concurrent/Extended.hs, dist/build/Control/Concurrent/Extended.o, dist/build/Control/Concurrent/Extended.dyn_o ) [ 2 of 18] Compiling Paths_snap_server ( dist/build/autogen/Paths_snap_server.hs, dist/build/Paths_snap_server.o, dist/build/Paths_snap_server.dyn_o ) [ 3 of 18] Compiling Snap.Internal.Http.Server.Address ( src/Snap/Internal/Http/Server/Address.hs, dist/build/Snap/Internal/Http/Server/Address.o, dist/build/Snap/Internal/Http/Server/Address.dyn_o ) src/Snap/Internal/Http/Server/Address.hs:70:5: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: _ -> ... | 70 | _ -> fail "Unsupported address type" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 18] Compiling Snap.Internal.Http.Server.Clock ( src/Snap/Internal/Http/Server/Clock.hs, dist/build/Snap/Internal/Http/Server/Clock.o, dist/build/Snap/Internal/Http/Server/Clock.dyn_o ) [ 5 of 18] Compiling Snap.Internal.Http.Server.Common ( src/Snap/Internal/Http/Server/Common.hs, dist/build/Snap/Internal/Http/Server/Common.o, dist/build/Snap/Internal/Http/Server/Common.dyn_o ) [ 6 of 18] Compiling Snap.Internal.Http.Server.Config ( src/Snap/Internal/Http/Server/Config.hs, dist/build/Snap/Internal/Http/Server/Config.o, dist/build/Snap/Internal/Http/Server/Config.dyn_o ) [ 7 of 18] Compiling Snap.Http.Server.Config ( src/Snap/Http/Server/Config.hs, dist/build/Snap/Http/Server/Config.o, dist/build/Snap/Http/Server/Config.dyn_o ) [ 8 of 18] Compiling Snap.Internal.Http.Server.Date ( src/Snap/Internal/Http/Server/Date.hs, dist/build/Snap/Internal/Http/Server/Date.o, dist/build/Snap/Internal/Http/Server/Date.dyn_o ) [ 9 of 18] Compiling Snap.Internal.Http.Server.Parser ( src/Snap/Internal/Http/Server/Parser.hs, dist/build/Snap/Internal/Http/Server/Parser.o, dist/build/Snap/Internal/Http/Server/Parser.dyn_o ) [10 of 18] Compiling Snap.Internal.Http.Server.Thread ( src/Snap/Internal/Http/Server/Thread.hs, dist/build/Snap/Internal/Http/Server/Thread.o, dist/build/Snap/Internal/Http/Server/Thread.dyn_o ) [11 of 18] Compiling Snap.Internal.Http.Server.TimeoutManager ( src/Snap/Internal/Http/Server/TimeoutManager.hs, dist/build/Snap/Internal/Http/Server/TimeoutManager.o, dist/build/Snap/Internal/Http/Server/TimeoutManager.dyn_o ) [12 of 18] Compiling Snap.Internal.Http.Server.Types ( src/Snap/Internal/Http/Server/Types.hs, dist/build/Snap/Internal/Http/Server/Types.o, dist/build/Snap/Internal/Http/Server/Types.dyn_o ) [13 of 18] Compiling Snap.Internal.Http.Server.Socket ( src/Snap/Internal/Http/Server/Socket.hs, dist/build/Snap/Internal/Http/Server/Socket.o, dist/build/Snap/Internal/Http/Server/Socket.dyn_o ) src/Snap/Internal/Http/Server/Socket.hs:18:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 18 | import Control.Monad (when) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Snap/Internal/Http/Server/Socket.hs:19:1: warning: [-Wunused-imports] The import of ‘Data.Bits’ is redundant except perhaps to import instances from ‘Data.Bits’ To import instances alone, use: import Data.Bits() | 19 | import Data.Bits (complement, (.&.)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 18] Compiling Snap.Internal.Http.Server.TLS ( src/Snap/Internal/Http/Server/TLS.hs, dist/build/Snap/Internal/Http/Server/TLS.o, dist/build/Snap/Internal/Http/Server/TLS.dyn_o ) src/Snap/Internal/Http/Server/TLS.hs:108:14: error: Not in scope: ‘Socket.bindSocket’ Perhaps you meant one of these: ‘Socket.fdSocket’ (imported from Network.Socket), ‘Socket.mkSocket’ (imported from Network.Socket) Module ‘Network.Socket’ does not export ‘bindSocket’. | 108 | Socket.bindSocket sock addr | ^^^^^^^^^^^^^^^^^ [15 of 18] Compiling Snap.Internal.Http.Server.Session ( src/Snap/Internal/Http/Server/Session.hs, dist/build/Snap/Internal/Http/Server/Session.o, dist/build/Snap/Internal/Http/Server/Session.dyn_o ) src/Snap/Internal/Http/Server/Session.hs:38:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 38 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [16 of 18] Compiling Snap.Http.Server.Types ( src/Snap/Http/Server/Types.hs, dist/build/Snap/Http/Server/Types.o, dist/build/Snap/Http/Server/Types.dyn_o ) [17 of 18] Compiling System.FastLogger ( src/System/FastLogger.hs, dist/build/System/FastLogger.o, dist/build/System/FastLogger.dyn_o ) * ERROR: dev-haskell/snap-server-1.1.1.2::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 1887: Called haskell-cabal_src_compile * environment, line 1541: Called cabal_src_compile * environment, line 723: Called cabal-build * environment, line 509: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/snap-server-1.1.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/snap-server-1.1.1.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:snap-server-1.1.1.2:20211103-182407.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/snap-server-1.1.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/snap-server-1.1.1.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work/snap-server-1.1.1.2' * S: '/var/tmp/portage/dev-haskell/snap-server-1.1.1.2/work/snap-server-1.1.1.2'