Control: tags -1 pending patch On Tue, 07 May 2024 23:37:34 +0300 Adrian Bunk <b...@debian.org> wrote: > Source: tpm2-tss > Version: 4.1.0-1 > Severity: serious > Tags: ftbfs > > https://buildd.debian.org/status/logs.php?pkg=tpm2-tss&ver=4.1.0-1 > > ... > SKIP: test/unit/tcti-libtpms > ============================ > > WARNING:test:test/unit/tcti-libtpms.c:1793:main() _FILE_OFFSET == 64 would produce cmocka errors. > SKIP test/unit/tcti-libtpms (exit status: 77) > > SKIP: test/unit/tcti-device > =========================== > > WARNING:tests:test/unit/tcti-device.c:454:main() _FILE_OFFSET == 64 would produce cmocka errors. > SKIP test/unit/tcti-device (exit status: 77) > > SKIP: test/unit/tcti-pcap > ========================= > > WARNING:tests:test/unit/tcti-pcap.c:736:main() _FILE_OFFSET == 64 would produce cmocka errors. > SKIP test/unit/tcti-pcap (exit status: 77) > > FAIL: test/unit/tcti-spidev > =========================== > > [==========] tests: Running 1 test(s). > [ RUN ] tcti_spi_init_test > ERROR:tcti:src/tss2-tcti/tcti-spidev.c:48:platform_spi_acquire() SPI acquire failed: Bad file descriptor > ERROR:tcti:src/tss2-tcti/tcti-spi- helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start > ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor > ERROR:tcti:src/tss2-tcti/tcti-spidev.c:48:platform_spi_acquire() SPI acquire failed: Bad file descriptor > ERROR:tcti:src/tss2-tcti/tcti-spi- helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start > ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor > ERROR:tcti:src/tss2-tcti/tcti-spidev.c:48:platform_spi_acquire() SPI acquire failed: Bad file descriptor > ERROR:tcti:src/tss2-tcti/tcti-spi- helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start > ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor > ... > ERROR:tcti:src/tss2-tcti/tcti-spi- helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start > ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor > ERROR:tcti:src/tss2-tcti/tcti-spi- helper.c:728:Tss2_Tcti_Spi_Helper_Init() Probing TPM failed > [ ERROR ] --- 0xa000a != 0 > [ LINE ] --- test/unit/tcti-spidev.c:200: error: Failure! > [ FAILED ] tcti_spi_init_test > [==========] tests: 1 test(s) run. > [ PASSED ] 0 test(s). > [ FAILED ] tests: 1 test(s), listed below: > [ FAILED ] tcti_spi_init_test > > 1 FAILED TEST(S) > FAIL test/unit/tcti-spidev (exit status: 1) > > SKIP: test/unit/fapi-io > ======================= > > WARNING:tests:test/unit/fapi-io.c:370:main() _FILE_OFFSET == 64 would produce cmocka errors. > SKIP test/unit/fapi-io (exit status: 77)
Hi, I have sent a patch upstream to skip that test on 32bit + 64bit timet builds. I have backported it, together with two other patches to fix other FTBFS: https://salsa.debian.org/debian/tpm2-tss/-/merge_requests/9 I have NMU'ed this to DELAYED/2 given it's RC and has been blocking migration for 5 months. I will merge the MR once the delayed NMU makes it into the archive.