New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeromq4-haskell install fails #54

Open
tycho01 opened this Issue Sep 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@tycho01
Owner

tycho01 commented Sep 2, 2018

building
Preprocessing library for zeromq4-haskell-0.7.0..
Building library for zeromq4-haskell-0.7.0..
[1 of 6] Compiling Data.Restricted  ( src/Data/Restricted.hs, dist/build/Data/Restricted.o )
[2 of 6] Compiling System.ZMQ4.Internal.Base ( dist/build/System/ZMQ4/Internal/Base.hs, dist/build/System/ZMQ4/Internal/Base.o )
[3 of 6] Compiling System.ZMQ4.Internal.Error ( src/System/ZMQ4/Internal/Error.hs, dist/build/System/ZMQ4/Internal/Error.o )
[4 of 6] Compiling System.ZMQ4.Internal ( src/System/ZMQ4/Internal.hs, dist/build/System/ZMQ4/Internal.o )
[5 of 6] Compiling System.ZMQ4      ( src/System/ZMQ4.hs, dist/build/System/ZMQ4.o )
[6 of 6] Compiling System.ZMQ4.Monadic ( src/System/ZMQ4/Monadic.hs, dist/build/System/ZMQ4/Monadic.o )

src/System/ZMQ4/Monadic.hs:250:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        ‘generalBracket’
    • In the instance declaration for ‘MonadMask (ZMQ z)’
    |
250 | instance MonadMask (ZMQ z) where
    |          ^^^^^^^^^^^^^^^^^
[1 of 6] Compiling Data.Restricted  ( src/Data/Restricted.hs, dist/build/Data/Restricted.p_o )
[2 of 6] Compiling System.ZMQ4.Internal.Base ( dist/build/System/ZMQ4/Internal/Base.hs, dist/build/System/ZMQ4/Internal/Base.p_o )
[3 of 6] Compiling System.ZMQ4.Internal.Error ( src/System/ZMQ4/Internal/Error.hs, dist/build/System/ZMQ4/Internal/Error.p_o )
[4 of 6] Compiling System.ZMQ4.Internal ( src/System/ZMQ4/Internal.hs, dist/build/System/ZMQ4/Internal.p_o )
[5 of 6] Compiling System.ZMQ4      ( src/System/ZMQ4.hs, dist/build/System/ZMQ4.p_o )
[6 of 6] Compiling System.ZMQ4.Monadic ( src/System/ZMQ4/Monadic.hs, dist/build/System/ZMQ4/Monadic.p_o )

src/System/ZMQ4/Monadic.hs:250:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        ‘generalBracket’
    • In the instance declaration for ‘MonadMask (ZMQ z)’
    |
250 | instance MonadMask (ZMQ z) where
    |          ^^^^^^^^^^^^^^^^^
ignoring (possibly broken) abi-depends field for packages
Preprocessing test suite 'zeromq-haskell-tests' for zeromq4-haskell-0.7.0..
Building test suite 'zeromq-haskell-tests' for zeromq4-haskell-0.7.0..
[1 of 2] Compiling System.ZMQ4.Test.Properties ( tests/System/ZMQ4/Test/Properties.hs, dist/build/zeromq-haskell-tests/zeromq-haskell-tests-tmp/System/ZMQ4/Test/Properties.o )

tests/System/ZMQ4/Test/Properties.hs:85:60: warning: [-Wdeprecations]
    In the use of ‘setIpv4Only’ (imported from System.ZMQ4.Monadic):
    Deprecated: "Use setIpv6"
   |
85 |             Ipv4Only val        -> (== val)           <$> (setIpv4Only val s >> ipv4Only s)
   |                                                            ^^^^^^^^^^^

tests/System/ZMQ4/Test/Properties.hs:85:81: warning: [-Wdeprecations]
    In the use of ‘ipv4Only’ (imported from System.ZMQ4.Monadic):
    Deprecated: "Use ipv6"
   |
85 |             Ipv4Only val        -> (== val)           <$> (setIpv4Only val s >> ipv4Only s)
   |                                                                                 ^^^^^^^^
