Collinbrown95 commented on PR #49553:
URL: https://github.com/apache/arrow/pull/49553#issuecomment-4187254788

   Hi @thisisnic (CC: @marberts ),
   
   Here's a quick update of where things are at.
   
   Right now the `AMD64 Windows C++ RTools 40 ucrt64` job is failing due to the 
various Azure sdk dependencies (`azure-core-cpp`, `azure-identity-cpp`, 
`azure-storage-blobs-cpp`, `azure-storage-common-cpp`, and 
`azure-storage-files-datalake-cpp`). Specifically, these packages do not seem 
to be available on MSYS2 repositories (i.e., we can't `pacman install` them), 
and we haven't been able to install these packages with `vcpkg` using either 
`x64-mingw-dynamic` or `x64-mingw-static` triplets.
   
   Our understanding is that the Arrow C++ code in the Arrow R package must be 
built with the MinGW toolchain (due to Rtools), so the Azure SDKs we depend on 
must also be built with MinGW. To the best of our understanding, the only way 
to do this is to build the 
[`azure-sdk-for-cpp`](https://github.com/Azure/azure-sdk-for-cpp) components we 
need from source with MinGW.
   
   We were able to build `azure-core-cpp`, `azure-storage-blobs-cpp`, 
`azure-storage-common-cpp`, and `azure-storage-files-datalake-cpp` successfully 
with MinGW. Unfortunately, we were not able to get `azure-identity-cpp` to 
build as it seems to depend heavily on the Windows Implementation Library (WIL) 
which lacks stable support for MinGW.
   
   **What this means for this PR**
    
   Our understanding is that this `azure-identity-cpp` limitation means that 
either (1) certain Azure Identity features won't work on the Windows build of 
Arrow R or (2) Azure should be disabled on the Windows build of Arrow R to 
avoid confusion.
   
   Before proceeding on this, we wanted to check if this limitation is a 
showstopper for this PR, and if not, do you want us to proceed by modifying the 
Windows build to ignore Azure identity, or should we just set 
`-DARROW_AZURE=OFF` on the Windows build?
   
   Alternatively, if you think there's a way to get `azure-identity-cpp` build 
working with MinGW, we would be happy to accept any advice on this.
   
   Thanks in advance!


-- 
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]

Reply via email to