Babeltrace error in FreeBSD, Build failed in Jenkins: ceph-master #634
http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/634/console
Cmake fails on babletrace.
Uptill now babeltrace was optional, but if it is not really 100% required I'll look into it in 2 weeks after my vacation. Otherwise it would be nice if it was made optional again.
Thanx,
--WjW
-------- Forwarded Message --------
Subject: Build failed in Jenkins: ceph-master #634
Date: Thu, 4 May 2017 20:04:40 +0200 (CEST)
From: [email protected]
Reply-To: [email protected]
To: [email protected]
See
<http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/634/display/redirect?page=changes>
+ cmake -D 'CMAKE_BUILD_TYPE=Debug' -D 'CMAKE_CXX_FLAGS_DEBUG= -O0 -g'
-D 'CMAKE_C_FLAGS_DEBUG= -O0 -g' -D 'WITH_CCACHE=ON' -D
'ENABLE_GIT_VERSION=OFF' -D 'WITH_SYSTEM_BOOST=ON' -D 'WITH_LTTNG=OFF'
-D 'WITH_FUSE=ON' -D 'WITH_KRBD=OFF' -D 'WITH_XFS=OFF' -D 'WITH_KVS=OFF'
-D 'WITH_EMBEDDED=OFF' -D 'WITH_MANPAGE=ON' -D 'WITH_LIBCEPHFS=OFF' -D
'WITH_CEPHFS=OFF' -D 'WITH_RADOSGW=ON' -D 'WITH_MGR=YES' ..
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/CC
-- Check for working CXX compiler: /usr/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE -- 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 - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - 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 - found
-- Looking for splice
-- Looking for splice - not found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Looking for fdatasync
-- Looking for fdatasync - 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 - found
-- Looking for pthread_spin_init
-- Looking for pthread_spin_init - found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - not found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - not found
-- Looking for eventfd
-- Looking for eventfd - not found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - 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 stdint.h
-- Looking for include file stdint.h - 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 - 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 - not 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
-- 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 - Success
-- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Success
-- Not Found libibverbs: RDMA_LIBRARY-NOTFOUND
-- Could NOT find ibverbs (missing: RDMA_LIBRARIES RDMA_INCLUDE_DIR) --
Looking for backtrace
-- Looking for backtrace - not found
-- Found Backtrace: /usr/lib/libexecinfo.so -- Not using udev
-- Not using AIO
-- Not using BLKID
-- Found OpenLdap: /usr/local/include -- Found fuse:/usr/local/include/fuse -- Found leveldb: /usr/local/lib/libleveldb.so
-- Found atomic_ops: /usr/local/lib/libatomic_ops.a --/usr/local/lib/libatomic_ops.a
-- Found snappy: /usr/local/lib/libsnappy.so -- Found gperftools:
GPERFTOOLS_TCMALLOC_LIBRARY;GPERFTOOLS_TCMALLOC_MINIMAL_LIBRARY;GPERFTOOLS_PROFILER_LIBRARY
-- Found CURL: /usr/local/lib/libcurl.so (found version "7.53.1") --
Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "1.0.2") --
Checking for module 'nss'
-- Found nss, version 3.27.1
-- NSS_LIBRARIES:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so -- NSS_INCLUDE_DIRS: /usr/local/include/nss/nss
-- Found NSS:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so
-- Checking for module 'nspr'
-- Found nspr, version 4.13.1
-- Found NSPR:
/usr/local/lib/libplds4.so;/usr/local/lib/libplc4.so;/usr/local/lib/libnspr4.so
-- SSL with NSS selected (Libs:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so) -- Found EXPAT: /usr/local/lib/libexpat.so (found version "2.2.0") --
Found fcgi: /usr/local/lib/libfcgi.so -- Looking for openssl anyways,
because radosgw selected
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found
version "1.0.2k") -- ssl soname: libssl.so.8
-- crypto soname: libcrypto.so.8
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version
"2.7.13", minimum required is "2.7") -- Found PythonLibs:/usr/local/lib/libpython2.7.so (found suitable version "2.7.13", minimum
required is "2.7") -- Found ZLIB: /usr/lib/libz.so (found version
"1.2.11") CMake Error at/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find babeltrace (missing: BABELTRACE_INCLUDE_DIR
BABELTRACE_LIBRARY)
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
cmake/modules/Findbabeltrace.cmake:19 (find_package_handle_standard_args)
CMakeLists.txt:437 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jenkins/workspace/ceph-master/build/CMakeFiles/CMakeOutput.log". See also "/home/jenkins/workspace/ceph-master/build/CMakeFiles/CMakeError.log". Build step 'Execute shell' marked build as failure
Quoted 7 lines · Willem Jan Withagen
http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/634/console
Cmake fails on babletrace.
Uptill now babeltrace was optional, but if it is not really 100% required I'll look into it in 2 weeks after my vacation. Otherwise it would be nice if it was made optional again.
Willem, we fixed some FindXXX.cmake scripts in
https://github.com/ceph/ceph/pull/14951, that's why babel failed to be found in your environment, and cmake errored out if you don't disable it explicitly by passing -DHAVE_BABELTRACE=OFF to cmake. babeltrace support is always optional, but it's ON by default.
Quoted 209 lines
Thanx,
--WjW-------- Forwarded Message --------
Subject: Build failed in Jenkins: ceph-master #634
Date: Thu, 4 May 2017 20:04:40 +0200 (CEST)
From: [email protected]
Reply-To: [email protected]
To: [email protected]See
<http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/634/display/redirect?page=changes>+ cmake -D 'CMAKE_BUILD_TYPE=Debug' -D 'CMAKE_CXX_FLAGS_DEBUG= -O0 -g' -D 'CMAKE_C_FLAGS_DEBUG= -O0 -g' -D 'WITH_CCACHE=ON' -D 'ENABLE_GIT_VERSION=OFF' -D 'WITH_SYSTEM_BOOST=ON' -D 'WITH_LTTNG=OFF'
(quoted diff) +0
-2-D 'WITH_FUSE=ON' -D 'WITH_KRBD=OFF' -D 'WITH_XFS=OFF' -D 'WITH_KVS=OFF' -D 'WITH_EMBEDDED=OFF' -D 'WITH_MANPAGE=ON' -D 'WITH_LIBCEPHFS=OFF' -D'WITH_CEPHFS=OFF' -D 'WITH_RADOSGW=ON' -D 'WITH_MGR=YES' ..
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler:/usr/bin/cc
-- Check for working C compiler:/usr/bin/cc-- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler:/usr/bin/CC
-- Check for working CXX compiler:/usr/bin/CC-- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking forpthread.h
-- Looking forpthread.h- found
-- Looking forpthread_create
-- Looking forpthread_create- not found
-- Looking forpthread_createin pthreads
-- Looking forpthread_createin pthreads - not found
-- Looking forpthread_createin pthread
-- Looking forpthread_createin pthread - found
-- Found Threads: TRUE -- Building with ccache:/usr/local/bin/ccache,
CCACHE_DIR=
-- Looking for fallocate
-- Looking for fallocate - not found
-- Looking forposix_fadvise
-- Looking forposix_fadvise- found
-- Looking forposix_fallocate
-- Looking forposix_fallocate- found
-- Looking for syncfs
-- Looking for syncfs - not found
-- Looking forsync_file_range
-- Looking forsync_file_range- not found
-- Looking for pwritev
-- Looking for pwritev - found
-- Looking for splice
-- Looking for splice - not found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking forstrerror_r
-- Looking forstrerror_r- found
-- Looking forname_to_handle_at
-- Looking forname_to_handle_at- not found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking forpthread_spin_init
-- Looking forpthread_spin_init- found
-- Looking forpthread_set_name_np
-- Looking forpthread_set_name_np- found
-- Looking forpthread_setname_np
-- Looking forpthread_setname_np- not found
-- Looking forpthread_getname_np
-- Looking forpthread_getname_np- not found
-- Looking for eventfd
-- Looking for eventfd - not found
-- Looking for include fileinttypes.h
-- Looking for include fileinttypes.h- found
-- Looking for include filelinux/types.h
-- Looking for include filelinux/types.h- not found
-- Looking for include filelinux/version.h
-- Looking for include filelinux/version.h- not found
-- Looking for include filestdint.h
-- Looking for include filestdint.h- found
-- Looking for include filearpa/nameser_compat.h
-- Looking for include filearpa/nameser_compat.h- found
-- Looking for include filesys/mount.h
-- Looking for include filesys/mount.h- found
-- Looking for include filesys/param.h
-- Looking for include filesys/param.h- found
-- Looking for include filesys/types.h
-- Looking for include filesys/types.h- found
-- Looking for include filesys/vfs.h
-- Looking for include filesys/vfs.h- not found
-- Looking for include filesys/prctl.h
-- Looking for include filesys/prctl.h- not found
-- Looking for include fileexecinfo.h
-- Looking for include fileexecinfo.h- found
-- Looking for include filevalgrind/helgrind.h
-- Looking for include filevalgrind/helgrind.h- found
-- Looking forstddef.h
-- Looking forstddef.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 forres_nquery
-- Looking forres_nquery- not found
-- Looking forF_SETPIPE_SZ
-- Looking forF_SETPIPE_SZ- not found
-- Looking for__func__
-- Looking for__func__- found
-- Looking for__PRETTY_FUNCTION__
-- Looking for__PRETTY_FUNCTION__- found
-- Performing TestSTRERROR_R_CHAR_P
-- Performing TestSTRERROR_R_CHAR_P- Failed
-- Performing TestHAVE_STAT_ST_MTIM_TV_NSEC
-- Performing TestHAVE_STAT_ST_MTIM_TV_NSEC- Success
-- Performing TestHAVE_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing TestHAVE_STAT_ST_MTIMESPEC_TV_NSEC- Success
-- Not Found libibverbs: RDMA_LIBRARY-NOTFOUND
-- Could NOT find ibverbs (missing:RDMA_LIBRARIESRDMA_INCLUDE_DIR) --
Looking for backtrace
-- Looking for backtrace - not found
-- Found Backtrace:/usr/lib/libexecinfo.so-- Not using udev
-- Not using AIO
-- Not using BLKID
-- Found OpenLdap:/usr/local/include-- Found fuse:/usr/local/include/fuse-- Found leveldb:/usr/local/lib/libleveldb.so
-- Foundatomic_ops:/usr/local/lib/libatomic_ops.a--/usr/local/lib/libatomic_ops.a
-- Found snappy:/usr/local/lib/libsnappy.so-- Found gperftools:
GPERFTOOLS_TCMALLOC_LIBRARY;GPERFTOOLS_TCMALLOC_MINIMAL_LIBRARY;GPERFTOOLS_PROFILER_LIBRARY
-- Found CURL:/usr/local/lib/libcurl.so(found version "7.53.1") --
Looking forcurl_multi_wait
-- Looking forcurl_multi_wait- found
-- Found PkgConfig:/usr/local/bin/pkg-config(found version "1.0.2") --
Checking for module 'nss'
-- Found nss, version 3.27.1
--NSS_LIBRARIES:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so --NSS_INCLUDE_DIRS:/usr/local/include/nss/nss
-- Found NSS:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so
-- Checking for module 'nspr'
-- Found nspr, version 4.13.1
-- Found NSPR:
/usr/local/lib/libplds4.so;/usr/local/lib/libplc4.so;/usr/local/lib/libnspr4.so
-- SSL with NSS selected (Libs:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so) -- Found EXPAT:/usr/local/lib/libexpat.so(found version "2.2.0") --
Found fcgi:/usr/local/lib/libfcgi.so-- Looking for openssl anyways,
because radosgw selected
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found
version "1.0.2k") -- ssl soname: libssl.so.8
-- crypto soname: libcrypto.so.8
-- Found PythonInterp:/usr/local/bin/python2.7(found suitable version
"2.7.13", minimum required is "2.7") -- Found PythonLibs:/usr/local/lib/libpython2.7.so(found suitable version "2.7.13", minimum
required is "2.7") -- Found ZLIB:/usr/lib/libz.so(found version
"1.2.11") CMake Error at/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find babeltrace (missing:BABELTRACE_INCLUDE_DIR
BABELTRACE_LIBRARY)
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
cmake/modules/Findbabeltrace.cmake:19 (find_package_handle_standard_args)
CMakeLists.txt:437 (find_package)-- Configuring incomplete, errors occurred!
See also "/home/jenkins/workspace/ceph-master/build/CMakeFiles/CMakeOutput.log". See also "/home/jenkins/workspace/ceph-master/build/CMakeFiles/CMakeError.log". Build step 'Execute shell' marked build as failure
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Regards Kefu Chai
Quoted 9 lines · kefu chai
Quoted 7 lines · Willem Jan Withagen
http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/634/console
Cmake fails on babletrace.
Uptill now babeltrace was optional, but if it is not really 100% required I'll look into it in 2 weeks after my vacation. Otherwise it would be nice if it was made optional again.
Quoted 5 lines
Willem, we fixed some FindXXX.cmake scripts in
https://github.com/ceph/ceph/pull/14951, that's why babel failed to be found in your environment, and cmake errored out if you don't disable it explicitly by passing-DHAVE_BABELTRACE=OFFto cmake. babeltrace support is always optional, but it's ON by default.
Hi Kefu,
Ah, that made me wonder. I looked at the code in ./CMakeLists.txt and it had been in there already for a long time. But missed the fix in the findXXX files. So I started wondering where the other switch was. BUt I understand that it was just "(bad)luck" on FreeBSD.
The suggested fix will work.
Like I said after the vacation I'll check to see what happens when I try binding with babeltrace.
--WjW
Quoted 213 lines
Quoted 210 lines
Thanx,
--WjW-------- Forwarded Message --------
Subject: Build failed in Jenkins: ceph-master #634
Date: Thu, 4 May 2017 20:04:40 +0200 (CEST)
From: [email protected]
Reply-To: [email protected]
To: [email protected]See
<http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/634/display/redirect?page=changes>+ cmake -D 'CMAKE_BUILD_TYPE=Debug' -D 'CMAKE_CXX_FLAGS_DEBUG= -O0 -g' -D 'CMAKE_C_FLAGS_DEBUG= -O0 -g' -D 'WITH_CCACHE=ON' -D 'ENABLE_GIT_VERSION=OFF' -D 'WITH_SYSTEM_BOOST=ON' -D 'WITH_LTTNG=OFF'
(quoted diff) +0
-2-D 'WITH_FUSE=ON' -D 'WITH_KRBD=OFF' -D 'WITH_XFS=OFF' -D 'WITH_KVS=OFF' -D 'WITH_EMBEDDED=OFF' -D 'WITH_MANPAGE=ON' -D 'WITH_LIBCEPHFS=OFF' -D'WITH_CEPHFS=OFF' -D 'WITH_RADOSGW=ON' -D 'WITH_MGR=YES' ..
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler:/usr/bin/cc
-- Check for working C compiler:/usr/bin/cc-- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler:/usr/bin/CC
-- Check for working CXX compiler:/usr/bin/CC-- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking forpthread.h
-- Looking forpthread.h- found
-- Looking forpthread_create
-- Looking forpthread_create- not found
-- Looking forpthread_createin pthreads
-- Looking forpthread_createin pthreads - not found
-- Looking forpthread_createin pthread
-- Looking forpthread_createin pthread - found
-- Found Threads: TRUE -- Building with ccache:/usr/local/bin/ccache,
CCACHE_DIR=
-- Looking for fallocate
-- Looking for fallocate - not found
-- Looking forposix_fadvise
-- Looking forposix_fadvise- found
-- Looking forposix_fallocate
-- Looking forposix_fallocate- found
-- Looking for syncfs
-- Looking for syncfs - not found
-- Looking forsync_file_range
-- Looking forsync_file_range- not found
-- Looking for pwritev
-- Looking for pwritev - found
-- Looking for splice
-- Looking for splice - not found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking forstrerror_r
-- Looking forstrerror_r- found
-- Looking forname_to_handle_at
-- Looking forname_to_handle_at- not found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking forpthread_spin_init
-- Looking forpthread_spin_init- found
-- Looking forpthread_set_name_np
-- Looking forpthread_set_name_np- found
-- Looking forpthread_setname_np
-- Looking forpthread_setname_np- not found
-- Looking forpthread_getname_np
-- Looking forpthread_getname_np- not found
-- Looking for eventfd
-- Looking for eventfd - not found
-- Looking for include fileinttypes.h
-- Looking for include fileinttypes.h- found
-- Looking for include filelinux/types.h
-- Looking for include filelinux/types.h- not found
-- Looking for include filelinux/version.h
-- Looking for include filelinux/version.h- not found
-- Looking for include filestdint.h
-- Looking for include filestdint.h- found
-- Looking for include filearpa/nameser_compat.h
-- Looking for include filearpa/nameser_compat.h- found
-- Looking for include filesys/mount.h
-- Looking for include filesys/mount.h- found
-- Looking for include filesys/param.h
-- Looking for include filesys/param.h- found
-- Looking for include filesys/types.h
-- Looking for include filesys/types.h- found
-- Looking for include filesys/vfs.h
-- Looking for include filesys/vfs.h- not found
-- Looking for include filesys/prctl.h
-- Looking for include filesys/prctl.h- not found
-- Looking for include fileexecinfo.h
-- Looking for include fileexecinfo.h- found
-- Looking for include filevalgrind/helgrind.h
-- Looking for include filevalgrind/helgrind.h- found
-- Looking forstddef.h
-- Looking forstddef.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 forres_nquery
-- Looking forres_nquery- not found
-- Looking forF_SETPIPE_SZ
-- Looking forF_SETPIPE_SZ- not found
-- Looking for__func__
-- Looking for__func__- found
-- Looking for__PRETTY_FUNCTION__
-- Looking for__PRETTY_FUNCTION__- found
-- Performing TestSTRERROR_R_CHAR_P
-- Performing TestSTRERROR_R_CHAR_P- Failed
-- Performing TestHAVE_STAT_ST_MTIM_TV_NSEC
-- Performing TestHAVE_STAT_ST_MTIM_TV_NSEC- Success
-- Performing TestHAVE_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing TestHAVE_STAT_ST_MTIMESPEC_TV_NSEC- Success
-- Not Found libibverbs: RDMA_LIBRARY-NOTFOUND
-- Could NOT find ibverbs (missing:RDMA_LIBRARIESRDMA_INCLUDE_DIR) --
Looking for backtrace
-- Looking for backtrace - not found
-- Found Backtrace:/usr/lib/libexecinfo.so-- Not using udev
-- Not using AIO
-- Not using BLKID
-- Found OpenLdap:/usr/local/include-- Found fuse:/usr/local/include/fuse-- Found leveldb:/usr/local/lib/libleveldb.so
-- Foundatomic_ops:/usr/local/lib/libatomic_ops.a--/usr/local/lib/libatomic_ops.a
-- Found snappy:/usr/local/lib/libsnappy.so-- Found gperftools:
GPERFTOOLS_TCMALLOC_LIBRARY;GPERFTOOLS_TCMALLOC_MINIMAL_LIBRARY;GPERFTOOLS_PROFILER_LIBRARY
-- Found CURL:/usr/local/lib/libcurl.so(found version "7.53.1") --
Looking forcurl_multi_wait
-- Looking forcurl_multi_wait- found
-- Found PkgConfig:/usr/local/bin/pkg-config(found version "1.0.2") --
Checking for module 'nss'
-- Found nss, version 3.27.1
--NSS_LIBRARIES:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so --NSS_INCLUDE_DIRS:/usr/local/include/nss/nss
-- Found NSS:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so
-- Checking for module 'nspr'
-- Found nspr, version 4.13.1
-- Found NSPR:
/usr/local/lib/libplds4.so;/usr/local/lib/libplc4.so;/usr/local/lib/libnspr4.so
-- SSL with NSS selected (Libs:
/usr/local/lib/nss/libssl3.so;/usr/local/lib/nss/libsmime3.so;/usr/local/lib/nss/libnss3.so;/usr/local/lib/nss/libnssutil3.so) -- Found EXPAT:/usr/local/lib/libexpat.so(found version "2.2.0") --
Found fcgi:/usr/local/lib/libfcgi.so-- Looking for openssl anyways,
because radosgw selected
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found
version "1.0.2k") -- ssl soname: libssl.so.8
-- crypto soname: libcrypto.so.8
-- Found PythonInterp:/usr/local/bin/python2.7(found suitable version
"2.7.13", minimum required is "2.7") -- Found PythonLibs:/usr/local/lib/libpython2.7.so(found suitable version "2.7.13", minimum
required is "2.7") -- Found ZLIB:/usr/lib/libz.so(found version
"1.2.11") CMake Error at/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find babeltrace (missing:BABELTRACE_INCLUDE_DIR
BABELTRACE_LIBRARY)
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
cmake/modules/Findbabeltrace.cmake:19 (find_package_handle_standard_args)
CMakeLists.txt:437 (find_package)-- Configuring incomplete, errors occurred!
See also "/home/jenkins/workspace/ceph-master/build/CMakeFiles/CMakeOutput.log". See also "/home/jenkins/workspace/ceph-master/build/CMakeFiles/CMakeError.log". Build step 'Execute shell' marked build as failure
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 16 lines · Willem Jan Withagen
Quoted 9 lines · kefu chai
Quoted 7 lines · Willem Jan Withagen
http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/634/console
Cmake fails on babletrace.
Uptill now babeltrace was optional, but if it is not really 100% required I'll look into it in 2 weeks after my vacation. Otherwise it would be nice if it was made optional again.Quoted 5 lines
Willem, we fixed some FindXXX.cmake scripts in
https://github.com/ceph/ceph/pull/14951, that's why babel failed to be found in your environment, and cmake errored out if you don't disable it explicitly by passing-DHAVE_BABELTRACE=OFFto cmake. babeltrace support is always optional, but it's ON by default.
Quoted 6 lines
Hi Kefu,
Ah, that made me wonder. I looked at the code in ./CMakeLists.txt and it had been in there already for a long time. But missed the fix in the findXXX files. So I started wondering where the other switch was. BUt I understand that it was just "(bad)luck" on FreeBSD.
actually, (bad)luck on any env without babeltrace installed and with the default cmake project settings.
Quoted 5 lines
The suggested fix will work.
Like I said after the vacation I'll check to see what happens when I try binding with babeltrace.
Signature · 2 lines
Regards Kefu Chai