[zeromq-dev] make check failed

Pieter Hintjens ph at imatix.com
Wed Apr 18 17:57:37 CEST 2012


To quote Ian Barber:

Some of the perf tests hit the open file limit on mac:
http://www.zeromq.org/docs:tuning-zeromq

To quote:
The default file limit per process is 256. Raise it by running ulimit
-n 1200 for bash, or in tcsh run limit descriptors 1200

-Pieter

On Wed, Apr 18, 2012 at 10:29 AM, Doug Kent <doug at circle38.com> wrote:
> Mac OS 10.7.3 (1st gen unibody Macbook 13", Fall 2008)
> 2 GHz Intel Core Duo
> 4 GB RAM
>
> dk-macbook:zeromq-2.2.0 jdkent$ ./configure && make && make check && sudo
> make install
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> 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... /usr/bin/sed
> checking for gawk... (cached) awk
> checking for xmlto... no
> checking for asciidoc... no
> checking build system type... x86_64-apple-darwin11.3.0
> checking host system type... x86_64-apple-darwin11.3.0
> checking how to print strings... printf
> checking for a sed that does not truncate output... (cached) /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc -std=gnu99...
> /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> checking if the linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
> checking the name lister (/usr/bin/nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 196608
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert x86_64-apple-darwin11.3.0 file names to
> x86_64-apple-darwin11.3.0 format... func_convert_file_noop
> checking how to convert x86_64-apple-darwin11.3.0 file names to toolchain
> format... func_convert_file_noop
> checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/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... no
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm output from gcc -std=gnu99 object...
> ok
> checking for sysroot... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking for dsymutil... dsymutil
> checking for nmedit... nmedit
> checking for lipo... lipo
> checking for otool... otool
> checking for otool64... no
> checking for -single_module linker flag... yes
> checking for -exported_symbols_list linker flag... yes
> checking for -force_load linker flag... yes
> 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... -fno-common -DPIC
> checking if gcc -std=gnu99 PIC flag -fno-common -DPIC works... yes
> checking if gcc -std=gnu99 static flag -static works... no
> 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/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared
> libraries... yes
> checking dynamic linker characteristics... darwin11.3.0 dyld
> 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/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> checking if the linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
> checking whether the g++ linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared
> libraries... yes
> checking for g++ option to produce PIC... -fno-common -DPIC
> checking if g++ PIC flag -fno-common -DPIC works... yes
> checking if g++ static flag -static works... no
> 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/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared
> libraries... yes
> checking dynamic linker characteristics... darwin11.3.0 dyld
> 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 whether C++ compiler supports -Wno-uninitialized... 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 kqueue
> 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 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 return type of signal handlers... void
> checking for perror... yes
> checking for gettimeofday... yes
> checking for clock_gettime... no
> 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
> 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
> Making all in src
> make  all-am
>   CXX    libzmq_la-clock.lo
>   CXX    libzmq_la-command.lo
>   CXX    libzmq_la-ctx.lo
>   CXX    libzmq_la-connect_session.lo
>   CXX    libzmq_la-decoder.lo
>   CXX    libzmq_la-device.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-kqueue.lo
>   CXX    libzmq_la-lb.lo
>   CXX    libzmq_la-mailbox.lo
>   CXX    libzmq_la-named_session.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-reaper.lo
>   CXX    libzmq_la-pub.lo
>   CXX    libzmq_la-rep.lo
>   CXX    libzmq_la-req.lo
>   CXX    libzmq_la-select.lo
>   CXX    libzmq_la-session.lo
>   CXX    libzmq_la-signaler.lo
>   CXX    libzmq_la-socket_base.lo
>   CXX    libzmq_la-sub.lo
>   CXX    libzmq_la-swap.lo
>   CXX    libzmq_la-tcp_connecter.lo
>   CXX    libzmq_la-tcp_listener.lo
>   CXX    libzmq_la-tcp_socket.lo
>   CXX    libzmq_la-thread.lo
>   CXX    libzmq_la-transient_session.lo
>   CXX    libzmq_la-trie.lo
>   CXX    libzmq_la-uuid.lo
>   CXX    libzmq_la-xpub.lo
>   CXX    libzmq_la-xrep.lo
>   CXX    libzmq_la-xreq.lo
>   CXX    libzmq_la-xsub.lo
>   CXX    libzmq_la-zmq.lo
>   CXX    libzmq_la-zmq_connecter.lo
>   CXX    libzmq_la-zmq_engine.lo
>   CXX    libzmq_la-zmq_init.lo
>   CXX    libzmq_la-zmq_listener.lo
>   CXXLD  libzmq.la
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-devpoll.o) has no symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-epoll.o) has no symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_receiver.o) has no
> symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_sender.o) has no symbols
> /usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_socket.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-devpoll.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-epoll.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-pgm_receiver.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-pgm_sender.o) has no symbols
> ranlib: file: .libs/libzmq.a(libzmq_la-pgm_socket.o) has no symbols
> Making all in doc
> make[1]: Nothing to be done for `all'.
> Making all in 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
> Making all in 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_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]: Nothing to be done for `all-am'.
> Making check in src
> make[1]: Nothing to be done for `check'.
> Making check in doc
> make[1]: Nothing to be done for `check'.
> Making check in perf
> make[1]: Nothing to be done for `check'.
> Making check in tests
> make  check-TESTS
> PASS: test_pair_inproc
> PASS: test_pair_tcp
> PASS: test_reqrep_inproc
> PASS: test_reqrep_tcp
> PASS: test_hwm
> Too many open files (tcp_listener.cpp:335)
> /bin/sh: line 1: 29700 Abort trap: 6           ${dir}$tst
> FAIL: test_shutdown_stress
> PASS: test_pair_ipc
> PASS: test_reqrep_ipc
> test_timeo running...
> PASS: test_timeo
> ============================================
> 1 of 9 tests failed
> Please report to zeromq-dev at lists.zeromq.org
> ============================================
> make[2]: *** [check-TESTS] Error 1
> make[1]: *** [check-am] Error 2
> make: *** [check-recursive] Error 1
>
> _______________________________________________
> 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