Repository navigation
Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
The MinGW jobs have just started failing with the following error:
[465/957] Building CXX object src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/expression_internal.cc.obj
FAILED: src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/expression_internal.cc.obj
D:\a\_temp\msys64\mingw64\bin\ccache.exe D:\a\_temp\msys64\mingw64\bin\c++.exe -DARROW_ENGINE_EXPORTING -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DPROTOBUF_USE_DLLS -DUSE_IMPORT_EXPORT -D_CRT_SECURE_NO_WARNINGS -Darrow_substrait_shared_EXPORTS -ID:/a/arrow/arrow/build/cpp/src -ID:/a/arrow/arrow/cpp/src -ID:/a/arrow/arrow/cpp/src/generated -ID:/a/arrow/arrow/build/cpp/substrait_ep-generated -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++17 -MD -MT src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/expression_internal.cc.obj -MF src\arrow\engine\CMakeFiles\arrow_substrait_shared.dir\substrait\expression_internal.cc.obj.d -o src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/expression_internal.cc.obj -c D:/a/arrow/arrow/cpp/src/arrow/engine/substrait/expression_internal.cc
D:/a/arrow/arrow/cpp/src/arrow/engine/substrait/expression_internal.cc: In function 'std::string arrow::engine::EnumToString(int, const google::protobuf::EnumDescriptor*)':
D:/a/arrow/arrow/cpp/src/arrow/engine/substrait/expression_internal.cc:145:26: error: could not convert 'value_desc->google::protobuf::EnumValueDescriptor::name()' from 'google::protobuf::internal::DescriptorStringView' {aka 'std::basic_string_view<char>'} to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
145 | return value_desc->name();
| ~~~~~~~~~~~~~~~~^~
| |
| google::protobuf::internal::DescriptorStringView {aka std::basic_string_view<char>}
[466/957] Building CXX object src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/extension_types.cc.obj
[467/957] Building CXX object src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/extended_expression_internal.cc.obj
[468/957] Building CXX object src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/extension_set.cc.obj
ninja: build stopped: subcommand failed.
This is happening on PRs and main, example failures:
Component(s)
C++, Continuous Integration
Activity
apacheGH-46134: [CI][C++] Validate last commit didn't break MinGW
apacheGH-46134: [CI][C++] Explicit conversion of google::protobuf::En…
raulcd commentedon Apr 14, 2025
Successful builds were using
mingw-w64-x86_64-protobuf-29.3-1failing builds are usingmingw-w64-x86_64-protobuf-30.2-1raulcd commentedon Apr 14, 2025
This is the breaking change we are facing:
kou commentedon Apr 14, 2025
Issue resolved by pull request 46136
#46136
kou commentedon Apr 14, 2025
@assignUser We may need this for 20.0.0.
GH-46134: [CI][C++] Explicit conversion of possible `absl::string_vie…