Repository: conan-io/conan-center-index

Issue:
cmake/3.18.4 build failure
### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **cmake/3.18.4**
  * Operating System+version: **Linux CentOS 7.5.1804**
  * Compiler+version: **GCC 8.3.1**
  * Docker image: **conanio/gcc8**
  * Conan version: **conan 1.31.0**
  * Python version: **Python 2.7.5**


### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
```
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=8.3
compiler.libcxx=libstdc++11
build_type=RelWithDebInfo
[options]
[build_requires]
[env]
CC=/opt/rh/devtoolset-8/root/usr/bin/gcc
CXX=/opt/rh/devtoolset-8/root/usr/bin/g++
CONAN_CMAKE_GENERATOR=Ninja
```


### Steps to reproduce (Include if Applicable)
$ cat conanfile.txt
[build_requires]
cmake/3.18.4
$ conan install . --build=missing

### Logs (Include/Attach if Applicable)
<details><summary>Click to expand log</summary>

```
$ conan install . --build=missing
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=RelWithDebInfo
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8.3
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
CC=/opt/rh/devtoolset-8/root/usr/bin/gcc
CONAN_CMAKE_GENERATOR=Ninja
CXX=/opt/rh/devtoolset-8/root/usr/bin/g++
cmake/3.18.4: WARN: Package binary is corrupted, removing: a959aa5d0f2c723fec52ed7c1424ad28487e8d7e
conanfile.txt: Installing package
Requirements
Packages
Build requirements
    cmake/3.18.4 from 'conan-center' - Cache
    openssl/1.1.1h from 'conan-center' - Cache
Build requirements packages
    cmake/3.18.4:a959aa5d0f2c723fec52ed7c1424ad28487e8d7e - Build
    openssl/1.1.1h:bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f - Cache

Installing (downloading, building) binaries...
openssl/1.1.1h: Already installed!
cmake/3.18.4: WARN: Build folder is dirty, removing it: /home/garyn/.conan/data/cmake/3.18.4/_/_/build/a959aa5d0f2c723fec52ed7c1424ad28487e8d7e
cmake/3.18.4: Copying sources to build folder
cmake/3.18.4: Building your package in /home/garyn/.conan/data/cmake/3.18.4/_/_/build/a959aa5d0f2c723fec52ed7c1424ad28487e8d7e
cmake/3.18.4: Generator cmake created conanbuildinfo.cmake
cmake/3.18.4: Calling build()
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/gcc
-- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/gcc -- 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: /opt/rh/devtoolset-8/root/usr/bin/g++
-- Check for working CXX compiler: /opt/rh/devtoolset-8/root/usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: Compiler GCC>=5, checking major version 8.3
-- Conan: Checking correct version: 8.3
-- Conan: C++ stdlib: libstdc++11
-- Checking if compiler supports C11 _Thread_local
-- Checking if compiler supports C11 _Thread_local - yes
-- Checking if compiler supports C++ make_unique
-- Checking if compiler supports C++ make_unique - no
-- Checking if compiler supports C++ unique_ptr
-- Checking if compiler supports C++ unique_ptr - yes
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for environ
-- Looking for environ - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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
-- Checking whether wstring is available
-- Checking whether wstring is available - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
-- Checking whether C compiler has clock_gettime
-- Checking whether C compiler has clock_gettime - yes
-- Checking whether CXX compiler has setenv
-- Checking whether CXX compiler has setenv - yes
-- Checking whether CXX compiler has unsetenv
-- Checking whether CXX compiler has unsetenv - yes
-- Checking whether CXX compiler has environ in stdlib.h
-- Checking whether CXX compiler has environ in stdlib.h - no
-- Checking whether CXX compiler has utimes
-- Checking whether CXX compiler has utimes - yes
-- Checking whether CXX compiler has utimensat
-- Checking whether CXX compiler has utimensat - yes
-- Checking whether CXX compiler struct stat has st_mtim member
-- Checking whether CXX compiler struct stat has st_mtim member - yes
-- Checking whether CXX compiler struct stat has st_mtimespec member
-- Checking whether CXX compiler struct stat has st_mtimespec member - no
-- Looking for include files sys/types.h, ifaddrs.h
-- Looking for include files sys/types.h, ifaddrs.h - found
-- Checking whether CXX compiler has rlimit64
-- Checking whether CXX compiler has rlimit64 - yes
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Checking whether backtrace works with this C++ compiler
-- Checking whether backtrace works with this C++ compiler - yes
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Checking whether dladdr works with this C++ compiler
-- Checking whether dladdr works with this C++ compiler - yes
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Checking whether cxxabi works with this C++ compiler
-- Checking whether cxxabi works with this C++ compiler - yes
-- Checking whether CXX compiler has getloadavg
-- Checking whether CXX compiler has getloadavg - yes
-- Checking whether <ext/stdio_filebuf.h> is available
-- Checking whether <ext/stdio_filebuf.h> is available - yes
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_ADDR
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_ADDR - Success
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Success
-- Looking for connect in socket;dl
-- Looking for connect in socket;dl - not found
-- Looking for gethostbyname in c
-- Looking for gethostbyname in c - found
-- Looking for recv in network;dl
-- Looking for recv in network;dl - not found
-- Looking for gethostname
-- Looking for gethostname - found
-- Found OpenSSL: /home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libcrypto.a (found version "1.1.1h")
-- Looking for openssl/crypto.h
-- Looking for openssl/crypto.h - found
-- Looking for openssl/err.h
-- Looking for openssl/err.h - found
-- Looking for openssl/pem.h
-- Looking for openssl/pem.h - found
-- Looking for openssl/rsa.h
-- Looking for openssl/rsa.h - found
-- Looking for openssl/ssl.h
-- Looking for openssl/ssl.h - found
-- Looking for openssl/x509.h
-- Looking for openssl/x509.h - found
-- Looking for openssl/rand.h
-- Looking for openssl/rand.h - found
-- Looking for RAND_status
-- Looking for RAND_status - not found
-- Looking for RAND_screen
-- Looking for RAND_screen - not found
-- Looking for RAND_egd
-- Looking for RAND_egd - not found
-- Found NGHTTP2: cmnghttp2
-- Looking for idn2_lookup_ul in idn2;dl;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libssl.a;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libcrypto.a;-ldl;-lpthread;cmnghttp2
-- Looking for idn2_lookup_ul in idn2;dl;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libssl.a;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libcrypto.a;-ldl;-lpthread;cmnghttp2 - not found
-- Looking for dlopen in dl;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libssl.a;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libcrypto.a;-ldl;-lpthread;cmnghttp2
-- Looking for dlopen in dl;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libssl.a;/home/garyn/.conan/data/openssl/1.1.1h/_/_/package/bf8aee468b0ed9dae1b33155a0cf1c1886dfd80f/lib/libcrypto.a;-ldl;-lpthread;cmnghttp2 - not found
-- Looking for include files stdio.h, inttypes.h
-- Looking for include files stdio.h, inttypes.h - found
-- Looking for 3 include files stdio.h, ..., sys/filio.h
-- Looking for 3 include files stdio.h, ..., sys/filio.h - not found
-- Looking for 3 include files stdio.h, ..., sys/ioctl.h
-- Looking for 3 include files stdio.h, ..., sys/ioctl.h - found
-- Looking for 4 include files stdio.h, ..., sys/param.h
-- Looking for 4 include files stdio.h, ..., sys/param.h - found
-- Looking for 5 include files stdio.h, ..., sys/poll.h
-- Looking for 5 include files stdio.h, ..., sys/poll.h - found
-- Looking for 6 include files stdio.h, ..., sys/resource.h
-- Looking for 6 include files stdio.h, ..., sys/resource.h - found
-- Looking for 7 include files stdio.h, ..., sys/select.h
-- Looking for 7 include files stdio.h, ..., sys/select.h - found
-- Looking for 8 include files stdio.h, ..., sys/socket.h
-- Looking for 8 include files stdio.h, ..., sys/socket.h - found
-- Looking for 9 include files stdio.h, ..., sys/sockio.h
-- Looking for 9 include files stdio.h, ..., sys/sockio.h - not found
-- Looking for 9 include files stdio.h, ..., sys/stat.h
-- Looking for 9 include files stdio.h, ..., sys/stat.h - found
-- Looking for 10 include files stdio.h, ..., sys/time.h
-- Looking for 10 include files stdio.h, ..., sys/time.h - found
-- Looking for 11 include files stdio.h, ..., sys/types.h
-- Looking for 11 include files stdio.h, ..., sys/types.h - found
-- Looking for 12 include files stdio.h, ..., sys/uio.h
-- Looking for 12 include files stdio.h, ..., sys/uio.h - found
-- Looking for 13 include files stdio.h, ..., sys/un.h
-- Looking for 13 include files stdio.h, ..., sys/un.h - found
-- Looking for 14 include files stdio.h, ..., sys/utime.h
-- Looking for 14 include files stdio.h, ..., sys/utime.h - not found
-- Looking for 14 include files stdio.h, ..., sys/xattr.h
-- Looking for 14 include files stdio.h, ..., sys/xattr.h - found
-- Looking for 15 include files stdio.h, ..., alloca.h
-- Looking for 15 include files stdio.h, ..., alloca.h - found
-- Looking for 16 include files stdio.h, ..., arpa/inet.h
-- Looking for 16 include files stdio.h, ..., arpa/inet.h - found
-- Looking for 17 include files stdio.h, ..., arpa/tftp.h
-- Looking for 17 include files stdio.h, ..., arpa/tftp.h - found
-- Looking for 19 include files stdio.h, ..., crypto.h
-- Looking for 19 include files stdio.h, ..., crypto.h - not found
-- Looking for 19 include files stdio.h, ..., err.h
-- Looking for 19 include files stdio.h, ..., err.h - found
-- Looking for 20 include files stdio.h, ..., errno.h
-- Looking for 20 include files stdio.h, ..., errno.h - found
-- Looking for 21 include files stdio.h, ..., fcntl.h
-- Looking for 21 include files stdio.h, ..., fcntl.h - found
-- Looking for 22 include files stdio.h, ..., idn2.h
-- Looking for 22 include files stdio.h, ..., idn2.h - not found
-- Looking for 22 include files stdio.h, ..., ifaddrs.h
-- Looking for 22 include files stdio.h, ..., ifaddrs.h - found
-- Looking for 23 include files stdio.h, ..., io.h
-- Looking for 23 include files stdio.h, ..., io.h - not found
-- Looking for 23 include files stdio.h, ..., krb.h
-- Looking for 23 include files stdio.h, ..., krb.h - not found
-- Looking for 23 include files stdio.h, ..., libgen.h
-- Looking for 23 include files stdio.h, ..., libgen.h - found
-- Looking for 25 include files stdio.h, ..., net/if.h
-- Looking for 25 include files stdio.h, ..., net/if.h - found
-- Looking for 26 include files stdio.h, ..., netdb.h
-- Looking for 26 include files stdio.h, ..., netdb.h - found
-- Looking for 27 include files stdio.h, ..., netinet/in.h
-- Looking for 27 include files stdio.h, ..., netinet/in.h - found
-- Looking for 28 include files stdio.h, ..., netinet/tcp.h
-- Looking for 28 include files stdio.h, ..., netinet/tcp.h - found
-- Looking for 29 include files stdio.h, ..., pem.h
-- Looking for 29 include files stdio.h, ..., pem.h - not found
-- Looking for 29 include files stdio.h, ..., poll.h
-- Looking for 29 include files stdio.h, ..., poll.h - found
-- Looking for 30 include files stdio.h, ..., pwd.h
-- Looking for 30 include files stdio.h, ..., pwd.h - found
-- Looking for 31 include files stdio.h, ..., rsa.h
-- Looking for 31 include files stdio.h, ..., rsa.h - not found
-- Looking for 31 include files stdio.h, ..., setjmp.h
-- Looking for 31 include files stdio.h, ..., setjmp.h - found
-- Looking for 32 include files stdio.h, ..., sgtty.h
-- Looking for 32 include files stdio.h, ..., sgtty.h - found
-- Looking for 33 include files stdio.h, ..., signal.h
-- Looking for 33 include files stdio.h, ..., signal.h - found
-- Looking for 34 include files stdio.h, ..., ssl.h
-- Looking for 34 include files stdio.h, ..., ssl.h - not found
-- Looking for 34 include files stdio.h, ..., stdbool.h
-- Looking for 34 include files stdio.h, ..., stdbool.h - found
-- Looking for 35 include files stdio.h, ..., stdint.h
-- Looking for 35 include files stdio.h, ..., stdint.h - found
-- Looking for 39 include files stdio.h, ..., strings.h
-- Looking for 39 include files stdio.h, ..., strings.h - found
-- Looking for 40 include files stdio.h, ..., stropts.h
-- Looking for 40 include files stdio.h, ..., stropts.h - not found
-- Looking for 40 include files stdio.h, ..., termio.h
-- Looking for 40 include files stdio.h, ..., termio.h - found
-- Looking for 41 include files stdio.h, ..., termios.h
-- Looking for 41 include files stdio.h, ..., termios.h - found
-- Looking for 42 include files stdio.h, ..., time.h
-- Looking for 42 include files stdio.h, ..., time.h - found
-- Looking for 43 include files stdio.h, ..., unistd.h
-- Looking for 43 include files stdio.h, ..., unistd.h - found
-- Looking for 44 include files stdio.h, ..., utime.h
-- Looking for 44 include files stdio.h, ..., utime.h - found
-- Looking for 45 include files stdio.h, ..., x509.h
-- Looking for 45 include files stdio.h, ..., x509.h - not found
-- Looking for 45 include files stdio.h, ..., process.h
-- Looking for 45 include files stdio.h, ..., process.h - not found
-- Looking for 46 include files stdio.h, ..., dlfcn.h
-- Looking for 46 include files stdio.h, ..., dlfcn.h - found
-- Looking for 47 include files stdio.h, ..., malloc.h
-- Looking for 47 include files stdio.h, ..., malloc.h - found
-- Looking for 48 include files stdio.h, ..., memory.h
-- Looking for 48 include files stdio.h, ..., memory.h - found
-- Looking for 49 include files stdio.h, ..., netinet/if_ether.h
-- Looking for 49 include files stdio.h, ..., netinet/if_ether.h - found
-- Looking for 51 include files stdio.h, ..., sockio.h
-- Looking for 51 include files stdio.h, ..., sockio.h - not found
-- Looking for 51 include files stdio.h, ..., sys/utsname.h
-- Looking for 51 include files stdio.h, ..., sys/utsname.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of time_t
-- Check size of time_t - done
-- Looking for basename
-- Looking for basename - found
-- Looking for socket
-- Looking for socket - found
-- Looking for select
-- Looking for select - found
-- Looking for poll
-- Looking for poll - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for uname
-- Looking for uname - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strcmpi
-- Looking for strcmpi - not found
-- Looking for strncmpi
-- Looking for strncmpi - not found
-- Looking for alarm
-- Looking for alarm - found
-- Looking for gethostbyaddr
-- Looking for gethostbyaddr - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for inet_addr
-- Looking for inet_addr - found
-- Looking for inet_ntoa
-- Looking for inet_ntoa - found
-- Looking for inet_ntoa_r
-- Looking for inet_ntoa_r - not found
-- Looking for tcsetattr
-- Looking for tcsetattr - found
-- Looking for tcgetattr
-- Looking for tcgetattr - found
-- Looking for perror
-- Looking for perror - found
-- Looking for closesocket
-- Looking for closesocket - not found
-- Looking for setvbuf
-- Looking for setvbuf - found
-- Looking for sigsetjmp
-- Looking for sigsetjmp - found
-- Looking for getpass_r
-- Looking for getpass_r - not found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - found
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for utime
-- Looking for utime - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for signal
-- Looking for signal - found
-- Looking for SIGALRM
-- Looking for SIGALRM - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for siginterrupt
-- Looking for siginterrupt - found
-- Looking for fork
-- Looking for fork - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for freeaddrinfo
-- Looking for freeaddrinfo - found
-- Looking for freeifaddrs
-- Looking for freeifaddrs - found
-- Looking for pipe
-- Looking for pipe - found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for getprotobyname
-- Looking for getprotobyname - found
-- Looking for getpeername
-- Looking for getpeername - found
-- Looking for getsockname
-- Looking for getsockname - found
-- Looking for if_nametoindex
-- Looking for if_nametoindex - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for setmode
-- Looking for setmode - not found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for ioctl
-- Looking for ioctl - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for mach_absolute_time
-- Looking for mach_absolute_time - not found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for fsetxattr
-- Looking for fsetxattr - found
-- Performing Curl Test HAVE_FSETXATTR_5
-- Performing Curl Test HAVE_FSETXATTR_5 - Success
-- Performing Curl Test HAVE_FSETXATTR_6
-- Performing Curl Test HAVE_FSETXATTR_6 - Failed
-- Looking for sigaction
-- Looking for sigaction - found
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Success
-- Performing Curl Test HAVE_IOCTLSOCKET
-- Performing Curl Test HAVE_IOCTLSOCKET - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTL_FIONBIO
-- Performing Curl Test HAVE_IOCTL_FIONBIO - Success
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Success
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed
-- Performing Curl Test TIME_WITH_SYS_TIME
-- Performing Curl Test TIME_WITH_SYS_TIME - Success
-- Performing Curl Test HAVE_O_NONBLOCK
-- Performing Curl Test HAVE_O_NONBLOCK - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5 - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7 - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8 - Success
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT - Success
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3 - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5 - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6 - Success
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT - Success
-- Performing Curl Test HAVE_IN_ADDR_T
-- Performing Curl Test HAVE_IN_ADDR_T - Success
-- Performing Curl Test HAVE_BOOL_T
-- Performing Curl Test HAVE_BOOL_T - Success
-- Performing Curl Test STDC_HEADERS
-- Performing Curl Test STDC_HEADERS - Success
-- Performing Curl Test RETSIGTYPE_TEST
-- Performing Curl Test RETSIGTYPE_TEST - Success
-- Performing Curl Test HAVE_INET_NTOA_R_DECL
-- Performing Curl Test HAVE_INET_NTOA_R_DECL - Failed
-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT
-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT - Failed
-- Performing Curl Test HAVE_FILE_OFFSET_BITS
-- Performing Curl Test HAVE_FILE_OFFSET_BITS - Success
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99 - Success
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC - Success
-- Check size of off_t
-- Check size of off_t - done
-- Check size of curl_off_t
-- Check size of curl_off_t - done
-- Performing Curl Test HAVE_GLIBC_STRERROR_R
-- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed
-- Performing Curl Test HAVE_POSIX_STRERROR_R
-- Performing Curl Test HAVE_POSIX_STRERROR_R - Success
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC - Success
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE - Failed
-- Performing Test HAVE_MSG_NOSIGNAL
-- Performing Test HAVE_MSG_NOSIGNAL - Success
-- Performing Test HAVE_STRUCT_TIMEVAL
-- Performing Test HAVE_STRUCT_TIMEVAL - Success
-- Check size of sig_atomic_t
-- Check size of sig_atomic_t - done
-- Performing Test HAVE_SIG_ATOMIC_T_NOT_VOLATILE
-- Performing Test HAVE_SIG_ATOMIC_T_NOT_VOLATILE - Success
-- Check size of struct sockaddr_storage
-- Check size of struct sockaddr_storage - done
-- Performing Test HAVE_POLL_FINE
-- Performing Test HAVE_POLL_FINE - Success
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for getrandom
-- Looking for getrandom - not found
-- Looking for arc4random_buf
-- Looking for arc4random_buf - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_SYSCALL_GETRANDOM
-- Performing Test HAVE_SYSCALL_GETRANDOM - Success
-- Looking for byteswap.h
-- Looking for byteswap.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for sys/sysctl.h
-- Looking for sys/sysctl.h - found
-- Performing Test HAVE_BSWAP_16
-- Performing Test HAVE_BSWAP_16 - Success
-- Performing Test HAVE_BSWAP_32
-- Performing Test HAVE_BSWAP_32 - Success
-- Performing Test HAVE_BSWAP_64
-- Performing Test HAVE_BSWAP_64 - Success
-- Found ZLIB: cmzlib
-- Found BZip2: cmbzip2 (found version "1.0.8")
-- Found LibLZMA: cmliblzma (found version "5.2.4")
-- Performing Test HAVE_DIRENT_H
-- Performing Test HAVE_DIRENT_H - Success
-- Looking for 3 include files sys/types.h, ..., copyfile.h
-- Looking for 3 include files sys/types.h, ..., copyfile.h - not found
-- Looking for 3 include files sys/types.h, ..., direct.h
-- Looking for 3 include files sys/types.h, ..., direct.h - not found
-- Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h
-- Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h - not found
-- Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS
-- Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS - Failed
-- Looking for 6 include files sys/types.h, ..., grp.h
-- Looking for 6 include files sys/types.h, ..., grp.h - found
-- Looking for 7 include files sys/types.h, ..., langinfo.h
-- Looking for 7 include files sys/types.h, ..., langinfo.h - found
-- Looking for 9 include files sys/types.h, ..., linux/types.h
-- Looking for 9 include files sys/types.h, ..., linux/types.h - found
-- Looking for 10 include files sys/types.h, ..., linux/fiemap.h
-- Looking for 10 include files sys/types.h, ..., linux/fiemap.h - found
-- Looking for 11 include files sys/types.h, ..., linux/fs.h
-- Looking for 11 include files sys/types.h, ..., linux/fs.h - found
-- Performing Test HAVE_WORKING_FS_IOC_GETFLAGS
-- Performing Test HAVE_WORKING_FS_IOC_GETFLAGS - Success
-- Looking for 12 include files sys/types.h, ..., linux/magic.h
-- Looking for 12 include files sys/types.h, ..., linux/magic.h - found
-- Looking for 14 include files sys/types.h, ..., membership.h
-- Looking for 14 include files sys/types.h, ..., membership.h - not found
-- Looking for 15 include files sys/types.h, ..., paths.h
-- Looking for 15 include files sys/types.h, ..., paths.h - found
-- Looking for 17 include files sys/types.h, ..., pthread.h
-- Looking for 17 include files sys/types.h, ..., pthread.h - found
-- Looking for 19 include files sys/types.h, ..., readpassphrase.h
-- Looking for 19 include files sys/types.h, ..., readpassphrase.h - not found
-- Looking for 19 include files sys/types.h, ..., regex.h
-- Looking for 19 include files sys/types.h, ..., regex.h - found
-- Looking for 21 include files sys/types.h, ..., spawn.h
-- Looking for 21 include files sys/types.h, ..., spawn.h - found
-- Looking for 22 include files sys/types.h, ..., stdarg.h
-- Looking for 22 include files sys/types.h, ..., stdarg.h - found
-- Looking for 26 include files sys/types.h, ..., sys/acl.h
-- Looking for 26 include files sys/types.h, ..., sys/acl.h - not found
-- Looking for 26 include files sys/types.h, ..., sys/cdefs.h
-- Looking for 26 include files sys/types.h, ..., sys/cdefs.h - found
-- Looking for 27 include files sys/types.h, ..., sys/extattr.h
-- Looking for 27 include files sys/types.h, ..., sys/extattr.h - not found
-- Looking for 28 include files sys/types.h, ..., sys/mkdev.h
-- Looking for 28 include files sys/types.h, ..., sys/mkdev.h - not found
-- Looking for 28 include files sys/types.h, ..., sys/mount.h
-- Looking for 28 include files sys/types.h, ..., sys/mount.h - not found
-- Looking for 30 include files sys/types.h, ..., sys/richacl.h
-- Looking for 30 include files sys/types.h, ..., sys/richacl.h - not found
-- Looking for 32 include files sys/types.h, ..., sys/statfs.h
-- Looking for 32 include files sys/types.h, ..., sys/statfs.h - found
-- Looking for 33 include files sys/types.h, ..., sys/statvfs.h
-- Looking for 33 include files sys/types.h, ..., sys/statvfs.h - found
-- Looking for 34 include files sys/types.h, ..., sys/sysmacros.h
-- Looking for 34 include files sys/types.h, ..., sys/sysmacros.h - found
-- Looking for 37 include files sys/types.h, ..., sys/vfs.h
-- Looking for 37 include files sys/types.h, ..., sys/vfs.h - found
-- Looking for 38 include files sys/types.h, ..., sys/wait.h
-- Looking for 38 include files sys/types.h, ..., sys/wait.h - found
-- Looking for 44 include files sys/types.h, ..., wctype.h
-- Looking for 44 include files sys/types.h, ..., wctype.h - found
-- Looking for 45 include files sys/types.h, ..., windows.h
-- Looking for 45 include files sys/types.h, ..., windows.h - not found
-- Looking for 45 include files sys/types.h, ..., wincrypt.h
-- Looking for 45 include files sys/types.h, ..., wincrypt.h - not found
-- Looking for 45 include files sys/types.h, ..., winioctl.h
-- Looking for 45 include files sys/types.h, ..., winioctl.h - not found
-- Performing Test SAFE_TO_DEFINE_EXTENSIONS
-- Performing Test SAFE_TO_DEFINE_EXTENSIONS - Success
-- Looking for chown
-- Looking for chown - found
-- Looking for chroot
-- Looking for chroot - found
-- Looking for ctime_r
-- Looking for ctime_r - found
-- Looking for fchdir
-- Looking for fchdir - found
-- Looking for fchmod
-- Looking for fchmod - found
-- Looking for fchown
-- Looking for fchown - found
-- Looking for fdopendir
-- Looking for fdopendir - found
-- Looking for fstat
-- Looking for fstat - found
-- Looking for fstatat
-- Looking for fstatat - found
-- Looking for fstatfs
-- Looking for fstatfs - found
-- Looking for fstatvfs
-- Looking for fstatvfs - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for futimesat
-- Looking for futimesat - found
-- Looking for getgrgid_r
-- Looking for getgrgid_r - found
-- Looking for getgrnam_r
-- Looking for getgrnam_r - found
-- Looking for getpwnam_r
-- Looking for getpwnam_r - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for getvfsbyname
-- Looking for getvfsbyname - not found
-- Looking for lchflags
-- Looking for lchflags - not found
-- Looking for lchown
-- Looking for lchown - found
-- Looking for link
-- Looking for link - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for lutimes
-- Looking for lutimes - found
-- Looking for mbrtowc
-- Looking for mbrtowc - found
-- Looking for mkdir
-- Looking for mkdir - found
-- Looking for mkfifo
-- Looking for mkfifo - found
-- Looking for mknod
-- Looking for mknod - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for nl_langinfo
-- Looking for nl_langinfo - found
-- Looking for openat
-- Looking for openat - found
-- Looking for posix_spawnp
-- Looking for posix_spawnp - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for readpassphrase
-- Looking for readpassphrase - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for statfs
-- Looking for statfs - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strncpy_s
-- Looking for strncpy_s - not found
-- Looking for symlink
-- Looking for symlink - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for tzset
-- Looking for tzset - found
-- Looking for unlinkat
-- Looking for unlinkat - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for utimensat
-- Looking for utimensat - found
-- Looking for vfork
-- Looking for vfork - found
-- Looking for wcrtomb
-- Looking for wcrtomb - found
-- Looking for wcscmp
-- Looking for wcscmp - found
-- Looking for wcscpy
-- Looking for wcscpy - found
-- Looking for wcslen
-- Looking for wcslen - found
-- Looking for wctomb
-- Looking for wctomb - found
-- Looking for _ctime64_s
-- Looking for _ctime64_s - not found
-- Looking for _fseeki64
-- Looking for _fseeki64 - not found
-- Looking for _get_timezone
-- Looking for _get_timezone - not found
-- Looking for _gmtime64_s
-- Looking for _gmtime64_s - not found
-- Looking for _localtime64_s
-- Looking for _localtime64_s - not found
-- Looking for _mkgmtime64
-- Looking for _mkgmtime64 - not found
-- Looking for cygwin_conv_path
-- Looking for cygwin_conv_path - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for vprintf
-- Looking for vprintf - found
-- Looking for wmemcmp
-- Looking for wmemcmp - found
-- Looking for wmemcpy
-- Looking for wmemcpy - found
-- Looking for wmemmove
-- Looking for wmemmove - found
-- Performing Test HAVE_STRUCT_VFSCONF
-- Performing Test HAVE_STRUCT_VFSCONF - Failed
-- Performing Test HAVE_STRUCT_XVFSCONF
-- Performing Test HAVE_STRUCT_XVFSCONF - Failed
-- Performing Test HAVE_READDIR_R
-- Performing Test HAVE_READDIR_R - Success
-- Performing Test HAVE_DIRFD
-- Performing Test HAVE_DIRFD - Success
-- Performing Test HAVE_READLINKAT
-- Performing Test HAVE_READLINKAT - Success
-- Performing Test MAJOR_IN_MKDEV
-- Performing Test MAJOR_IN_MKDEV - Failed
-- Performing Test MAJOR_IN_SYSMACROS
-- Performing Test MAJOR_IN_SYSMACROS - Success
-- Performing Test HAVE_LZMA_STREAM_ENCODER_MT
-- Performing Test HAVE_LZMA_STREAM_ENCODER_MT - Failed
-- Looking for EFTYPE
-- Looking for EFTYPE - not found
-- Looking for EILSEQ
-- Looking for EILSEQ - found
-- Looking for D_MD_ORDER
-- Looking for D_MD_ORDER - not found
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success
-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF - Failed
-- Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX
-- Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME
-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Success
-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS
-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS - Failed
-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE
-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE - Failed
-- Check size of dev_t
-- Check size of dev_t - done
-- Check size of gid_t
-- Check size of gid_t - done
-- Check size of id_t
-- Check size of id_t - done
-- Check size of mode_t
-- Check size of mode_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of uid_t
-- Check size of uid_t - done
-- Check size of pid_t
-- Check size of pid_t - done
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - not needed
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_MD5_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_RMD160_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA1_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA256_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA384_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_OPENSSL
-- Checking support for ARCHIVE_CRYPTO_SHA512_OPENSSL -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD -- not found
-- Checking for curses support
-- Checking for curses support - Success
-- Looking for wsyncup in /usr/lib64/libcurses.so
-- Looking for wsyncup in /usr/lib64/libcurses.so - found
-- Looking for cbreak in /usr/lib64/libncurses.so
-- Looking for cbreak in /usr/lib64/libncurses.so - found
-- Found Curses: /usr/lib64/libncurses.so
-- Looking for elf.h
-- Looking for elf.h - found
-- Looking for use_default_colors
-- Looking for use_default_colors - found
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - NOTFOUND
-- Looking for a Swift compiler
-- Looking for a Swift compiler -
-- Performing Test run_pic_test
-- Performing Test run_pic_test - Success
-- Performing Test run_inlines_hidden_test
-- Performing Test run_inlines_hidden_test - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DATAROOTDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR


-- Build files have been written to: /home/garyn/.conan/data/cmake/3.18.4/_/_/build/a959aa5d0f2c723fec52ed7c1424ad28487e8d7e
ninja: error: build.ninja:14179: multiple rules generate bin/purify [-w dupbuild=err]

cmake/3.18.4:
cmake/3.18.4: ERROR: Package 'a959aa5d0f2c723fec52ed7c1424ad28487e8d7e' build failed
cmake/3.18.4: WARN: Build folder /home/garyn/.conan/data/cmake/3.18.4/_/_/build/a959aa5d0f2c723fec52ed7c1424ad28487e8d7e
ERROR: cmake/3.18.4: Error in build() method, line 95
        cmake.build()
        ConanException: Error 1 while executing cmake --build '/home/garyn/.conan/data/cmake/3.18.4/_/_/build/a959aa5d0f2c723fec52ed7c1424ad28487e8d7e' '--' '-j3'


```

