Resolving dependencies... Configuring extensible-exceptions-0.1.1.4... Building extensible-exceptions-0.1.1.4... Preprocessing library extensible-exceptions-0.1.1.4... [1 of 1] Compiling Control.Exception.Extensible ( Control/Exception/Extensible.hs, dist/build/Control/Exception/Extensible.o ) In-place registering extensible-exceptions-0.1.1.4... Running Haddock for extensible-exceptions-0.1.1.4... Running hscolour for extensible-exceptions-0.1.1.4... Preprocessing library extensible-exceptions-0.1.1.4... Preprocessing library extensible-exceptions-0.1.1.4... Haddock coverage: 100% ( 2 / 2) in 'Control.Exception.Extensible' Documentation created: dist/doc/html/extensible-exceptions/index.html, dist/doc/html/extensible-exceptions/extensible-exceptions.txt Creating package registration file: /tmp/pkgConf-extensible-exceptions-0.1.126334.4 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/extensible-exceptions-0.1.1.4 Registering extensible-exceptions-0.1.1.4... Installed extensible-exceptions-0.1.1.4 Configuring monads-tf-0.1.0.2... Building monads-tf-0.1.0.2... Preprocessing library monads-tf-0.1.0.2... [ 1 of 21] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [ 2 of 21] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o ) [ 3 of 21] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o ) [ 4 of 21] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) Control/Monad/Error/Class.hs:55:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future [ 5 of 21] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o ) Control/Monad/Error.hs:57:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future [ 6 of 21] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o ) [ 7 of 21] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [ 8 of 21] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o ) [ 9 of 21] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [10 of 21] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [11 of 21] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [12 of 21] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o ) [13 of 21] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o ) [14 of 21] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o ) [15 of 21] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o ) [16 of 21] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o ) [17 of 21] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o ) [18 of 21] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o ) [19 of 21] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o ) [20 of 21] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o ) [21 of 21] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o ) In-place registering monads-tf-0.1.0.2... Running Haddock for monads-tf-0.1.0.2... Running hscolour for monads-tf-0.1.0.2... Preprocessing library monads-tf-0.1.0.2... Preprocessing library monads-tf-0.1.0.2... Control/Monad/Error/Class.hs:55:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future Control/Monad/Error.hs:57:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future Haddock coverage: 100% ( 2 / 2) in 'Control.Monad.Identity' 50% ( 1 / 2) in 'Control.Monad.Cont.Class' 100% ( 3 / 3) in 'Control.Monad.Trans' 100% ( 3 / 3) in 'Control.Monad.Error.Class' 100% ( 14 / 14) in 'Control.Monad.Error' 100% ( 5 / 5) in 'Control.Monad.List' 100% ( 3 / 3) in 'Control.Monad.Reader.Class' 100% ( 22 / 22) in 'Control.Monad.Reader' 100% ( 4 / 4) in 'Control.Monad.State.Class' 25% ( 1 / 4) in 'Control.Monad.Writer.Class' 80% ( 4 / 5) in 'Control.Monad.RWS.Class' 100% ( 20 / 20) in 'Control.Monad.RWS.Lazy' 100% ( 2 / 2) in 'Control.Monad.RWS' 100% ( 20 / 20) in 'Control.Monad.RWS.Strict' 100% ( 23 / 23) in 'Control.Monad.State.Lazy' 100% ( 2 / 2) in 'Control.Monad.State' 100% ( 23 / 23) in 'Control.Monad.State.Strict' 83% ( 15 / 18) in 'Control.Monad.Writer.Lazy' 100% ( 2 / 2) in 'Control.Monad.Writer' 83% ( 15 / 18) in 'Control.Monad.Writer.Strict' 95% ( 19 / 20) in 'Control.Monad.Cont' Documentation created: dist/doc/html/monads-tf/index.html, dist/doc/html/monads-tf/monads-tf.txt Creating package registration file: /tmp/pkgConf-monads-tf-0.1.026334.2 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/monads-tf-0.1.0.2 Registering monads-tf-0.1.0.2... Installed monads-tf-0.1.0.2 Configuring MonadCatchIO-transformers-0.3.1.3... Building MonadCatchIO-transformers-0.3.1.3... Preprocessing library MonadCatchIO-transformers-0.3.1.3... [1 of 2] Compiling Control.Monad.CatchIO ( src/Control/Monad/CatchIO.hs, dist/build/Control/Monad/CatchIO.o ) src/Control/Monad/CatchIO.hs:29:1: Warning: Module ‘Prelude’ does not export ‘catch’ [2 of 2] Compiling Control.Monad.CatchIO.Try ( src/Control/Monad/CatchIO/Try.hs, dist/build/Control/Monad/CatchIO/Try.o ) src/Control/Monad/CatchIO/Try.hs:23:1: Warning: The import of ‘MonadIO’ from module ‘Control.Monad.Error’ is redundant In-place registering MonadCatchIO-transformers-0.3.1.3... Running Haddock for MonadCatchIO-transformers-0.3.1.3... Running hscolour for MonadCatchIO-transformers-0.3.1.3... Preprocessing library MonadCatchIO-transformers-0.3.1.3... Preprocessing library MonadCatchIO-transformers-0.3.1.3... src/Control/Monad/CatchIO.hs:29:1: Warning: Module ‘Prelude’ does not export ‘catch’ src/Control/Monad/CatchIO/Try.hs:23:1: Warning: The import of ‘MonadIO’ from module ‘Control.Monad.Error’ is redundant Haddock coverage: 93% ( 13 / 14) in 'Control.Monad.CatchIO' 0% ( 0 / 3) in 'Control.Monad.CatchIO.Try' Documentation created: dist/doc/html/MonadCatchIO-transformers/index.html, dist/doc/html/MonadCatchIO-transformers/MonadCatchIO-transformers.txt Creating package registration file: /tmp/pkgConf-MonadCatchIO-transformers-0.3.126334.3 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/MonadCatchIO-transformers-0.3.1.3 Registering MonadCatchIO-transformers-0.3.1.3... Installed MonadCatchIO-transformers-0.3.1.3 Downloading zeromq3-haskell-0.3.0... Configuring zeromq3-haskell-0.3.0... Building zeromq3-haskell-0.3.0... Preprocessing library zeromq3-haskell-0.3.0... Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) *** Base.hsc: In function ‘main’: Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) *** Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) *** In file included from /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:4:0, from dist/build/System/ZMQ3/Base_hsc_make.c:1: /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:72:24: error: ‘zmq_msg_t’ has no member named ‘_’ (long) offsetof (t, f)); ^ Base.hsc:20:5: note: in expansion of macro ‘hsc_peek’ /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:76:24: error: ‘zmq_msg_t’ has no member named ‘_’ (long) offsetof (t, f)); ^ Base.hsc:21:5: note: in expansion of macro ‘hsc_poke’ In file included from dist/build/System/ZMQ3/Base_hsc_make.c:1:0: Base.hsc:77:50: error: ‘ZMQ_DELAY_ATTACH_ON_CONNECT’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:77:50: note: each undeclared identifier is reported only once for each function it appears in /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:89:50: error: ‘ZMQ_IPV4ONLY’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:92:50: error: ‘ZMQ_LAST_ENDPOINT’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:98:50: error: ‘ZMQ_MAXMSGSIZE’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:101:50: error: ‘ZMQ_MULTICAST_HOPS’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:110:50: error: ‘ZMQ_RCVHWM’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:128:50: error: ‘ZMQ_ROUTER_MANDATORY’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:134:50: error: ‘ZMQ_SNDHWM’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:143:50: error: ‘ZMQ_TCP_ACCEPT_FILTER’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:146:50: error: ‘ZMQ_TCP_KEEPALIVE’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:149:50: error: ‘ZMQ_TCP_KEEPALIVE_CNT’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:152:50: error: ‘ZMQ_TCP_KEEPALIVE_IDLE’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:155:50: error: ‘ZMQ_TCP_KEEPALIVE_INTVL’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:161:50: error: ‘ZMQ_XPUB_VERBOSE’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:107:40: error: ‘ZMQ_IO_THREADS’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:110:41: error: ‘ZMQ_MAX_SOCKETS’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:114:44: error: ‘ZMQ_EVENT_CONNECTED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:117:44: error: ‘ZMQ_EVENT_CONNECT_DELAYED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:120:44: error: ‘ZMQ_EVENT_CONNECT_RETRIED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:123:44: error: ‘ZMQ_EVENT_LISTENING’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:126:44: error: ‘ZMQ_EVENT_BIND_FAILED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:129:44: error: ‘ZMQ_EVENT_ACCEPTED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:132:44: error: ‘ZMQ_EVENT_ACCEPT_FAILED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:135:44: error: ‘ZMQ_EVENT_CLOSED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:138:44: error: ‘ZMQ_EVENT_CLOSE_FAILED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:141:44: error: ‘ZMQ_EVENT_DISCONNECTED’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:144:44: error: ‘ZMQ_EVENT_ALL’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:128:5: error: unknown type name ‘zmq_event_t’ Base.hsc:129:5: error: unknown type name ‘zmq_event_t’ In file included from dist/build/System/ZMQ3/Base_hsc_make.c:1:0: Base.hsc:134:34: error: ‘ZMQ_MORE’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ Base.hsc:140:38: error: ‘ZMQ_DONTWAIT’ undeclared (first use in this function) /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:93:10: note: in definition of macro ‘hsc_enum’ if ((x) < 0) \ ^ compiling dist/build/System/ZMQ3/Base_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/System/ZMQ3/Base_hsc_make.c -o dist/build/System/ZMQ3/Base_hsc_make.o -fno-stack-protector -D__GLASGOW_HASKELL__=708 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/7.8.3/lib/ghc-7.8.3/bytestring-0.10.4.0/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/base-4.7.0.1/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/integer-gmp-0.5.1.0/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/include/ Failed to install zeromq3-haskell-0.3.0 cabal: Error: some packages failed to install: zeromq3-haskell-0.3.0 failed during the building phase. The exception was: ExitFailure 1