hydro-project / fluent

A data-driven compute platform
Apache License 2.0
1.22k stars 173 forks source link

build-all.sh fails on OS X 10.13.6 #32

Closed gamache closed 5 years ago

gamache commented 6 years ago

Hi! I'm trying to build Fluent on my 2013 MacBook Pro running OS X 10.13.6, and I hit a problem once I get to flkvs-ring:

Scanning dependencies of target flkvs-ring
[ 50%] Building CXX object kvs/src/hash_ring/CMakeFiles/flkvs-ring.dir/hash_ring.cpp.o
/Users/gamache/code/Appcues/fluent/kvs/src/hash_ring/hash_ring.cpp:184:12: error: no member named
      'cerr' in namespace 'std'
      std::cerr << "No servers have joined the cluster yet. Retrying request."
      ~~~~~^
/Users/gamache/code/Appcues/fluent/kvs/src/hash_ring/hash_ring.cpp:189:12: error: no member named
      'cerr' in namespace 'std'
      std::cerr
      ~~~~~^
2 errors generated.
make[2]: *** [kvs/src/hash_ring/CMakeFiles/flkvs-ring.dir/hash_ring.cpp.o] Error 1
make[1]: *** [kvs/src/hash_ring/CMakeFiles/flkvs-ring.dir/all] Error 2
make: *** [all] Error 2
Click here for the full output of scripts/install-dependencies-osx.sh and scripts/build-all.sh. ``` gamache@silver-rocket:~/code/Appcues/fluent master be28a44 $ scripts/install-dependencies-osx.sh Installing the following packages via homebrew: * autoconf * automake * libtool * build-essential * unzip * pkg-config * wget Updating Homebrew... Warning: autoconf 2.69 is already installed and up-to-date To reinstall 2.69, run `brew reinstall autoconf` Warning: libtool 2.4.6_1 is already installed and up-to-date To reinstall 2.4.6_1, run `brew reinstall libtool` Warning: pkg-config 0.29.2 is already installed and up-to-date To reinstall 0.29.2, run `brew reinstall pkg-config` Error: automake 1.15.1 is already installed To upgrade to 1.16.1_1, run `brew upgrade automake` Error: wget 1.14 is already installed To upgrade to 1.19.5, run `brew upgrade wget` Installing cmake... Installing lcov... You might be asked for your password to install lcov... --2018-09-26 19:23:41-- http://downloads.sourceforge.net/ltp/lcov-1.13.tar.gz Resolving downloads.sourceforge.net... 216.105.38.13 Connecting to downloads.sourceforge.net|216.105.38.13|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://downloads.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz [following] --2018-09-26 19:23:41-- http://downloads.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz Reusing existing connection to downloads.sourceforge.net:80. HTTP request sent, awaiting response... 302 Found Location: https://astuteinternet.dl.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz [following] --2018-09-26 19:23:41-- https://astuteinternet.dl.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz Resolving astuteinternet.dl.sourceforge.net... 162.213.157.36 Connecting to astuteinternet.dl.sourceforge.net|162.213.157.36|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 156709 (153K) [application/x-gzip] Saving to: ‘lcov-1.13.tar.gz’ 100%[==========================================================>] 156,709 404KB/s in 0.4s 2018-09-26 19:23:43 (404 KB/s) - ‘lcov-1.13.tar.gz’ saved [156709/156709] Password: Sorry, try again. Password: bin/install.sh bin/lcov /usr/local/bin/lcov -m 755 bin/install.sh bin/genhtml /usr/local/bin/genhtml -m 755 bin/install.sh bin/geninfo /usr/local/bin/geninfo -m 755 bin/install.sh bin/genpng /usr/local/bin/genpng -m 755 bin/install.sh bin/gendesc /usr/local/bin/gendesc -m 755 bin/install.sh man/lcov.1 /usr/local/share/man/man1/lcov.1 -m 644 bin/install.sh man/genhtml.1 /usr/local/share/man/man1/genhtml.1 -m 644 bin/install.sh man/geninfo.1 /usr/local/share/man/man1/geninfo.1 -m 644 bin/install.sh man/genpng.1 /usr/local/share/man/man1/genpng.1 -m 644 bin/install.sh man/gendesc.1 /usr/local/share/man/man1/gendesc.1 -m 644 bin/install.sh man/lcovrc.5 /usr/local/share/man/man5/lcovrc.5 -m 644 bin/install.sh lcovrc /usr/local/etc/lcovrc -m 644 bin/updateversion.pl /usr/local/bin/lcov 1.13 1 1.13 Updating bin tool /usr/local/bin/lcov Done. bin/updateversion.pl /usr/local/bin/genhtml 1.13 1 1.13 Updating bin tool /usr/local/bin/genhtml Done. bin/updateversion.pl /usr/local/bin/geninfo 1.13 1 1.13 Updating bin tool /usr/local/bin/geninfo Done. bin/updateversion.pl /usr/local/bin/genpng 1.13 1 1.13 Updating bin tool /usr/local/bin/genpng Done. bin/updateversion.pl /usr/local/bin/gendesc 1.13 1 1.13 Updating bin tool /usr/local/bin/gendesc Done. bin/updateversion.pl /usr/local/share/man/man1/lcov.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/lcov.1 Done. bin/updateversion.pl /usr/local/share/man/man1/genhtml.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/genhtml.1 Done. bin/updateversion.pl /usr/local/share/man/man1/geninfo.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/geninfo.1 Done. bin/updateversion.pl /usr/local/share/man/man1/genpng.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/genpng.1 Done. bin/updateversion.pl /usr/local/share/man/man1/gendesc.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/gendesc.1 Done. bin/updateversion.pl /usr/local/share/man/man5/lcovrc.5 1.13 1 1.13 Updating man page /usr/local/share/man/man5/lcovrc.5 Done. /usr/local/bin/lcov lcov: LCOV version 1.13 All dependencies installed! gamache@silver-rocket:~/code/Appcues/fluent master be28a44 $ scripts/build-all.sh -- The C compiler identification is AppleClang 10.0.0.10001145 -- The CXX compiler identification is AppleClang 10.0.0.10001145 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Found Protobuf: /usr/local/lib/libprotobuf.dylib (found version "2.5.0") -- Downloading/updating googletest -- Configuring done -- Generating done -- Build files have been written to: /Users/gamache/code/Appcues/fluent/build/googletest-download Scanning dependencies of target googletest-download [ 11%] Creating directories for 'googletest-download' [ 22%] Performing download step (git clone) for 'googletest-download' Cloning into 'googletest-src'... Note: checking out 'release-1.8.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at ec44c6c... Merge pull request #821 from mazong1123/master [ 33%] No patch step for 'googletest-download' [ 44%] Skipping update step for 'googletest-download' [ 55%] No configure step for 'googletest-download' [ 66%] No build step for 'googletest-download' [ 77%] No install step for 'googletest-download' [ 88%] No test step for 'googletest-download' [100%] Completed 'googletest-download' [100%] Built target googletest-download -- Found PythonInterp: /usr/bin/python (found version "2.7.10") -- Configuring done -- Generating done -- Build files have been written to: /Users/gamache/code/Appcues/fluent/build Scanning dependencies of target zeromqcpp Scanning dependencies of target zeromq [ 1%] Creating directories for 'zeromqcpp' [ 2%] Creating directories for 'zeromq' [ 3%] Performing download step (download, verify and extract) for 'zeromq' [ 4%] Performing download step (git clone) for 'zeromqcpp' -- Downloading... dst='/Users/gamache/code/Appcues/fluent/build/vendor/zeromq/src/zeromq-4.2.5.tar.gz' timeout='none' -- Using src='https://github.com/zeromq/libzmq/releases/download/v4.2.5/zeromq-4.2.5.tar.gz' Cloning into 'zeromqcpp'... -- [download 0% complete] -- [download 1% complete] -- [download 2% complete] -- [download 4% complete] -- [download 5% complete] -- [download 6% complete] -- [download 7% complete] -- [download 9% complete] -- [download 10% complete] Already on 'master' Your branch is up-to-date with 'origin/master'. -- [download 11% complete] -- [download 12% complete] -- [download 13% complete] -- [download 14% complete] -- [download 15% complete] -- [download 16% complete] -- [download 17% complete] -- [download 18% complete] -- [download 20% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 30% complete] -- [download 31% complete] -- [download 32% complete] -- [download 33% complete] -- [download 34% complete] -- [download 35% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 39% complete] -- [download 41% complete] -- [download 42% complete] -- [download 43% complete] -- [download 44% complete] -- [download 46% complete] -- [download 47% complete] -- [download 48% complete] -- [download 49% complete] [ 5%] No patch step for 'zeromqcpp' -- [download 51% complete] -- [download 52% complete] -- [download 53% complete] -- [download 54% complete] -- [download 55% complete] -- [download 56% complete] -- [download 57% complete] -- [download 58% complete] -- [download 59% complete] -- [download 60% complete] [ 6%] No update step for 'zeromqcpp' -- [download 62% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 67% complete] -- [download 68% complete] -- [download 69% complete] -- [download 70% complete] -- [download 72% complete] [ 7%] No configure step for 'zeromqcpp' -- [download 73% complete] -- [download 74% complete] -- [download 75% complete] -- [download 76% complete] -- [download 77% complete] -- [download 78% complete] -- [download 79% complete] -- [download 80% complete] -- [download 81% complete] -- [download 83% complete] -- [download 84% complete] -- [download 85% complete] [ 8%] No build step for 'zeromqcpp' -- [download 86% complete] -- [download 88% complete] -- [download 89% complete] -- [download 90% complete] -- [download 91% complete] -- [download 93% complete] -- [download 94% complete] -- [download 95% complete] -- [download 96% complete] -- [download 97% complete] -- [download 98% complete] -- [download 99% complete] [ 9%] No install step for 'zeromqcpp' -- [download 100% complete] -- Downloading... done -- extracting... src='/Users/gamache/code/Appcues/fluent/build/vendor/zeromq/src/zeromq-4.2.5.tar.gz' dst='/Users/gamache/code/Appcues/fluent/build/vendor/zeromq/src/zeromq' -- extracting... [tar xfz] [ 10%] Completed 'zeromqcpp' [ 10%] Built target zeromqcpp [ 11%] Running C++ protocol buffer compiler on ./include/proto/requests.proto Scanning dependencies of target flproto -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 12%] Building CXX object CMakeFiles/flproto.dir/requests.pb.cc.o [ 13%] No patch step for 'zeromq' [ 14%] No update step for 'zeromq' [ 14%] Performing configure step for 'zeromq' checking for a BSD-compatible install... /usr/local/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '501' is supported by ustar format... yes checking whether GID '20' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... [ 14%] Linking CXX static library libflproto.a [ 14%] Built target flproto Scanning dependencies of target spdlog gcc3 checking whether C compiler accepts -std=gnu11... [ 15%] Creating directories for 'spdlog' yes checking for g++... g++ [ 16%] Performing download step (git clone) for 'spdlog' Cloning into 'spdlog'... checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=gnu++11... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether to build with code coverage support... no checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for gawk... (cached) awk checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for xmlto... no checking for asciidoc... no checking build system type... x86_64-apple-darwin17.7.0 checking host system type... x86_64-apple-darwin17.7.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... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no 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... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc 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 -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 supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin17.7.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++ -std=gnu++11 -E checking for ld used by g++ -std=gnu++11... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ -std=gnu++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ -std=gnu++11 option to produce PIC... -fno-common -DPIC checking if g++ -std=gnu++11 PIC flag -fno-common -DPIC works... yes checking if g++ -std=gnu++11 static flag -static works... no checking if g++ -std=gnu++11 supports -c -o file.o... yes checking if g++ -std=gnu++11 supports -c -o file.o... (cached) yes checking whether the g++ -std=gnu++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin17.7.0 dyld checking how to hardcode library paths into programs... immediate checking for valgrind... no 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... yes 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... yes 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 if TIPC is available and supports nonblocking connect... no checking whether to enable ASan... no checking whether C++ compiler supports -Wno-uninitialized... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... no 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 configure: Choosing polling system from 'kqueue epoll devpoll pollset poll select'... configure: Using 'kqueue' polling system checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.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 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 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 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 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 whether SO_PEERCRED is declared... no checking whether LOCAL_PEERCRED is declared... no checking for stdbool.h that conforms to C99... no 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 configure: Using tweetnacl for CURVE security checking "with_norm_ext = no"... no checking how to enable additional warnings for C++ compiler... -Wall checking whether compiler supports __atomic_Xxx intrinsics... yes 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 for fork... yes checking for posix_memalign... yes checking for mkdtemp... yes checking for accept4... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether signature of pthread_setname_np() has 1 argument... yes checking whether signature of pthread_setname_np() has 2 arguments... no checking whether signature of pthread_setname_np() has 3 arguments... no checking whether pthread_set_name_np() exists... no checking whether pthread_setaffinity_np() exists... no checking whether SOCK_CLOEXEC is supported... no checking whether O_CLOEXEC is supported... yes checking whether SO_BINDTODEVICE is supported... no checking whether SO_KEEPALIVE is supported... yes checking whether TCP_KEEPCNT is supported... yes checking whether TCP_KEEPIDLE is supported... no checking whether TCP_KEEPINTVL is supported... yes checking whether TCP_KEEPALIVE is supported... yes checking whether getrandom is supported... no checking for ./.git... no configure: Building stable and legacy API (no draft API) checking for LIBUNWIND... no configure: WARNING: Cannot find libunwind checking for clang-format... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/libzmq.pc config.status: creating doc/Makefile config.status: creating builds/Makefile config.status: creating builds/msvc/Makefile config.status: creating src/platform.hpp config.status: executing depfiles commands config.status: executing libtool commands [ 17%] Performing build step for 'zeromq' Making all in doc CC external/unity/unity.o CXX src/src_libzmq_la-address.lo CXX src/src_libzmq_la-client.lo Switched to a new branch 'master' Branch master set up to track remote branch master from origin. [ 18%] No patch step for 'spdlog' [ 18%] No update step for 'spdlog' [ 19%] No configure step for 'spdlog' [ 20%] No build step for 'spdlog' [ 21%] No install step for 'spdlog' CXX src/src_libzmq_la-clock.lo [ 22%] Completed 'spdlog' [ 22%] Built target spdlog CXX src/src_libzmq_la-ctx.lo Scanning dependencies of target yamlcpp [ 23%] Creating directories for 'yamlcpp' [ 24%] Performing download step (download, verify and extract) for 'yamlcpp' -- Downloading... dst='/Users/gamache/code/Appcues/fluent/build/vendor/yamlcpp/src/yaml-cpp-0.6.2.tar.gz' timeout='none' -- Using src='https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.2.tar.gz' -- Downloading... done -- extracting... src='/Users/gamache/code/Appcues/fluent/build/vendor/yamlcpp/src/yaml-cpp-0.6.2.tar.gz' dst='/Users/gamache/code/Appcues/fluent/build/vendor/yamlcpp/src/yamlcpp' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 24%] No patch step for 'yamlcpp' [ 25%] No update step for 'yamlcpp' [ 26%] Performing configure step for 'yamlcpp' CMake Deprecation Warning at CMakeLists.txt:9 (cmake_policy): The OLD behavior for policy CMP0012 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:13 (cmake_policy): The OLD behavior for policy CMP0015 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is AppleClang 10.0.0.10001145 -- The CXX compiler identification is AppleClang 10.0.0.10001145 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test FLAG_WEXTRA -- Performing Test FLAG_WEXTRA - Success -- Configuring done -- Generating done -- Build files have been written to: /Users/gamache/code/Appcues/fluent/build/vendor/yamlcpp/src/yamlcpp [ 27%] Performing build step for 'yamlcpp' Scanning dependencies of target yaml-cpp [ 3%] Building CXX object CMakeFiles/yaml-cpp.dir/src/binary.cpp.o CXX src/src_libzmq_la-curve_client.lo [ 6%] Building CXX object CMakeFiles/yaml-cpp.dir/src/convert.cpp.o [ 9%] Building CXX object CMakeFiles/yaml-cpp.dir/src/directives.cpp.o CXX src/src_libzmq_la-curve_mechanism_base.lo [ 12%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emit.cpp.o [ 16%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitfromevents.cpp.o CXX src/src_libzmq_la-curve_server.lo [ 19%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitter.cpp.o [ 22%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitterstate.cpp.o CXX src/src_libzmq_la-dealer.lo [ 25%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitterutils.cpp.o CXX src/src_libzmq_la-devpoll.lo [ 29%] Building CXX object CMakeFiles/yaml-cpp.dir/src/exceptions.cpp.o [ 32%] Building CXX object CMakeFiles/yaml-cpp.dir/src/exp.cpp.o CXX src/src_libzmq_la-dgram.lo [ 35%] Building CXX object CMakeFiles/yaml-cpp.dir/src/memory.cpp.o CXX src/src_libzmq_la-dish.lo [ 38%] Building CXX object CMakeFiles/yaml-cpp.dir/src/node.cpp.o [ 41%] Building CXX object CMakeFiles/yaml-cpp.dir/src/node_data.cpp.o [ 45%] Building CXX object CMakeFiles/yaml-cpp.dir/src/nodebuilder.cpp.o CXX src/src_libzmq_la-dist.lo [ 48%] Building CXX object CMakeFiles/yaml-cpp.dir/src/nodeevents.cpp.o CXX src/src_libzmq_la-epoll.lo [ 51%] Building CXX object CMakeFiles/yaml-cpp.dir/src/null.cpp.o [ 54%] Building CXX object CMakeFiles/yaml-cpp.dir/src/ostream_wrapper.cpp.o CXX src/src_libzmq_la-err.lo CXX src/src_libzmq_la-fq.lo [ 58%] Building CXX object CMakeFiles/yaml-cpp.dir/src/parse.cpp.o CXX src/src_libzmq_la-gather.lo [ 61%] Building CXX object CMakeFiles/yaml-cpp.dir/src/parser.cpp.o [ 64%] Building CXX object CMakeFiles/yaml-cpp.dir/src/regex_yaml.cpp.o CXX src/src_libzmq_la-gssapi_mechanism_base.lo CXX src/src_libzmq_la-gssapi_client.lo CXX src/src_libzmq_la-gssapi_server.lo CXX src/src_libzmq_la-io_object.lo [ 67%] Building CXX object CMakeFiles/yaml-cpp.dir/src/scanner.cpp.o CXX src/src_libzmq_la-io_thread.lo [ 70%] Building CXX object CMakeFiles/yaml-cpp.dir/src/scanscalar.cpp.o CXX src/src_libzmq_la-ip.lo [ 74%] Building CXX object CMakeFiles/yaml-cpp.dir/src/scantag.cpp.o CXX src/src_libzmq_la-ipc_address.lo [ 77%] Building CXX object CMakeFiles/yaml-cpp.dir/src/scantoken.cpp.o CXX src/src_libzmq_la-ipc_connecter.lo [ 80%] Building CXX object CMakeFiles/yaml-cpp.dir/src/simplekey.cpp.o CXX src/src_libzmq_la-ipc_listener.lo [ 83%] Building CXX object CMakeFiles/yaml-cpp.dir/src/singledocparser.cpp.o CXX src/src_libzmq_la-kqueue.lo [ 87%] Building CXX object CMakeFiles/yaml-cpp.dir/src/stream.cpp.o [ 90%] Building CXX object CMakeFiles/yaml-cpp.dir/src/tag.cpp.o CXX src/src_libzmq_la-lb.lo [ 93%] Building CXX object CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilder.cpp.o [ 96%] Building CXX object CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilderadapter.cpp.o CXX src/src_libzmq_la-mailbox.lo [100%] Linking CXX shared library libyaml-cpp.dylib [100%] Built target yaml-cpp [ 28%] No install step for 'yamlcpp' [ 29%] Completed 'yamlcpp' [ 29%] Built target yamlcpp Scanning dependencies of target gmock [ 30%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o CXX src/src_libzmq_la-mailbox_safe.lo CXX src/src_libzmq_la-mechanism.lo CXX src/src_libzmq_la-mechanism_base.lo CXX src/src_libzmq_la-metadata.lo CXX src/src_libzmq_la-msg.lo [ 31%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o CXX src/src_libzmq_la-mtrie.lo CXX src/src_libzmq_la-norm_engine.lo CXX src/src_libzmq_la-null_mechanism.lo [ 32%] Linking CXX static library libgmock.a [ 32%] Built target gmock Scanning dependencies of target gmock_main [ 33%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock_main.dir/__/googletest/src/gtest-all.cc.o CXX src/src_libzmq_la-object.lo CXX src/src_libzmq_la-options.lo CXX src/src_libzmq_la-own.lo CXX src/src_libzmq_la-pair.lo [ 34%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o CXX src/src_libzmq_la-pgm_receiver.lo CXX src/src_libzmq_la-pgm_sender.lo CXX src/src_libzmq_la-pgm_socket.lo CXX src/src_libzmq_la-pipe.lo CXX src/src_libzmq_la-plain_client.lo [ 35%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [ 36%] Linking CXX static library libgmock_main.a [ 36%] Built target gmock_main CXX src/src_libzmq_la-plain_server.lo Scanning dependencies of target gtest [ 37%] Building CXX object googletest-build/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o CXX src/src_libzmq_la-poll.lo CXX src/src_libzmq_la-poller_base.lo CXX src/src_libzmq_la-pollset.lo CXX src/src_libzmq_la-precompiled.lo CXX src/src_libzmq_la-proxy.lo [ 37%] Linking CXX static library libgtest.a [ 37%] Built target gtest CXX src/src_libzmq_la-pub.lo [ 38%] Running C++ protocol buffer compiler on ./include/proto/replication.proto [ 39%] Running C++ protocol buffer compiler on ./include/proto/misc.proto Scanning dependencies of target flkvs-proto [ 39%] Building CXX object kvs/CMakeFiles/flkvs-proto.dir/misc.pb.cc.o CXX src/src_libzmq_la-pull.lo [ 40%] Building CXX object kvs/CMakeFiles/flkvs-proto.dir/replication.pb.cc.o [ 41%] Linking CXX static library libflkvs-proto.a CXX src/src_libzmq_la-push.lo [ 41%] Built target flkvs-proto CXX src/src_libzmq_la-radio.lo Scanning dependencies of target run_lattice_tests [ 42%] Building CXX object kvs/tests/include/lattices/CMakeFiles/run_lattice_tests.dir/run_lattice_tests.cpp.o CXX src/src_libzmq_la-random.lo CXX src/src_libzmq_la-raw_decoder.lo CXX src/src_libzmq_la-raw_encoder.lo CXX src/src_libzmq_la-reaper.lo [ 43%] Linking CXX executable run_lattice_tests [ 43%] Built target run_lattice_tests CXX src/src_libzmq_la-rep.lo Scanning dependencies of target gtest_main [ 44%] Building CXX object googletest-build/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o CXX src/src_libzmq_la-req.lo [ 45%] Linking CXX static library libgtest_main.a [ 45%] Built target gtest_main CXX src/src_libzmq_la-router.lo CXX src/src_libzmq_la-scatter.lo CXX src/src_libzmq_la-select.lo CXX src/src_libzmq_la-server.lo CXX src/src_libzmq_la-session_base.lo CXX src/src_libzmq_la-signaler.lo CXX src/src_libzmq_la-socket_base.lo CXX src/src_libzmq_la-socks.lo CXX src/src_libzmq_la-socks_connecter.lo CXX src/src_libzmq_la-stream.lo CXX src/src_libzmq_la-stream_engine.lo CXX src/src_libzmq_la-sub.lo CXX src/src_libzmq_la-tcp.lo CXX src/src_libzmq_la-tcp_address.lo CXX src/src_libzmq_la-tcp_connecter.lo CXX src/src_libzmq_la-tcp_listener.lo CXX src/src_libzmq_la-thread.lo CXX src/src_libzmq_la-timers.lo CXX src/src_libzmq_la-tipc_address.lo CXX src/src_libzmq_la-tipc_connecter.lo CXX src/src_libzmq_la-tipc_listener.lo CXX src/src_libzmq_la-trie.lo CXX src/src_libzmq_la-udp_address.lo CXX src/src_libzmq_la-udp_engine.lo CXX src/src_libzmq_la-v1_decoder.lo CXX src/src_libzmq_la-v2_decoder.lo CXX src/src_libzmq_la-v1_encoder.lo CXX src/src_libzmq_la-v2_encoder.lo CXX src/src_libzmq_la-vmci.lo CXX src/src_libzmq_la-vmci_address.lo CXX src/src_libzmq_la-vmci_connecter.lo CXX src/src_libzmq_la-vmci_listener.lo CXX src/src_libzmq_la-xpub.lo CXX src/src_libzmq_la-xsub.lo CXX src/src_libzmq_la-zmq.lo CXX src/src_libzmq_la-zmq_utils.lo CXX src/src_libzmq_la-decoder_allocators.lo CXX src/src_libzmq_la-socket_poller.lo CXX src/src_libzmq_la-zap_client.lo CC src/src_libzmq_la-tweetnacl.lo CXX tools/curve_keygen.o CXX perf/local_lat.o CXX perf/remote_lat.o CXX perf/local_thr.o CXX perf/remote_thr.o CXX perf/inproc_lat.o CXX perf/inproc_thr.o AR external/unity/libunity.a CXXLD src/libzmq.la /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-devpoll.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-epoll.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_mechanism_base.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_client.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_server.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-norm_engine.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_receiver.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_sender.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_socket.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-poll.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pollset.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-precompiled.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-select.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_address.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_connecter.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_listener.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_address.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_connecter.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_listener.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-devpoll.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-epoll.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_mechanism_base.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_client.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_server.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-norm_engine.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_receiver.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_sender.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_socket.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-poll.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pollset.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-precompiled.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-select.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_address.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_connecter.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_listener.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_address.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_connecter.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_listener.o) has no symbols CXXLD perf/local_lat CXXLD tools/curve_keygen CXXLD perf/remote_lat CXXLD perf/local_thr CXXLD perf/remote_thr CXXLD perf/inproc_lat CXXLD perf/inproc_thr [ 46%] No install step for 'zeromq' [ 47%] Completed 'zeromq' [ 47%] Built target zeromq Scanning dependencies of target flzmq [ 47%] Building CXX object CMakeFiles/flzmq.dir/include/zmq/zmq_util.cpp.o [ 48%] Building CXX object CMakeFiles/flzmq.dir/include/zmq/socket_cache.cpp.o [ 49%] Linking CXX static library libflzmq.a [ 49%] Built target flzmq Scanning dependencies of target flkvs-ring [ 50%] Building CXX object kvs/src/hash_ring/CMakeFiles/flkvs-ring.dir/hash_ring.cpp.o /Users/gamache/code/Appcues/fluent/kvs/src/hash_ring/hash_ring.cpp:184:12: error: no member named 'cerr' in namespace 'std' std::cerr << "No servers have joined the cluster yet. Retrying request." ~~~~~^ /Users/gamache/code/Appcues/fluent/kvs/src/hash_ring/hash_ring.cpp:189:12: error: no member named 'cerr' in namespace 'std' std::cerr ~~~~~^ 2 errors generated. make[2]: *** [kvs/src/hash_ring/CMakeFiles/flkvs-ring.dir/hash_ring.cpp.o] Error 1 make[1]: *** [kvs/src/hash_ring/CMakeFiles/flkvs-ring.dir/all] Error 2 make: *** [all] Error 2 ```

Thanks for any help!
vsreekanti commented 6 years ago

Hi @gamache, sorry for the late response. The last couple weeks have been a little crazy.

It looks like you're using Clang v10, which we haven't tested with. I've built the system with clang-5, clang-6, and clang-7 at various points, and I've never seen this issue. A quick Google search seems to indicate that this is because #include <iostream> is missing. Can you try including that in kvs/include/common.hpp and see if that fixes the issue?