Skip to content

ADIOS 2.11.0 DILL CMake issue on macOS GH Action Runners #4807

@ax3l

Description

@ax3l

In openPMD/openPMD-api#1833, I am trying to build an all-static build of openPMD-api dependencies, including ADIOS2.
I am updating that build logic from ADIOS 2.10 to 2.11 right now.

My Linux builds are all good. Using the exact same build logic, but on macOS-14 arm64 and macOS-15 x86_64 GitHub runners alike, I get the following error from just updating from 2.10 to 2.11:

cmake \
        -DBUILD_SHARED_LIBS=OFF                   \
        -DBUILD_TESTING=OFF                       \
        -DCMAKE_POSITION_INDEPENDENT_CODE=ON      \
        -DADIOS2_BUILD_EXAMPLES=OFF               \
        -DADIOS2_Blosc2_PREFER_SHARED=OFF         \
        -DADIOS2_USE_BZip2=OFF                    \
        -DADIOS2_USE_Blosc2=ON                    \
        -DADIOS2_USE_Campaign=ON                  \
        -DADIOS2_USE_Fortran=OFF                  \
        -DADIOS2_USE_HDF5=OFF                     \
        -DADIOS2_USE_MHS=OFF                      \
        -DADIOS2_USE_MPI=OFF                      \
        -DADIOS2_USE_PNG=OFF                      \
        -DADIOS2_USE_Sodium=OFF                   \
        -DADIOS2_USE_SST=ON                       \
        -DADIOS2_USE_ZFP=ON                       \
        -DADIOS2_RUN_INSTALL_TEST=OFF             \
        -DHDF5_USE_STATIC_LIBRARIES:BOOL=ON       \
        -DCMAKE_VERBOSE_MAKEFILE=ON               \
        -DCMAKE_DISABLE_FIND_PACKAGE_LibFFI=TRUE  \
        -DCMAKE_DISABLE_FIND_PACKAGE_BISON=TRUE   \
        -DADIOS2_INSTALL_GENERATE_CONFIG=OFF      \
        -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} ../ADIOS2-*
...
2026-01-18T07:40:15.8431920Z -- ADIOS2 ThirdParty: Configuring dill
2026-01-18T07:40:15.8463950Z -- Check size of void*
2026-01-18T07:40:16.0550630Z -- Check size of void* - done
2026-01-18T07:40:16.0551540Z -- Check size of long
2026-01-18T07:40:16.2012420Z -- Check size of long - done
2026-01-18T07:40:16.2013110Z -- DILL - NO Native CG without code signing on Darwin
2026-01-18T07:40:16.2040370Z -- DILL - DILL_IGNORE_NATIVE set or native architecture unsupported, but autoconf or automake not found, so unable to build libffi
...
2026-01-18T05:33:31.8570680Z -- Found atl: /Users/runner/work/openPMD-api/openPMD-api/src/build-adios2/thirdparty/atl/atl/atl-config.cmake (found version "2.2.2")
2026-01-18T05:33:31.8733430Z CMake Error at /private/var/folders/01/3lf990bj2yxcpypsx6hqj_m80000gn/T/cibw-run-h0bofn0j/cp310-macosx_arm64/build/venv/lib/python3.10/site-packages/cmake/data/share/cmake-4.2/Modules/CMakeFindDependencyMacro.cmake:93 (find_package):
2026-01-18T05:33:31.8734340Z   By not providing "Finddill.cmake" in CMAKE_MODULE_PATH this project has
2026-01-18T05:33:31.8734710Z   asked CMake to find a package configuration file provided by "dill", but
2026-01-18T05:33:31.8735000Z   CMake did not find one.
2026-01-18T05:33:31.8735110Z 
2026-01-18T05:33:31.8735250Z   Could not find a package configuration file provided by "dill" with any of
2026-01-18T05:33:31.8735520Z   the following names:
2026-01-18T05:33:31.8735610Z 
2026-01-18T05:33:31.8735660Z     dillConfig.cmake
2026-01-18T05:33:31.8736050Z     dill-config.cmake
2026-01-18T05:33:31.8736150Z 
2026-01-18T05:33:31.8736290Z   Add the installation prefix of "dill" to CMAKE_PREFIX_PATH or set
2026-01-18T05:33:31.8736620Z   "dill_DIR" to a directory containing one of the above files.  If "dill"
2026-01-18T05:33:31.8736980Z   provides a separate development package or SDK, be sure it has been
2026-01-18T05:33:31.8737220Z   installed.
2026-01-18T05:33:31.8737360Z Call Stack (most recent call first):
2026-01-18T05:33:31.8738100Z   /private/var/folders/01/3lf990bj2yxcpypsx6hqj_m80000gn/T/cibw-run-h0bofn0j/cp310-macosx_arm64/build/venv/lib/python3.10/site-packages/cmake/data/share/cmake-4.2/Modules/CMakeFindDependencyMacro.cmake:125 (__find_dependency_common)
2026-01-18T05:33:31.8739070Z   /Users/runner/work/openPMD-api/openPMD-api/src/build-adios2/thirdparty/ffs/ffs/ffs-config.cmake:11 (find_dependency)
2026-01-18T05:33:31.8739500Z   thirdparty/CMakeLists.txt:132 (find_package)
2026-01-18T05:33:31.8739650Z 
2026-01-18T05:33:31.8739650Z 
2026-01-18T05:33:31.8744230Z -- Configuring incomplete, errors occurred!

The exact build logic is in the above link in the file library_builders.sh

job-logs.txt

attn @eisenhauer @pnorbert @vicentebolea please help :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions