thisisnic opened a new issue, #55710:
URL: https://github.com/apache/arrow/issues/55710
### Describe the bug, including details regarding any error messages,
version, and platform.
*I drafted this issue with AI assistance. I've reviewed the text, and I
directed the checks described below to test the assumptions in it.*
Since the 2026-11-20 nightlies, every R job that builds bundled Boost fails
at configure time:
```
CMake Error at libs/locale/CMakeLists.txt:236 (source_group):
source_group
".../boost-1.92.0/libs/locale/include/boost/locale"
is not a prefix of file
".../boost-1.92.0/libs/locale/include/boost/locale.hpp"
```
### Cause
Nothing changed in Arrow. GitHub updated the hosted runner images that
`ubuntu-latest` and `macOS-latest` point to, and the new images ship CMake
4.5.0 instead of 4.4.5 (Ubuntu image version `20261116.202`, macOS arm64 image
version `20261117.0516`). CMake 4.5.0 rejects a `source_group(TREE ...)` call
in Boost.Locale 1.92.0 that earlier versions accepted. We build Boost.Locale
whenever Thrift is enabled, so any Parquet build using bundled Boost is
affected.
In `test-r-devdocs`, the 11-18 and 11-19 runs used CMake 4.4.5 and passed;
the 11-20 and 11-21 runs used CMake 4.5.0 and failed.
This is fixed upstream in boostorg/locale#273 (reported as
boostorg/locale#274) and will ship in Boost 1.93, which is not released yet.
### Affected jobs
- `r-binary-packages` and `test-r-wasm`, via `make sync-cpp`
(`r/tools/trim/boost.sh`)
- `test-r-devdocs` and `test-r-m1-san`, via bundled Boost in `build_boost()`
- the `r_nightly.yml` upload, because `r-binary-packages` produces no
artifacts
The macOS arm64 wheel jobs fail with the same error from vcpkg's
`boost-locale`.
This isn't limited to CI. Configuring the Boost 1.92.0 tarball we pin with
`-DBOOST_INCLUDE_LIBRARIES=locale` succeeds on CMake 4.4.5 and fails with the
error above on CMake 4.5.0, so source builds that use bundled Boost will fail
for anyone on CMake >= 4.5.0.
### Possible fixes
- Apply the upstream two-line fix as a patch to bundled Boost until we can
bump to 1.93
- Pin CMake < 4.5 in the affected jobs as a stopgap
### Component(s)
C++, R, Continuous Integration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]