Package: src:tpm2-tss Version: 4.1.3-1.2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:tpm2-tss, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean debian/rules override_dh_autoreconf_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -f compile depcomp ltmain.sh config.sub missing config.guess \ install-sh m4/ltoptions.m4 m4/ltversion.m4 m4/libtool.m4 \ m4/ltsugar.m4 m4/lt\~obsolete.m4 dh_autoreconf_clean make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean debian/rules binary dh binary dh_update_autotools_config debian/rules override_dh_autoreconf make[1]: Entering directory '/<<PKGBUILDDIR>>' [... snipped ...] 1046 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_VOLATILE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1046:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_remap_state_success_testâ: test/unit/tcti-libtpms.c:1121:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1121 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1121:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1122:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1122 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1122:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1127:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1127 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_PERMANENT); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1127:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1131:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1131 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_VOLATILE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1131:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1136:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1136 | expect_value(__wrap_mremap, old_address, STATEFILE_MMAP); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1136:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1137:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1137 | expect_value(__wrap_mremap, old_size, STATE_MMAP_CHUNK_LEN); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1137:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1138:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1138 | expect_value(__wrap_mremap, new_size, STATE_MMAP_CHUNK_LEN * 2); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1138:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1139:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1139 | expect_value(__wrap_mremap, flags, MREMAP_MAYMOVE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1139:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1143:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1143 | expect_value(__wrap_open, flags, O_RDWR | O_CREAT); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1143:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1144:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1144 | expect_value(__wrap_open, mode, 0644); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1144:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1147:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1147 | expect_value(__wrap_posix_fallocate, fd, STATEFILE_FD); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1147:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1148:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1148 | expect_value(__wrap_posix_fallocate, offset, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1148:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1149:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1149 | expect_value(__wrap_posix_fallocate, len, STATE_MMAP_CHUNK_LEN * 2); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1149:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1153:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1153 | expect_value(__wrap_close, fd, STATEFILE_FD); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1153:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_remap_state_mremap_fail_testâ: test/unit/tcti-libtpms.c:1183:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1183 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1183:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1184:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1184 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1184:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1189:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1189 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_PERMANENT); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1189:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1193:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1193 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_VOLATILE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1193:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1198:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1198 | expect_value(__wrap_mremap, old_address, STATEFILE_MMAP); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1198:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1199:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1199 | expect_value(__wrap_mremap, old_size, STATE_MMAP_CHUNK_LEN); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1199:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1200:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1200 | expect_value(__wrap_mremap, new_size, STATE_MMAP_CHUNK_LEN * 2); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1200:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1201:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1201 | expect_value(__wrap_mremap, flags, MREMAP_MAYMOVE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1201:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_remap_state_posix_fallocate_fail_testâ: test/unit/tcti-libtpms.c:1231:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1231 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1231:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1232:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1232 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1232:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1237:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1237 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_PERMANENT); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1237:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1241:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1241 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_VOLATILE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1241:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1246:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1246 | expect_value(__wrap_mremap, old_address, STATEFILE_MMAP); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1246:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1247:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1247 | expect_value(__wrap_mremap, old_size, STATE_MMAP_CHUNK_LEN); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1247:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1248:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1248 | expect_value(__wrap_mremap, new_size, STATE_MMAP_CHUNK_LEN * 2); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1248:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1249:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1249 | expect_value(__wrap_mremap, flags, MREMAP_MAYMOVE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1249:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1253:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1253 | expect_value(__wrap_open, flags, O_RDWR | O_CREAT); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1253:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1254:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1254 | expect_value(__wrap_open, mode, 0644); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1254:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1257:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1257 | expect_value(__wrap_posix_fallocate, fd, STATEFILE_FD); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1257:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1258:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1258 | expect_value(__wrap_posix_fallocate, offset, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1258:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1259:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1259 | expect_value(__wrap_posix_fallocate, len, STATE_MMAP_CHUNK_LEN * 2); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1259:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1264:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1264 | expect_value(__wrap_close, fd, STATEFILE_FD); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1264:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_no_statefile_success_testâ: test/unit/tcti-libtpms.c:1293:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1293 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1293:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1294:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1294 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1294:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_two_states_no_statefiles_success_testâ: test/unit/tcti-libtpms.c:1347:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1347 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd_aa)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1347:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1348:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1348 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1348:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1368:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1368 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd_bb)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1368:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1369:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1369 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1369:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_two_states_success_testâ: test/unit/tcti-libtpms.c:1451:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1451 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd_aa)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1451:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1452:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1452 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1452:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1457:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1457 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_PERMANENT); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1457:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1461:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1461 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_VOLATILE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1461:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1479:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1479 | expect_value(TPMLIB_Process, cmd_len, sizeof(cmd_bb)); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1479:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1480:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1480 | expect_value(TPMLIB_Process, locality, 0); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1480:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1485:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1485 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_PERMANENT); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1485:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1489:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1489 | expect_value(TPMLIB_GetState, st, TPMLIB_STATE_VOLATILE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1489:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_teardown_no_statefileâ: test/unit/tcti-libtpms.c:1628:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1628 | expect_value(__wrap_dlclose, handle, LIBTPMS_DL_HANDLE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1628:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_teardown_s1â: test/unit/tcti-libtpms.c:1650:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1650 | expect_value(__wrap_dlclose, handle, LIBTPMS_DL_HANDLE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1650:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1654:9: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1654 | expect_value(__wrap_munmap, addr, tcti_libtpms->state_mmap); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1654:9: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1655:9: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1655 | expect_value(__wrap_munmap, len, tcti_libtpms->state_mmap_len); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1655:9: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1661:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1661 | expect_value(__wrap_truncate, length, S1_STATE_LEN); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1661:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_teardown_s2â: test/unit/tcti-libtpms.c:1683:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1683 | expect_value(__wrap_dlclose, handle, LIBTPMS_DL_HANDLE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1683:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1686:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1686 | expect_value(__wrap_munmap, addr, STATEFILE_MMAP); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1686:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1687:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1687 | expect_value(__wrap_munmap, len, STATE_MMAP_CHUNK_LEN); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1687:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1692:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1692 | expect_value(__wrap_truncate, length, S2_STATE_LEN); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1692:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_teardown_s3â: test/unit/tcti-libtpms.c:1714:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1714 | expect_value(__wrap_dlclose, handle, LIBTPMS_DL_HANDLE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1714:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1717:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1717 | expect_value(__wrap_munmap, addr, STATEFILE_MMAP_NEW); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1717:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1718:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1718 | expect_value(__wrap_munmap, len, STATE_MMAP_CHUNK_LEN * 2); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1718:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c:1723:5: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1723 | expect_value(__wrap_truncate, length, S3_STATE_LEN); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1723:5: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] test/unit/tcti-libtpms.c: In function âtcti_libtpms_teardown_two_statesâ: test/unit/tcti-libtpms.c:1755:9: warning: âcmocka_macroâ is deprecated: expect_value: use expect_int_value or expect_uint_value instead [-Wdeprecated-declarations] 1755 | expect_value(__wrap_dlclose, handle, LIBTPMS_DL_HANDLE); | ^~~~~~~~~~~~ test/unit/tcti-libtpms.c:1755:9: warning: âcmocka_macroâ is deprecated: expect_value_count: use expect_int_value_count or expect_uint_value_count instead [-Wdeprecated-declarations] make[2]: *** [Makefile:32688: test/unit/tcti_libtpms-tcti-libtpms.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:34322: check-am] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test: error: make -j2 check TESTSUITEFLAGS="-j2 --verbose" VERBOSE=1 returned exit code 2 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

