Skip to content
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

Build failed on Ubuntu 16 #1766

Closed
Panchatcharam opened this issue Sep 25, 2017 · 7 comments
Closed

Build failed on Ubuntu 16 #1766

Panchatcharam opened this issue Sep 25, 2017 · 7 comments

Comments

@Panchatcharam
Copy link

I would like to build czmq on Ubuntu 16 to use that with libcurve. I followed the steps as indicated in the README.md and tried building the czmq but the czmq self-test fails with following message,

Running czmq selftests...
 * zactor: OK
 * zarmour: OK
 * zcert: OK
 * zcertstore: OK
 * zchunk: OK
 * zclock: OK
 * zconfig: OK
 * zdigest: OK
 * zdir: OK
 * zdir_patch: OK
 * zfile: OK
 * zframe: OK
 * zhash: OK
 * zhashx: OK
 * ziflist: OK
 * zlist: OK
 * zlistx: OK
 * zloop: OK
 * zmsg: OK
 * zpoller: OK
 * zsock: OK
 * zsock_option: OK
 * zstr: OK
 * zsys: OK
 * zuuid: OK
Assertion failed: zap_required() (src/plain_server.cpp:50)
 * zauth: Makefile:2255: recipe for target 'check-local' failed
make[2]: *** [check-local] Aborted (core dumped)
make[2]: Leaving directory '/home/developer/work/zeroMQ/czmq'
Makefile:2042: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/developer/work/zeroMQ/czmq'
Makefile:1599: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

Please advise what I'm missing here and how to get rid of this issue.
I appreciate your help.

Thanks,
Panch

@jimklimov
Copy link
Member

Just in case: can you retry the build-test a few times? To see if it is an intermittent error, or a reproducible one? There were a few race/contention issues fixed in tests recently - maybe that's another among them?

@Panchatcharam
Copy link
Author

I did run it repeatedly for fairly about 10 times but that did not help. Could you tell whether you want me to check for any build dependency on my build machine?

@bluca
Copy link
Member

bluca commented Sep 25, 2017

Instead of building from scratch, use the pre-built binary packages from Ubuntu:

https://software.opensuse.org/download.html?project=network%3Amessaging%3Azeromq%3Agit-stable&package=libczmq-dev

@Panchatcharam
Copy link
Author

I'm seeing my sample program built with the Master branch of czmq is working fine despite the make check failed for zatuh. I would like to stay with the latest version of czmq. What's the version of the pre-built library?

@bluca
Copy link
Member

bluca commented Sep 26, 2017

The previous link always has the latest commit, this one always has the latest release: https://software.opensuse.org/download.html?project=network%3Amessaging%3Azeromq%3Arelease-stable&package=libczmq-dev

@antozz
Copy link

antozz commented Oct 7, 2017

I got the following message on my phone, android 7.1.1, termux:
Running czmq selftests...

  • zactor: OK
  • zarmour: OK
  • zcert: OK
  • zcertstore: OK
  • zchunk: OK
  • zclock: OK
  • zconfig: OK
  • zdigest: OK
  • zdir: OK
  • zdir_patch: OK
  • zfile: OK
  • zframe: OK
  • zhash: OK
  • zhashx: OK
  • ziflist: OK
  • zlist: OK
  • zlistx: OK
  • zloop: OK
  • zmsg: OK
  • zpoller: OK
  • zsock: OK
  • zsock: OK
  • zsock_option: OK
  • zstr: OK
  • zsys: OK
  • zuuid: OK
    Assertion failed: zap_required() (src/plain_server.cpp:50)
    make[2]: *** [Makefile:2254: check-local] Aborted
    make[2]: Leaving directory '/data/data/com.termux/files/home/projects/czmq2'
    make[1]: *** [Makefile:2042: check-am] Error 2
    make[1]: Leaving directory '/data/data/com.termux/files/home/projects/czmq2'
    make: *** [Makefile:1598: check-recursive] Error 1

@bluca
Copy link
Member

bluca commented Oct 7, 2017

Known issue: zeromq/libzmq#2762

@bluca bluca closed this as completed Oct 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants