==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_e645d8e3-506d-4773-9198-8d0cabc04adf]...done ==> Making package: libtpms 0.10.0-1.1 (Thu Nov 21 16:58:08 2024) ==> Retrieving sources... -> Cloning libtpms git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v4/libtpms-0.10.0-1/libtpms'... ==> Validating source files with sha512sums... libtpms ... Passed ==> Verifying source file signatures with gpg... libtpms git repo ... Passed ==> Making package: libtpms 0.10.0-1.1 (Thu Nov 21 16:58:17 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (4) New Version Net Change extra/perl-error 0.17029-7 0.04 MiB extra/perl-mailtools 2.21-9 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/git 2.47.0-1 28.29 MiB Total Installed Size: 28.51 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of libtpms git repo... Cloning into 'libtpms'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:57: installing './compile' configure.ac:13: installing './config.guess' configure.ac:13: installing './config.sub' configure.ac:14: installing './install-sh' configure.ac:14: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' ==> Starting build()... checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for debug-enabled build... no checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking whether the linker accepts -Wl,--version-script=./src/test.syms... yes Building with TPM2 support checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for AES_set_encrypt_key in -lcrypto... yes checking for openssl/aes.h... yes Building with openssl crypto library checking for EVP_CIPHER_CTX_new in -lcrypto... yes checking for EVP_EncryptInit_ex in -lcrypto... yes checking for EVP_aes_128_cbc in -lcrypto... yes checking for EVP_des_ede3_cbc in -lcrypto... yes checking for EVP_camellia_128_cbc in -lcrypto... yes checking for DES_random_key in -lcrypto... yes checking for EVP_CIPHER_CTX_iv in -lcrypto... yes checking for EC_KEY_set_group in -lcrypto... yes checking for EC_KEY_generate_key in -lcrypto... yes checking for EC_KEY_get0_private_key in -lcrypto... yes checking for ECDSA_SIG_new in -lcrypto... yes checking for ECDSA_SIG_set0 in -lcrypto... yes checking for ECDSA_do_verify in -lcrypto... yes checking for ECDSA_do_sign in -lcrypto... yes checking for EC_KEY_set_group in -lcrypto... (cached) yes checking for RSA_set0_key in -lcrypto... yes checking for RSA_set0_factors in -lcrypto... yes checking for RSA_set0_crt_params in -lcrypto... yes checking for RSA_generate_key_ex in -lcrypto... yes checking for EVP_PKEY_CTX_new in -lcrypto... yes checking for EVP_PKEY_assign in -lcrypto... yes checking for EVP_PKEY_encrypt_init in -lcrypto... yes checking for EVP_PKEY_encrypt in -lcrypto... yes checking for EVP_PKEY_decrypt_init in -lcrypto... yes checking for EVP_PKEY_decrypt in -lcrypto... yes checking for EVP_PKEY_sign_init in -lcrypto... yes checking for EVP_PKEY_sign in -lcrypto... yes checking for EVP_PKEY_verify_init in -lcrypto... yes checking for EVP_PKEY_verify in -lcrypto... yes checking for EVP_get_digestbyname in -lcrypto... yes checking whether EVP_PKEY_CTX_set0_rsa_oaep_label is defined in ... no checking for EVP_PKEY_CTX_set0_rsa_oaep_label in -lcrypto... yes checking whether EVP_PKEY_CTX_set_rsa_padding is defined in ... no checking for EVP_PKEY_CTX_set_rsa_padding in -lcrypto... yes checking whether EVP_PKEY_CTX_set_rsa_oaep_md is defined in ... no checking for EVP_PKEY_CTX_set_rsa_oaep_md in -lcrypto... yes checking whether EVP_PKEY_CTX_set_signature_md is defined in ... no checking for EVP_PKEY_CTX_set_signature_md in -lcrypto... yes checking whether OSSL_KDF_NAME_SSKDF is defined in ... yes checking for EC_POINT_get_affine_coordinates in -lcrypto... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ranlib... ranlib checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for clock_gettime in -lc... yes checking whether linker supports -Wl,-z,relro... yes checking whether linker supports -Wl,-z,now... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dist/libtpms.spec config.status: creating include/Makefile config.status: creating include/libtpms/Makefile config.status: creating include/libtpms/tpm_library.h config.status: creating man/Makefile config.status: creating man/man3/Makefile config.status: creating src/Makefile config.status: creating libtpms.pc config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands AM_CFLAGS=-march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libtpms -DUSE_OPENSSL_FUNCTIONS_SYMMETRIC=1 -DUSE_OPENSSL_FUNCTIONS_EC=1 -DUSE_OPENSSL_FUNCTIONS_ECDSA=1 -DUSE_OPENSSL_FUNCTIONS_RSA=1 -DUSE_OPENSSL_FUNCTIONS_SSKDF=1 -DUSE_EC_POINT_GET_AFFINE_COORDINATES_API=1 -Wall -Werror -Wshadow -Wreturn-type -Wsign-compare -Wno-self-assign -Wmissing-prototypes HARDENING_CFLAGS=-fstack-protector-strong HARDENING_LDFLAGS= -Wl,-z,relro -Wl,-z,now AM_LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs Version to build : 0.10.0 Crypto library : openssl Debug build : no With TPM1.2 support : yes With TPM2 support : yes HAVE_VERSION_SCRIPT : yes Use openssl crypto for : symmetric (AES, TDES) general elliptic curve (EC) elliptic curve (ECDSA) RSA SSKDF (KDFe) Test coverage : no Static build : yes Statically linked tests : yes make all-recursive make[1]: Entering directory '/startdir/src/libtpms' Making all in include make[2]: Entering directory '/startdir/src/libtpms/include' Making all in libtpms make[3]: Entering directory '/startdir/src/libtpms/include/libtpms' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/startdir/src/libtpms/include/libtpms' make[3]: Entering directory '/startdir/src/libtpms/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/startdir/src/libtpms/include' make[2]: Leaving directory '/startdir/src/libtpms/include' Making all in man make[2]: Entering directory '/startdir/src/libtpms/man' Making all in man3 make[3]: Entering directory '/startdir/src/libtpms/man/man3' make[3]: Leaving directory '/startdir/src/libtpms/man/man3' make[3]: Entering directory '/startdir/src/libtpms/man' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/startdir/src/libtpms/man' make[2]: Leaving directory '/startdir/src/libtpms/man' Making all in src make[2]: Entering directory '/startdir/src/libtpms/src' CC libtpms_la-disabled_interface.lo CC libtpms_la-tpm_debug.lo CC libtpms_la-tpm_library.lo CC libtpms_la-tpm_memory.lo CC libtpms_la-tpm_nvfile.lo CC libtpms_tpm12_la-tpm_tpm12_interface.lo CC libtpms_tpm12_la-tpm_tpm12_tis.lo CC libtpms_tpm2_la-tpm_tpm2_interface.lo CC libtpms_tpm2_la-tpm_tpm2_tis.lo CC tpm2/libtpms_tpm2_la-BackwardsCompatibilityBitArray.lo CC tpm2/libtpms_tpm2_la-BackwardsCompatibilityObject.lo CC tpm2/libtpms_tpm2_la-LibtpmsCallbacks.lo CC tpm2/libtpms_tpm2_la-NVMarshal.lo CC tpm2/libtpms_tpm2_la-RuntimeAlgorithm.lo CC tpm2/libtpms_tpm2_la-RuntimeAttributes.lo CC tpm2/libtpms_tpm2_la-RuntimeCommands.lo CC tpm2/libtpms_tpm2_la-RuntimeProfile.lo CC tpm2/libtpms_tpm2_la-StateMarshal.lo CC tpm2/libtpms_tpm2_la-Volatile.lo CC tpm12/libtpms_tpm12_la-tpm_admin.lo CC tpm12/libtpms_tpm12_la-tpm_audit.lo CC tpm12/libtpms_tpm12_la-tpm_auth.lo CC tpm12/libtpms_tpm12_la-tpm_cryptoh.lo CC tpm12/libtpms_tpm12_la-tpm_counter.lo CC tpm12/libtpms_tpm12_la-tpm_daa.lo CC tpm12/libtpms_tpm12_la-tpm_delegate.lo CC tpm12/libtpms_tpm12_la-tpm_digest.lo CC tpm12/libtpms_tpm12_la-tpm_error.lo CC tpm12/libtpms_tpm12_la-tpm_global.lo CC tpm12/libtpms_tpm12_la-tpm_identity.lo CC tpm12/libtpms_tpm12_la-tpm_init.lo CC tpm12/libtpms_tpm12_la-tpm_libtpms_io.lo CC tpm12/libtpms_tpm12_la-tpm_key.lo CC tpm12/libtpms_tpm12_la-tpm_load.lo CC tpm12/libtpms_tpm12_la-tpm_maint.lo CC tpm12/libtpms_tpm12_la-tpm_migration.lo CC tpm12/libtpms_tpm12_la-tpm_nonce.lo CC tpm12/libtpms_tpm12_la-tpm_nvram.lo CC tpm12/libtpms_tpm12_la-tpm_openssl_helpers.lo CC tpm12/libtpms_tpm12_la-tpm_owner.lo CC tpm12/libtpms_tpm12_la-tpm_pcr.lo CC tpm12/libtpms_tpm12_la-tpm_permanent.lo CC tpm12/libtpms_tpm12_la-tpm_platform.lo CC tpm12/libtpms_tpm12_la-tpm_process.lo CC tpm12/libtpms_tpm12_la-tpm_secret.lo CC tpm12/libtpms_tpm12_la-tpm_session.lo CC tpm12/libtpms_tpm12_la-tpm_sizedbuffer.lo CC tpm12/libtpms_tpm12_la-tpm_startup.lo CC tpm12/libtpms_tpm12_la-tpm_store.lo CC tpm12/libtpms_tpm12_la-tpm_storage.lo CC tpm12/libtpms_tpm12_la-tpm_ticks.lo CC tpm12/libtpms_tpm12_la-tpm_time.lo CC tpm12/libtpms_tpm12_la-tpm_transport.lo CC tpm12/libtpms_tpm12_la-tpm_ver.lo CC tpm12/libtpms_tpm12_la-tpm_svnrevision.lo CC tpm12/libtpms_tpm12_la-tpm_crypto.lo CC tpm2/libtpms_tpm2_la-ACT_spt.lo CC tpm2/libtpms_tpm2_la-ACTCommands.lo CC tpm2/libtpms_tpm2_la-AlgorithmCap.lo CC tpm2/libtpms_tpm2_la-AlgorithmTests.lo CC tpm2/libtpms_tpm2_la-AsymmetricCommands.lo CC tpm2/libtpms_tpm2_la-AttestationCommands.lo CC tpm2/libtpms_tpm2_la-Attest_spt.lo In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:217:23: error: writing 64 bytes into a region of size 16 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 2 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:217:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 66 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:217:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 130 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:217:23: error: writing 32 bytes into a region of size 16 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset [2, 18] into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:212:23: error: writing 64 bytes into a region of size 16 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 2 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:212:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 66 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:212:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 130 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:245:25: tpm2/AlgorithmTests.c:212:23: error: writing 32 bytes into a region of size 16 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset [2, 18] into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:217:23: error: writing 64 bytes into a region of size 16 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 2 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:217:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 66 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:217:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 130 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:217:23: error: writing 32 bytes into a region of size 16 [-Werror=stringop-overflow=] 217 | *iv++ = i; | ~~~~~~^~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset [2, 18] into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:212:23: error: writing 64 bytes into a region of size 16 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 2 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:212:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 66 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:212:23: error: writing 64 bytes into a region of size 0 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset 130 into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ In function 'MakeIv', inlined from 'TestSymmetricAlgorithm' at tpm2/AlgorithmTests.c:261:5: tpm2/AlgorithmTests.c:212:23: error: writing 32 bytes into a region of size 16 [-Werror=stringop-overflow=] 212 | *iv++ = 0xff - (BYTE)(size - i); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/AlgorithmTests.c: In function 'TestSymmetricAlgorithm': tpm2/AlgorithmTests.c:230:21: note: at offset [2, 18] into destination object 'iv' of size 18 230 | static TPM2B_IV iv; | ^~ CC tpm2/libtpms_tpm2_la-AuditCommands.lo CC tpm2/libtpms_tpm2_la-Bits.lo CC tpm2/libtpms_tpm2_la-BnEccConstants.lo At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors make[2]: *** [Makefile:2539: tpm2/libtpms_tpm2_la-AlgorithmTests.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/startdir/src/libtpms/src' make[1]: *** [Makefile:527: all-recursive] Error 1 make[1]: Leaving directory '/startdir/src/libtpms' make: *** [Makefile:434: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_e645d8e3-506d-4773-9198-8d0cabc04adf/build