Skip to content

[C++][R] #include <ranges> in vector_select_k.cc breaks macOS CRAN and wasm builds #50295

Closed

Description

@thisisnic

vector_select_k.cc:20 includes <ranges>, which is not available on the macOS CRAN toolchain or emscripten:

https://github.com/apache/arrow/blob/d0919579cb/cpp/src/arrow/compute/kernels/vector_select_k.cc#L20

/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/compute/kernels/vector_select_k.cc:20:10: fatal error: 'ranges' file not found
   20 | #include <ranges>
      |          ^~~~~~~~
1 error generated.

From test-r-macos-as-cran nightly run: https://github.com/ursacomputing/crossbow/actions/runs/28413608596

Also failing on test-r-wasm: https://github.com/ursacomputing/crossbow/actions/runs/28413609309

Introduced in PR #46926 (merged Jun 22). Breaking test-r-macos-as-cran and test-r-wasm nightlies since June 23.

Activity

  1. added this to the 25.0.0 milestone on Jun 30, 2026
  2. raulcd commented on Jul 1, 2026

    @raulcd
    Member

    @thisisnic the feature freeze is planned for today. This is a blocker, right? I can merge it after the feature freeze but I want to mark blockers so I don't create a Release Candidate until those are solved.

  3. thisisnic commented on Jul 1, 2026

    @thisisnic
    MemberAuthor

    Yeah, mark as blocker please!

  4. added a commit that references this issue on Jul 1, 2026
  5. thisisnic commented on Jul 1, 2026

    @thisisnic
    MemberAuthor

    Issue resolved by pull request 50297
    #50297

  6. added a commit that references this issue on Jul 2, 2026
  7. added a commit that references this issue on Jul 30, 2026
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