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!
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!
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
Opened by Mynacol (mynacol) - Sunday, 23 July 2023, 15:17 GMT
Last edited by David Runge (dvzrv) - Monday, 24 July 2023, 08:08 GMT
|
DetailsDescription:
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
Monday, 24 July 2023, 08:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with python-tpm2-pytss 2.1.0-2
I'll rebuild.