-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: pymongoarrow
-
🔵 Done
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
Policy CMP0042 may not be set to OLD behavior because this version of CMake no longer supports it
Link to task:
https://github.com/mongodb-labs/mongo-arrow/actions/runs/17723147517/job/50358946034
Context of when and why the failure occurred:
The version of CMake used on GHA might have changed, or libbson might have changed.
Stack trace:
CMake Error at src/libbson/CMakeLists.txt:141 (cmake_policy): -- Looking for strnlen - found Policy CMP0042 may not be set to OLD behavior because this version of CMake -- Performing Test CMAKE_HAVE_LIBC_PTHREAD no longer supports it. The policy was introduced in CMake version 3.0.0, and use of NEW behavior is now required. Please either update your CMakeLists.txt files to conform to the new behavior or use an older version of CMake that still supports the old behavior. Run cmake --help-policy CMP0042 for more information. Adding -fPIC to compilation of bson_static components