Skip to content

GH-47399: [C++] Update bundled Apache ORC to 2.2.0 with Protobuf patch - #47408

Merged
raulcd merged 1 commit into
apache:mainfrom
kou:cpp-orc-protobuf-int64
Aug 25, 2025
Merged

GH-47399: [C++] Update bundled Apache ORC to 2.2.0 with Protobuf patch#47408
raulcd merged 1 commit into
apache:mainfrom
kou:cpp-orc-protobuf-int64

Conversation

@kou

@koukou commented Aug 22, 2025

Copy link
Copy Markdown
Member

Rationale for this change

apache/orc#2357 is needed for recent Protobuf.

What changes are included in this PR?

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #47399has been automatically assigned in GitHub to PR creator.

@kou
kouforce-pushed the cpp-orc-protobuf-int64 branch from 33fb77c to b020465CompareAugust 22, 2025 05:23
@kou

kou commented Aug 22, 2025

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit -g cpp

@github-actions

Copy link
Copy Markdown

Revision: b020465759058b027d7b43c4c9a85d7fac664105

Submitted crossbow builds: ursacomputing/crossbow @ actions-4e62e91a40

TaskStatus
example-cpp-minimal-build-staticGitHub Actions
example-cpp-minimal-build-static-system-dependencyGitHub Actions
example-cpp-tutorialGitHub Actions
test-build-cpp-fuzzGitHub Actions
test-conda-cppGitHub Actions
test-conda-cpp-valgrindGitHub Actions
test-cuda-cpp-ubuntu-22.04-cuda-11.7.1GitHub Actions
test-debian-12-cpp-amd64GitHub Actions
test-debian-12-cpp-i386GitHub Actions
test-fedora-42-cppGitHub Actions
test-ubuntu-22.04-cppGitHub Actions
test-ubuntu-22.04-cpp-20GitHub Actions
test-ubuntu-22.04-cpp-bundledGitHub Actions
test-ubuntu-22.04-cpp-emscriptenGitHub Actions
test-ubuntu-22.04-cpp-no-threadingGitHub Actions
test-ubuntu-24.04-cppGitHub Actions
test-ubuntu-24.04-cpp-bundled-offlineGitHub Actions
test-ubuntu-24.04-cpp-gcc-13-bundledGitHub Actions
test-ubuntu-24.04-cpp-gcc-14GitHub Actions
test-ubuntu-24.04-cpp-minimal-with-formatsGitHub Actions
test-ubuntu-24.04-cpp-thread-sanitizerGitHub Actions

@kou
kouforce-pushed the cpp-orc-protobuf-int64 branch 2 times, most recently from 290cc09 to 528eb47CompareAugust 22, 2025 05:54
@kou
kouforce-pushed the cpp-orc-protobuf-int64 branch from 528eb47 to 9b15c2dCompareAugust 22, 2025 06:36
list(APPEND ORC_PATCHES ${CMAKE_CURRENT_LIST_DIR}/orc-2357.patch)
endif()
if(ORC_PATCHES)
find_program(PATCH patch REQUIRED)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall that there are some docker images required to add patch dependency when I was fixing a previous ORC build failure. Is it still the case?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the CI result, we don't need to add additional patch dependency. But let's try R and wheel related CI jobs before we merge this.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the CI failures are related and are currently failing on the nightlies.

Comment threadcpp/cmake_modules/ThirdpartyToolchain.cmake
@kou

kou commented Aug 25, 2025

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit -g wheel -g r

@github-actionsgithub-actionsBot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Aug 25, 2025
@github-actions

Copy link
Copy Markdown

Revision: 9b15c2d

Submitted crossbow builds: ursacomputing/crossbow @ actions-59686f3dfc

