raulcd commented on PR #48964:
URL: https://github.com/apache/arrow/pull/48964#issuecomment-4134067557
The MinGW failures seems related to something that happened in the past but
I can't really understand what is happening:
```
FAILED: [code=1]
_deps/google_cloud_cpp-build/google/cloud/CMakeFiles/google_cloud_cpp_common.dir/internal/sha256_hash.cc.obj
D:\a\_temp\msys64\mingw64\bin\ccache.exe
D:\a\_temp\msys64\mingw64\bin\c++.exe -DARROW_HAVE_RUNTIME_SSE4_2
-DARROW_HAVE_SSE4_2 -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS
-ID:/a/arrow/arrow/build/cpp/_deps/google_cloud_cpp-src -isystem
D:/a/arrow/arrow/build/cpp/_deps/google_cloud_cpp-build -isystem
D:/a/arrow/arrow/build/cpp/_deps/opentelemetry_cpp-src/api/include
-Wredundant-move -Wno-noexcept-type -Wno-self-move -fdiagnostics-color=always
-Wa,-mbig-obj -Wall -Wno-conversion -Wno-sign-conversion -Wdate-time
-Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition -mxsave
-msse4.2 -O3 -DNDEBUG -O2 -ftree-vectorize -std=c++20 -Wall -Wextra
-Wconversion -Wno-sign-conversion -MD -MT
_deps/google_cloud_cpp-build/google/cloud/CMakeFiles/google_cloud_cpp_common.dir/internal/sha256_hash.cc.obj
-MF
_deps\google_cloud_cpp-build\google\cloud\CMakeFiles\google_cloud_cpp_common.dir\internal\sha256_hash.cc.obj.d
-fmodules-ts -fmodule-mapper=_deps\google_cloud_cpp-
build\google\cloud\CMakeFiles\google_cloud_cpp_common.dir\internal\sha256_hash.cc.obj.modmap
-MD -fdeps-format=p1689r5 -x c++ -o
_deps/google_cloud_cpp-build/google/cloud/CMakeFiles/google_cloud_cpp_common.dir/internal/sha256_hash.cc.obj
-c
D:/a/arrow/arrow/build/cpp/_deps/google_cloud_cpp-src/google/cloud/internal/sha256_hash.cc
D:/a/arrow/arrow/build/cpp/_deps/google_cloud_cpp-src/google/cloud/internal/sha256_hash.cc:
In function 'google::cloud::v3_2::internal::Sha256Type
google::cloud::v3_2::internal::{anonymous}::Sha256Hash(const void*,
std::size_t)':
D:/a/arrow/arrow/build/cpp/_deps/google_cloud_cpp-src/google/cloud/internal/sha256_hash.cc:38:3:
error: 'BCryptHash' was not declared in this scope; did you mean
'BCryptSignHash'?
38 | BCryptHash(BCRYPT_SHA256_ALG_HANDLE, nullptr, 0,
| ^~~~~~~~~~
| BCryptSignHash
```
Seems related to old issues raised by us on both MinGW and GCP, @kou you did
open the original issues, any idea?
- https://github.com/mingw-w64/mingw-w64/issues/49
- https://github.com/googleapis/google-cloud-cpp/issues/14436
The only thing I've found is that MinGW's `bcrypt.h` does declare
`BCryptHash` but it's guarded by `#if NTDDI_VERSION >= NTDDI_WINTHRESHOLD`
(Windows 10), maybe a regression on Google Cloud building on MinGW64?
On another note, I've been able to fix some more CI jobs, I'll continue
pushing this.
--
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]