tpm2-tss: FTBFS (test failures)

Bug #2031020 reported by Lukas Märdian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tpm2-tss (Debian)
Fix Released
Unknown
tpm2-tss (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1040521:

[<email.message.EmailMessage object at 0x7f62e83f8cd0>, <email.message.EmailMessage object at 0x7f62e76eb6d0>]

Related branches

Lukas Märdian (slyon)
tags: added: update-excuse
Revision history for this message
Lukas Märdian (slyon) wrote (last edit ):

Big endian architectures are not officially supported by upstream according to https://github.com/tpm2-software/tpm2-tss/issues/2139

> I don't think we explicitly support big endian platforms (correct me if I'm wrong). As it turns out, the TSS does not only build and run on big endian machines - apparently, we are packaged for such platforms, as well. At least for me, that was a surprise.

Furthermore, Debian and upstream are actively working on a solution for the big endian failures. So I think we should work around this FTBFS until it got properly fixed upstream. Maybe by disabling the broken FAPI &
tcti-spi-helper functionality.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040521
https://github.com/tpm2-software/tpm2-tss/issues/2531

Edit: Or maybe the s390x binaries should be dropped all together, until this is resolved?

Revision history for this message
Lukas Märdian (slyon) wrote :

I added a merge-proposal to drop FAPI & tcti-spi-helper functionality (and binary packages) on s390x. Test build available here: https://launchpad.net/~slyon/+archive/ubuntu/testing/+sourcepub/15073119/+listing-archive-extra

tags: added: rls-mm-incoming
Lukas Märdian (slyon)
tags: removed: rls-mm-incoming
Changed in tpm2-tss (Debian):
importance: Undecided → Unknown
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tpm2-tss - 4.0.1-2ubuntu2

---------------
tpm2-tss (4.0.1-2ubuntu2) mantic; urgency=medium

  * Fix FTBFS due to big-endian conversion issues (LP: #2031020)
    + Apply tcti libtpms fixes for s390x s390x
      d/p/0001-tss2-tcti-tcti-libtpms-fix-test-failure-on-big-endia.patch
    + Fix big-endian issue in tcti-spi-helper
      d/p/fix-tcti-spi-helper-big-endian.patch
    + Skip failing tests on big-endian, due to broken binary test input files
      d/p/disable-tests-on-big-endian.patch

 -- Lukas Märdian <email address hidden> Tue, 22 Aug 2023 13:58:05 +0200

Changed in tpm2-tss (Ubuntu):
status: New → Fix Released
Changed in tpm2-tss (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.