Skip to content

GH-55112: [Packaging] Add OpenTelemetry runtime dependency - #55243

Closed
mikamikasuki wants to merge 1 commit into
apache:mainfrom
mikamikasuki:fix/55112-opentelemetry-runtime-dep
Closed

mikamikasuki wants to merge 1 commit into
apache:mainfrom
mikamikasuki:fix/55112-opentelemetry-runtime-dep

Conversation

@mikamikasuki

@mikamikasuki mikamikasuki commented Oct 24, 2026 •

Copy link
Copy Markdown

Rationale for this change

Fixes #55112. Installing libarrow on Debian trixie leaves its OpenTelemetry shared libraries unresolved unless users manually install opentelemetry-cpp.

What changes are included in this PR?

Add opentelemetry-cpp as a conditional runtime dependency for Debian and Ubuntu targets that build against system OpenTelemetry. Targets that disable system OpenTelemetry do not gain this dependency.

Are these changes tested?

  • ruby dev/tasks/linux-packages/apache-arrow/test/test_debian_runtime_dependencies.rb (2 runs, 18 assertions)
  • Reproduced on Debian trixie: ldd reported nine missing OpenTelemetry libraries after installing libarrow2600. Installing opentelemetry-cpp made all dynamic dependencies resolve.
  • git diff --check

Are there any user-facing changes?

APT installs the required OpenTelemetry runtime libraries with libarrow, so consumers no longer need a separate manual install.

This PR contains a "Critical Fix." Without the runtime package, consumers cannot load libarrow because required OpenTelemetry shared libraries are missing.

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

AI assistance was used to investigate the missing runtime dependency, draft the package metadata change and regression test, and write this description. The generated changes were reviewed before submission. The issue was reproduced on Debian trixie, and installing opentelemetry-cpp resolved the missing shared libraries.

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the awaiting review Awaiting review label Oct 24, 2026
@kou

kou commented Oct 25, 2026

Copy link
Copy Markdown
Member

We don't need AI only contribution.

@kou kou closed this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review Awaiting review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Packaging] libarrow2600 is missing the opentelemetry-cpp dependency on Debian trixie / Ubuntu resolute

2 participants