[2 of 2] Compiling Main             ( tests/tests.hs, dist/build/zeromq-haskell-tests/zeromq-haskell-tests-tmp/Main.o )
Linking dist/build/zeromq-haskell-tests/zeromq-haskell-tests ...
running tests
Running 1 test suites...
Test suite zeromq-haskell-tests: RUNNING...
0MQ Socket Properties
  get socket option (Pair):               OK (0.03s)
    +++ OK, passed 100 tests.
  get socket option (Pub):                OK (0.02s)
    +++ OK, passed 100 tests.
  get socket option (Sub):                OK (0.01s)
    +++ OK, passed 100 tests.
  get socket option (XPub):               OK (0.01s)
    +++ OK, passed 100 tests.
  get socket option (XSub):               OK (0.01s)
    +++ OK, passed 100 tests.
  get socket option (Req):                OK (0.02s)
    +++ OK, passed 100 tests.
  get socket option (Rep):                OK (0.02s)
    +++ OK, passed 100 tests.
  get socket option (Dealer):             OK (0.01s)
    +++ OK, passed 100 tests.
  get socket option (Router):             OK (0.02s)
    +++ OK, passed 100 tests.
  get socket option (Pull):               OK (0.02s)
    +++ OK, passed 100 tests.
  get socket option (Push):               OK (0.01s)
    +++ OK, passed 100 tests.
  set;get socket option (Pair):           FAIL
    *** Failed! Exception: 'ZMQError { errno = 22, source = "setByteStringOpt", message = "Invalid argument" }' (after 6 tests):
    ZapDomain (Restricted "")
    Use --quickcheck-replay=675271 to reproduce.
  set;get socket option (Pub):            FAIL
    *** Failed! Exception: 'ZMQError { errno = 22, source = "setByteStringOpt", message = "Invalid argument" }' (after 41 tests):
    ZapDomain (Restricted "")
    Use --quickcheck-replay=984052 to reproduce.
  set;get socket option (Sub):            OK (0.02s)
    +++ OK, passed 100 tests.
  set;get socket option (XPub):           OK (0.02s)
    +++ OK, passed 100 tests.
  set;get socket option (XSub):           OK (0.02s)
    +++ OK, passed 100 tests.
  set;get socket option (Req):            OK (0.01s)
    +++ OK, passed 100 tests.
  set;get socket option (Rep):            FAIL
    *** Failed! Exception: 'ZMQError { errno = 22, source = "setByteStringOpt", message = "Invalid argument" }' (after 5 tests):
    ZapDomain (Restricted "")
    Use --quickcheck-replay=978937 to reproduce.
  set;get socket option (Dealer):         OK (0.02s)
    +++ OK, passed 100 tests.
  set;get socket option (Router):         OK (0.02s)
    +++ OK, passed 100 tests.
  set;get socket option (Pull):           OK (0.02s)
    +++ OK, passed 100 tests.
  set;get socket option (Push):           OK (0.02s)
    +++ OK, passed 100 tests.
  (un-)subscribe:                         OK (0.02s)
    +++ OK, passed 100 tests.
  last_enpoint:                           OK
  connect disconnect
    :                                     OK (0.02s)
      +++ OK, passed 100 tests.
    :                                     OK (0.02s)
      +++ OK, passed 100 tests.
    :                                     OK (0.02s)
      +++ OK, passed 100 tests.
  0MQ Messages
    msg send == msg received (Req/Rep):   OK (0.04s)
      +++ OK, passed 100 tests.
    msg send == msg received (Push/Pull): OK (0.03s)
      +++ OK, passed 100 tests.
    msg send == msg received (Pair/Pair): OK (0.04s)
      +++ OK, passed 100 tests.

3 out of 30 tests failed (0.52s)
Test suite zeromq-haskell-tests: FAIL
Test suite logged to: dist/test/zeromq4-haskell-0.7.0-zeromq-haskell-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
builder for '/nix/store/bxhjvw7mqznasadc37539gvc9q8vrdlf-zeromq4-haskell-0.7.0.drv' failed with exit code 1
cannot build derivation '/nix/store/i4lhqyxpyyivm3sdd5mpaxp3iy4scqv9-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1l7q13bn5gsqzmbki53yksh9jjn5i67a-nixos-system-klink-18.09pre149415.8395f9aa85e.drv': 1 dependencies couldn't be built
error: build of '/nix/store/1l7q13bn5gsqzmbki53yksh9jjn5i67a-nixos-system-klink-18.09pre149415.8395f9aa85e.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment