>>> azure-iot-sdk-c LTS_07_2020_Ref02 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-3/dl/azure-iot-sdk-c/azure-iot-sdk-c-LTS_07_2020_Ref02-br1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02 -xf - >>> azure-iot-sdk-c LTS_07_2020_Ref02 Patching Applying 0001-Fix-redirection-of-errno-header.patch using patch: patching file c-utility/pal/linux/socket_async_os.h >>> azure-iot-sdk-c LTS_07_2020_Ref02 Configuring (mkdir -p /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ && cd /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/buildroot/autobuild/run/instance-3/output-1/host/bin/cmake /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/instance-3/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -Dskip_samples=ON ) -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Check for working C compiler: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv32-linux-gcc -- Check for working C compiler: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv32-linux-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: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv32-linux-g++ -- Check for working CXX compiler: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv32-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- IoT Client SDK Version = 1.4.1 CMake Warning (dev) at deps/umock-c/CMakeLists.txt:13 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'use_cppunittest'. This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file stdbool.h -- Looking for include file stdbool.h - found -- target architecture: GENERIC -- Performing Test CXX_FLAG_CXX11 -- Performing Test CXX_FLAG_CXX11 - Success -- Found OpenSSL: /home/buildroot/autobuild/run/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so (found version "2.0.0") -- Cross compiling not using pkg-config -- Found CURL: /home/buildroot/autobuild/run/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so (found version "7.79.1") -- Found CURL: /home/buildroot/autobuild/run/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so -- target architecture: GENERIC -- iothub architecture: GENERIC -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02 >>> azure-iot-sdk-c LTS_07_2020_Ref02 Building PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' Scanning dependencies of target parson make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' Scanning dependencies of target umock_c make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 0%] Building C object CMakeFiles/parson.dir/deps/parson/parson.c.o make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 0%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_c.c.o [ 1%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_c_negative_tests.c.o Scanning dependencies of target aziotsharedutil make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 1%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base32.c.o [ 1%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockalloc.c.o [ 2%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcall.c.o [ 2%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcallrecorder.c.o [ 3%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypename.c.o [ 4%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base64.c.o [ 4%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes.c.o [ 4%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/buffer.c.o [ 5%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_bool.c.o [ 5%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_c.c.o [ 6%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_stdint.c.o [ 7%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array.c.o [ 8%] Linking C shared library libparson.so make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 8%] Built target parson make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 8%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_charptr.c.o Scanning dependencies of target serializer make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 8%] Building C object serializer/CMakeFiles/serializer.dir/src/agenttypesystem.c.o [ 9%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_wcharptr.c.o [ 9%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array_batcher.c.o [ 9%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcallpairs.c.o [ 10%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockstring.c.o [ 11%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/connection_string_parser.c.o [ 11%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockautoignoreargs.c.o [ 12%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_log.c.o [ 12%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer.c.o [ 13%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/consolelogger.c.o [ 13%] Linking C shared library libumock_c.so make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 13%] Built target umock_c [ 13%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/crt_abstractions.c.o [ 14%] Building C object serializer/CMakeFiles/serializer.dir/src/codefirst.c.o [ 15%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constmap.c.o [ 15%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/doublylinkedlist.c.o [ 16%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gballoc.c.o [ 16%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gbnetwork.c.o [ 17%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_stdio.c.o [ 17%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_time.c.o [ 17%] Building C object serializer/CMakeFiles/serializer.dir/src/commanddecoder.c.o [ 18%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_rand.c.o [ 19%] Building C object serializer/CMakeFiles/serializer.dir/src/datamarshaller.c.o [ 19%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/hmac.c.o [ 20%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/hmacsha256.c.o [ 20%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/xio.c.o [ 21%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/singlylinkedlist.c.o [ 21%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/map.c.o [ 21%] Building C object serializer/CMakeFiles/serializer.dir/src/datapublisher.c.o [ 22%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sastoken.c.o [ 22%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha1.c.o [ 23%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha224.c.o [ 23%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha384-512.c.o [ 24%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/strings.c.o [ 25%] Building C object serializer/CMakeFiles/serializer.dir/src/dataserializer.c.o [ 25%] Building C object serializer/CMakeFiles/serializer.dir/src/iotdevice.c.o [ 25%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/string_token.c.o [ 26%] Building C object serializer/CMakeFiles/serializer.dir/src/jsondecoder.c.o [ 27%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/string_tokenizer.c.o [ 27%] Building C object serializer/CMakeFiles/serializer.dir/src/jsonencoder.c.o [ 27%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/uuid.c.o [ 28%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/urlencode.c.o [ 29%] Building C object serializer/CMakeFiles/serializer.dir/src/multitree.c.o [ 29%] Building C object serializer/CMakeFiles/serializer.dir/src/schema.c.o [ 29%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/usha.c.o [ 30%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/vector.c.o [ 30%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/xlogging.c.o [ 32%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/optionhandler.c.o [ 32%] Building C object serializer/CMakeFiles/serializer.dir/src/schemalib.c.o [ 32%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/memory_data.c.o [ 33%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/agenttime.c.o [ 33%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/condition_pthreads.c.o [ 34%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/lock_pthreads.c.o [ 34%] Building C object serializer/CMakeFiles/serializer.dir/src/schemaserializer.c.o [ 34%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/platform_linux.c.o [ 35%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/socketio_berkeley.c.o [ 36%] Building C object serializer/CMakeFiles/serializer.dir/src/methodreturn.c.o [ 36%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/tickcounter_linux.c.o [ 37%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/threadapi_pthreads.c.o [ 37%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/uniqueid_linux.c.o [ 38%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/envvariable.c.o [ 38%] Linking C shared library libserializer.so [ 38%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/dns_resolver_sync.c.o make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 38%] Built target serializer [ 39%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/linux_time.c.o [ 39%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpapiex.c.o [ 40%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpapiexsas.c.o [ 40%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpheaders.c.o [ 41%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/httpapi_curl.c.o [ 41%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/http_proxy_io.c.o [ 42%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/tlsio_openssl.c.o [ 42%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/x509_openssl.c.o /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/c-utility/adapters/tlsio_openssl.c:874:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 874 | bio_method = BIO_s_mem(); | ^ /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/c-utility/adapters/x509_openssl.c: In function 'x509_openssl_add_certificates': /home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/c-utility/adapters/x509_openssl.c:272:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 272 | bio_method = BIO_s_mem(); | ^ cc1: all warnings being treated as errors make[3]: *** [c-utility/CMakeFiles/aziotsharedutil.dir/adapters/x509_openssl.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[3]: *** [c-utility/CMakeFiles/aziotsharedutil.dir/adapters/tlsio_openssl.c.o] Error 1 make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[2]: *** [c-utility/CMakeFiles/aziotsharedutil.dir/all] Error 2 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/.stamp_built] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-3/buildroot'