Skip to content

arrow-cpp: cleanup - #461572

Merged
GaetanLepage merged 1 commit into
NixOS:stagingfrom
GaetanLepage:update/arrow-cpp
Dec 8, 2025
Merged

GaetanLepage merged 1 commit into
NixOS:stagingfrom
GaetanLepage:update/arrow-cpp

Conversation

@GaetanLepage

@GaetanLepage GaetanLepage commented Nov 14, 2025 •

Copy link
Copy Markdown
Contributor

Things done

cc @tobim @veprbl @cpcloud

  • 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 requested review from cpcloud, tobim and veprbl November 14, 2025 13:19
@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. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Nov 14, 2025
@GaetanLepage GaetanLepage changed the title arrow-cpp: 20.0.0 -> 23.0.0.dev arrow-cpp: 20.0.0 -> 22.0.0 Nov 14, 2025
@nekowinston

Copy link
Copy Markdown
Member

If this changes protobuf 31 -> 33, this might fix #460687, I'll give that build with re-enabled tests on darwin a try.

@GaetanLepage
GaetanLepage marked this pull request as draft November 14, 2025 13:38
@GaetanLepage

Copy link
Copy Markdown
Contributor Author

If this changes protobuf 31 -> 33, this might fix #460687, I'll give that build with re-enabled tests on darwin a try.

Unfortunately, it doesn't build with protobuf_33 or with protobuf_32 :/

FAILED: [code=1] release/flight-test-server
: && /nix/store/ag7fc58qzff4j1sgd7v98irhcr6vcg8v-gcc-wrapper-14.3.0/bin/g++ -Wno-noexcept-type -Wno-self-move  -fdiagnostics-color=always  -Wall -fno-semantic-interposition -msse4.2  -O3 -DNDEBUG -O2 -ftree-vectorize -Wl,--dependency-file=src/arrow/flight>
/nix/store/asc30cdibhz4d82jv1bgaadfv529xqli-binutils-2.44/bin/ld: warning: libprotobuf.so.33.0.0, needed by /nix/store/d6kslxmh2r47b8m7h86zs1jd97ll16s3-grpc-1.76.0/lib/libgrpc++.so.1.76.0, may conflict with libprotobuf.so.32.1.0
/nix/store/asc30cdibhz4d82jv1bgaadfv529xqli-binutils-2.44/bin/ld: release/libarrow.so.2200.0.0: undefined reference to `google::protobuf::internal::RepeatedPtrFieldBase::AddString()'
/nix/store/asc30cdibhz4d82jv1bgaadfv529xqli-binutils-2.44/bin/ld: release/libarrow.so.2200.0.0: undefined reference to `google::protobuf::internal::RepeatedPtrFieldBase::AddMessageLite(void* (*)(google::protobuf::Arena*))'
collect2: error: ld returned 1 exit status

@tobim

tobim commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

#426611

@tobim

tobim commented Nov 15, 2025

Copy link
Copy Markdown
Contributor

For the protobuf unpin I believe we need

@GaetanLepage

Copy link
Copy Markdown
Contributor Author

For the protobuf unpin I believe we need

* https://github.com/protocolbuffers/protobuf/releases/tag/v33.1