TaskStatus
python-sdistGitHub Actions
r-binary-packagesGitHub Actions
r-recheck-mostGitHub Actions
test-r-arrow-backwards-compatibilityGitHub Actions
test-r-depsource-bundledAzure
test-r-depsource-systemGitHub Actions
test-r-dev-duckdbGitHub Actions
test-r-devdocsGitHub Actions
test-r-extra-packagesGitHub Actions
test-r-gcc-11GitHub Actions
test-r-gcc-12GitHub Actions
test-r-install-localGitHub Actions
test-r-install-local-minsizerelGitHub Actions
test-r-linux-as-cranGitHub Actions
test-r-linux-rchkGitHub Actions
test-r-linux-sanitizersGitHub Actions
test-r-linux-valgrindGitHub Actions
test-r-m1-sanGitHub Actions
test-r-macos-as-cranGitHub Actions
test-r-minimal-buildAzure
test-r-offline-maximalGitHub Actions
test-r-offline-minimalAzure
test-r-rhub-debian-gcc-devel-lto-latestAzure
test-r-rhub-debian-gcc-release-custom-ccacheAzure
test-r-rhub-ubuntu-release-latestAzure
test-r-rocker-r-ver-latestAzure
test-r-rstudio-r-base-4.1-focalAzure
test-r-rstudio-r-base-4.2-focalAzure
test-r-ubuntu-22.04GitHub Actions
test-r-versionsGitHub Actions
wheel-macos-monterey-cp310-cp310-amd64GitHub Actions
wheel-macos-monterey-cp310-cp310-arm64GitHub Actions
wheel-macos-monterey-cp311-cp311-amd64GitHub Actions
wheel-macos-monterey-cp311-cp311-arm64GitHub Actions
wheel-macos-monterey-cp312-cp312-amd64GitHub Actions
wheel-macos-monterey-cp312-cp312-arm64GitHub Actions
wheel-macos-monterey-cp313-cp313-amd64GitHub Actions
wheel-macos-monterey-cp313-cp313-arm64GitHub Actions
wheel-macos-monterey-cp313-cp313t-amd64GitHub Actions
wheel-macos-monterey-cp313-cp313t-arm64GitHub Actions
wheel-macos-monterey-cp39-cp39-amd64GitHub Actions
wheel-macos-monterey-cp39-cp39-arm64GitHub Actions
wheel-manylinux-2-28-cp310-cp310-amd64GitHub Actions
wheel-manylinux-2-28-cp310-cp310-arm64GitHub Actions
wheel-manylinux-2-28-cp311-cp311-amd64GitHub Actions
wheel-manylinux-2-28-cp311-cp311-arm64GitHub Actions
wheel-manylinux-2-28-cp312-cp312-amd64GitHub Actions
wheel-manylinux-2-28-cp312-cp312-arm64GitHub Actions
wheel-manylinux-2-28-cp313-cp313-amd64GitHub Actions
wheel-manylinux-2-28-cp313-cp313-arm64GitHub Actions
wheel-manylinux-2-28-cp313-cp313t-amd64GitHub Actions
wheel-manylinux-2-28-cp313-cp313t-arm64GitHub Actions
wheel-manylinux-2-28-cp39-cp39-amd64GitHub Actions
wheel-manylinux-2-28-cp39-cp39-arm64GitHub Actions
wheel-musllinux-1-2-cp310-cp310-amd64GitHub Actions
wheel-musllinux-1-2-cp310-cp310-arm64GitHub Actions
wheel-musllinux-1-2-cp311-cp311-amd64GitHub Actions
wheel-musllinux-1-2-cp311-cp311-arm64GitHub Actions
wheel-musllinux-1-2-cp312-cp312-amd64GitHub Actions
wheel-musllinux-1-2-cp312-cp312-arm64GitHub Actions
wheel-musllinux-1-2-cp313-cp313-amd64GitHub Actions
wheel-musllinux-1-2-cp313-cp313-arm64GitHub Actions
wheel-musllinux-1-2-cp313-cp313t-amd64GitHub Actions
wheel-musllinux-1-2-cp313-cp313t-arm64GitHub Actions
wheel-musllinux-1-2-cp39-cp39-amd64GitHub Actions
wheel-musllinux-1-2-cp39-cp39-arm64GitHub Actions
wheel-windows-cp310-cp310-amd64GitHub Actions
wheel-windows-cp311-cp311-amd64GitHub Actions
wheel-windows-cp312-cp312-amd64GitHub Actions
wheel-windows-cp313-cp313-amd64GitHub Actions
wheel-windows-cp313-cp313t-amd64GitHub Actions
wheel-windows-cp39-cp39-amd64GitHub Actions

@raulcdraulcd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 we can merge this to fix CI on PRs.
The CI failures are unrelated.

list(APPEND ORC_PATCHES ${CMAKE_CURRENT_LIST_DIR}/orc-2357.patch)
endif()
if(ORC_PATCHES)
find_program(PATCH patch REQUIRED)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the CI failures are related and are currently failing on the nightlies.

@github-actionsgithub-actionsBot added awaiting review Awaiting review awaiting merge Awaiting merge and removed awaiting changes Awaiting changes labels Aug 25, 2025
@raulcd
raulcd merged commit f16b6ac into apache:mainAug 25, 2025
39 of 40 checks passed
@raulcdraulcd removed awaiting review Awaiting review awaiting merge Awaiting merge labels Aug 25, 2025
@kou
kou deleted the cpp-orc-protobuf-int64 branch August 25, 2025 08:21
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit f16b6ac.

There weren't enough matching historic benchmark results to make a call on whether there were regressions.

The full Conbench report has more details.

gitmodimo pushed a commit to gitmodimo/arrow that referenced this pull request Oct 2, 2025
…f patch (apache#47408)
### Rationale for this change
apache/orc#2357 is needed for recent Protobuf.
### What changes are included in this PR?
* Update bundled Apache ORC to 2.2.0.
* apache/orc#2345 is needed for MSVC.
* Apply apache/orc#2357 because it's not released yet.
* Enable `CMP0077` for bundled dependencies by default to avoid `set(CACHE)`.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47399
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…f patch (apache#47408)
### Rationale for this change
apache/orc#2357 is needed for recent Protobuf.
### What changes are included in this PR?
* Update bundled Apache ORC to 2.2.0.
* apache/orc#2345 is needed for MSVC.
* Apply apache/orc#2357 because it's not released yet.
* Enable `CMP0077` for bundled dependencies by default to avoid `set(CACHE)`.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47399
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@kou@raulcd@wgtmac