Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_929_8_0_1/.conan/profiles/default) Found apple-clang 9.1 Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=9.1 compiler.libcxx=libc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_929_8_0_1/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 5.1787109375 KB [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: CMakeLists.txt [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK Exporting package recipe libcoap/20200424 exports: File 'conandata.yml' found. Exporting it... libcoap/20200424 exports: Copied 1 '.yml' file: conandata.yml libcoap/20200424 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20200424': {'sha256': '8402bf2dd9979d6d5f823a050cd3533619fe9b21e76be8c69a9b7d8b8ea175ab', 'url': 'https://github.com/obgm/libcoap/archive/17957e1e687c2218b7752a8a959eac36dbf5cb62.zip'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: '20200424': sha256: 8402bf2dd9979d6d5f823a050cd3533619fe9b21e76be8c69a9b7d8b8ea175ab url: https://github.com/obgm/libcoap/archive/17957e1e687c2218b7752a8a959eac36dbf5cb62.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK libcoap/20200424: A new conanfile.py version was exported libcoap/20200424: Folder: /tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/export libcoap/20200424: Using the exported files summary hash as the recipe revision: aaa161caa163d83ae48ed63d513afe66 libcoap/20200424: Exported revision: aaa161caa163d83ae48ed63d513afe66 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=9.1 os=Macos os_build=Macos [options] libcoap:shared=True [build_requires] [env] openssl/1.1.1d: Not found in local cache, looking in remotes... openssl/1.1.1d: Trying with 'c3i_PR-929_47f678f2f282704d4a40eb15322fbde9631612bb'... openssl/1.1.1d: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1d: Downloaded recipe revision 7b6e8e0a4e32b2820206d43f8f766059 libcoap/20200424: Forced build from source libcoap/20200424 (test package): Installing package Requirements libcoap/20200424 from local cache - Cache openssl/1.1.1d from 'central' - Downloaded Packages libcoap/20200424:61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec - Build openssl/1.1.1d:4f892a0d0107b794d837128fbfc6812497252e9f - Download Installing (downloading, building) binaries... openssl/1.1.1d: Retrieving package 4f892a0d0107b794d837128fbfc6812497252e9f from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1d: Package installed 4f892a0d0107b794d837128fbfc6812497252e9f openssl/1.1.1d: Downloaded package revision ca6db80d13245049211e46da7766a176 [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libcoap/20200424: Configuring sources in /tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/source Unzipping 1.9MB, this can take a while [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK libcoap/20200424: Copying sources to build folder libcoap/20200424: Building your package in /tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec libcoap/20200424: Generator cmake created conanbuildinfo.cmake libcoap/20200424: Generator cmake_find_package created FindOpenSSL.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libcoap/20200424: Calling build() ----Running------ > cd '/tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="9.1" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/package/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DWITH_EPOLL="False" -DENABLE_DTLS="True" -DWITH_OPENSSL="True" -DWITH_MBEDTLS="False" -DWITH_GNUTLS="False" -DWITH_TINYDTLS="False" -Wno-dev '/tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec' ----------------- -- The C compiler identification is AppleClang 9.1.0.9020039 -- The CXX compiler identification is AppleClang 9.1.0.9020039 -- Check for working C compiler: /Applications/Xcode-9.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode-9.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode-9.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode-9.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- 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: Adjusting fPIC flag (ON) -- Looking for byteswap.h -- Looking for byteswap.h - not found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for sys/sysctl.h -- Looking for sys/sysctl.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for sys/epoll.h -- Looking for sys/epoll.h - not found -- Looking for sys/timerfd.h -- Looking for sys/timerfd.h - not found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for syslog.h -- Looking for syslog.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/unistd.h -- Looking for sys/unistd.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for float.h -- Looking for float.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Looking for winsock2.h -- Looking for winsock2.h - not found -- Looking for ws2tcpip.h -- Looking for ws2tcpip.h - not found -- Looking for malloc -- Looking for malloc - found -- Looking for memset -- Looking for memset - found -- Looking for select -- Looking for select - found -- Looking for socket -- Looking for socket - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for pthread_mutex_lock -- Looking for pthread_mutex_lock - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for cmsghdr -- Looking for cmsghdr - not found -- compiling without epoll support -- compiling with DTLS support -- DTLS_BACKEND: default -- Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR) -- Conan: Using autogenerated FindOpenSSL.cmake -- Found OpenSSL: 1.1.1d (found version "1.1.1d") -- Library ssl found /tmp/c3ipr/pr_929_8_0_1/.conan/data/openssl/1.1.1d/_/_/package/4f892a0d0107b794d837128fbfc6812497252e9f/lib/libssl.a -- Found: /tmp/c3ipr/pr_929_8_0_1/.conan/data/openssl/1.1.1d/_/_/package/4f892a0d0107b794d837128fbfc6812497252e9f/lib/libssl.a -- Library crypto found /tmp/c3ipr/pr_929_8_0_1/.conan/data/openssl/1.1.1d/_/_/package/4f892a0d0107b794d837128fbfc6812497252e9f/lib/libcrypto.a -- Found: /tmp/c3ipr/pr_929_8_0_1/.conan/data/openssl/1.1.1d/_/_/package/4f892a0d0107b794d837128fbfc6812497252e9f/lib/libcrypto.a -- compiling with openssl support -- ENABLE_DTLS:.....................True -- ENABLE_TCP:......................ON -- ENABLE_DOCS:.....................ON -- ENABLE_EXAMPLES:.................ON -- DTLS_BACKEND:....................default -- WITH_GNUTLS:.....................OFF -- WITH_TINYDTLS:...................OFF -- WITH_OPENSSL:....................ON -- WITH_MBEDTLS:....................OFF -- HAVE_LIBTINYDTLS:................ -- HAVE_LIBGNUTLS:.................. -- HAVE_OPENSSL:....................1 -- HAVE_MBEDTLS:.................... -- COAP_EPOLL_SUPPORT:.............. -- CMAKE_C_COMPILER:................/Applications/Xcode-9.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- BUILD_SHARED_LIBS:...............ON -- CMAKE_BUILD_TYPE:................Debug -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Warning at source_subfolder/CMakeLists.txt:578 (message): Doxygen need to be installed to generate the doxygen documentation -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec/build_subfolder ----Running------ > cmake --build '/tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec/build_subfolder' '--' '-j8' ----------------- Scanning dependencies of target coap [ 12%] Building C object source_subfolder/CMakeFiles/coap.dir/src/encode.c.o [ 12%] Building C object source_subfolder/CMakeFiles/coap.dir/src/pdu.c.o [ 12%] Building C object source_subfolder/CMakeFiles/coap.dir/src/net.c.o [ 12%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_debug.c.o [ 15%] Building C object source_subfolder/CMakeFiles/coap.dir/src/uri.c.o [ 21%] Building C object source_subfolder/CMakeFiles/coap.dir/src/subscribe.c.o [ 25%] Building C object source_subfolder/CMakeFiles/coap.dir/src/resource.c.o [ 25%] Building C object source_subfolder/CMakeFiles/coap.dir/src/str.c.o [ 31%] Building C object source_subfolder/CMakeFiles/coap.dir/src/async.c.o [ 31%] Building C object source_subfolder/CMakeFiles/coap.dir/src/option.c.o [ 34%] Building C object source_subfolder/CMakeFiles/coap.dir/src/block.c.o [ 37%] Building C object source_subfolder/CMakeFiles/coap.dir/src/mem.c.o [ 40%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_io.c.o [ 43%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_session.c.o [ 46%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_hashkey.c.o [ 53%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_time.c.o [ 53%] Building C object source_subfolder/CMakeFiles/coap.dir/src/address.c.o /tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec/source_subfolder/src/coap_io.c:71:4: error: "Need IPV6_PKTINFO or IPV6_RECVPKTINFO to request ancillary data from OS." # error "Need IPV6_PKTINFO or IPV6_RECVPKTINFO to request ancillary data from OS." ^ /tmp/c3ipr/pr_929_8_0_1/.conan/data/libcoap/20200424/_/_/build/61fbc3cc8266b9ca7df9bc6ae603fa0fd250caec/source_subfolder/src/coap_io.c:197:44: error: use of undeclared identifier 'GEN_IPV6_PKTINFO' if (setsockopt(sock->fd, IPPROTO_IPV6, GEN_IPV6_PKTINFO, OPTVAL_T(&on), sizeof(on)) == COAP_SOCKET_ERROR) ^ [ 56%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_event.c.o 2 errors generated. [ 59%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_notls.c.o make[2]: *** [source_subfolder/CMakeFiles/coap.dir/src/coap_io.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 62%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_tcp.c.o make[1]: *** [source_subfolder/CMakeFiles/coap.dir/all] Error 2 make: *** [all] Error 2 libcoap/20200424: JSON file created at '/private/tmp/c3ipr/pr_929_8_0_1/_create.json'