anjakefala opened a new issue, #39384:
URL: https://github.com/apache/arrow/issues/39384
### Describe the bug, including details regarding any error messages,
version, and platform.
Since this commit: 91b2243e2753bb1a4ccd645dd41d74b1d0b077c0
I have had this build failure on a Linux machine:
```
FAILED: src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/azurefs.cc.o
/home/anja/miniconda3/envs/pyarrow-dev/bin/ccache /usr/bin/g++
-DARROW_EXPORTING -DARROW_EXTRA_ERROR_CONTEXT -DARROW_HAVE_RUNTIME_AVX2
-DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_MIMALLOC
-DARROW_WITH_BACKTRACE -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4
-DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS
-DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD
-DAWS_AUTH_USE_IMPORT_EXPORT -DAWS_CAL_USE_IMPORT_EXPORT
-DAWS_CHECKSUMS_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT
-DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_CRT_CPP_USE_IMPORT_EXPORT
-DAWS_EVENT_STREAM_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT
-DAWS_IO_USE_IMPORT_EXPORT -DAWS_MQTT_USE_IMPORT_EXPORT
-DAWS_S3_USE_IMPORT_EXPORT -DAWS_SDKUTILS_USE_IMPORT_EXPORT
-DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=11 -DAWS_SDK_VERSION_PATCH=68
-DAWS_USE_EPOLL -DAZ_RTTI -DURI_STATIC_BUILD -I/home/anja/git/arrow/cpp/build/
anja-python-debug/src -I/home/anja/git/arrow/cpp/src
-I/home/anja/git/arrow/cpp/src/generated -isystem
/home/anja/git/arrow/cpp/thirdparty/flatbuffers/include -isystem
/home/anja/git/arrow/cpp/thirdparty/hadoop/include -isystem
/home/anja/git/arrow/cpp/build/anja-python-debug/jemalloc_ep-prefix/src
-isystem
/home/anja/git/arrow/cpp/build/anja-python-debug/mimalloc_ep/src/mimalloc_ep/include/mimalloc-2.0
-Wno-noexcept-type -fvisibility-inlines-hidden -fmessage-length=0
-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong
-fno-plt -O2 -ffunction-sections -pipe -isystem
/home/anja/miniconda3/envs/pyarrow-dev/include -fdiagnostics-color=always
-Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -Wdate-time
-fno-semantic-interposition -msse4.2 -g -Werror -O0 -ggdb -std=c++17 -fPIC
-fPIC -MD -MT src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/azurefs.cc.o -MF
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/azurefs.cc.o.d -o
src/arrow/CMakeFiles/arrow_ob
jlib.dir/filesystem/azurefs.cc.o -c
/home/anja/git/arrow/cpp/src/arrow/filesystem/azurefs.cc
/home/anja/git/arrow/cpp/src/arrow/filesystem/azurefs.cc: In member function
‘arrow::Status arrow::fs::AzureOptions::ConfigureWorkloadIdentityCredential()’:
/home/anja/git/arrow/cpp/src/arrow/filesystem/azurefs.cc:141:57: error:
‘WorkloadIdentityCredential’ is not a member of ‘Azure::Identity’; did you mean
‘ManagedIdentityCredential’?
141 | token_credential_ =
std::make_shared<Azure::Identity::WorkloadIdentityCredential>();
|
^~~~~~~~~~~~~~~~~~~~~~~~~~
|
ManagedIdentityCredential
/home/anja/git/arrow/cpp/src/arrow/filesystem/azurefs.cc:141:84: error: no
matching function for call to ‘make_shared<<expression error> >()’
141 | token_credential_ =
std::make_shared<Azure::Identity::WorkloadIdentityCredential>();
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/11/memory:77,
from
/home/anja/git/arrow/cpp/src/arrow/filesystem/azurefs.h:20,
from
/home/anja/git/arrow/cpp/src/arrow/filesystem/azurefs.cc:18:
/usr/include/c++/11/bits/shared_ptr.h:875:5: note: candidate:
‘template<class _Tp, class ... _Args> std::shared_ptr<_Tp>
std::make_shared(_Args&& ...)’
875 | make_shared(_Args&&... __args)
| ^~~~~~~~~~~
/usr/include/c++/11/bits/shared_ptr.h:875:5: note: template argument
deduction/substitution failed:
/home/anja/git/arrow/cpp/src/arrow/filesystem/azurefs.cc:141:84: error:
template argument 1 is invalid
141 | token_credential_ =
std::make_shared<Azure::Identity::WorkloadIdentityCredential>();
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
```
This is my `CMakeUserPresets.json`:
```
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "user-base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"ARROW_INSTALL_NAME_RPATH": "OFF"
}
},
{
"name": "anja-python-debug",
"inherits": ["ninja-debug-python", "features-filesystems",
"user-base"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX":
"/home/anja/miniconda3/envs/pyarrow-dev",
"CMAKE_CXX_STANDARD": "17",
"ARROW_BUILD_EXAMPLES": "ON",
"PARQUET_REQUIRE_ENCRYPTION": "ON",
"ARROW_FILESYSTEM": "ON"
}
}
]
}
```
@felipecrv
### Component(s)
C++
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]