Resolving dependencies... Configuring HsOpenSSL-0.11.4.13... Configuring base-compat-0.9.3... Building base-compat-0.9.3... Building HsOpenSSL-0.11.4.13... Installed base-compat-0.9.3 Configuring base-orphans-0.7... Building base-orphans-0.7... Installed base-orphans-0.7 Configuring base64-bytestring-1.0.0.1... Building base64-bytestring-1.0.0.1... Installed base64-bytestring-1.0.0.1 Configuring blaze-builder-0.4.1.0... Building blaze-builder-0.4.1.0... Installed blaze-builder-0.4.1.0 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed HsOpenSSL-0.11.4.13 Configuring cereal-0.5.5.0... Installed cabal-doctest-1.0.6 Configuring config-value-0.6.3.1... Building cereal-0.5.5.0... Building config-value-0.6.3.1... Installed config-value-0.6.3.1 Configuring fail-4.9.0.0... Installed cereal-0.5.5.0 Configuring microlens-0.4.9... Building fail-4.9.0.0... Building microlens-0.4.9... Installed fail-4.9.0.0 Configuring reflection-2.1.3... Building reflection-2.1.3... Installed microlens-0.4.9 Configuring regex-tdfa-1.2.3... Building regex-tdfa-1.2.3... Installed reflection-2.1.3 Configuring semigroups-0.18.4... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring th-abstraction-0.2.6.0... Building th-abstraction-0.2.6.0... Installed th-abstraction-0.2.6.0 Configuring transformers-compat-0.6.0.5... Building transformers-compat-0.6.0.5... Installed regex-tdfa-1.2.3 Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed transformers-compat-0.6.0.5 Configuring void-0.7.2... Building void-0.7.2... Installed void-0.7.2 Configuring gitrev-1.3.1... Building gitrev-1.3.1... Installed utf8-string-1.0.1.1 Configuring irc-core-2.3.0... Building irc-core-2.3.0... Installed gitrev-1.3.1 Configuring HsOpenSSL-x509-system-0.1.0.3... Building HsOpenSSL-x509-system-0.1.0.3... Installed HsOpenSSL-x509-system-0.1.0.3 Configuring socks-0.5.6... Building socks-0.5.6... Installed socks-0.5.6 Configuring microlens-th-0.4.2... Installed irc-core-2.3.0 Configuring transformers-base-0.4.4... Building microlens-th-0.4.2... Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring tagged-0.8.5... Building tagged-0.8.5... Installed microlens-th-0.4.2 Configuring microlens-mtl-0.1.11.1... Building microlens-mtl-0.1.11.1... Installed tagged-0.8.5 Configuring exceptions-0.10.0... Building exceptions-0.10.0... Installed microlens-mtl-0.1.11.1 Configuring contravariant-1.4.1... Building contravariant-1.4.1... Installed exceptions-0.10.0 Configuring hookup-0.2... Building hookup-0.2... Failed to install hookup-0.2 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/hookup-0.2-4R9IncP8Kjo78WyhyiG4qK.log ): cabal: Entering directory '/tmp/cabal-tmp-13970/hookup-0.2' Configuring hookup-0.2... Preprocessing library for hookup-0.2.. OpenSSL.hsc:14:2: error: #error "OpenSSL 1.0.2 or later is required. This version was released in Jan 2015 and adds hostname verification" OpenSSL.hsc: In function ‘main’: OpenSSL.hsc:14:2: error: #error "OpenSSL 1.0.2 or later is required. This version was released in Jan 2015 and adds hostname verification" OpenSSL.hsc:14:2: error: #error "OpenSSL 1.0.2 or later is required. This version was released in Jan 2015 and adds hostname verification" In file included from dist/build/Hookup/OpenSSL_hsc_make.c:1:0: OpenSSL.hsc:59:16: error: ‘X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS’ undeclared (first use in this function) /usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/template-hsc.h:38:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ OpenSSL.hsc:59:16: note: each undeclared identifier is reported only once for each function it appears in /usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/template-hsc.h:38:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ compiling dist/build/Hookup/OpenSSL_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Hookup/OpenSSL_hsc_make.c -o dist/build/Hookup/OpenSSL_hsc_make.o -std=gnu99 -fno-stack-protector -std=gnu99 -fno-stack-protector -fuse-ld=gold -D__GLASGOW_HASKELL__=802 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/network-2.6.3.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/unix-2.7.2.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/time-1.8.0.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/bytestring-0.10.8.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/base-4.10.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/integer-gmp-1.0.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/include/ cabal: Leaving directory '/tmp/cabal-tmp-13970/hookup-0.2' Configuring distributive-0.5.3... Installed contravariant-1.4.1 Building distributive-0.5.3... Installed distributive-0.5.3 cabal: Error: some packages failed to install: glirc-2.26-J4Hi6XDA4YY2ZnyKKeDFYw depends on glirc-2.26 which failed to install. hookup-0.2-4R9IncP8Kjo78WyhyiG4qK failed during the building phase. The exception was: ExitFailure 1