Skip to content

Instantly share code, notes, and snippets.

@mulbc
Created July 14, 2018 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mulbc/aa266ae7ceb085a0593644f795bdaf48 to your computer and use it in GitHub Desktop.
Save mulbc/aa266ae7ceb085a0593644f795bdaf48 to your computer and use it in GitHub Desktop.
Building ceph-client Homebrew tap with ceph mimic branch and PR 23034
$ brew reinstall -debug -verbose ceph-client
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ceph-client.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ccache.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cython.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/leveldb.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gperftools.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/snappy.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/nss.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/nspr.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/yasm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/tcl-tk.rb
==> Reinstalling ceph-client
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180714-46307-1jfy96g.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew:/usr/local/Homebrew/Library/Homebrew/cask/lib -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ceph-client.rb --git --verbose --debug
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ceph-client.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/nss.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/nspr.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/yasm.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ccache.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cython.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@2.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/leveldb.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gperftools.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/snappy.rb
==> Cloning git@github.com:ceph/ceph.git
Updating /Users/chris/Library/Caches/Homebrew/ceph-client--git
git config remote.origin.url git@github.com:ceph/ceph.git
git config remote.origin.fetch +refs/heads/mimic:refs/remotes/origin/mimic
git fetch origin
remote: Counting objects: 73, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 73 (delta 59), reused 58 (delta 58), pack-reused 9
Unpacking objects: 100% (73/73), done.
From github.com:ceph/ceph
128f929a6d..6720f47157 mimic -> origin/mimic
==> Checking out branch mimic
git checkout -f mimic --
Previous HEAD position was f38fff5d09 13.2.0
Branch 'mimic' set up to track remote branch 'mimic' from 'origin'.
Switched to a new branch 'mimic'
git reset --hard origin/mimic
HEAD is now at 6720f47157 Merge pull request #23034 from tchaikov/mimic-clang-4
git submodule foreach --recursive git submodule sync
Entering 'ceph-erasure-code-corpus'
Entering 'ceph-object-corpus'
Entering 'src/blkin'
Entering 'src/civetweb'
Entering 'src/crypto/isa-l/isa-l_crypto'
Entering 'src/erasure-code/jerasure/gf-complete'
Entering 'src/erasure-code/jerasure/jerasure'
Entering 'src/googletest'
Entering 'src/isa-l'
Entering 'src/lua'
Entering 'src/rapidjson'
Synchronizing submodule url for 'thirdparty/gtest'
Entering 'src/rapidjson/thirdparty/gtest'
Entering 'src/rocksdb'
Entering 'src/spdk'
Synchronizing submodule url for 'dpdk'
Entering 'src/spdk/dpdk'
Entering 'src/xxHash'
Entering 'src/zstd'
git submodule update --init --recursive
Reinitialized existing Git repository in /private/tmp/ceph-client-20180714-46309-jwc1zm/.git/
==> ./do_cmake.sh -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DWITH_EMBEDDED=OFF -DWITH_MANPAGE=ON -DWITH_LIBCEPHFS=OFF -DWITH_XFS=OFF -DWITH_KRBD=OFF -DWITH_LTTNG=OFF -DCMAKE_BUILD_TYPE=Debug -DWITH_CCACHE=ON -DWITH_RADOSGW=OFF -DWITH_CEPHFS=OFF -DDIAGNOSTICS_COLOR=always -DWITH_SYSTEMD=OFF -DWITH_RDMA=OFF -DWITH_BABELTRACE=OFF -DWITH_BLUESTORE=OFF -DWITH_SPDK=OFF -DWITH_LZ4=OFF -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
+ git submodule update --init --recursive
+ test -e build
+ type ccache
+ echo 'enabling ccache'
enabling ccache
+ ARGS=' -DWITH_CCACHE=ON'
+ mkdir build
+ cd build
++ nproc
./do_cmake.sh: line 15: nproc: command not found
+ NPROC=
+ cmake -DBOOST_J= -DWITH_CCACHE=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DWITH_EMBEDDED=OFF -DWITH_MANPAGE=ON -DWITH_LIBCEPHFS=OFF -DWITH_XFS=OFF -DWITH_KRBD=OFF -DWITH_LTTNG=OFF -DCMAKE_BUILD_TYPE=Debug -DWITH_CCACHE=ON -DWITH_RADOSGW=OFF -DWITH_CEPHFS=OFF -DDIAGNOSTICS_COLOR=always -DWITH_SYSTEMD=OFF -DWITH_RDMA=OFF -DWITH_BABELTRACE=OFF -DWITH_BLUESTORE=OFF -DWITH_SPDK=OFF -DWITH_LZ4=OFF -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include ..
-- The CXX compiler identification is AppleClang 9.1.0.9020039
-- The C compiler identification is AppleClang 9.1.0.9020039
-- The ASM compiler identification is AppleClang
-- Found assembler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building with ccache: /usr/local/bin/ccache, CCACHE_DIR=
-- Looking for fallocate
-- Looking for fallocate - not found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - not found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - not found
-- Looking for syncfs
-- Looking for syncfs - not found
-- Looking for sync_file_range
-- Looking for sync_file_range - not found
-- Looking for pwritev
-- Looking for pwritev - not found
-- Looking for splice
-- Looking for splice - not found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for name_to_handle_at
-- Looking for name_to_handle_at - not found
-- Looking for pipe2
-- Looking for pipe2 - not found
-- Looking for pthread_spin_init
-- Looking for pthread_spin_init - not found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_rwlockattr_setkind_np
-- Looking for pthread_rwlockattr_setkind_np - not found
-- Looking for eventfd
-- Looking for eventfd - not found
-- Looking for getprogname
-- Looking for getprogname - found
-- Looking for include file linux/types.h
-- Looking for include file linux/types.h - not found
-- Looking for include file linux/version.h
-- Looking for include file linux/version.h - not found
-- Looking for include file arpa/nameser_compat.h
-- Looking for include file arpa/nameser_compat.h - found
-- Looking for include file sys/mount.h
-- Looking for include file sys/mount.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/vfs.h
-- Looking for include file sys/vfs.h - not found
-- Looking for include file sys/prctl.h
-- Looking for include file sys/prctl.h - not found
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - found
-- Looking for include file valgrind/helgrind.h
-- Looking for include file valgrind/helgrind.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __be16
-- Check size of __be16 - failed
-- Check size of __be32
-- Check size of __be32 - failed
-- Check size of __be64
-- Check size of __be64 - failed
-- Check size of __le16
-- Check size of __le16 - failed
-- Check size of __le32
-- Check size of __le32 - failed
-- Check size of __le64
-- Check size of __le64 - failed
-- Check size of __u8
-- Check size of __u8 - failed
-- Check size of __u16
-- Check size of __u16 - failed
-- Check size of __u32
-- Check size of __u32 - failed
-- Check size of __u64
-- Check size of __u64 - failed
-- Check size of __s8
-- Check size of __s8 - failed
-- Check size of __s16
-- Check size of __s16 - failed
-- Check size of __s32
-- Check size of __s32 - failed
-- Check size of __s64
-- Check size of __s64 - failed
-- Looking for res_nquery
-- Looking for res_nquery - found
-- Looking for F_SETPIPE_SZ
-- Looking for F_SETPIPE_SZ - not found
-- Looking for __func__
-- Looking for __func__ - found
-- Looking for __PRETTY_FUNCTION__
-- Looking for __PRETTY_FUNCTION__ - found
-- Looking for getentropy
-- Looking for getentropy - not found
-- Performing Test STRERROR_R_CHAR_P
-- Performing Test STRERROR_R_CHAR_P - Failed
-- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC - Failed
-- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Success
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Not using udev
-- Not using BLKID
-- Found OpenLdap: /System/Library/Frameworks/LDAP.framework/Headers
-- Found fuse: /usr/local/include/fuse
-- Found leveldb: /usr/local/lib/libleveldb.dylib
-- Found snappy: /usr/local/lib/libsnappy.dylib
-- Found gperftools: /usr/local/lib/libtcmalloc.dylib (found version "2.7")
-- Found CURL: /usr/lib/libcurl.dylib (found version "7.54.0")
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for module 'nss'
-- Found nss, version 3.38
-- NSS_LIBRARIES: /usr/local/opt/nss/lib/libssl3.dylib;/usr/local/opt/nss/lib/libsmime3.dylib;/usr/local/opt/nss/lib/libnss3.dylib;/usr/local/opt/nss/lib/libnssutil3.dylib
-- NSS_INCLUDE_DIRS: /usr/local/opt/nss/include/nss
-- Found NSS: /usr/local/opt/nss/lib/libssl3.dylib;/usr/local/opt/nss/lib/libsmime3.dylib;/usr/local/opt/nss/lib/libnss3.dylib;/usr/local/opt/nss/lib/libnssutil3.dylib
-- Checking for module 'nspr'
-- Found nspr, version 4.19.0
-- Found NSPR: /usr/local/lib/libplds4.dylib;/usr/local/lib/libplc4.dylib;/usr/local/lib/libnspr4.dylib
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.0.2o")
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version "2.7.15", minimum required is "2.7")
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2.7")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11")
-- boost will be downloaded...
-- Found Boost: /tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- We are using libc++.
-- Performing Test HAVE_INTEL_SSE
-- Performing Test HAVE_INTEL_SSE - Success
-- Performing Test HAVE_INTEL_SSE2
-- Performing Test HAVE_INTEL_SSE2 - Success
-- Performing Test HAVE_INTEL_SSE3
-- Performing Test HAVE_INTEL_SSE3 - Success
-- Performing Test HAVE_INTEL_SSSE3
-- Performing Test HAVE_INTEL_SSSE3 - Success
-- Performing Test HAVE_INTEL_PCLMUL
-- Performing Test HAVE_INTEL_PCLMUL - Success
-- Performing Test HAVE_INTEL_SSE4_1
-- Performing Test HAVE_INTEL_SSE4_1 - Success
-- Performing Test HAVE_INTEL_SSE4_2
-- Performing Test HAVE_INTEL_SSE4_2 - Success
-- we have a modern and working yasm
-- we are x86_64
-- we are not x32
-- yasm can also build the isa-l stuff
-- Performing Test HAVE_STDLIB_MAP_SPLICING
-- Performing Test HAVE_STDLIB_MAP_SPLICING - Failed
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version "2.7.15", minimum required is "2")
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2")
-- Performing Test HAS_VTA
-- Performing Test HAS_VTA - Failed
-- Using EventKqueue for events.
-- Found cython
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found PythonInterp: /usr/local/bin/python2.7 (found version "2.7.15")
-- exclude following files under src: *.js;*.css;civetweb;erasure-code/jerasure/jerasure;erasure-code/jerasure/gf-complete;rocksdb;googletest;spdk;xxHash;isa-l;lua;dpdk;zstd;crypto/isa-l/isa-l_crypto;blkin;rapidjson
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
ceph-common
ceph_example
ceph_snappy
ceph_zlib
ceph_zstd
cls_hello
cls_journal
cls_kvs
cls_lock
cls_log
cls_lua
cls_numops
cls_otp
cls_rbd
cls_refcount
cls_replica_log
cls_sdk
cls_statelog
cls_timeindex
cls_user
cls_version
ec_example
ec_fail_to_initialize
ec_fail_to_register
ec_hangs
ec_isa
ec_jerasure
ec_jerasure_generic
ec_jerasure_sse3
ec_jerasure_sse4
ec_lrc
ec_missing_entry_point
ec_missing_version
ec_shec
ec_shec_generic
ec_shec_sse3
ec_shec_sse4
librados
librbd
radosstriper
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
WITH_EMBEDDED
-- Build files have been written to: /tmp/ceph-client-20180714-46309-jwc1zm/build
+ cat
+ echo done.
done.
==> make --directory=build rados rbd ceph-fuse manpages
Scanning dependencies of target Boost
Scanning dependencies of target common_utf8
Scanning dependencies of target common_mountcephfs_objs
[ 0%] Creating directories for 'Boost'
[ 0%] Building C object src/CMakeFiles/common_utf8.dir/common/utf8.c.o
[ 0%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/safe_io.c.o
[ 0%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/module.c.o
[ 0%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/armor.c.o
[ 0%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/addr_parsing.c.o
[ 0%] Performing download step (download, verify and extract) for 'Boost'
-- Downloading...
dst='/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/src/boost_1_67_0.tar.bz2'
timeout='none'
-- Using src='https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2'
[ 0%] Linking C static library ../lib/libcommon_utf8.a
[ 0%] Built target common_mountcephfs_objs
[ 0%] Built target common_utf8
-- verifying file...
file='/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/src/boost_1_67_0.tar.bz2'
-- Downloading... done
-- extracting...
src='/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/src/boost_1_67_0.tar.bz2'
dst='/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/src/Boost'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 0%] No patch step for 'Boost'
[ 0%] No update step for 'Boost'
[ 0%] Performing configure step for 'Boost'
Building Boost.Build engine with toolset darwin... tools/build/src/engine/bin.macosxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /System/Library/Frameworks/Python.framework/Versions/2.7
Unicode/ICU support for Boost.Regex?... not found.
Generating Boost.Build configuration in project-config.jam...
Bootstrapping is done. To build, run:
./b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
./b2 --help
- Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html
- Boost.Build documentation:
http://www.boost.org/build/doc/html/index.html
[ 0%] Performing build step for 'Boost'
Performing configuration checks
- default address-model : 64-bit
- default architecture : x86
- symlinks supported : yes
- C++11 mutex : no
- lockfree boost::atomic_flag : yes
- zlib : yes
- bzip2 : yes
- lzma : yes
- has_icu builds : no
Component configuration:
- atomic : building
- chrono : building
- container : building
- context : building
- contract : not building
- coroutine : building
- date_time : building
- exception : not building
- fiber : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- iostreams : building
- locale : not building
- log : not building
- math : not building
- mpi : not building
- program_options : building
- python : building
- random : building
- regex : building
- serialization : not building
- signals : not building
- stacktrace : not building
- system : building
- test : not building
- thread : building
- timer : not building
- type_erasure : not building
- wave : not building
[ 0%] Performing install step for 'Boost'
Performing configuration checks
- default address-model : 64-bit (cached)
- default architecture : x86 (cached)
- symlinks supported : yes (cached)
- C++11 mutex : no (cached)
- lockfree boost::atomic_flag : yes (cached)
- zlib : yes
- bzip2 : yes
- lzma : yes
- has_icu builds : no (cached)
- zlib : yes (cached)
- bzip2 : yes (cached)
- lzma : yes (cached)
Component configuration:
- atomic : building
- chrono : building
- container : building
- context : building
- contract : not building
- coroutine : building
- date_time : building
- exception : not building
- fiber : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- iostreams : building
- locale : not building
- log : not building
- math : not building
- mpi : not building
- program_options : building
- python : building
- random : building
- regex : building
- serialization : not building
- signals : not building
- stacktrace : not building
- system : building
- test : not building
- thread : building
- timer : not building
- type_erasure : not building
- wave : not building
[ 0%] Completed 'Boost'
[ 0%] Built target Boost
Scanning dependencies of target common_texttable_obj
[ 0%] Building CXX object src/CMakeFiles/common_texttable_obj.dir/common/TextTable.cc.o
Scanning dependencies of target erasure_code
Scanning dependencies of target global_common_objs
[ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o
[ 0%] Building CXX object src/global/CMakeFiles/global_common_objs.dir/global_context.cc.o
Scanning dependencies of target compressor_objs
Scanning dependencies of target json_spirit
Scanning dependencies of target common_buffer_obj
[ 0%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o
Scanning dependencies of target cls_lock_client
[ 0%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_reader.cpp.o
[ 0%] Building CXX object src/CMakeFiles/common_buffer_obj.dir/common/buffer.cc.o
[ 0%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o
Scanning dependencies of target libglobal_objs
Scanning dependencies of target librados_api_obj
Scanning dependencies of target librados_objs
[ 0%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o
[ 0%] Building CXX object src/librados/CMakeFiles/librados_api_obj.dir/librados.cc.o
[ 0%] Building CXX object src/librados/CMakeFiles/librados_objs.dir/IoCtxImpl.cc.o
Scanning dependencies of target crush_objs
[ 7%] Building C object src/CMakeFiles/crush_objs.dir/crush/builder.c.o
[ 7%] Built target common_texttable_obj
[ 7%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_writer.cpp.o
[ 7%] Building C object src/CMakeFiles/crush_objs.dir/crush/mapper.c.o
[ 7%] Building C object src/CMakeFiles/crush_objs.dir/crush/crush.c.o
[ 7%] Building C object src/CMakeFiles/crush_objs.dir/crush/hash.c.o
[ 7%] Built target global_common_objs
[ 7%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o
[ 7%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushWrapper.cc.o
[ 7%] Linking CXX static library ../../lib/liberasure_code.a
[ 7%] Built target erasure_code
[ 7%] Building CXX object src/librados/CMakeFiles/librados_objs.dir/RadosXattrIter.cc.o
[ 7%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o
[ 7%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/buffer.cc:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/buffer.cc:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/buffer.cc:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/buffer.cc:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_client.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_client.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_client.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_client.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/common_buffer_obj.dir/common/buffer.cc.o] Error 1
make[2]: *** [src/CMakeFiles/common_buffer_obj.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 7%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushCompiler.cc.o
[ 7%] Building CXX object src/librados/CMakeFiles/librados_objs.dir/RadosClient.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/compressor/Compressor.cc:24:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/compressor/Compressor.cc:24:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/compressor/Compressor.cc:24:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/compressor/Compressor.cc:24:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o] Error 1
make[2]: *** [src/compressor/CMakeFiles/compressor_objs.dir/all] Error 2
[ 7%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushTester.cc.o
Scanning dependencies of target common-objs
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/global_init.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/ceph_argparse.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/global_init.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/ceph_argparse.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/global_init.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/ceph_argparse.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/global_init.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/ceph_argparse.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/global_init.cc:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/mon/MonClient.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Messenger.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Message.h:28:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/Throttle.h:124:20: error: no member named 'uniquely_lock' in namespace 'ceph'
auto l = ceph::uniquely_lock(lock);
~~~~~~^
7 errors generated.
make[3]: *** [src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 7%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushLocation.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/pidfile.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/pidfile.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/pidfile.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/pidfile.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o] Error 1
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.h:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.h:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.h:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/cls/lock/cls_lock_types.h:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o] Error 1
make[2]: *** [src/cls/CMakeFiles/cls_lock_client.dir/all] Error 2
[ 7%] Building C object src/CMakeFiles/common-objs.dir/ceph_ver.c.o
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/AsyncOpTracker.cc.o
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/DecayCounter.cc.o
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/LogClient.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/signal_handler.cc:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/signal_handler.cc:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/signal_handler.cc:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/global/signal_handler.cc:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/debug.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o] Error 1
make[2]: *** [src/global/CMakeFiles/libglobal_objs.dir/all] Error 2
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/LogEntry.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/osd_types.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/osd_types.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/osd_types.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/osd_types.h:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/mempool.h:32:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/compact_map.h:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/osd_types.h:43:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/Watch.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Messenger.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Message.h:28:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/Throttle.h:124:20: error: no member named 'uniquely_lock' in namespace 'ceph'
auto l = ceph::uniquely_lock(lock);
~~~~~~^
7 errors generated.
make[3]: *** [src/CMakeFiles/crush_objs.dir/crush/CrushWrapper.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/PrebufferedStreambuf.cc.o
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/CachedPrebufferedStreambuf.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.cc:2:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.cc:2:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.cc:2:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.cc:2:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushCompiler.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/crush_objs.dir/crush/CrushCompiler.cc.o] Error 1
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/BackTrace.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushTester.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/stringify.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushTester.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/stringify.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushTester.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/stringify.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushTester.cc:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/stringify.h:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/crush_objs.dir/crush/CrushTester.cc.o] Error 1
[ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/perf_counters.cc.o
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/DecayCounter.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/common-objs.dir/common/DecayCounter.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/Cond.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/Cond.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/Cond.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/Cond.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/IoCtxImpl.h:28:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/osd_types.h:43:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/Watch.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Messenger.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Message.h:28:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/Throttle.h:124:20: error: no member named 'uniquely_lock' in namespace 'ceph'
auto l = ceph::uniquely_lock(lock);
~~~~~~^
7 errors generated.
make[3]: *** [src/librados/CMakeFiles/librados_objs.dir/IoCtxImpl.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/AsyncOpTracker.cc:5:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/AsyncOpTracker.cc:5:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/AsyncOpTracker.cc:5:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/AsyncOpTracker.cc:5:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/Context.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/dout.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/common-objs.dir/common/AsyncOpTracker.cc.o] Error 1
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushLocation.cc:6:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushLocation.cc:6:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushLocation.cc:6:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushLocation.cc:6:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/crush/CrushWrapper.h:14:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/crush_objs.dir/crush/CrushLocation.cc.o] Error 1
make[2]: *** [src/CMakeFiles/crush_objs.dir/all] Error 2
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/librados.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/librados.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/librados.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/librados.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/librados.cc:29:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/AioCompletionImpl.h:25:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/osd_types.h:43:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/osd/Watch.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Messenger.h:22:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Message.h:28:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/Throttle.h:124:20: error: no member named 'uniquely_lock' in namespace 'ceph'
auto l = ceph::uniquely_lock(lock);
~~~~~~^
7 errors generated.
make[3]: *** [src/librados/CMakeFiles/librados_api_obj.dir/librados.cc.o] Error 1
make[2]: *** [src/librados/CMakeFiles/librados_api_obj.dir/all] Error 2
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.cc:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.cc:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.cc:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.cc:7:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/common-objs.dir/common/LogEntry.cc.o] Error 1
[ 7%] Linking CXX static library ../../lib/libjson_spirit.a
[ 7%] Built target json_spirit
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/RadosClient.cc:26:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/RadosClient.cc:26:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/RadosClient.cc:26:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/RadosClient.cc:26:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/config.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/entity_name.h:20:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/msg_types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/librados/RadosClient.cc:33:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/messages/MLog.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/messages/PaxosServiceMessage.h:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Message.h:28:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/Throttle.h:124:20: error: no member named 'uniquely_lock' in namespace 'ceph'
auto l = ceph::uniquely_lock(lock);
~~~~~~^
7 errors generated.
make[3]: *** [src/librados/CMakeFiles/librados_objs.dir/RadosClient.cc.o] Error 1
make[2]: *** [src/librados/CMakeFiles/librados_objs.dir/all] Error 2
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.cc:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.h:27:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.cc:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.h:27:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.cc:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.h:27:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.cc:16:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/perf_counters.h:27:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
6 errors generated.
make[3]: *** [src/CMakeFiles/common-objs.dir/common/perf_counters.cc.o] Error 1
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:21: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do(const std::optional<T>& t, F&& f) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:213:3: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
std::optional<std::result_of_t<F(const std::decay_t<T>)>>
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:212:6: error: redefinition of 'maybe_do'
auto maybe_do(const std::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:183:6: note: previous definition is here
auto maybe_do(const boost::optional<T>& t, F&& f) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:218:17: error: no member named 'nullopt' in namespace 'std'
return std::nullopt;
~~~~~^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:24: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^~~~~~~~~~~~~
boost::optional
/tmp/ceph-client-20180714-46309-jwc1zm/build/boost/include/boost/optional/optional.hpp:829:7: note: 'boost::optional' declared here
class optional
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.cc:15:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogEntry.h:18:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/utime.h:23:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/types.h:21:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/uuid.h:8:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/include/encoding.h:35:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:226:6: error: redefinition of 'maybe_do_or'
auto maybe_do_or(const std::optional<T>& t, F&& f, U&& u) ->
^
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/convenience.h:197:6: note: previous definition is here
auto maybe_do_or(const boost::optional<T>& t, F&& f, U&& u) ->
^
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/common/LogClient.cc:17:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/messages/MLog.h:19:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/messages/PaxosServiceMessage.h:4:
In file included from /tmp/ceph-client-20180714-46309-jwc1zm/src/msg/Message.h:28:
/tmp/ceph-client-20180714-46309-jwc1zm/src/common/Throttle.h:124:20: error: no member named 'uniquely_lock' in namespace 'ceph'
auto l = ceph::uniquely_lock(lock);
~~~~~~^
7 errors generated.
make[3]: *** [src/CMakeFiles/common-objs.dir/common/LogClient.cc.o] Error 1
make[2]: *** [src/CMakeFiles/common-objs.dir/all] Error 2
make[1]: *** [src/tools/CMakeFiles/rados.dir/rule] Error 2
make: *** [rados] Error 2
/usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: make --directory=build rados rbd ceph-fuse manpages
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment