>>> azure-iot-sdk-c LTS_07_2020_Ref02 Extracting gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/dl/azure-iot-sdk-c/azure-iot-sdk-c-LTS_07_2020_Ref02-br1.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ && cd /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ && rm -f CMakeCache.txt && PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/cmake /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ -DCMAKE_TOOLCHAIN_FILE="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc -- Check for working C compiler: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-g++ -- Check for working CXX compiler: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so (found version "7.77.0") -- Found CURL: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02 >>> azure-iot-sdk-c LTS_07_2020_Ref02 Building PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/ make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' Scanning dependencies of target parson make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 0%] Building C object CMakeFiles/parson.dir/deps/parson/parson.c.o Scanning dependencies of target umock_c make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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/umockcall.c.o [ 1%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcallrecorder.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/umock_c_negative_tests.c.o [ 3%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypename.c.o Scanning dependencies of target aziotsharedutil make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 3%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base32.c.o [ 3%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes.c.o [ 4%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base64.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 [ 6%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/buffer.c.o [ 7%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array_batcher.c.o [ 7%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array.c.o [ 8%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/connection_string_parser.c.o [ 8%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_charptr.c.o [ 8%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer.c.o [ 9%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_wcharptr.c.o [ 10%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/consolelogger.c.o [ 10%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcallpairs.c.o [ 10%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/crt_abstractions.c.o [ 11%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constmap.c.o [ 12%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockstring.c.o [ 12%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/doublylinkedlist.c.o [ 12%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockautoignoreargs.c.o [ 13%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_log.c.o [ 14%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gballoc.c.o [ 14%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gbnetwork.c.o [ 14%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_time.c.o [ 15%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_stdio.c.o [ 16%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_rand.c.o [ 16%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/hmac.c.o [ 16%] Linking C shared library libumock_c.so make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 16%] Built target umock_c [ 17%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/hmacsha256.c.o [ 17%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/xio.c.o [ 18%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/singlylinkedlist.c.o [ 18%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/map.c.o [ 19%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sastoken.c.o [ 19%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha1.c.o [ 20%] Linking C shared library libparson.so [ 21%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha224.c.o make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 21%] Built target parson [ 21%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha384-512.c.o [ 22%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/strings.c.o make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 22%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/string_token.c.o [ 23%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/string_tokenizer.c.o Scanning dependencies of target serializer make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 23%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/uuid.c.o make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 23%] Building C object serializer/CMakeFiles/serializer.dir/src/agenttypesystem.c.o [ 24%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/urlencode.c.o [ 24%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/usha.c.o [ 25%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/vector.c.o [ 26%] Building C object serializer/CMakeFiles/serializer.dir/src/codefirst.c.o [ 26%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/xlogging.c.o [ 26%] Building C object serializer/CMakeFiles/serializer.dir/src/commanddecoder.c.o [ 27%] Building C object serializer/CMakeFiles/serializer.dir/src/datamarshaller.c.o [ 27%] Building C object serializer/CMakeFiles/serializer.dir/src/datapublisher.c.o [ 28%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/optionhandler.c.o [ 28%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/memory_data.c.o [ 29%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/agenttime.c.o [ 29%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/condition_pthreads.c.o [ 30%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/lock_pthreads.c.o [ 30%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/platform_linux.c.o [ 31%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/socketio_berkeley.c.o [ 31%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/tickcounter_linux.c.o [ 32%] Building C object serializer/CMakeFiles/serializer.dir/src/dataserializer.c.o [ 33%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/threadapi_pthreads.c.o [ 33%] Building C object serializer/CMakeFiles/serializer.dir/src/iotdevice.c.o [ 34%] Building C object serializer/CMakeFiles/serializer.dir/src/jsondecoder.c.o [ 34%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/uniqueid_linux.c.o [ 35%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/envvariable.c.o [ 35%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/dns_resolver_sync.c.o [ 36%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/linux_time.c.o [ 36%] Building C object serializer/CMakeFiles/serializer.dir/src/jsonencoder.c.o [ 36%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpapiex.c.o [ 37%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpapiexsas.c.o [ 38%] Building C object serializer/CMakeFiles/serializer.dir/src/multitree.c.o [ 38%] Building C object serializer/CMakeFiles/serializer.dir/src/schema.c.o [ 39%] Building C object serializer/CMakeFiles/serializer.dir/src/schemalib.c.o [ 39%] Building C object serializer/CMakeFiles/serializer.dir/src/schemaserializer.c.o [ 40%] Building C object serializer/CMakeFiles/serializer.dir/src/methodreturn.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 [ 43%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/wsio.c.o [ 43%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/uws_client.c.o [ 44%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/uws_frame_encoder.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/c-utility/adapters/x509_openssl.c: In function 'x509_openssl_add_certificates': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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(); | ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/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(); | ^ 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 `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[2]: *** [c-utility/CMakeFiles/aziotsharedutil.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 44%] Linking C shared library libserializer.so make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' [ 44%] Built target serializer make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02' make: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2020_Ref02/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/buildroot'