* unpin google-cloud-cpp, but that has to wait [Tests using protobuf `Any` field `PackFrom()` method failing with protobuf 33 googleapis/google-cloud-cpp#15682 (comment)](https://github.com/googleapis/google-cloud-cpp/issues/15682#issuecomment-3481194949).

Thanks for the heads up! Let's merge #461186 first then.

@aviallon

aviallon commented Nov 17, 2025 •

Copy link
Copy Markdown
Contributor

I have arrow-cpp failing to build on x86_64 on commit 50a96ed
Is this related? It seems to get stuck in the installCheck phase

@vcunat

vcunat commented Nov 17, 2025

Copy link
Copy Markdown
Member

@mio-aotearoa

Copy link
Copy Markdown
Contributor

build failed on darwin-aarch64

error: builder for '/nix/store/hixdkcp6jjk3xm0j24lf9b8yq5rv9xfg-arrow-cpp-22.0.0.drv' failed with exit code 1;
       last 25 log lines:
       > -- Looking for BZ2_bzCompressInit - found
       > -- Using pkg-config package for bzip2 that is used by arrow for static link
       > -- Providing CMake module for Findutf8proc as part of Arrow CMake package
       > -- Using pkg-config package for libutf8proc that is used by arrow for static link
       > -- Found abslAlt: 1 (found version "20250814")
       > -- Providing CMake module for FindabslAlt as part of ArrowFlight CMake package
       > -- Providing CMake module for FindgRPCAlt as part of ArrowFlight CMake package
       > -- Using pkg-config package for grpc++ that is used by arrow-flight for static link
       > -- Found nlohmann_json: /nix/store/kz0g1k6xl65081d65ab7miqgpv58g2vh-nlohmann_json-3.12.0/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.12.0")
       > -- Found nlohmann_json headers: /nix/store/kz0g1k6xl65081d65ab7miqgpv58g2vh-nlohmann_json-3.12.0/include;/nix/store/kz0g1k6xl65081d65ab7miqgpv58g2vh-nlohmann_json-3.12.0/include
       > -- Found hdfs.h at: /nix/var/nix/builds/nix-build-arrow-cpp-22.0.0.drv-0/b/source/cpp/thirdparty/hadoop/include/hdfs.h
       > -- Providing CMake module for FindorcAlt as part of Arrow CMake package
       > -- Found ORC static library: /nix/store/qv44k1bp218kc2c7x2rxy5d4pzmb403f-apache-orc-2.1.2/lib/liborc.a
       > -- Found ORC headers: /nix/store/qv44k1bp218kc2c7x2rxy5d4pzmb403f-apache-orc-2.1.2/include
       > CMake Error at /nix/store/y5q690ckylx7w0ixjn2s2yf2w0bvvb69-cmake-4.1.2/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
       >   Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
       > Call Stack (most recent call first):
       >   /nix/store/y5q690ckylx7w0ixjn2s2yf2w0bvvb69-cmake-4.1.2/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
       >   /nix/store/y5q690ckylx7w0ixjn2s2yf2w0bvvb69-cmake-4.1.2/share/cmake-4.1/Modules/FindCURL.cmake:284 (find_package_handle_standard_args)
       >   cmake_modules/ThirdpartyToolchain.cmake:1372 (find_package)
       >   cmake_modules/ThirdpartyToolchain.cmake:5273 (find_curl)
       >   CMakeLists.txt:523 (include)
       >
       > 
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/hixdkcp6jjk3xm0j24lf9b8yq5rv9xfg-arrow-cpp-22.0.0.drv'.

@GaetanLepage
GaetanLepage changed the base branch from master to staging December 4, 2025 22:55
@nixpkgs-ci nixpkgs-ci Bot closed this Dec 4, 2025
@nixpkgs-ci nixpkgs-ci Bot reopened this Dec 4, 2025
@GaetanLepage GaetanLepage changed the title arrow-cpp: 20.0.0 -> 22.0.0 arrow-cpp: cleanup Dec 4, 2025
@GaetanLepage
GaetanLepage marked this pull request as ready for review December 4, 2025 23:33
@GaetanLepage
GaetanLepage marked this pull request as draft December 5, 2025 00:08
@GaetanLepage

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 461572 --package arrow-cpp --package arrow-cpp.tests
Commit: 8b6f9f39cc2bc2597c949e8c6d885aff77d2b2f4


x86_64-linux

✅ 2 packages built:
  • arrow-cpp
  • arrow-cpp.tests.pkg-config

@GaetanLepage
GaetanLepage marked this pull request as ready for review December 5, 2025 09:45
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 8, 2025
@GaetanLepage
GaetanLepage added this pull request to the merge queue Dec 8, 2025
Merged via the queue into NixOS:staging with commit 5329cb4 Dec 8, 2025
@GaetanLepage
GaetanLepage deleted the update/arrow-cpp branch December 8, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 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. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants