From a7aae56e119a7b80263be94811471ffa54f9dab8 Mon Sep 17 00:00:00 2001 From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org> Date: Thu, 11 Jul 2024 15:25:45 +0000 Subject: [PATCH] testing/py3-tpm2-pytss: disable on loongarch64 https://build.alpinelinux.org/buildlogs/build-edge-loongarch64/testing/py3-tpm2-pytss/py3-tpm2-pytss-2.2.1-r0.log cffi.CDefError: only supports one of the following syntax: #define TPM2_HR_PCR ... (literally dot-dot-dot) #define TPM2_HR_PCR NUMBER (with NUMBER an integer constant, decimal/hex/octal) got: #define TPM2_HR_PCR ...<< TPM2_HR_SHIFT) --- testing/py3-tpm2-pytss/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/py3-tpm2-pytss/APKBUILD b/testing/py3-tpm2-pytss/APKBUILD index a64984008683..2d0a14685ed2 100644 --- a/testing/py3-tpm2-pytss/APKBUILD +++ b/testing/py3-tpm2-pytss/APKBUILD @@ -6,7 +6,9 @@ pkgver=2.2.1 pkgrel=0 pkgdesc="Python bindings for TSS" url="https://github.com/tpm2-software/tpm2-pytss" -arch="all !armhf !armv7 !riscv64 !x86" # limited by failing check() +# armhf, armv7, riscv64, x86: limited by failing check() +# loongarch64: ftbfs, raises cffi.CDefError +arch="all !armhf !armv7 !riscv64 !x86 !loongarch64" license="BSD-2-Clause" checkdepends=" py3-pytest-forked -- GitLab