Skip to content

[CI][Python][Packaging] macOS monterey wheels fail building wheels installing bzip2 vcpkg #47614

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

The macos monterey wheels have been failing rebuilding vcpkg dependencies:
-wheel-macos-monterey-cp310-cp310-amd64
-wheel-macos-monterey-cp310-cp310-arm64
-wheel-macos-monterey-cp311-cp311-amd64
-wheel-macos-monterey-cp311-cp311-arm64
-wheel-macos-monterey-cp312-cp312-amd64
-wheel-macos-monterey-cp312-cp312-arm64
-wheel-macos-monterey-cp313-cp313-amd64
-wheel-macos-monterey-cp313-cp313-arm64
-wheel-macos-monterey-cp313-cp313t-amd64
-wheel-macos-monterey-cp313-cp313t-arm64

with:

FAILED: [code=1] ../CMakeCache.txt 
"/usr/local/bin/cmake" -E chdir ".." "/usr/local/bin/cmake" "/Users/runner/work/crossbow/crossbow/vcpkg/buildtrees/bzip2/src/bzip2-1-336d4794a3.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/Users/runner/work/crossbow/crossbow/vcpkg/packages/bzip2_amd64-osx-static-release" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBZIP2_SKIP_TOOLS=OFF" "-DBZ2_VERSION=1.0.8" "-DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja" "-DCMAKE_SYSTEM_NAME=Darwin" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/runner/work/crossbow/crossbow/vcpkg/scripts/toolchains/osx.cmake" "-DVCPKG_TARGET_TRIPLET=amd64-osx-static-release" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=/Users/runner/work/crossbow/crossbow/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/Users/runner/work/crossbow/crossbow/vcpkg" "-D_VCPKG_INSTALLED_DIR=/Users/runner/work/crossbow/crossbow/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_OSX_ARCHITECTURES=x86_64"
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

Component(s)

Continuous Integration, Packaging, Python

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions