Skip to content

apache-orc: 2.1.2 -> 2.2.1, arrow-cpp: 20.0.0 -> 22.0.0 - #461569

Closed
GaetanLepage wants to merge 3 commits into
NixOS:staging-nextfrom
GaetanLepage:update/apache-orc
Closed

GaetanLepage wants to merge 3 commits into
NixOS:staging-nextfrom
GaetanLepage:update/apache-orc

Conversation

@GaetanLepage

@GaetanLepage GaetanLepage commented Nov 14, 2025 •

Copy link
Copy Markdown
Contributor

Things done

Motivation: Use latest protobuf to avoid multiple different protobuf versions ending in downstream closures.

Diff: apache/orc@v2.1.2...v2.2.1
Changelog: https://github.com/apache/orc/releases/tag/v2.2.1

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Nov 14, 2025
@nixpkgs-ci
nixpkgs-ci Bot requested review from cpcloud, tobim and veprbl November 14, 2025 14:18
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Nov 14, 2025
@GaetanLepage GaetanLepage changed the title apache-orc: 2.1.2 -> 2.2.1 apache-orc: 2.1.2 -> 2.2.1, arrow-cpp: 20.0.0 -> 22.0.0 Nov 14, 2025
@GaetanLepage
GaetanLepage marked this pull request as draft November 14, 2025 23:46
@GaetanLepage
GaetanLepage changed the base branch from master to staging-next November 14, 2025 23:46
@nixpkgs-ci nixpkgs-ci Bot closed this Nov 14, 2025
@nixpkgs-ci nixpkgs-ci Bot reopened this Nov 14, 2025
@vcunat

vcunat commented Nov 15, 2025 •

Copy link
Copy Markdown
Member

I suppose you've seen this one, too?
#426611

I assume you're aware that breaking changes aren't allowed now for 25.11 (including the current staging-next). Just making sure; I don't know these packages/updates in particular.

@mweinelt mweinelt mentioned this pull request Nov 15, 2025
3 tasks done
@mweinelt mweinelt added this to the 25.11 milestone Nov 15, 2025
@mweinelt mweinelt moved this to In Progress in 25.11 Blockers Nov 15, 2025
@mweinelt

mweinelt commented Nov 15, 2025 •

Copy link
Copy Markdown
Member

google-cloud-cpp also still pins protobuf 31 😬 and is a dependency to arrow-cpp.

@tobim tobim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I assume this is now targeting staging-next because of the release, and I don't have an issue with that.
But I find it very frustrating that PRs with significant overlap that have been open for weeks or even months are just being ignored here.

"-DARROW_S3=${if enableS3 then "ON" else "OFF"}"
"-DARROW_GCS=${if enableGcs then "ON" else "OFF"}"
"-DARROW_ORC=ON"
(lib.cmakeBool "CMAKE_FIND_PACKAGE_PREFER_CONFIG" true)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please refrain from doing any unrelated refactoring that is not contributing to fixing actual problems.

These lib.cmake* functions are bad and should never have been introduced in the first place.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I was iterating on this PR to try to solve the issue as fast as possible.
I have no issue with yours being merged. Feel free to close this one at any time.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't want to just close this, as I can see that you are still working on it. If you intend to open dedicated PRs for orc and google-cloud-cpp (and whatever else comes up), then no harm done. In this case it would have prevented my irritation if you had mentioned this in the description.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, I could have been more reactive when I was warned that your PR existed.

I opened #461974, targeting staging-next which focuses on google-cloud-cpp.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

And #461975 for apache-orc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There is already #426611. You could throw in your weight to get that merged instead.

openssl,
pkg-config,
protobuf_31,
protobuf,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

To clarify my comment in the other (duplicate?) PR:
google-cloud-cpp currently does not work with protobuf > 31, so I doubt this change will work.

@mweinelt

Copy link
Copy Markdown
Member

pyarrow fails to build

pyarrow> running build_ext
pyarrow> creating /build/source/python/build/temp.linux-x86_64-cpython-313
pyarrow> -- Running cmake for PyArrow
pyarrow> cmake -DCMAKE_INSTALL_RPATH=/nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib -DCMAKE_INSTALL_PREFIX=/build/source/python/build/lib.linux-x86_64-cpython-313/pyarrow -DPYTHON_EXECUTABLE=/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13 -DPython3_EXECUTABLE=/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13 -DPYARROW_CXXFLAGS= -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release /build/source/python
pyarrow> -- The C compiler identification is GNU 14.3.0
pyarrow> -- The CXX compiler identification is GNU 14.3.0
pyarrow> -- Detecting C compiler ABI info
pyarrow> -- Detecting C compiler ABI info - done
pyarrow> -- Check for working C compiler: /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/gcc - skipped
pyarrow> -- Detecting C compile features
pyarrow> -- Detecting C compile features - done
pyarrow> -- Detecting CXX compiler ABI info
pyarrow> -- Detecting CXX compiler ABI info - done
pyarrow> -- Check for working CXX compiler: /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/g++ - skipped
pyarrow> -- Detecting CXX compile features
pyarrow> -- Detecting CXX compile features - done
pyarrow> -- System processor: x86_64
pyarrow> -- Performing Test CXX_SUPPORTS_SSE4_2
pyarrow> -- Performing Test CXX_SUPPORTS_SSE4_2 - Success
pyarrow> -- Performing Test CXX_SUPPORTS_AVX2
pyarrow> -- Performing Test CXX_SUPPORTS_AVX2 - Success
pyarrow> -- Performing Test CXX_SUPPORTS_AVX512
pyarrow> -- Performing Test CXX_SUPPORTS_AVX512 - Success
pyarrow> -- Arrow build warning level: PRODUCTION
pyarrow> -- Using ld linker
pyarrow> -- Build Type: release
pyarrow> -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
pyarrow> -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type -Wno-self-move  -Wall -fno-semantic-interposition -msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
pyarrow> -- Generator: Unix Makefiles
pyarrow> -- Build output directory: /build/source/python/build/temp.linux-x86_64-cpython-313/release
pyarrow> -- Found Python3: /nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13 (found version "3.13.9") found components: Interpreter Development.Module NumPy
pyarrow> -- Found Python3Alt: /nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13
pyarrow> -- Found NumPy version: 2.3.4
pyarrow> -- NumPy include dir: /nix/store/qbljpi28kpxkjaibg0avqqn6adqcg744-python3.13-numpy-2.3.4/lib/python3.13/site-packages/numpy/_core/include
pyarrow> -- Found Cython version: 3.1.4
pyarrow> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
pyarrow> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
pyarrow> -- Found Threads: TRUE
pyarrow> CMake Warning at /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/FindSnappyAlt.cmake:41 (find_package):
pyarrow>   By not providing "FindSnappy.cmake" in CMAKE_MODULE_PATH this project has
pyarrow>   asked CMake to find a package configuration file provided by "Snappy", but
pyarrow>   CMake did not find one.
pyarrow> 
pyarrow>   Could not find a package configuration file provided by "Snappy" with any
pyarrow>   of the following names:
pyarrow> 
pyarrow>     SnappyConfig.cmake
pyarrow>     snappy-config.cmake
pyarrow> 
pyarrow>   Add the installation prefix of "Snappy" to CMAKE_PREFIX_PATH or set
pyarrow>   "Snappy_DIR" to a directory containing one of the above files.  If "Snappy"
pyarrow>   provides a separate development package or SDK, be sure it has been
pyarrow>   installed.
pyarrow> Call Stack (most recent call first):
pyarrow>   /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/CMakeFindDependencyMacro.cmake:78 (find_package)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:101 (find_dependency)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:124 (arrow_find_dependencies)
pyarrow>   CMakeLists.txt:289 (find_package)
pyarrow> 
pyarrow> 
pyarrow> CMake Error at /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
pyarrow>   Could NOT find SnappyAlt (missing: Snappy_LIB Snappy_INCLUDE_DIR)
pyarrow> Call Stack (most recent call first):
pyarrow>   /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/FindSnappyAlt.cmake:105 (find_package_handle_standard_args)
pyarrow>   /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/CMakeFindDependencyMacro.cmake:78 (find_package)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:101 (find_dependency)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:124 (arrow_find_dependencies)
pyarrow>   CMakeLists.txt:289 (find_package)
pyarrow> 
pyarrow> 
pyarrow> -- Configuring incomplete, errors occurred!
pyarrow> error: command '/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/cmake' failed with exit code 1
pyarrow> 
pyarrow> ERROR Backend subprocess exited when trying to invoke build_wheel

@GaetanLepage

GaetanLepage commented Nov 15, 2025 •

Copy link
Copy Markdown
Contributor Author

I assume this is now targeting staging-next because of the release, and I don't have an issue with that. But I find it very frustrating that PRs with significant overlap that have been open for weeks or even months are just being ignored here.

Sure, you are right. I used this PR to experiment and try to get something working for master. I didn't realize yours was open at first and later had to retarget a staging branch anyway.

I am sorry for any inconvenience brought by this PR.
Let me close it right away.

@GaetanLepage
GaetanLepage deleted the update/apache-orc branch November 15, 2025 16:10
@GaetanLepage

Copy link
Copy Markdown
Contributor Author

pyarrow fails to build

pyarrow> running build_ext
pyarrow> creating /build/source/python/build/temp.linux-x86_64-cpython-313
pyarrow> -- Running cmake for PyArrow
pyarrow> cmake -DCMAKE_INSTALL_RPATH=/nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib -DCMAKE_INSTALL_PREFIX=/build/source/python/build/lib.linux-x86_64-cpython-313/pyarrow -DPYTHON_EXECUTABLE=/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13 -DPython3_EXECUTABLE=/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13 -DPYARROW_CXXFLAGS= -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release /build/source/python
pyarrow> -- The C compiler identification is GNU 14.3.0
pyarrow> -- The CXX compiler identification is GNU 14.3.0
pyarrow> -- Detecting C compiler ABI info
pyarrow> -- Detecting C compiler ABI info - done
pyarrow> -- Check for working C compiler: /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/gcc - skipped
pyarrow> -- Detecting C compile features
pyarrow> -- Detecting C compile features - done
pyarrow> -- Detecting CXX compiler ABI info
pyarrow> -- Detecting CXX compiler ABI info - done
pyarrow> -- Check for working CXX compiler: /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/g++ - skipped
pyarrow> -- Detecting CXX compile features
pyarrow> -- Detecting CXX compile features - done
pyarrow> -- System processor: x86_64
pyarrow> -- Performing Test CXX_SUPPORTS_SSE4_2
pyarrow> -- Performing Test CXX_SUPPORTS_SSE4_2 - Success
pyarrow> -- Performing Test CXX_SUPPORTS_AVX2
pyarrow> -- Performing Test CXX_SUPPORTS_AVX2 - Success
pyarrow> -- Performing Test CXX_SUPPORTS_AVX512
pyarrow> -- Performing Test CXX_SUPPORTS_AVX512 - Success
pyarrow> -- Arrow build warning level: PRODUCTION
pyarrow> -- Using ld linker
pyarrow> -- Build Type: release
pyarrow> -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
pyarrow> -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type -Wno-self-move  -Wall -fno-semantic-interposition -msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
pyarrow> -- Generator: Unix Makefiles
pyarrow> -- Build output directory: /build/source/python/build/temp.linux-x86_64-cpython-313/release
pyarrow> -- Found Python3: /nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13 (found version "3.13.9") found components: Interpreter Development.Module NumPy
pyarrow> -- Found Python3Alt: /nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/bin/python3.13
pyarrow> -- Found NumPy version: 2.3.4
pyarrow> -- NumPy include dir: /nix/store/qbljpi28kpxkjaibg0avqqn6adqcg744-python3.13-numpy-2.3.4/lib/python3.13/site-packages/numpy/_core/include
pyarrow> -- Found Cython version: 3.1.4
pyarrow> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
pyarrow> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
pyarrow> -- Found Threads: TRUE
pyarrow> CMake Warning at /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/FindSnappyAlt.cmake:41 (find_package):
pyarrow>   By not providing "FindSnappy.cmake" in CMAKE_MODULE_PATH this project has
pyarrow>   asked CMake to find a package configuration file provided by "Snappy", but
pyarrow>   CMake did not find one.
pyarrow> 
pyarrow>   Could not find a package configuration file provided by "Snappy" with any
pyarrow>   of the following names:
pyarrow> 
pyarrow>     SnappyConfig.cmake
pyarrow>     snappy-config.cmake
pyarrow> 
pyarrow>   Add the installation prefix of "Snappy" to CMAKE_PREFIX_PATH or set
pyarrow>   "Snappy_DIR" to a directory containing one of the above files.  If "Snappy"
pyarrow>   provides a separate development package or SDK, be sure it has been
pyarrow>   installed.
pyarrow> Call Stack (most recent call first):
pyarrow>   /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/CMakeFindDependencyMacro.cmake:78 (find_package)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:101 (find_dependency)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:124 (arrow_find_dependencies)
pyarrow>   CMakeLists.txt:289 (find_package)
pyarrow> 
pyarrow> 
pyarrow> CMake Error at /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
pyarrow>   Could NOT find SnappyAlt (missing: Snappy_LIB Snappy_INCLUDE_DIR)
pyarrow> Call Stack (most recent call first):
pyarrow>   /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/FindSnappyAlt.cmake:105 (find_package_handle_standard_args)
pyarrow>   /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/CMakeFindDependencyMacro.cmake:78 (find_package)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:101 (find_dependency)
pyarrow>   /nix/store/8nwjzchacxzqaqgcsmjp95rarzp2pzly-arrow-cpp-22.0.0/lib/cmake/Arrow/ArrowConfig.cmake:124 (arrow_find_dependencies)
pyarrow>   CMakeLists.txt:289 (find_package)
pyarrow> 
pyarrow> 
pyarrow> -- Configuring incomplete, errors occurred!
pyarrow> error: command '/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/cmake' failed with exit code 1
pyarrow> 
pyarrow> ERROR Backend subprocess exited when trying to invoke build_wheel

I started an attempt here, but did not manage to have it built...

@tobim

tobim commented Nov 15, 2025

Copy link
Copy Markdown
Contributor

Sure, you are right. I used this PR to experiment and try to get something working for master. I didn't realize yours was open at first and later had to retarget a staging branch anyway.

I am sorry for any inconvenience brought by this PR. Let me close it right away.

No harm done, as I said in my in-thread response, I didn't realize that this was only here to figure out how to fix the build.

@tobim

tobim commented Nov 15, 2025 •

Copy link
Copy Markdown
Contributor

I started an attempt here, but did not manage to have it built...

Last time I tried building pyarrow with the changes from #426611 it worked, but that was rebased on master because I didn't want to build the entire closure.

Edit: I'll give it another try on staging-next.

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

Labels

10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

No open projects
Status: In Progress

Development

Successfully merging this pull request may close these issues.

4 participants