>>> azure-iot-sdk-c LTS_01_2021_Ref01 Extracting gzip -d -c /tmp/instance-0/dl/azure-iot-sdk-c/azure-iot-sdk-c-LTS_01_2021_Ref01-br1.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01 -xf - >>> azure-iot-sdk-c LTS_01_2021_Ref01 Patching >>> azure-iot-sdk-c LTS_01_2021_Ref01 Configuring (mkdir -p /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/ && cd /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/ && rm -f CMakeCache.txt && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/cmake /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/ -DCMAKE_TOOLCHAIN_FILE="/tmp/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 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-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: /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++ -- Check for working CXX compiler: /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-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.6.0 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: ARM -- Performing Test CXX_FLAG_CXX11 -- Performing Test CXX_FLAG_CXX11 - Success -- Found OpenSSL: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libcrypto.so (found version "1.1.1k") -- Cross compiling not using pkg-config -- Found CURL: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libcurl.so (found version "7.78.0") -- Found CURL: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libcurl.so -- target architecture: ARM -- iothub architecture: ARM -- 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: /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01 >>> azure-iot-sdk-c LTS_01_2021_Ref01 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/ make[1]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[2]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[3]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[3]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[3]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' Scanning dependencies of target parson make[3]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[3]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' [ 0%] Building C object CMakeFiles/parson.dir/deps/parson/parson.c.o Scanning dependencies of target umock_c make[3]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[3]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' Scanning dependencies of target aziotsharedutil [ 0%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_c.c.o make[3]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' [ 1%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_c_negative_tests.c.o make[3]: Entering directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' [ 1%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockalloc.c.o [ 1%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base32.c.o [ 2%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base64.c.o [ 2%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/buffer.c.o [ 3%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcall.c.o [ 4%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array.c.o [ 4%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcallrecorder.c.o [ 4%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array_batcher.c.o [ 5%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypename.c.o [ 5%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes.c.o [ 6%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/connection_string_parser.c.o [ 6%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer.c.o [ 6%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_c.c.o [ 7%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/consolelogger.c.o [ 8%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_bool.c.o [ 9%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_stdint.c.o [ 9%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_charptr.c.o [ 9%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/crt_abstractions.c.o [ 10%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_wcharptr.c.o [ 11%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constmap.c.o [ 11%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/doublylinkedlist.c.o [ 11%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcallpairs.c.o [ 12%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gballoc.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/umockstring.c.o [ 13%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gbnetwork.c.o [ 14%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_log.c.o [ 15%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_stdio.c.o [ 15%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_time.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%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/xio.c.o [ 17%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/singlylinkedlist.c.o [ 18%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/hmacsha256.c.o /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/c-utility/src/hmac.c:211:43: error: argument 2 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Werror=array-parameter=] 211 | int hmacResult(HMACContext *ctx, uint8_t *digest) | ~~~~~~~~~^~~~~~ In file included from /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/c-utility/src/hmac.c:13: /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/c-utility/inc/azure_c_shared_utility/sha.h:252:42: note: previously declared as an array 'uint8_t[64]' {aka 'unsigned char[64]'} 252 | int hmacResult(HMACContext *ctx, uint8_t digest[USHAMaxHashSize]); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [ 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%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha224.c.o cc1: all warnings being treated as errors make[3]: *** [c-utility/CMakeFiles/aziotsharedutil.dir/build.make:271: c-utility/CMakeFiles/aziotsharedutil.dir/src/hmac.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 20%] Linking C shared library libumock_c.so make[3]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' [ 21%] Linking C shared library libparson.so [ 21%] Built target umock_c make[3]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[2]: *** [CMakeFiles/Makefile2:348: c-utility/CMakeFiles/aziotsharedutil.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' [ 21%] Built target parson make[2]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make[1]: *** [Makefile:130: all] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01' make: *** [package/pkg-generic.mk:270: /tmp/instance-0/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'