</details>



Discussion:
cmake does not build with [`CONAN_CMAKE_GNERATOR`](https://docs.conan.io/en/latest/reference/env_vars.html#conan-cmake-generator) set to `Ninja`.
Looks like this generator is not supported.
The recipe should override the generator to something else.
~Please open an issue at https://gitlab.kitware.com/cmake/cmake/-/issues for the underlying issue (unable to build cmake with ninja).~
**The issue is the injection of `conanbuildinfo.cmake`.**

For conan, the easiest fix is to not build with ninja.
Can you test the following patch?
```patch
--- recipes/cmake/3.x.x/conanfile.py
+++ recipes/cmake/3.x.x/conanfile.py
@@ -69,9 +69,20 @@
         extracted_dir = self.name + "-" + self.version
         os.rename(extracted_dir, self._source_subfolder)
 
+    @property
+    def _cmake_generator(self):
+        generator = tools.get_env("CONAN_CMAKE_GENERATOR")
+        if not generator:
+            return None
+        if generator == "Ninja":
+            # CMake does not support the Ninja generator
+            with tools.environment_append({"CONAN_CMAKE_GENERATOR": None}):
+                generator = CMake(self).generator
+        return generator
+
     def _configure_cmake(self):
         if not self._cmake:
-            self._cmake = CMake(self)
+            self._cmake = CMake(self, generator=self._cmake_generator)
             if not self.settings.compiler.cppstd:
                 self._cmake.definitions["CMAKE_CXX_STANDARD"] = 11
             self._cmake.definitions["CMAKE_BOOTSTRAP"] = False
```
I looked in this further, and the offending lines are the injection of `conanbuildinfo.cmake`, generated by the `cmake` generator.

When not adding:
```cmake
include(conanbuildinfo.cmake)
conan_basic_setup()
```
CMake builds fine with ninja

Resolving patch:
diff --git a/recipes/cmake/3.x.x/conanfile.py b/recipes/cmake/3.x.x/conanfile.py
--- a/recipes/cmake/3.x.x/conanfile.py
+++ b/recipes/cmake/3.x.x/conanfile.py
@@ -85,12 +85,12 @@ def _configure_cmake(self):
     def build(self):
         tools.replace_in_file(os.path.join(self._source_subfolder, "CMakeLists.txt"),
                               "project(CMake)",
-                              "project(CMake)\ninclude(\"{}/conanbuildinfo.cmake\")\nconan_basic_setup()".format(
-                                  self.build_folder.replace("\\", "/")))
+                              "project(CMake)\ninclude(\"{}/conanbuildinfo.cmake\")\nconan_basic_setup(NO_OUTPUT_DIRS)".format(
+                                  self.install_folder.replace("\\", "/")))
         if self.settings.os == "Linux":
             tools.replace_in_file(os.path.join(self._source_subfolder, "Utilities", "cmcurl", "CMakeLists.txt"),
                                   "list(APPEND CURL_LIBS ${OPENSSL_LIBRARIES})",
-                                  "list(APPEND CURL_LIBS ${OPENSSL_LIBRARIES} -ldl -lpthread)")
+                                  "list(APPEND CURL_LIBS ${OPENSSL_LIBRARIES} ${CMAKE_DL_LIBS} pthread)")
         cmake = self._configure_cmake()
         cmake.build()
 


Test patch: