From 62719523f678e26bd9b5e63088be4ad6f3386023 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 12 Apr 2023 00:36:35 -0500 Subject: user/mbedtls: disable alignment tests. see #1002. This test suite was added in: https://github.com/Mbed-TLS/mbedtls\ /commit/fb5fedcd00726555def8b1d47293e87562db0f86 and indicates that there may not be a regression. It fails on at least two big-endian platforms, of which ppc64 and sparc64 were tested. The test suite may be broken, or alignment.h may be, and we will need to investigate this further. Disable the test suite for now. --- user/mbedtls/APKBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'user/mbedtls/APKBUILD') diff --git a/user/mbedtls/APKBUILD b/user/mbedtls/APKBUILD index 5b8bf3a89..2b2751e6f 100644 --- a/user/mbedtls/APKBUILD +++ b/user/mbedtls/APKBUILD @@ -20,6 +20,16 @@ source="mbedtls-$pkgver.tar.gz::https://github.com/ARMmbed/mbedtls/archive/refs/ # - CVE-2022-46392 # - CVE-2022-46393 +prepare() { + default_prepare + + #1002 -- fails on BE platforms (ppc64, sparc64, ...) + rm -v \ + tests/suites/test_suite_alignment.data \ + tests/suites/test_suite_alignment.function \ + ; +} + build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" -- cgit v1.2.3-70-g09d2