Closed bnevis-i closed 1 year ago
device-coap-c
Unknown
device-coap-c does not buid when CSDK_VER=2.3.1-dev.8
$ git diff diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh index a3343f2..5f5d4a7 100755 --- a/scripts/build_deps.sh +++ b/scripts/build_deps.sh @@ -14,7 +14,7 @@ BUILD_CSDK=$1 TINYDTLS_VERSION=b0e230d LIBCOAP_VERSION=1739507 -CSDK_VERSION=2.3.0 +CSDK_VERSION=2.3.1-dev.8 if [ -d deps ] then make docker docker build \ -f scripts/Dockerfile.alpine \ --label "git_sha=fb0b2a3a27529b6868993f405a74ec856eb5e6c6" \ -t edgexfoundry/device-coap:fb0b2a3a27529b6868993f405a74ec856eb5e6c6 \ -t edgexfoundry/device-coap:2.0.2-dev.6-dev \ . [+] Building 17.5s (14/27) => [internal] load build definition from Dockerfile.alpine 0.0s => => transferring dockerfile: 2.07kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/alpine:3.16 0.0s => [internal] load build context 0.0s => => transferring context: 3.34kB 0.0s => [stage-1 1/16] FROM docker.io/library/alpine:3.16 0.0s => CACHED [stage-1 2/16] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 0.0s => CACHED [stage-1 3/16] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 0.0s => CACHED [builder 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev 0.0s => [builder 5/11] COPY scripts /device-coap/scripts 0.0s => [builder 6/11] COPY src /device-coap/src/ 0.1s => [builder 7/11] COPY VERSION /device-coap 0.1s => [builder 8/11] RUN mkdir -p /device-coap/build 0.3s => [builder 9/11] WORKDIR /device-coap 0.1s => ERROR [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 16.9s ------ > [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1: #0 0.335 + BUILD_CSDK=1 #0 0.335 + TINYDTLS_VERSION=b0e230d #0 0.335 + LIBCOAP_VERSION=1739507 #0 0.335 + CSDK_VERSION=2.3.1-dev.8 #0 0.335 + '[' -d deps ] #0 0.335 + mkdir deps #0 0.336 + cd /device-coap/deps #0 0.336 + git clone https://github.com/eclipse/tinydtls.git #0 0.337 Cloning into 'tinydtls'... #0 1.353 + cd tinydtls #0 1.353 + git checkout develop #0 1.366 branch 'develop' set up to track 'origin/develop'. #0 1.366 Switched to a new branch 'develop' #0 1.366 + git reset --hard b0e230d #0 1.389 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix #0 1.389 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake #0 1.390 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt #0 1.391 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in #0 1.391 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt #0 1.392 + mkdir -p build #0 1.393 + cd build #0 1.393 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. #0 1.454 -- The C compiler identification is GNU 11.2.1 #0 1.463 -- Detecting C compiler ABI info #0 1.536 -- Detecting C compiler ABI info - done #0 1.549 -- Check for working C compiler: /usr/bin/cc - skipped #0 1.549 -- Detecting C compile features #0 1.550 -- Detecting C compile features - done #0 1.554 -- Looking for assert.h #0 1.597 -- Looking for assert.h - found #0 1.597 -- Looking for arpa/inet.h #0 1.646 -- Looking for arpa/inet.h - found #0 1.646 -- Looking for fcntl.h #0 1.699 -- Looking for fcntl.h - found #0 1.699 -- Looking for inttypes.h #0 1.751 -- Looking for inttypes.h - found #0 1.751 -- Looking for memory.h #0 1.817 -- Looking for memory.h - found #0 1.818 -- Looking for netdb.h #0 1.899 -- Looking for netdb.h - found #0 1.899 -- Looking for netinet/in.h #0 1.949 -- Looking for netinet/in.h - found #0 1.950 -- Looking for stddef.h #0 2.000 -- Looking for stddef.h - found #0 2.001 -- Looking for stdint.h #0 2.053 -- Looking for stdint.h - found #0 2.053 -- Looking for stdlib.h #0 2.105 -- Looking for stdlib.h - found #0 2.106 -- Looking for string.h #0 2.164 -- Looking for string.h - found #0 2.165 -- Looking for strings.h #0 2.228 -- Looking for strings.h - found #0 2.228 -- Looking for time.h #0 2.288 -- Looking for time.h - found #0 2.288 -- Looking for sys/param.h #0 2.339 -- Looking for sys/param.h - found #0 2.340 -- Looking for sys/socket.h #0 2.392 -- Looking for sys/socket.h - found #0 2.392 -- Looking for sys/stat.h #0 2.439 -- Looking for sys/stat.h - found #0 2.440 -- Looking for sys/types.h #0 2.487 -- Looking for sys/types.h - found #0 2.487 -- Looking for sys/time.h #0 2.535 -- Looking for sys/time.h - found #0 2.536 -- Looking for unistd.h #0 2.583 -- Looking for unistd.h - found #0 2.584 -- Looking for float.h #0 2.648 -- Looking for float.h - found #0 2.649 -- Looking for dlfcn.h #0 2.700 -- Looking for dlfcn.h - found #0 2.700 -- Looking for memset #0 2.765 -- Looking for memset - found #0 2.765 -- Looking for select #0 2.811 -- Looking for select - found #0 2.811 -- Looking for socket #0 2.869 -- Looking for socket - found #0 2.870 -- Looking for strdup #0 2.921 -- Looking for strdup - found #0 2.921 -- Looking for strerror #0 2.978 -- Looking for strerror - found #0 2.979 -- Looking for strnlen #0 3.029 -- Looking for strnlen - found #0 3.030 -- Looking for fls #0 3.087 -- Looking for fls - not found #0 3.087 -- Looking for vprintf #0 3.133 -- Looking for vprintf - found #0 3.134 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN #0 3.178 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed #0 3.184 -- Configuring done #0 3.190 -- Generating done #0 3.192 -- Build files have been written to: /device-coap/deps/tinydtls/build #0 3.194 + make #0 3.215 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o #0 3.392 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o #0 3.419 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o #0 3.714 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o #0 3.835 In file included from /device-coap/deps/tinydtls/crypto.c:34: #0 3.835 In function 'ecc_ecdh', #0 3.835 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: #0 3.835 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] #0 3.835 50 | ecc_ec_mult(px, py, secret, resultx, resulty); #0 3.835 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #0 3.835 In file included from /device-coap/deps/tinydtls/crypto.c:34: #0 3.835 /device-coap/deps/tinydtls/crypto.c: In function 'dtls_ecdh_pre_master_secret': #0 3.835 /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 1 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here #0 3.835 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); #0 3.835 | ^~~~~~~~~~~ #0 3.835 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here #0 3.835 431 | uint32_t pub_x[8]; #0 3.835 | ^~~~~ #0 3.835 In file included from /device-coap/deps/tinydtls/crypto.c:34: #0 3.835 In function 'ecc_ecdh', #0 3.835 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: #0 3.835 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] #0 3.835 50 | ecc_ec_mult(px, py, secret, resultx, resulty); #0 3.835 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #0 3.835 In file included from /device-coap/deps/tinydtls/crypto.c:34: #0 3.835 /device-coap/deps/tinydtls/crypto.c: In function 'dtls_ecdh_pre_master_secret': #0 3.835 /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 2 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here #0 3.835 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); #0 3.835 | ^~~~~~~~~~~ #0 3.835 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here #0 3.835 432 | uint32_t pub_y[8]; #0 3.835 | ^~~~~ #0 3.835 In file included from /device-coap/deps/tinydtls/crypto.c:34: #0 3.835 In function 'ecc_ecdh', #0 3.835 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: #0 3.835 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] #0 3.835 50 | ecc_ec_mult(px, py, secret, resultx, resulty); #0 3.835 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #0 3.835 In file included from /device-coap/deps/tinydtls/crypto.c:34: #0 3.835 /device-coap/deps/tinydtls/crypto.c: In function 'dtls_ecdh_pre_master_secret': #0 3.835 /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 3 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here #0 3.835 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); #0 3.835 | ^~~~~~~~~~~ #0 3.835 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here #0 3.835 430 | uint32_t priv[8]; #0 3.835 | ^~~~ #0 3.927 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o #0 5.032 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o #0 5.083 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o #0 5.127 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o #0 5.161 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o #0 5.179 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': #0 5.179 /device-coap/deps/tinydtls/ecc/ecc.c:316:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] #0 5.179 316 | for (idx = 0; idx < count; idx++) { #0 5.179 | ^ #0 5.179 /device-coap/deps/tinydtls/ecc/ecc.c:319:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] #0 5.179 319 | return result == count; #0 5.179 | ^~ #0 5.987 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o #0 6.050 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o #0 6.121 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o #0 6.165 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o #0 6.222 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o #0 6.236 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] #0 6.236 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { #0 6.236 | ~~~~~~~~~~^~~~~~~~ #0 6.236 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: #0 6.236 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} #0 6.236 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); #0 6.236 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #0 6.237 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] #0 6.237 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { #0 6.237 | ~~~~~^~~~~~~~ #0 6.237 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: #0 6.237 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' #0 6.237 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); #0 6.237 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #0 6.355 [100%] Linking C shared library libtinydtls.so #0 6.375 [100%] Built target tinydtls #0 6.380 + make install #0 6.399 Consolidate compiler generated dependencies of target tinydtls #0 6.408 [100%] Built target tinydtls #0 6.418 Install the project... #0 6.422 -- Install configuration: "Release" #0 6.423 -- Installing: /usr/local/lib/libtinydtls.so #0 6.423 -- Installing: /usr/local/include/tinydtls #0 6.423 -- Installing: /usr/local/include/tinydtls/utlist.h #0 6.424 -- Installing: /usr/local/include/tinydtls/alert.h #0 6.424 -- Installing: /usr/local/include/tinydtls/ccm.h #0 6.424 -- Installing: /usr/local/include/tinydtls/netq.h #0 6.425 -- Installing: /usr/local/include/tinydtls/numeric.h #0 6.425 -- Installing: /usr/local/include/tinydtls/dtls_prng.h #0 6.426 -- Installing: /usr/local/include/tinydtls/dtls_debug.h #0 6.426 -- Installing: /usr/local/include/tinydtls/peer.h #0 6.427 -- Installing: /usr/local/include/tinydtls/dtls.h #0 6.427 -- Installing: /usr/local/include/tinydtls/session.h #0 6.427 -- Installing: /usr/local/include/tinydtls/aes #0 6.427 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h #0 6.428 -- Installing: /usr/local/include/tinydtls/hmac.h #0 6.428 -- Installing: /usr/local/include/tinydtls/ecc #0 6.428 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h #0 6.428 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h #0 6.429 -- Installing: /usr/local/include/tinydtls/dtls_time.h #0 6.429 -- Installing: /usr/local/include/tinydtls/tinydtls.h #0 6.429 -- Installing: /usr/local/include/tinydtls/uthash.h #0 6.429 -- Installing: /usr/local/include/tinydtls/sha2 #0 6.430 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h #0 6.430 -- Installing: /usr/local/include/tinydtls/global.h #0 6.430 -- Installing: /usr/local/include/tinydtls/state.h #0 6.431 -- Installing: /usr/local/include/tinydtls/crypto.h #0 6.431 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h #0 6.431 -- Up-to-date: /usr/local/include/tinydtls #0 6.431 -- Installing: /usr/local/include/tinydtls/dtls_config.h #0 6.437 + cd /device-coap/deps #0 6.437 + git clone https://github.com/obgm/libcoap.git #0 6.437 Cloning into 'libcoap'... #0 8.751 + cd libcoap #0 8.751 + git reset --hard 1739507 #0 8.790 HEAD is now at 1739507 Merge pull request #536 from mrdeep1/bad_tcp #0 8.791 + patch -p1 #0 8.791 patching file cmake/FindTinyDTLS.cmake #0 8.792 + patch -p1 #0 8.792 patching file include/coap2/coap_config.h.in #0 8.793 + mkdir -p build #0 8.793 + cd build #0 8.793 + cmake '-DWITH_EPOLL=OFF' '-DDTLS_BACKEND=tinydtls' '-DUSE_VENDORED_TINYDTLS=OFF' '-DENABLE_TESTS=OFF' '-DENABLE_EXAMPLES=OFF' '-DENABLE_DOCS=OFF' '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. #0 8.867 -- The CXX compiler identification is GNU 11.2.1 #0 8.912 -- The C compiler identification is GNU 11.2.1 #0 8.920 -- Detecting CXX compiler ABI info #0 8.979 -- Detecting CXX compiler ABI info - done #0 8.991 -- Check for working CXX compiler: /usr/bin/c++ - skipped #0 8.991 -- Detecting CXX compile features #0 8.992 -- Detecting CXX compile features - done #0 8.997 -- Detecting C compiler ABI info #0 9.060 -- Detecting C compiler ABI info - done #0 9.071 -- Check for working C compiler: /usr/bin/cc - skipped #0 9.071 -- Detecting C compile features #0 9.072 -- Detecting C compile features - done #0 9.076 -- Looking for byteswap.h #0 9.122 -- Looking for byteswap.h - found #0 9.122 -- Looking for inttypes.h #0 9.176 -- Looking for inttypes.h - found #0 9.177 -- Looking for limits.h #0 9.234 -- Looking for limits.h - found #0 9.235 -- Looking for memory.h #0 9.291 -- Looking for memory.h - found #0 9.292 -- Looking for strings.h #0 9.355 -- Looking for strings.h - found #0 9.355 -- Looking for string.h #0 9.408 -- Looking for string.h - found #0 9.409 -- Looking for sys/sysctl.h #0 9.435 -- Looking for sys/sysctl.h - not found #0 9.436 -- Looking for netinet/in.h #0 9.491 -- Looking for netinet/in.h - found #0 9.491 -- Looking for sys/epoll.h #0 9.544 -- Looking for sys/epoll.h - found #0 9.544 -- Looking for sys/timerfd.h #0 9.594 -- Looking for sys/timerfd.h - found #0 9.595 -- Looking for arpa/inet.h #0 9.670 -- Looking for arpa/inet.h - found #0 9.671 -- Looking for stdbool.h #0 9.715 -- Looking for stdbool.h - found #0 9.716 -- Looking for netdb.h #0 9.772 -- Looking for netdb.h - found #0 9.773 -- Looking for pthread.h #0 9.824 -- Looking for pthread.h - found #0 9.825 -- Looking for stdlib.h #0 9.878 -- Looking for stdlib.h - found #0 9.878 -- Looking for stdint.h #0 9.925 -- Looking for stdint.h - found #0 9.926 -- Looking for syslog.h #0 9.975 -- Looking for syslog.h - found #0 9.975 -- Looking for sys/ioctl.h #0 10.04 -- Looking for sys/ioctl.h - found #0 10.04 -- Looking for sys/socket.h #0 10.09 -- Looking for sys/socket.h - found #0 10.10 -- Looking for sys/stat.h #0 10.15 -- Looking for sys/stat.h - found #0 10.15 -- Looking for sys/time.h #0 10.20 -- Looking for sys/time.h - found #0 10.20 -- Looking for sys/types.h #0 10.27 -- Looking for sys/types.h - found #0 10.27 -- Looking for sys/unistd.h #0 10.30 -- Looking for sys/unistd.h - not found #0 10.30 -- Looking for time.h #0 10.37 -- Looking for time.h - found #0 10.37 -- Looking for unistd.h #0 10.42 -- Looking for unistd.h - found #0 10.42 -- Looking for float.h #0 10.47 -- Looking for float.h - found #0 10.47 -- Looking for stddef.h #0 10.53 -- Looking for stddef.h - found #0 10.53 -- Looking for winsock2.h #0 10.55 -- Looking for winsock2.h - not found #0 10.55 -- Looking for ws2tcpip.h #0 10.58 -- Looking for ws2tcpip.h - not found #0 10.58 -- Looking for malloc #0 10.65 -- Looking for malloc - found #0 10.65 -- Looking for memset #0 10.70 -- Looking for memset - found #0 10.70 -- Looking for select #0 10.77 -- Looking for select - found #0 10.77 -- Looking for socket #0 10.82 -- Looking for socket - found #0 10.82 -- Looking for strcasecmp #0 10.88 -- Looking for strcasecmp - found #0 10.88 -- Looking for pthread_mutex_lock #0 10.92 -- Looking for pthread_mutex_lock - found #0 10.92 -- Looking for getaddrinfo #0 10.99 -- Looking for getaddrinfo - found #0 10.99 -- Looking for strnlen #0 11.04 -- Looking for strnlen - found #0 11.04 -- Looking for strrchr #0 11.09 -- Looking for strrchr - found #0 11.09 -- Looking for getrandom #0 11.15 -- Looking for getrandom - found #0 11.15 -- Looking for cmsghdr #0 11.19 -- Looking for cmsghdr - not found #0 11.19 -- compiling without epoll support #0 11.19 -- compiling with DTLS support #0 11.19 -- DTLS_BACKEND: tinydtls #0 11.20 -- Found TinyDTLS: /usr/local/include #0 11.20 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls #0 11.20 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so #0 11.20 -- TINYDTLS_ROOT_DIR: #0 11.20 -- compiling with tinydtls support #0 11.20 -- ENABLE_DTLS:.....................ON #0 11.20 -- ENABLE_TCP:......................ON #0 11.20 -- ENABLE_DOCS:.....................OFF #0 11.20 -- ENABLE_EXAMPLES:.................OFF #0 11.20 -- DTLS_BACKEND:....................tinydtls #0 11.20 -- WITH_GNUTLS:.....................OFF #0 11.20 -- WITH_TINYDTLS:...................ON #0 11.20 -- WITH_OPENSSL:....................OFF #0 11.20 -- WITH_MBEDTLS:....................OFF #0 11.20 -- HAVE_LIBTINYDTLS:................1 #0 11.20 -- HAVE_LIBGNUTLS:.................. #0 11.20 -- HAVE_OPENSSL:.................... #0 11.20 -- HAVE_MBEDTLS:.................... #0 11.20 -- COAP_EPOLL_SUPPORT:.............. #0 11.20 -- CMAKE_C_COMPILER:................/usr/bin/cc #0 11.20 -- BUILD_SHARED_LIBS:...............ON #0 11.20 -- CMAKE_BUILD_TYPE:................Release #0 11.20 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 #0 11.21 -- Configuring done #0 11.21 CMake Warning (dev) at CMakeLists.txt:16 (add_library): #0 11.21 Policy CMP0115 is not set: Source file extensions must be explicit. Run #0 11.21 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy #0 11.21 command to set the policy and suppress this warning. #0 11.21 #0 11.21 File: #0 11.21 #0 11.21 /device-coap/deps/libcoap/include/coap2/coap.h.in #0 11.21 This warning is for project developers. Use -Wno-dev to suppress it. #0 11.21 #0 11.21 -- Generating done #0 11.22 -- Build files have been written to: /device-coap/deps/libcoap/build #0 11.22 + make #0 11.24 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o #0 11.32 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o #0 11.41 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o #0 11.53 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o #0 11.86 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o #0 11.90 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o #0 11.95 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o #0 12.26 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o #0 12.30 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o #0 12.35 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o #0 12.94 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o #0 13.07 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o #0 13.13 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o #0 13.20 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o #0 13.24 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o #0 13.90 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o #0 14.11 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o #0 14.33 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o #0 14.78 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o #0 14.87 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o #0 14.92 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o #0 15.16 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o #0 15.35 [100%] Linking C shared library libcoap-2.so #0 15.38 [100%] Built target coap-2 #0 15.38 + make install #0 15.40 Consolidate compiler generated dependencies of target coap-2 #0 15.42 [100%] Built target coap-2 #0 15.43 Install the project... #0 15.44 -- Install configuration: "Release" #0 15.44 -- Installing: /usr/local/lib/libcoap-2.so #0 15.44 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" #0 15.44 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake #0 15.44 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake #0 15.44 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake #0 15.44 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake #0 15.44 -- Up-to-date: /usr/local/include #0 15.44 -- Installing: /usr/local/include/coap2 #0 15.44 -- Installing: /usr/local/include/coap2/async.h #0 15.44 -- Installing: /usr/local/include/coap2/str.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_prng.h #0 15.45 -- Installing: /usr/local/include/coap2/utlist.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_io.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_dtls.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_time.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_debug.h #0 15.45 -- Installing: /usr/local/include/coap2/block.h #0 15.45 -- Installing: /usr/local/include/coap2/pdu.h #0 15.45 -- Installing: /usr/local/include/coap2/net.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_hashkey.h #0 15.45 -- Installing: /usr/local/include/coap2/libcoap.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_riot.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_session.h #0 15.45 -- Installing: /usr/local/include/coap2/bits.h #0 15.45 -- Installing: /usr/local/include/coap2/option.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_forward_decls.h #0 15.45 -- Installing: /usr/local/include/coap2/uthash.h #0 15.45 -- Installing: /usr/local/include/coap2/address.h #0 15.45 -- Installing: /usr/local/include/coap2/resource.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_event.h #0 15.45 -- Installing: /usr/local/include/coap2/mem.h #0 15.45 -- Installing: /usr/local/include/coap2/encode.h #0 15.45 -- Installing: /usr/local/include/coap2/subscribe.h #0 15.45 -- Installing: /usr/local/include/coap2/lwippools.h #0 15.45 -- Installing: /usr/local/include/coap2/coap_mutex.h #0 15.45 -- Installing: /usr/local/include/coap2/uri.h #0 15.45 -- Up-to-date: /usr/local/include #0 15.45 -- Up-to-date: /usr/local/include/coap2 #0 15.45 -- Installing: /usr/local/include/coap2/coap.h #0 15.45 + '[' 1 '=' 1 ] #0 15.45 + cd /device-coap/deps #0 15.45 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v2.3.1-dev.8.zip #0 15.46 Connecting to github.com (192.30.255.113:443) #0 15.70 Connecting to codeload.github.com (192.30.255.120:443) #0 15.90 saving to 'v2.3.1-dev.8.zip' #0 15.97 v2.3.1-dev.8.zip 180k --:--:-- ETA #0 15.98 v2.3.1-dev.8.zip 100% |********************************| 242k 0:00:00 ETA #0 15.98 'v2.3.1-dev.8.zip' saved #0 15.98 + unzip v2.3.1-dev.8.zip #0 15.98 Archive: v2.3.1-dev.8.zip #0 15.99 creating: device-sdk-c-2.3.1-dev.8/ #0 15.99 creating: device-sdk-c-2.3.1-dev.8/.github/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/.github/Contributing.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/.github/PULL_REQUEST_TEMPLATE.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/.github/semantic.yml #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/.gitignore #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/Attribution.txt #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/CHANGES #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/Doxyfile #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/GOVERNANCE.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/Jenkinsfile #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/LICENSE #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/Makefile #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/OWNERS.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/README.IOT.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/README.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/README.v3.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/VERSION #0 15.99 creating: device-sdk-c-2.3.1-dev.8/docs/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/docs/configuration.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/docs/deviceprofiles.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/docs/metrics.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/docs/servicewritersguide.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/docs/startup.md #0 15.99 creating: device-sdk-c-2.3.1-dev.8/include/ #0 15.99 creating: device-sdk-c-2.3.1-dev.8/include/devsdk/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/include/devsdk/devsdk-base.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/include/devsdk/devsdk.h #0 15.99 creating: device-sdk-c-2.3.1-dev.8/include/edgex/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/include/edgex/devices.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/include/edgex/edgex-base.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/include/edgex/edgex.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/include/edgex/profiles.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/include/edgex/rest-server.h #0 15.99 creating: device-sdk-c-2.3.1-dev.8/scripts/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/scripts/Dockerfile.alpine #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/scripts/Dockerfile.alpine-base #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/scripts/build.sh #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/scripts/entrypoint.sh #0 15.99 creating: device-sdk-c-2.3.1-dev.8/src/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/CMakeLists.txt #0 15.99 creating: device-sdk-c-2.3.1-dev.8/src/c/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/CMakeLists.txt #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/api.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/autoevent.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/autoevent.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/bus-impl.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/bus-mqtt.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/bus-redstr.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/bus.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/bus.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/callback2.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/callback2.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/cmdinfo.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/config.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/config.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/consul.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/consul.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/correlation.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/correlation.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/data.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/data.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/defs.h.in #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/device.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/device.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/devman.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/devmap.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/devmap.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/devsdk-base.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/devutil.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/discovery.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/discovery.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-logging.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-logging.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-rest.c #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-rest.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex2.h #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/errorlist.h #0 15.99 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/CMakeLists.txt #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/README.md #0 15.99 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/CMakeLists.txt #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/README.md #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/device-bitfields.c #0 15.99 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/configuration.toml #0 15.99 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/devices/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/devices/Bitfields.json #0 15.99 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/profiles/ #0 15.99 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/profiles/Example-Bitfields.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/CMakeLists.txt #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/README.md #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/device-counter.c #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/configuration.toml #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/devices/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/devices/Counters.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/profiles/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/profiles/Counter.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/CMakeLists.txt #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/README.md #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/configuration.toml #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/devices/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/devices/readme.txt #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/profiles/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/profiles/TemplateProfile.json #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/template.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/watcher1.json #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/watcher2.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/CMakeLists.txt #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/README.md #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/device-file.c #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/configuration.toml #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/devices/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/devices/file1.json #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/lorem.txt #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/profiles/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/profiles/FileExampleProfile.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/CMakeLists.txt #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/README.md #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/device-gyro.c #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/configuration.toml #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/devices/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/devices/gyro.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/profiles/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/profiles/Gyro.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/CMakeLists.txt #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/README.md #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/device-random.c #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/configuration.toml #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/devices/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/devices/randomdevice1.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/profiles/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/profiles/RandomExampleProfile.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/configuration.toml #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/devices/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/devices/device1.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/profiles/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/profiles/TemplateProfile.json #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/template.c #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/CMakeLists.txt #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/README.md #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/device-terminal.c #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/configuration.toml #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/devices/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/devices/terminal.json #0 16.00 creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/profiles/ #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/profiles/Terminal.json #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/filesys.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/filesys.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/map.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/map.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/metadata.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/metadata.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/metrics.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/parson.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/parson.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/profiles.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/profiles.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/registry-impl.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/registry.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/registry.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/reqdata.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/reqdata.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/request_auth.c #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/request_auth.h #0 16.00 inflating: device-sdk-c-2.3.1-dev.8/src/c/rest-server.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/rest-server.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/rest.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/rest.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-impl.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-insecure.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-insecure.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-vault.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-vault.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/service.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/service.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/transform.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/transform.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/validate.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/validate.h #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/watchers.c #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/c/watchers.h #0 16.01 creating: device-sdk-c-2.3.1-dev.8/src/cmake/ #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindIOT.cmake #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBCBOR.cmake #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBHIREDIS.cmake #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBMICROHTTP.cmake #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBPAHO.cmake #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBUUID.cmake #0 16.01 inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBYAML.cmake #0 16.01 + cd device-sdk-c-2.3.1-dev.8 #0 16.01 + ./scripts/build.sh #0 16.01 + CPPCHECK=false #0 16.01 + DOCGEN=false #0 16.01 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' #0 16.01 + TOMLVER=SDK-0.2 #0 16.01 + CUTILVER=1.4 #0 16.01 + '[' 0 -gt 0 ] #0 16.01 + readlink -f ./scripts/build.sh #0 16.01 + dirname /device-coap/deps/device-sdk-c-2.3.1-dev.8/scripts/build.sh #0 16.01 + dirname /device-coap/deps/device-sdk-c-2.3.1-dev.8/scripts #0 16.01 + ROOT=/device-coap/deps/device-sdk-c-2.3.1-dev.8 #0 16.01 + cd /device-coap/deps/device-sdk-c-2.3.1-dev.8 #0 16.01 + '[' '!' -d deps ] #0 16.01 + mkdir deps #0 16.01 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz #0 16.01 + tar -C deps -z -x -f - #0 16.01 Connecting to github.com (192.30.255.113:443) #0 16.34 Connecting to codeload.github.com (192.30.255.120:443) #0 16.57 writing to stdout #0 16.59 - 100% |********************************| 16451 0:00:00 ETA #0 16.59 written to stdout #0 16.59 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c #0 16.59 + mkdir -p /device-coap/deps/device-sdk-c-2.3.1-dev.8/build/release #0 16.60 + cd /device-coap/deps/device-sdk-c-2.3.1-dev.8/build/release #0 16.60 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-2.3.1-dev.8/src #0 16.66 -- The C compiler identification is GNU 11.2.1 #0 16.67 -- Detecting C compiler ABI info #0 16.72 -- Detecting C compiler ABI info - done #0 16.74 -- Check for working C compiler: /usr/bin/cc - skipped #0 16.74 -- Detecting C compile features #0 16.74 -- Detecting C compile features - done #0 16.74 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so #0 16.78 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") #0 16.78 -- Found LIBYAML: /usr/lib/libyaml.so #0 16.78 -- Found LIBUUID: /usr/lib/libuuid.so #0 16.79 -- Found LIBCBOR: /usr/lib/libcbor.so #0 16.79 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so #0 16.79 -- Found LIBHIREDIS: /usr/lib/libhiredis.so #0 16.80 CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): #0 16.80 Could NOT find IOT (missing: IOT_LIBRARY IOT_INCLUDE_DIR) #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) #0 16.80 cmake/FindIOT.cmake:4 (find_package_handle_standard_args) #0 16.80 CMakeLists.txt:50 (find_package) #0 16.80 #0 16.80 #0 16.80 -- Configuring incomplete, errors occurred! #0 16.80 See also "/device-coap/deps/device-sdk-c-2.3.1-dev.8/build/release/CMakeFiles/CMakeOutput.log". ------ Dockerfile.alpine:22 -------------------- 20 | 21 | WORKDIR /device-coap 22 | >>> RUN /device-coap/scripts/build_deps.sh 1 23 | RUN /device-coap/scripts/build.sh 24 | -------------------- ERROR: failed to solve: process "/bin/sh -c /device-coap/scripts/build_deps.sh 1" did not complete successfully: exit code: 1 make: *** [Makefile:34: device_coap] Error 1
Deployment Environment: docker
EdgeX Version [REQUIRED]: minnesota-dev
Anything else relevant?
closed #50
🐞 Bug Report
Affected Services [REQUIRED]
device-coap-c
Is this a regression?
Unknown
Description and Minimal Reproduction [REQUIRED]
device-coap-c does not buid when CSDK_VER=2.3.1-dev.8
🔥 Exception or Error
🌍 Your Environment
Deployment Environment: docker
EdgeX Version [REQUIRED]: minnesota-dev
Anything else relevant?