[zeromq-dev] make check fail
Pieter Hintjens
ph at imatix.com
Mon Jan 14 18:21:00 CET 2013
Hi,
It's failing on zmq_recv.
rc = zmq_recv (socket, &buffer, sizeof(buffer), ZMQ_DONTWAIT);
You could help find the cause of this; print the errno on that failing call.
-Pieter
On Sat, Jan 5, 2013 at 12:25 PM, Justin Cook <jhcook at gmail.com> wrote:
> I refer you to this thread:
>
> http://lists.zeromq.org/pipermail/zeromq-dev/2012-November/019456.html
>
> --
> Justin Cook
>
>
> On Friday, 4 January 2013 at 19:37, A. Mark wrote:
>
>> Hello, this was result of a "make check" on this system:
>>
>> Linux machine 2.6.18-308.16.1.el5 #1 SMP Tue Oct 2 22:01:43 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
>>
>> CentOS release 5.8 (Final)
>>
>> 0MQ v3.2.2
>>
>> $ ./configure --prefix=/home/alian/Desktop/Temp/local
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking how to create a ustar tar archive... gnutar
>> checking whether make supports nested variables... yes
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking for style of include used by make... GNU
>> checking dependency style of gcc... gcc3
>> checking for gcc option to accept ISO C99... -std=gnu99
>> checking for g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking dependency style of g++... gcc3
>> checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
>> checking for a sed that does not truncate output... /bin/sed
>> checking for gawk... (cached) gawk
>> checking for xmlto... no
>> checking for asciidoc... no
>> checking build system type... x86_64-unknown-linux-gnu
>> checking host system type... x86_64-unknown-linux-gnu
>> checking how to print strings... printf
>> checking for a sed that does not truncate output... (cached) /bin/sed
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for fgrep... /bin/grep -F
>> checking for ld used by gcc -std=gnu99... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
>> checking the name lister (/usr/bin/nm -B) interface... BSD nm
>> checking whether ln -s works... yes
>> checking the maximum length of command line arguments... 98304
>> checking whether the shell understands some XSI constructs... yes
>> checking whether the shell understands "+="... yes
>> checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
>> checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
>> checking for /usr/bin/ld option to reload object files... -r
>> checking for objdump... objdump
>> checking how to recognize dependent libraries... pass_all
>> checking for dlltool... dlltool
>> checking how to associate runtime and link libraries... printf %s\n
>> checking for ar... ar
>> checking for archiver @FILE support... @
>> checking for strip... strip
>> checking for ranlib... ranlib
>> checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
>> checking for sysroot... no
>> checking for mt... no
>> checking if : is a manifest tool... no
>> checking how to run the C preprocessor... gcc -std=gnu99 -E
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking for dlfcn.h... yes
>> checking for objdir... .libs
>> checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
>> checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
>> checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
>> checking if gcc -std=gnu99 static flag -static works... yes
>> checking if gcc -std=gnu99 supports -c -o file.o... yes
>> checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
>> checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
>> checking whether -lc should be explicitly linked in... no
>> checking dynamic linker characteristics... GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking whether stripping libraries is possible... yes
>> checking if libtool supports shared libraries... yes
>> checking whether to build shared libraries... yes
>> checking whether to build static libraries... yes
>> checking how to run the C++ preprocessor... g++ -E
>> checking for ld used by g++... /usr/bin/ld -m elf_x86_64
>> checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
>> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
>> checking for g++ option to produce PIC... -fPIC -DPIC
>> checking if g++ PIC flag -fPIC -DPIC works... yes
>> checking if g++ static flag -static works... yes
>> checking if g++ supports -c -o file.o... yes
>> checking if g++ supports -c -o file.o... (cached) yes
>> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
>> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking whether the C compiler works... yes
>> checking whether we are using Intel C compiler... no
>> checking whether we are using Sun Studio C compiler... no
>> checking whether we are using clang C compiler... no
>> checking whether we are using gcc >= 4 C compiler... yes
>> checking whether the C++ compiler works... yes
>> checking whether we are using Intel C++ compiler... no
>> checking whether we are using Sun Studio C++ compiler... no
>> checking whether we are using clang C++ compiler... no
>> checking whether we are using gcc >= 4 C++ compiler... yes
>> checking whether to enable debugging information... no
>> checking whether to enable code coverage... no
>> checking for pthread_create in -lpthread... yes
>> checking for clock_gettime in -lrt... yes
>> checking whether C++ compiler supports -fvisibility=hidden... yes
>> checking whether C++ compiler supports dso visibility... yes
>> checking for asciidoc... no
>> checking for xmlto... no
>> checking whether to build documentation... no
>> checking whether to install manpages... yes
>> checking for suitable polling system... using epoll
>> checking for ANSI C header files... (cached) yes
>> checking errno.h usability... yes
>> checking errno.h presence... yes
>> checking for errno.h... yes
>> checking arpa/inet.h usability... yes
>> checking arpa/inet.h presence... yes
>> checking for arpa/inet.h... yes
>> checking netinet/tcp.h usability... yes
>> checking netinet/tcp.h presence... yes
>> checking for netinet/tcp.h... yes
>> checking netinet/in.h usability... yes
>> checking netinet/in.h presence... yes
>> checking for netinet/in.h... yes
>> checking stddef.h usability... yes
>> checking stddef.h presence... yes
>> checking for stddef.h... yes
>> checking for stdlib.h... (cached) yes
>> checking for string.h... (cached) yes
>> checking sys/socket.h usability... yes
>> checking sys/socket.h presence... yes
>> checking for sys/socket.h... yes
>> checking sys/time.h usability... yes
>> checking sys/time.h presence... yes
>> checking for sys/time.h... yes
>> checking time.h usability... yes
>> checking time.h presence... yes
>> checking for time.h... yes
>> checking for unistd.h... (cached) yes
>> checking limits.h usability... yes
>> checking limits.h presence... yes
>> checking for limits.h... yes
>> checking ifaddrs.h usability... yes
>> checking ifaddrs.h presence... yes
>> checking for ifaddrs.h... yes
>> checking sys/uio.h usability... yes
>> checking sys/uio.h presence... yes
>> checking for sys/uio.h... yes
>> checking sys/eventfd.h usability... no
>> checking sys/eventfd.h presence... no
>> checking for sys/eventfd.h... no
>> checking for stdbool.h that conforms to C99... yes
>> checking for _Bool... no
>> checking for an ANSI C-conforming const... yes
>> checking for inline... inline
>> checking for size_t... yes
>> checking for ssize_t... yes
>> checking whether time.h and sys/time.h may both be included... yes
>> checking for uint32_t... yes
>> checking for working volatile... yes
>> checking how to enable additional warnings for C++ compiler... -Wall
>> checking how to turn warnings to errors in C++ compiler... -Werror
>> checking how to enable strict standards compliance in C++ compiler... -pedantic
>> checking return type of signal handlers... void
>> checking for perror... yes
>> checking for gettimeofday... yes
>> checking for clock_gettime... yes
>> checking for memset... yes
>> checking for socket... yes
>> checking for getifaddrs... yes
>> checking for freeifaddrs... yes
>> checking alloca.h usability... yes
>> checking alloca.h presence... yes
>> checking for alloca.h... yes
>> checking whether SOCK_CLOEXEC is supported... no
>> checking whether SO_KEEPALIVE is supported... yes
>> checking whether TCP_KEEPCNT is supported... yes
>> checking whether TCP_KEEPIDLE is supported... yes
>> checking whether TCP_KEEPINTVL is supported... yes
>> checking whether TCP_KEEPALIVE is supported... no
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating src/Makefile
>> config.status: creating doc/Makefile
>> config.status: creating perf/Makefile
>> config.status: creating src/libzmq.pc
>> config.status: creating builds/msvc/Makefile
>> config.status: creating tests/Makefile
>> config.status: creating foreign/openpgm/Makefile
>> config.status: creating builds/redhat/zeromq.spec
>> config.status: creating src/platform.hpp
>> config.status: executing depfiles commands
>> config.status: executing libtool commands
>> $ make
>> Making all in src
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/src'
>> make all-am
>> make[2]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/src'
>> CXX libzmq_la-address.lo
>> CXX libzmq_la-clock.lo
>> CXX libzmq_la-ctx.lo
>> CXX libzmq_la-decoder.lo
>> CXX libzmq_la-devpoll.lo
>> CXX libzmq_la-dist.lo
>> CXX libzmq_la-encoder.lo
>> CXX libzmq_la-epoll.lo
>> CXX libzmq_la-err.lo
>> CXX libzmq_la-fq.lo
>> CXX libzmq_la-io_object.lo
>> CXX libzmq_la-io_thread.lo
>> CXX libzmq_la-ip.lo
>> CXX libzmq_la-ipc_address.lo
>> CXX libzmq_la-ipc_connecter.lo
>> CXX libzmq_la-ipc_listener.lo
>> CXX libzmq_la-kqueue.lo
>> CXX libzmq_la-lb.lo
>> CXX libzmq_la-mailbox.lo
>> CXX libzmq_la-msg.lo
>> CXX libzmq_la-mtrie.lo
>> CXX libzmq_la-object.lo
>> CXX libzmq_la-options.lo
>> CXX libzmq_la-own.lo
>> CXX libzmq_la-pair.lo
>> CXX libzmq_la-pgm_receiver.lo
>> CXX libzmq_la-pgm_sender.lo
>> CXX libzmq_la-pgm_socket.lo
>> CXX libzmq_la-pipe.lo
>> CXX libzmq_la-poll.lo
>> CXX libzmq_la-poller_base.lo
>> CXX libzmq_la-pull.lo
>> CXX libzmq_la-push.lo
>> CXX libzmq_la-proxy.lo
>> CXX libzmq_la-reaper.lo
>> CXX libzmq_la-pub.lo
>> CXX libzmq_la-random.lo
>> CXX libzmq_la-rep.lo
>> CXX libzmq_la-req.lo
>> CXX libzmq_la-select.lo
>> CXX libzmq_la-session_base.lo
>> CXX libzmq_la-signaler.lo
>> CXX libzmq_la-socket_base.lo
>> CXX libzmq_la-stream_engine.lo
>> CXX libzmq_la-sub.lo
>> CXX libzmq_la-tcp.lo
>> CXX libzmq_la-tcp_address.lo
>> CXX libzmq_la-tcp_connecter.lo
>> CXX libzmq_la-tcp_listener.lo
>> CXX libzmq_la-thread.lo
>> CXX libzmq_la-trie.lo
>> CXX libzmq_la-xpub.lo
>> CXX libzmq_la-router.lo
>> CXX libzmq_la-dealer.lo
>> CXX libzmq_la-v1_decoder.lo
>> CXX libzmq_la-v1_encoder.lo
>> CXX libzmq_la-xsub.lo
>> CXX libzmq_la-zmq.lo
>> CXX libzmq_la-zmq_utils.lo
>> CXXLD libzmq.la (http://libzmq.la)
>> make[2]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/src'
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/src'
>> Making all in doc
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/doc'
>> make[1]: Nothing to be done for `all'.
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/doc'
>> Making all in perf
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/perf'
>> CXX local_lat.o
>> CXXLD local_lat
>> CXX remote_lat.o
>> CXXLD remote_lat
>> CXX local_thr.o
>> CXXLD local_thr
>> CXX remote_thr.o
>> CXXLD remote_thr
>> CXX inproc_lat.o
>> CXXLD inproc_lat
>> CXX inproc_thr.o
>> CXXLD inproc_thr
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/perf'
>> Making all in tests
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/tests'
>> CXX test_pair_inproc.o
>> CXXLD test_pair_inproc
>> CXX test_pair_tcp.o
>> CXXLD test_pair_tcp
>> CXX test_reqrep_inproc.o
>> CXXLD test_reqrep_inproc
>> CXX test_reqrep_tcp.o
>> CXXLD test_reqrep_tcp
>> CXX test_hwm.o
>> CXXLD test_hwm
>> CXX test_reqrep_device.o
>> CXXLD test_reqrep_device
>> CXX test_sub_forward.o
>> CXXLD test_sub_forward
>> CXX test_invalid_rep.o
>> CXXLD test_invalid_rep
>> CXX test_msg_flags.o
>> CXXLD test_msg_flags
>> CXX test_connect_resolve.o
>> CXXLD test_connect_resolve
>> CXX test_connect_delay.o
>> CXXLD test_connect_delay
>> CXX test_last_endpoint.o
>> CXXLD test_last_endpoint
>> CXX test_term_endpoint.o
>> CXXLD test_term_endpoint
>> CXX test_monitor.o
>> CXXLD test_monitor
>> CXX test_router_mandatory.o
>> CXXLD test_router_mandatory
>> CXX test_shutdown_stress.o
>> CXXLD test_shutdown_stress
>> CXX test_pair_ipc.o
>> CXXLD test_pair_ipc
>> CXX test_reqrep_ipc.o
>> CXXLD test_reqrep_ipc
>> CXX test_timeo.o
>> CXXLD test_timeo
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/tests'
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2'
>> make[1]: Nothing to be done for `all-am'.
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2'
>> $ make check
>> Making check in src
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/src'
>> make[1]: Nothing to be done for `check'.
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/src'
>> Making check in doc
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/doc'
>> make[1]: Nothing to be done for `check'.
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/doc'
>> Making check in perf
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/perf'
>> make[1]: Nothing to be done for `check'.
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/perf'
>> Making check in tests
>> make[1]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/tests'
>> make check-TESTS
>> make[2]: Entering directory `/home/alian/Desktop/Temp/zeromq-3.2.2/tests'
>> test_pair_inproc running...
>> PASS: test_pair_inproc
>> test_pair_tcp running...
>> PASS: test_pair_tcp
>> test_reqrep_inproc running...
>> PASS: test_reqrep_inproc
>> test_reqrep_tcp running...
>> PASS: test_reqrep_tcp
>> test_hwm running...
>> PASS: test_hwm
>> test_reqrep_device running...
>> PASS: test_reqrep_device
>> test_sub_forward running...
>> PASS: test_sub_forward
>> test_invalid_rep running...
>> PASS: test_invalid_rep
>> PASS: test_msg_flags
>> test_connect_resolve running...
>> PASS: test_connect_resolve
>> test_connect_delay running...
>> Rerunning with DELAY_ATTACH_ON_CONNECT
>> Running DELAY_ATTACH_ON_CONNECT with disconnect
>> lt-test_connect_delay: test_connect_delay.cpp:81: void* server(void*): Assertion `rc != -1' failed.
>> /bin/sh: line 5: 28859 Aborted ${dir}$tst
>> FAIL: test_connect_delay
>> PASS: test_last_endpoint
>> unbind endpoint test running...
>> disconnect endpoint test running...
>> PASS: test_term_endpoint
>> PASS: test_monitor
>> test_router_mandatory running...
>> PASS: test_router_mandatory
>> test_shutdown_stress running...
>> PASS: test_shutdown_stress
>> test_pair_ipc running...
>> PASS: test_pair_ipc
>> test_reqrep_ipc running...
>> PASS: test_reqrep_ipc
>> test_timeo running...
>> PASS: test_timeo
>> ============================================
>> 1 of 19 tests failed
>> Please report to zeromq-dev at lists.zeromq.org (mailto:zeromq-dev at lists.zeromq.org)
>> ============================================
>> make[2]: *** [check-TESTS] Error 1
>> make[2]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/tests'
>> make[1]: *** [check-am] Error 2
>> make[1]: Leaving directory `/home/alian/Desktop/Temp/zeromq-3.2.2/tests'
>> make: *** [check-recursive] Error 1
>>
>>
>> I hope this helps!
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org (mailto:zeromq-dev at lists.zeromq.org)
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list