Skip to content

GH-55440: [C++] Move bundled google-cloud-cpp libraries - #55319

Draft
tadeja wants to merge 3 commits into
apache:mainfrom
tadeja:fup-54905-gcs-static-bundle
Draft

tadeja wants to merge 3 commits into
apache:mainfrom
tadeja:fup-54905-gcs-static-bundle

Conversation

@tadeja

@tadeja tadeja commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Rationale for this change

As a followup to #54905, fix static linking.

What changes are included in this PR?

Also add GCS static-link checks

Are these changes tested?

only macOS

Are there any user-facing changes?

Was AI used for this PR?

In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

This pull request has been automatically converted to a draft because its title doesn't match Arrow's required format.

If this is not a minor PR, could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

After updating the title, you can mark the pull request as ready for review.

See also:

@tadeja

tadeja commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

As found in #55317 (comment), the following PR

caused
C++ Extra job AMD64 Debian SIMD Level NONE to start failing on 28 Oct
https://github.com/apache/arrow/actions/runs/40608463298/job/122553847383#step:6:5030

[100%] Linking CXX executable arrow-example-s3-static
/usr/bin/ld: /usr/local/lib/libarrow_bundled_dependencies.a(log.cc.o): in function `google::cloud::v3_2::(anonymous namespace)::Timestamp::Timestamp(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&)':
/build/cpp/_deps/google_cloud_cpp-src/google/cloud/log.cc:41:(.text+0x29): undefined reference to `absl::debian7::FromChrono(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&)'
/usr/bin/ld: /usr/local/lib/libarrow_bundled_dependencies.a(log.cc.o): in function `google::cloud::v3_2::(anonymous namespace)::operator<<(std::ostream&, google::cloud::v3_2::(anonymous namespace)::Timestamp const&)':
/build/cpp/_deps/google_cloud_cpp-src/google/cloud/log.cc:47:(.text+0x9f): undefined reference to `absl::debian7::FormatTime[abi:cxx11](absl::debian7::string_view, absl::debian7::Time, absl::debian7::TimeZone)'
/usr/bin/ld: /usr/local/lib/libarrow_bundled_dependencies.a(log.cc.o): in function `absl::debian7::UTCTimeZone()':
/usr/include/absl/time/time.h:1277:(.text._ZN4absl7debian711UTCTimeZoneEv[_ZN4absl7debian711UTCTimeZoneEv]+0x9): undefined reference to `absl::debian7::time_internal::cctz::utc_time_zone()'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/arrow-example-s3-static.dir/build.make:144: arrow-example-s3-static] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:122: CMakeFiles/arrow-example-s3-static.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

And also test-debian-13-cpp-amd64 is failing since 29 Oct 2026 the same way:
https://github.com/ursacomputing/crossbow/actions/runs/40825143204/job/123286357741#step:7:5014

[100%] Linking CXX executable arrow-example-s3-static
/usr/bin/ld: /usr/local/lib/libarrow_bundled_dependencies.a(log.cc.o): in function `google::cloud::v3_2::(anonymous namespace)::Timestamp::Timestamp(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&)':
/build/cpp/_deps/google_cloud_cpp-src/google/cloud/log.cc:41:(.text+0x29): undefined reference to `absl::debian7::FromChrono(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&)'
/usr/bin/ld: /usr/local/lib/libarrow_bundled_dependencies.a(log.cc.o): in function `google::cloud::v3_2::(anonymous namespace)::operator<<(std::ostream&, google::cloud::v3_2::(anonymous namespace)::Timestamp const&)':
/build/cpp/_deps/google_cloud_cpp-src/google/cloud/log.cc:47:(.text+0x9f): undefined reference to `absl::debian7::FormatTime[abi:cxx11](absl::debian7::string_view, absl::debian7::Time, absl::debian7::TimeZone)'
/usr/bin/ld: /usr/local/lib/libarrow_bundled_dependencies.a(log.cc.o): in function `absl::debian7::UTCTimeZone()':
/usr/include/absl/time/time.h:1277:(.text._ZN4absl7debian711UTCTimeZoneEv[_ZN4absl7debian711UTCTimeZoneEv]+0x9): undefined reference to `absl::debian7::time_internal::cctz::utc_time_zone()'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/arrow-example-s3-static.dir/build.make:144: arrow-example-s3-static] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:122: CMakeFiles/arrow-example-s3-static.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

@tadeja

tadeja commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-debian-13-cpp-amd64

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Revision: 2476a34

Submitted crossbow builds: ursacomputing/crossbow @ actions-1fd9f52c9c

Task Status
test-debian-13-cpp-amd64 GitHub Actions

@tadeja tadeja changed the title EXP: [C++] Move bundled google-cloud-cpp libraries GH-55440: [C++] Move bundled google-cloud-cpp libraries Nov 7, 2026
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

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

Sign up for free to 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.

2 participants