From 8a96aee70dfd6d875cc97a8c5ede6e9c323be838 Mon Sep 17 00:00:00 2001 From: Scott M Anderson Date: Wed, 18 Nov 2026 14:45:01 -0700 Subject: [PATCH] musllinux: exclude RunCMake.InstallPrep from test suite CMake 4.5.0 adds a new RunCMake.InstallPrep test directory whose RuntimeDependencySet/RuntimeDependencies install subtests resolve runtime dependencies via ldconfig. musl has no ldconfig, so the subtests fail with "file Failed to run ldconfig" -- the same class of failure already excluded for ExportImport, RunCMake.install, and RunCMake.file-GET_RUNTIME_DEPENDENCIES on musllinux. All 7 musllinux wheel jobs on the CMake 4.5.0 update PR fail on this single test (ctest --stop-on-failure). Audit of the 4.5.0 test tree confirms InstallPrep is the only directory exercising the GET_RUNTIME_DEPENDENCIES machinery not already in the exclusion list; it does not exist in 4.4.5, whose musllinux builds pass. --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0d2890bd..8b0a2054 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -147,17 +147,17 @@ select = ["*-musllinux_*"] inherit.config-settings = "append" # disable some tests # - BootstrapTest fails with custom OpenSSL and probably does not make much sense for this project -# - ExportImport|RunCMake.install|RunCMake.file-GET_RUNTIME_DEPENDENCIES: c.f. https://discourse.cmake.org/t/cmake-test-suite-failing-on-alpine-linux/5064 -config-settings."cmake.define.RUN_CMAKE_TEST_EXCLUDE" = "BootstrapTest|CTestTestFdSetSize|ExportImport|RunCMake.install|RunCMake.RuntimePath|RunCMake.file-GET_RUNTIME_DEPENDENCIES" +# - ExportImport|RunCMake.install|RunCMake.file-GET_RUNTIME_DEPENDENCIES|RunCMake.InstallPrep: c.f. https://discourse.cmake.org/t/cmake-test-suite-failing-on-alpine-linux/5064 +config-settings."cmake.define.RUN_CMAKE_TEST_EXCLUDE" = "BootstrapTest|CTestTestFdSetSize|ExportImport|RunCMake.install|RunCMake.RuntimePath|RunCMake.file-GET_RUNTIME_DEPENDENCIES|RunCMake.InstallPrep" [[tool.cibuildwheel.overrides]] select = ["*-musllinux_ppc64le", "*-musllinux_s390x"] inherit.config-settings = "append" # disable some tests # - BootstrapTest fails with custom OpenSSL and probably does not make much sense for this project -# - ExportImport|RunCMake.install|RunCMake.file-GET_RUNTIME_DEPENDENCIES: c.f. https://discourse.cmake.org/t/cmake-test-suite-failing-on-alpine-linux/5064 +# - ExportImport|RunCMake.install|RunCMake.file-GET_RUNTIME_DEPENDENCIES|RunCMake.InstallPrep: c.f. https://discourse.cmake.org/t/cmake-test-suite-failing-on-alpine-linux/5064 # - RunCMake.execute_process fails because QEMU prints on stderr on SIGSEGV -config-settings."cmake.define.RUN_CMAKE_TEST_EXCLUDE" = "BootstrapTest|CTestTestFdSetSize|ExportImport|RunCMake.install|RunCMake.RuntimePath|RunCMake.file-GET_RUNTIME_DEPENDENCIES|RunCMake.execute_process" +config-settings."cmake.define.RUN_CMAKE_TEST_EXCLUDE" = "BootstrapTest|CTestTestFdSetSize|ExportImport|RunCMake.install|RunCMake.RuntimePath|RunCMake.file-GET_RUNTIME_DEPENDENCIES|RunCMake.execute_process|RunCMake.InstallPrep" [[tool.cibuildwheel.overrides]] select = ["*-manylinux_ppc64le", "*-manylinux_s390x"]