Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79178 - [python-tpm2-pytss] tpm2_ptool triggers an ImportError

Attached to Project: Arch Linux
Opened by Mynacol (mynacol) - Sunday, 23 July 2023, 15:17 GMT
Last edited by David Runge (dvzrv) - Monday, 24 July 2023, 08:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Jonas Witschel (diabonas)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running `tpm2_ptool --help` fails with a python ImportError, as it wouldn't find the symbol Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal.

After some digging I found https://github.com/tpm2-software/tpm2-pkcs11/issues/840 describing this exact issue.
The proposed solution is to rebuild python-tpm2-pytss against at least tpm2-tss 4.0 (which removed the missing symbols). After rebuilding I can use tpm2_ptool again.

Additional info:
* package version(s) tpm2-pkcs11 1.9.0-1, python-tpm2-pytss 2.1.0-1, tpm2-tss 4.0.1-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
Try to call `tpm2_ptool --help` with the official repo packages installed. An import error should be printed.
This task depends upon

Closed by  David Runge (dvzrv)
Monday, 24 July 2023, 08:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with python-tpm2-pytss 2.1.0-2
Comment by David Runge (dvzrv) - Monday, 24 July 2023, 08:00 GMT
@mynacol: Thanks for the report.

I'll rebuild.
Comment by David Runge (dvzrv) - Monday, 24 July 2023, 08:08 GMT
@mynacol: Please also do not use the flagging mechanism to report a bug.

Loading...