Print

Print


Just got the error below when trying to compile v4.11.0 with XrdCeph with a setup that compiled v4.9.1 with XrdCeph just fine using:

cmake-2.8.12.2-2.el7.x86_64

The v4.11.0 build worked fine when I switched to:

cmake3-3.13.4-2.el7.x86_64

I didn't see anything explicitly mentioned deprecating older versions of CMake, and the README.md still states CMake 2.8.x works fine, so this may be an unintended regression.

Cheers,
Tom

+ umask 022
+ cd /home/bob/rpmbuild/BUILD
+ cd xrootd
+ cd xrootd
+ mkdir build
+ pushd build
~/rpmbuild/BUILD/xrootd/xrootd/build ~/rpmbuild/BUILD/xrootd/xrootd
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFORCE_WERROR=TRUE -DENABLE_TESTS=FALSE -DXRDCEPH_SUBMODULE=TRUE -DUSE_LIBC_SEMAPHORE=0 ../
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for setresuid
-- Looking for setresuid - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for fstatat
-- Looking for fstatat - found
-- Looking for sigwaitinfo
-- Looking for sigwaitinfo - found
-- Looking for shadow.h
-- Looking for shadow.h - found
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for getprotobyname_r
-- Looking for getprotobyname_r - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for sendfile
-- Looking for sendfile - found
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for et/com_err.h
-- Looking for et/com_err.h - found
-- Performing Test HAVE_ATOMICS
-- Performing Test HAVE_ATOMICS - Success
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Found libuuid: /usr/lib64/libuuid.so
-- Performing Test READLINE_OK
-- Performing Test READLINE_OK - Success
-- Found READLINE: /usr/lib64/libreadline.so
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
-- Found systemd: /usr/include
-- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0")
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- Looking for TLS_method
-- Looking for TLS_method - not found
-- Looking for TLS_method
-- Looking for TLS_method - not found
-- Looking for TLSv1_2_method
-- Looking for TLSv1_2_method - found
-- Looking for TLSv1_2_method
-- Looking for TLSv1_2_method - found
-- Looking for TLSv1_1_method
-- Looking for TLSv1_1_method - found
-- Looking for TLSv1_1_method
-- Looking for TLSv1_1_method - found
-- Looking for TLSv1_method
-- Looking for TLSv1_method - found
-- Looking for TLSv1_method
-- Looking for TLSv1_method - found
-- Looking for DH_compute_key_padded
-- Looking for DH_compute_key_padded - found
-- Looking for DH_compute_key_padded
-- Looking for DH_compute_key_padded - found
-- Found KERBEROS5: /usr/lib64/libkrb5.so;/usr/lib64/libcom_err.so
-- Found fuse: /usr/include
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found Macaroons: /usr/include
-- Found PkgConfig: /bin/pkg-config (found version "0.27.1")
-- checking for module 'json-c'
--   found json-c, version 0.11
-- checking for module 'uuid'
--   found uuid, version 2.23.0
-- Found PythonInterp: /bin/python2 (found suitable version "2.7.5", minimum required is "2.4")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.4")
[I] No git repository info found. Trying to interpret VERSION_INFO
-- Performing Test CURL_PIPELINING
-- Performing Test CURL_PIPELINING - Failed
-- Found xrootd: /home/bob/rpmbuild/BUILD/xrootd/xrootd/src
-- Found ceph: /usr/include
CMake Error at src/XrdCeph/src/CMakeLists.txt:7 (add_compile_definitions):
  Unknown CMake command "add_compile_definitions".


-- Configuring incomplete, errors occurred!
See also "/home/bob/rpmbuild/BUILD/xrootd/xrootd/build/CMakeFiles/CMakeOutput.log".
See also "/home/bob/rpmbuild/BUILD/xrootd/xrootd/build/CMakeFiles/CMakeError.log".
error: Bad exit status from /var/tmp/rpm-tmp.uRXm9e (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.uRXm9e (%build)
[bob@host-172-16-113-226 ~]$```


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1076?email_source=notifications\u0026email_token=AA7NRDQ77MUAEVZP7MXWR2LQRAKTJA5CNFSM4JGG5RJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HVAUKKQ", "url": "https://github.com/xrootd/xrootd/issues/1076?email_source=notifications\u0026email_token=AA7NRDQ77MUAEVZP7MXWR2LQRAKTJA5CNFSM4JGG5RJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HVAUKKQ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1