Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
@github-actions crossbow submit test-conda-cpp |
|
Revision: b6b76f8 Submitted crossbow builds: ursacomputing/crossbow @ actions-c1f06c30ce
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
@github-actions crossbow submit test-conda-cpp |
|
Revision: e28fd84 Submitted crossbow builds: ursacomputing/crossbow @ actions-4282328564
|
|
yay, new static linking test shows further failures for bundled Azure and google-cloud-cpp: [ 50%] Built target arrow-example
[ 75%] Building CXX object CMakeFiles/arrow-example-s3-static.dir/example.cc.o
[100%] Linking CXX executable arrow-example-s3-static
Undefined symbols for architecture arm64:
"_curl_easy_cleanup", referenced from:
Azure::Core::_internal::UniqueHandleDeleter<void, curl_easy_cleanup>::operator()(void*) in libarrow_bundled_dependencies.a[2](curl.cpp.o)
google::cloud::rest_internal::v3_2::CurlPtrCleanup::operator()(void*) const in libarrow_bundled_dependencies.a[214](curl_handle.cc.o)[ 75%] Building CXX object CMakeFiles/arrow-example-s3-static.dir/example.cc.o
[100%] Linking CXX executable arrow-example-s3-static
/usr/bin/ld: /usr/local/lib/libarrow_bundled_dependencies.a(xml_wrapper.cpp.o): in function `Azure::Storage::_internal::XmlReader::XmlReader(char const*, unsigned long)':
/build/cpp/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/xml_wrapper.cpp:416: undefined reference to `xmlReaderForMemory'
... |
|
In my opinion it is better if we tackle this separately on its own issue. |
|
@github-actions crossbow submit test-conda-cpp |
| find_package(ArrowS3 QUIET) | ||
| if(TARGET ArrowS3::arrow_s3_static) |
There was a problem hiding this comment.
this won't do anything here, right? Doesn't this has to be executed on top of my branch?
|
Revision: 4134d2d Submitted crossbow builds: ursacomputing/crossbow @ actions-e76cd70dbd
|
|
Now with temporarily added workaround of #50949 (cherry-pick 76eea10) to get rid of [100%] Linking CXX executable arrow-example-s3-static
[100%] Built target arrow-example-s3-static
/arrow/cpp/examples/minimal_build /build/cpp /
+ pushd /arrow/cpp/examples/minimal_build
+ PATH=/opt/conda/envs/arrow/bin:...
+ /build/cpp/examples/minimal_build/arrow-example
...
* Verify S3 initializes and finalizes
... |
Filed as #51329 — it reproduces the libxml2 half against a released artifact ( Two observations from writing it up, in case they're useful for wherever the fix lands:
Worth noting this is a different axis from #50753: that one is about SYSTEM declarations being easy to forget because they sit apart from |
|
@github-actions crossbow submit test-ubuntu-22.04-cpp-no-threading |
|
Revision: 9af899f Submitted crossbow builds: ursacomputing/crossbow @ actions-bda051f4d8
|
This reverts commit 9af899f.
|
@github-actions crossbow submit test-ubuntu-22.04-cpp-no-threading |
|
Revision: bc38a7d Submitted crossbow builds: ursacomputing/crossbow @ actions-bea3766b73
|

Rationale for this change
Fix #51329
Additional downstream static-linking test, after #50195 moved S3 into the separate ArrowS3 library.
What changes are included in this PR?
Test downstream static linking of
ArrowS3::arrow_s3_staticvia minimal_build example andcpp_test.sh,Fix dependencies for static Azure and GCS consumers: append
libcurlfor bundled GCS, appendlibcurlandLibXml2for bundled Azure(NOT WIN32),append links for system Azure SDK
and pkg-config --static arrow to include
libcurlandlibxml-2.0for bundled GCS/AzureAre these changes tested?
Verified by CI
Are there any user-facing changes?
Downstream consumers now have required static dependencies for Azure/GCS