Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_929_7_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_7_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: 6.232421875 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/20200220 exports: File 'conandata.yml' found. Exporting it... libcoap/20200220 exports: Copied 1 '.yml' file: conandata.yml libcoap/20200220 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20200220': {'sha256': 'ace3be84bfdf0e31e892bfaeaf442d5062d590a533fc39f64c2ef96549c614bc', 'url': 'https://github.com/gocarlos/libcoap/archive/21ea160d0f4aa832e2d545fce39ea9b60d0b8c12.zip'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: '20200220': sha256: ace3be84bfdf0e31e892bfaeaf442d5062d590a533fc39f64c2ef96549c614bc url: https://github.com/gocarlos/libcoap/archive/21ea160d0f4aa832e2d545fce39ea9b60d0b8c12.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK libcoap/20200220: A new conanfile.py version was exported libcoap/20200220: Folder: /tmp/c3ipr/pr_929_7_0_1/.conan/data/libcoap/20200220/_/_/export libcoap/20200220: Using the exported files summary hash as the recipe revision: ebdd6c4ec2837180c19b20a556fa8b59 libcoap/20200220: Exported revision: ebdd6c4ec2837180c19b20a556fa8b59 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_ad5f4bb2a5343578c93f5200a9095cb2d76cd070'... openssl/1.1.1d: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1d: Downloaded recipe revision f2f19fb05d6987ab68dc20f7863df59b zlib/1.2.11: Not found in local cache, looking in remotes... zlib/1.2.11: Trying with 'c3i_PR-929_ad5f4bb2a5343578c93f5200a9095cb2d76cd070'... zlib/1.2.11: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.11: Downloaded recipe revision ddccdddea098293f5202c5e8eb29967b libcoap/20200220: Forced build from source libcoap/20200220 (test package): Installing package Requirements libcoap/20200220 from local cache - Cache openssl/1.1.1d from 'central' - Downloaded zlib/1.2.11 from 'central' - Downloaded Packages libcoap/20200220:f564c78653d5afcdc351e9af7962059f0c168144 - Build openssl/1.1.1d:20b7137cd336076bcb33c847c2cf2edced0ce511 - Download zlib/1.2.11:4f892a0d0107b794d837128fbfc6812497252e9f - Download zlib/1.2.11: Retrieving package 4f892a0d0107b794d837128fbfc6812497252e9f from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.11: Package installed 4f892a0d0107b794d837128fbfc6812497252e9f zlib/1.2.11: Downloaded package revision ee3a22a2194a17814e7376397a90eeea [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK openssl/1.1.1d: Retrieving package 20b7137cd336076bcb33c847c2cf2edced0ce511 from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1d: Package installed 20b7137cd336076bcb33c847c2cf2edced0ce511 openssl/1.1.1d: Downloaded package revision c0abe33f635829f3b93cd4ed38a132ba [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/20200220: Configuring sources in /tmp/c3ipr/pr_929_7_0_1/.conan/data/libcoap/20200220/_/_/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/20200220: Copying sources to build folder libcoap/20200220: Building your package in /tmp/c3ipr/pr_929_7_0_1/.conan/data/libcoap/20200220/_/_/build/f564c78653d5afcdc351e9af7962059f0c168144 libcoap/20200220: Generator cmake created conanbuildinfo.cmake libcoap/20200220: Generator cmake_find_package created FindOpenSSL.cmake libcoap/20200220: Generator cmake_find_package created FindZLIB.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/20200220: Calling build() -- 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 with openssl support -- Conan: Using autogenerated FindOpenSSL.cmake -- Found OpenSSL: 1.1.1d (found version "1.1.1d") -- Library ssl found /tmp/c3ipr/pr_929_7_0_1/.conan/data/openssl/1.1.1d/_/_/package/20b7137cd336076bcb33c847c2cf2edced0ce511/lib/libssl.a -- Found: /tmp/c3ipr/pr_929_7_0_1/.conan/data/openssl/1.1.1d/_/_/package/20b7137cd336076bcb33c847c2cf2edced0ce511/lib/libssl.a -- Library crypto found /tmp/c3ipr/pr_929_7_0_1/.conan/data/openssl/1.1.1d/_/_/package/20b7137cd336076bcb33c847c2cf2edced0ce511/lib/libcrypto.a -- Found: /tmp/c3ipr/pr_929_7_0_1/.conan/data/openssl/1.1.1d/_/_/package/20b7137cd336076bcb33c847c2cf2edced0ce511/lib/libcrypto.a -- Conan: Using autogenerated FindZLIB.cmake -- Found ZLIB: 1.2.11 (found version "1.2.11") -- Library z found /tmp/c3ipr/pr_929_7_0_1/.conan/data/zlib/1.2.11/_/_/package/4f892a0d0107b794d837128fbfc6812497252e9f/lib/libz.a -- Found: /tmp/c3ipr/pr_929_7_0_1/.conan/data/zlib/1.2.11/_/_/package/4f892a0d0107b794d837128fbfc6812497252e9f/lib/libz.a -- ENABLE_DTLS: True -- ENABLE_TCP: ON -- WITH_TINYDTLS: False -- WITH_GNUTLS: False -- WITH_OPENSSL: True -- HAVE_LIBTINYDTLS: -- HAVE_LIBGNUTLS: -- HAVE_OPENSSL: 1 -- HAVE_MBEDTLS: -- 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_7_0_1/.conan/data/libcoap/20200220/_/_/build/f564c78653d5afcdc351e9af7962059f0c168144/build_subfolder Scanning dependencies of target coap [ 23%] Building C object source_subfolder/CMakeFiles/coap.dir/src/pdu.c.o [ 23%] Building C object source_subfolder/CMakeFiles/coap.dir/src/net.c.o [ 23%] Building C object source_subfolder/CMakeFiles/coap.dir/src/encode.c.o [ 23%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_debug.c.o [ 23%] Building C object source_subfolder/CMakeFiles/coap.dir/src/uri.c.o [ 28%] Building C object source_subfolder/CMakeFiles/coap.dir/src/subscribe.c.o [ 33%] Building C object source_subfolder/CMakeFiles/coap.dir/src/resource.c.o [ 38%] Building C object source_subfolder/CMakeFiles/coap.dir/src/str.c.o [ 42%] Building C object source_subfolder/CMakeFiles/coap.dir/src/async.c.o [ 47%] Building C object source_subfolder/CMakeFiles/coap.dir/src/option.c.o [ 52%] Building C object source_subfolder/CMakeFiles/coap.dir/src/block.c.o [ 57%] Building C object source_subfolder/CMakeFiles/coap.dir/src/mem.c.o [ 61%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_io.c.o [ 66%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_session.c.o [ 71%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_hashkey.c.o [ 76%] Building C object source_subfolder/CMakeFiles/coap.dir/src/address.c.o [ 80%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_time.c.o /tmp/c3ipr/pr_929_7_0_1/.conan/data/libcoap/20200220/_/_/build/f564c78653d5afcdc351e9af7962059f0c168144/source_subfolder/src/coap_io.c:68: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_7_0_1/.conan/data/libcoap/20200220/_/_/build/f564c78653d5afcdc351e9af7962059f0c168144/source_subfolder/src/coap_io.c:194: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) ^ [ 85%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_event.c.o [ 90%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_notls.c.o 2 errors generated. make[2]: *** [source_subfolder/CMakeFiles/coap.dir/src/coap_io.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 95%] Building C object source_subfolder/CMakeFiles/coap.dir/src/coap_openssl.c.o make[1]: *** [source_subfolder/CMakeFiles/coap.dir/all] Error 2 make: *** [all] Error 2 libcoap/20200220: JSON file created at '/private/tmp/c3ipr/pr_929_7_0_1/_create.json'