>>> azure-iot-sdk-c LTS_07_2022_Ref01 Extracting gzip -d -c /home/autobuild/autobuild/instance-19/dl/azure-iot-sdk-c/azure-iot-sdk-c-LTS_07_2022_Ref01-br1.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01 -xf - >>> azure-iot-sdk-c LTS_07_2022_Ref01 Patching >>> azure-iot-sdk-c LTS_07_2022_Ref01 Configuring (mkdir -p /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ && cd /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-19/output-1/host/bin:/home/autobuild/autobuild/instance-19/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/local/bin/cmake /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/autobuild/autobuild/instance-19/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -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.4.0 -- The CXX compiler identification is GNU 10.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/autobuild/autobuild/instance-19/output-1/host/bin/powerpc64-buildroot-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/autobuild/autobuild/instance-19/output-1/host/bin/powerpc64-buildroot-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- IoT Client SDK Version = 1.9.0 -- Provisioning SDK Version = 1.9.0 CMake Deprecation Warning at deps/azure-macro-utils-c/CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at deps/umock-c/CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- 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/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib64/libcrypto.so (found version "3.0.9") -- Found CURL: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so (found version "8.1.2") -- Found CURL: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so -- target architecture: GENERIC -- IoT Hub Architecture: GENERIC -- Configuring done (1.8s) -- Generating done (0.3s) 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/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01 >>> azure-iot-sdk-c LTS_07_2022_Ref01 Building PATH="/home/autobuild/autobuild/instance-19/output-1/host/bin:/home/autobuild/autobuild/instance-19/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ make[1]: Entering directory '/home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01' [ 1%] 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 [ 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 [ 3%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes.c.o [ 3%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_bool.c.o [ 4%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_c.c.o [ 4%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_stdint.c.o [ 5%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_charptr.c.o [ 5%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umocktypes_wcharptr.c.o [ 5%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockcallpairs.c.o [ 6%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockstring.c.o [ 6%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umockautoignoreargs.c.o [ 7%] Building C object deps/umock-c/CMakeFiles/umock_c.dir/src/umock_log.c.o [ 7%] Linking C shared library libumock_c.so [ 7%] Built target umock_c [ 8%] Building C object deps/parson/CMakeFiles/parson.dir/parson.c.o [ 8%] Linking C shared library libparson.so [ 8%] Built target parson [ 8%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base32.c.o [ 8%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/azure_base64.c.o [ 9%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/buffer.c.o [ 9%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array.c.o [ 10%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer_array_batcher.c.o [ 10%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/connection_string_parser.c.o [ 10%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constbuffer.c.o [ 11%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/consolelogger.c.o [ 11%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/crt_abstractions.c.o [ 12%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/constmap.c.o [ 12%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/doublylinkedlist.c.o [ 12%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gballoc.c.o [ 13%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gbnetwork.c.o [ 13%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_stdio.c.o [ 14%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_time.c.o [ 14%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/gb_rand.c.o [ 14%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/hmac.c.o [ 15%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/hmacsha256.c.o [ 15%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/xio.c.o [ 16%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/singlylinkedlist.c.o [ 16%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/map.c.o [ 16%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sastoken.c.o [ 17%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha1.c.o [ 17%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha224.c.o [ 18%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/sha384-512.c.o [ 18%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/strings.c.o [ 18%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/string_token.c.o [ 19%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/string_tokenizer.c.o [ 19%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/uuid.c.o [ 20%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/urlencode.c.o [ 20%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/usha.c.o [ 20%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/vector.c.o [ 21%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/xlogging.c.o [ 21%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/optionhandler.c.o [ 22%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/memory_data.c.o [ 22%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/agenttime.c.o [ 22%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/condition_pthreads.c.o [ 23%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/lock_pthreads.c.o [ 23%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/platform_linux.c.o [ 24%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/socketio_berkeley.c.o [ 24%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/tickcounter_linux.c.o [ 25%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/threadapi_pthreads.c.o [ 25%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/uniqueid_linux.c.o [ 25%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/envvariable.c.o [ 26%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/dns_resolver_sync.c.o [ 26%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/linux_time.c.o [ 27%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpapiex.c.o [ 27%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpapiexsas.c.o [ 27%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/httpheaders.c.o [ 28%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/httpapi_curl.c.o [ 28%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/http_proxy_io.c.o [ 29%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/adapters/tlsio_openssl.c.o /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'engine_destroy': /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:762:9: error: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 762 | ENGINE_free(tls->engine); // Release structural reference. | ^~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:9: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'engine_load': /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:772:5: error: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 772 | tls->engine = ENGINE_by_id(tls->engine_id); | ^~~ In file included from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:9: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'add_certificate_to_store': /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:961:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 961 | bio_method = BIO_s_mem(); | ^ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'create_openssl_instance': /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:1058:9: error: 'TLSv1_2_method' is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations] 1058 | method = TLSv1_2_method(); | ^~~~~~ In file included from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:5: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2031:50: note: declared here 2031 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_method(void); /* TLSv1.2 */ | ^~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:1062:9: error: 'TLSv1_1_method' is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations] 1062 | method = TLSv1_1_method(); | ^~~~~~ In file included from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:5: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2023:50: note: declared here 2023 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_method(void); /* TLSv1.1 */ | ^~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:1066:9: error: 'TLSv1_method' is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations] 1066 | method = TLSv1_method(); | ^~~~~~ In file included from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:5: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2015:50: note: declared here 2015 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */ | ^~~~~~~~~~~~ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'tlsio_openssl_init': /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:1224:5: error: 'ERR_load_BIO_strings' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1224 | ERR_load_BIO_strings(); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/cryptoerr.h:17, from /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/crypto.h:38, from /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/bio.h:30, from /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:29, from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:5: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/cryptoerr_legacy.h:31:27: note: declared here 31 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void); | ^~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'tlsio_openssl_deinit': /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:1252:5: error: 'ERR_remove_thread_state' is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations] 1252 | ERR_remove_thread_state(NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:6: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/err.h:485:30: note: declared here 485 | OSSL_DEPRECATEDIN_1_1_0 void ERR_remove_thread_state(void *); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c: In function 'tlsio_openssl_setoption': /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:1724:13: error: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1724 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/c-utility/adapters/tlsio_openssl.c:9: /home/autobuild/autobuild/instance-19/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [c-utility/CMakeFiles/aziotsharedutil.dir/build.make:790: c-utility/CMakeFiles/aziotsharedutil.dir/adapters/tlsio_openssl.c.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:456: c-utility/CMakeFiles/aziotsharedutil.dir/all] Error 2 make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-19/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-19/buildroot'