https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/tpm2-pytss-2.1.0-r1 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 883536 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: E TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers' is not an acceptable base type ERROR test/test_crypto.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_encoding.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_esapi.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_exception.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_fapi.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_policy.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_tcti.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_tcti_spi_helper.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_tsskey.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_types.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_utils.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dedba7f86ed4bbce0dd5c750cecaec5d0c3a1acf commit dedba7f86ed4bbce0dd5c750cecaec5d0c3a1acf Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2024-01-26 02:27:08 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-03-04 14:53:40 +0000 dev-python/tpm2-pytss: support Python 3.12, dev-python/cryptography >= 42 Closes: https://bugs.gentoo.org/922900 Closes: https://bugs.gentoo.org/923240 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> ...ypto-fix-_MyRSAPrivateNumbers-with-crypto.patch | 73 ++++++++++++++++++++++ ...e-pcr_set_auth_value-and-pcr_set_auth_pol.patch | 40 ++++++++++++ dev-python/tpm2-pytss/tpm2-pytss-2.1.0-r2.ebuild | 48 ++++++++++++++ 3 files changed, 161 insertions(+)