-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GLib] Meson selects incorrect Arrow C++ libraries in some situations #44465
Comments
kou
changed the title
[GLib] Meson selects incorrect arrow libraries in some situations.
[GLib] Meson selects incorrect arrow libraries in some situations
Oct 18, 2024
hiroyuki-sato
added a commit
to hiroyuki-sato/arrow
that referenced
this issue
Oct 19, 2024
kou
changed the title
[GLib] Meson selects incorrect arrow libraries in some situations
[GLib] Meson selects incorrect Arrow C++ libraries in some situations
Oct 19, 2024
kou
pushed a commit
that referenced
this issue
Oct 19, 2024
#44475) ### Rationale for this change This PR fixes #44465. Meson selects incorrect Arrow C++ libraries in some situations. ### What changes are included in this PR? Meson searches arrow libraries with particular versions. For example, if the c_glib version number is 18.0.0-SNAPSHOT, Meson searches the Arrow C++ library greater than 18.0.0-SNAPSHOT. ### Are these changes tested? Yes. If the required version libraries exist, install it properly. ``` Run-time dependency arrow found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-compute found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-csv found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-filesystem found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-json found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-orc found: YES 18.0.0-SNAPSHOT Found CMake: /opt/homebrew/bin/cmake (3.30.5) WARNING: CMake Toolchain: Failed to determine CMake compilers state Run-time dependency arrow-cuda found: NO (tried pkgconfig, framework and cmake) Run-time dependency arrow-acero found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-dataset found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-flight found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-flight-sql found: YES 18.0.0-SNAPSHOT Run-time dependency gandiva found: YES 18.0.0-SNAPSHOT Run-time dependency parquet found: YES 18.0.0-SNAPSHOT ``` If an environment doesn't install Arrow C++ 18.0.0-SNAPSHOT (Installed older version 17.0.0) ``` Run-time dependency arrow found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-compute found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-csv found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-filesystem found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-json found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-orc found: YES 18.0.0-SNAPSHOT Found CMake: /opt/homebrew/bin/cmake (3.30.5) WARNING: CMake Toolchain: Failed to determine CMake compilers state Run-time dependency arrow-cuda found: NO (tried pkgconfig, framework and cmake) Run-time dependency arrow-acero found: YES 18.0.0-SNAPSHOT Dependency arrow-dataset found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency arrow-dataset found: NO (tried pkgconfig, framework and cmake) Dependency arrow-flight found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency arrow-flight found: NO (tried pkgconfig, framework and cmake) Dependency arrow-flight-sql found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency arrow-flight-sql found: NO (tried pkgconfig, framework and cmake) Dependency gandiva found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' ... Dependency parquet found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency parquet found: NO (tried pkgconfig and framework) ``` ### Are there any user-facing changes? Yes. * GitHub Issue: #44465 Authored-by: Hiroyuki Sato <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Issue resolved by pull request 44475 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
Overview
Meson selects incorrect arrow libraries in some situations.
If a developer installs arrow 17.0.0 with arrow-flight-sql in the /opt/homebrew/lib
and 18.0.0-SNAPSHOT without arrow-flight-sql in /tmp/local,
meson selects an incorrect package.
Reproduce steps.
brew install apache-arrow
. (Arrow 17.0.0)ninja-debug doesn't install arrow-flight-sql
(Arrow 18.0.0-SNAPSHOT)cmake .. --preset ninja-debug -DMAKE_INSTALL_PREFIX=/tmp/local
cmake .. --build .
cmake .. --install .
ci/scripts/c_glib_build.sh $(pwd) /tmp/build
Additional Info
arrow-flight-sql.pc
can be found in the/opt/homebrew/lib/pkgconfig
directory.arrow-flight-sql.pc
cannot be found in the/tmp/local/lib/pkgconfig
directory.Environment.
Component(s)
GLib
The text was updated successfully, but these errors were encountered: