Skip to content

GH-50921: [C++] Fix Meson build failure in bundled bzip2 - #50924

Draft
Reranko05 wants to merge 2 commits into
apache:mainfrom
Reranko05:meson-ci-fix
Draft

GH-50921: [C++] Fix Meson build failure in bundled bzip2#50924
Reranko05 wants to merge 2 commits into
apache:mainfrom
Reranko05:meson-ci-fix

Conversation

@Reranko05

@Reranko05 Reranko05 commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Rationale for this change

The Meson build fails when compiling the bundled bzip2 dependency due to an fdopen() implicit declaration error.

This updates the bundled bzip2 WrapDB package from 1.0.8-1 to 1.0.8-2, which contains an updated Meson packaging revision.

What changes are included in this PR?

  • Update the bundled bzip2 WrapDB package from 1.0.8-1 to 1.0.8-2.

Are there any user-facing changes?

No.

Fixes: #50921

@github-actions github-actions Bot added the awaiting review Awaiting review label Aug 20, 2026
@Reranko05

Copy link
Copy Markdown
Collaborator Author

@kou The original bzip2 failure is resolved, but the Meson build now fails later while linking arrow-buffer-test due to missing shared-library dependencies of libarrow.so.

I noticed that arrow_lib is built with arrow_deps, but arrow_dep only exposes link_with: arrow_lib and doesn't propagate arrow_deps:

arrow_dep = declare_dependency(
    include_directories: [include_dir],
    link_with: arrow_lib,
)

Would you prefer that I investigate and include a fix for this in this PR?

@Reranko05
Reranko05 requested a review from kou August 20, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C++] Fix Meson build failure in bundled bzip2

1 participant