You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "WillAyd (via GitHub)" <gi...@apache.org> on 2025/09/15 19:16:38 UTC
[PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
WillAyd opened a new pull request, #47568:
URL: https://github.com/apache/arrow/pull/47568
### Rationale for this change
This continues adding features to the Meson configuration (azure is already implemented)
### What changes are included in this PR?
System-provided GCS can be leveraged to build optional GCS features. Note that this does not support Meson to automatically download GCS - GCS is a rather complicated CMake project and does not work well in the Meson/CMake subproject bridge. Another PR will have to implement that, due to its complexity (or ideally a Meson wrap for GCS is created)
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #47568:
URL: https://github.com/apache/arrow/pull/47568#issuecomment-3498481570
@kou could use some review on this if you get the chance. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #47568:
URL: https://github.com/apache/arrow/pull/47568#issuecomment-3293571534
:warning: GitHub issue #46147 **has been automatically assigned in GitHub** to PR creator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #47568:
URL: https://github.com/apache/arrow/pull/47568#issuecomment-3508834158
After merging your PR, Conbench analyzed the 0 benchmarking runs that have been run so far on merge-commit bbb3d48000d98b5cec868a417734422b4c9a6976.
None of the specified runs were found on the Conbench server.
The [full Conbench report](https://github.com/apache/arrow/runs/54921534950) has more details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on code in PR #47568:
URL: https://github.com/apache/arrow/pull/47568#discussion_r2361071196
##########
ci/conda_env_cpp.txt:
##########
@@ -31,8 +31,8 @@ gflags
glog
gmock>=1.10.0
google-cloud-cpp>=1.34.0
-grpc-cpp<=1.50.1
gtest>=1.10.0
+libgrpc
Review Comment:
To clarify why this change is required - the version pin of grpc-cpp here causes an older version of abseil from 2022 to be installed. That version unfortunately appears to have an incorrect pkgconfig file, which does not correctly link in the time_zone shared library and yields missing symbol errors during linkage. This appears to have been fixed in more recent abseil releases
We had a similar issue with the old grpc-cpp package in https://github.com/apache/arrow/pull/46906
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #47568:
URL: https://github.com/apache/arrow/pull/47568#issuecomment-3502027607
Yes eventually. I just didn't want that to be a blocker for now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on code in PR #47568:
URL: https://github.com/apache/arrow/pull/47568#discussion_r2500016335
##########
cpp/src/arrow/meson.build:
##########
@@ -408,7 +408,52 @@ if needs_filesystem
endif
if needs_gcs
- error('gcs filesystem support is not yet implemented in Meson')
+ arrow_filesystem_srcs += files(
+ 'filesystem/gcsfs.cc',
+ 'filesystem/gcsfs_internal.cc',
+ )
+
+ gcs_common_dep = dependency(
+ 'google_cloud_cpp_common',
+ allow_fallback: false,
+ required: false,
+ )
+ gcs_rest_internal_dep = dependency(
+ 'google_cloud_cpp_rest_internal',
+ allow_fallback: false,
+ required: false,
+ )
+ gcs_storage_dep = dependency(
+ 'google_cloud_cpp_storage',
+ allow_fallback: false,
+ required: false,
+ )
+
+ if not (gcs_common_dep.found()
Review Comment:
This will be fixed in the next release of Meson
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #47568:
URL: https://github.com/apache/arrow/pull/47568#issuecomment-3502857975
For some more context @raulcd, for projects that don't have Meson configurations anywhere (whether in their source tree or in the wrapdb), Meson can even still auto-generate a configuration based off of CMake (as you see in our Azure wrap).
This works reasonably well for smaller dependencies, but the more you add the more the auto-generated CMake wrapper struggles to resolve dependencies to other project dependencies. So I think its easier for larger projects like this just to assume a system installation first (that's all we test in CI now anyway) and leave it to a separate initiative to work out the kinks with the auto-generated config
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou merged PR #47568:
URL: https://github.com/apache/arrow/pull/47568
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on code in PR #47568:
URL: https://github.com/apache/arrow/pull/47568#discussion_r2361237784
##########
ci/conda_env_cpp.txt:
##########
@@ -31,16 +31,16 @@ gflags
glog
gmock>=1.10.0
google-cloud-cpp>=1.34.0
-grpc-cpp<=1.50.1
gtest>=1.10.0
+libgrpc
libprotobuf
libutf8proc
lz4-c
make
meson
ninja
nodejs
-orc
+orc<=2.0.3
Review Comment:
Once grpc is unpinned it is unfortunately required to pin orc to an older version. This traces back to an issue discovered here:
https://github.com/apache/arrow/pull/46906#issuecomment-3286997441
In more recent versions of orc, the library distributes libraries that interfere with CMake's dependency finder, and in a way that falsely reports many of the compression libraries to be missing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46147: [C++] Implement GCS support in Meson [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on code in PR #47568:
URL: https://github.com/apache/arrow/pull/47568#discussion_r2349902771
##########
cpp/src/arrow/meson.build:
##########
@@ -408,7 +408,52 @@ if needs_filesystem
endif
if needs_gcs
- error('gcs filesystem support is not yet implemented in Meson')
+ arrow_filesystem_srcs += files(
+ 'filesystem/gcsfs.cc',
+ 'filesystem/gcsfs_internal.cc',
+ )
+
+ gcs_common_dep = dependency(
+ 'google_cloud_cpp_common',
+ allow_fallback: false,
+ required: false,
+ )
+ gcs_rest_internal_dep = dependency(
+ 'google_cloud_cpp_rest_internal',
+ allow_fallback: false,
+ required: false,
+ )
+ gcs_storage_dep = dependency(
+ 'google_cloud_cpp_storage',
+ allow_fallback: false,
+ required: false,
+ )
+
+ if not (gcs_common_dep.found()
Review Comment:
This is some unfortunate indentation - opened an upstream issue at https://github.com/mesonbuild/meson/issues/15032
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org