raulcd opened a new issue, #55316: URL: https://github.com/apache/arrow/issues/55316
### Describe the bug, including details regarding any error messages, version, and platform. It seems that the [ODBC Windows Upload Unsigned DLL](https://github.com/apache/arrow/actions/runs/40884610879/job/123484864466#logs) job is failing with the following: ``` [331/333] Linking CXX shared library release\arrow_flight_sql_odbc.dll FAILED: [code=4294967295] release/arrow_flight_sql_odbc.dll release/arrow_flight_sql_odbc.lib C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_dll --msvc-ver=1944 --intdir=src\arrow\flight\sql\odbc\CMakeFiles\arrow_flight_sql_odbc_shared.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\arrow_flight_sql_odbc_shared.rsp /out:release\arrow_flight_sql_odbc.dll /implib:release\arrow_flight_sql_odbc.lib /pdb:release\arrow_flight_sql_odbc.pdb /dll /version:2600.1 /machine:x64 /NODEFAULTLIB:LIBCMT /INCREMENTAL:NO -Wl,--version-script=D:/a/arrow/arrow/cpp/src/arrow/symbols.map /DEF:D:\a\arrow\arrow\cpp\src\arrow\flight\sql\odbc\odbc.def && C:\Windows\system32\cmd.exe /C "cd /D D:\a\arrow\arrow\build\cpp\src\arrow\flight\sql\odbc && D:\a\arrow\arrow\vcpkg\vcpkg.exe z-applocal --target-binary=D:/a/arrow/arrow/build/cpp/release/arrow_flight_sql_odbc.dll --i nstalled-bin-dir=D:/a/arrow/arrow/build/cpp/vcpkg_installed/x64-windows-static-md/bin"" LINK: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\arrow_flight_sql_odbc_shared.rsp /out:release\arrow_flight_sql_odbc.dll /implib:release\arrow_flight_sql_odbc.lib /pdb:release\arrow_flight_sql_odbc.pdb /dll /version:2600.1 /machine:x64 /NODEFAULTLIB:LIBCMT /INCREMENTAL:NO -Wl,--version-script=D:/a/arrow/arrow/cpp/src/arrow/symbols.map /DEF:D:\a\arrow\arrow\cpp\src\arrow\flight\sql\odbc\odbc.def /MANIFEST:EMBED,ID=2" failed (exit code 1120) with the following output: LINK : warning LNK4044: unrecognized option '/Wl,--version-script=D:/a/arrow/arrow/cpp/src/arrow/symbols.map'; ignored Creating library release\arrow_flight_sql_odbc.lib and object release\arrow_flight_sql_odbc.exp arrow_flight_static.lib(Flight.pb.cc.obj) : error LNK2019: unresolved external symbol "class google::protobuf::internal::GlobalEmptyStringConstexpr const google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3VGlobalEmptyStringConstexpr@123@B) referenced in function "private: static void * __cdecl arrow::flight::protocol::SchemaResult::PlacementNew_(void const *,void *,class google::protobuf::Arena *)" (?PlacementNew_@SchemaResult@protocol@flight@arrow@@CAPEAXPEBXPEAXPEAVArena@protobuf@google@@@Z) arrow_flight_static.lib(serialization_internal.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::GlobalEmptyStringConstexpr const google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3VGlobalEmptyStringConstexpr@123@B) arrow_flight_sql_static.lib(protocol_internal.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::GlobalEmptyStringConstexpr const google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3VGlobalEmptyStringConstexpr@123@B) release\arrow_flight_sql_odbc.dll : fatal error LNK1120: 1 unresolved externals [332/333] Linking CXX executable release\bin\arrow_odbc_spi_impl_cli.exe FAILED: [code=4294967295] release/bin/arrow_odbc_spi_impl_cli.exe C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --msvc-ver=1944 --intdir=src\arrow\flight\sql\odbc\odbc_impl\CMakeFiles\arrow_odbc_spi_impl_cli.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\arrow_odbc_spi_impl_cli.rsp /out:release\bin\arrow_odbc_spi_impl_cli.exe /implib:release\arrow_odbc_spi_impl_cli.lib /pdb:release\bin\arrow_odbc_spi_impl_cli.pdb /version:0.0 /machine:x64 /NODEFAULTLIB:LIBCMT /INCREMENTAL:NO /subsystem:console && C:\Windows\system32\cmd.exe /C "cd /D D:\a\arrow\arrow\build\cpp\src\arrow\flight\sql\odbc\odbc_impl && D:\a\arrow\arrow\vcpkg\vcpkg.exe z-applocal --target-binary=D:/a/arrow/arrow/build/cpp/release/bin/arrow_odbc_spi_impl_cli.exe --installed-bin-dir=D:/a/arrow/arrow/build/cpp/vcpkg_installed/x64-windows-static-md/bin "" LINK: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\arrow_odbc_spi_impl_cli.rsp /out:release\bin\arrow_odbc_spi_impl_cli.exe /implib:release\arrow_odbc_spi_impl_cli.lib /pdb:release\bin\arrow_odbc_spi_impl_cli.pdb /version:0.0 /machine:x64 /NODEFAULTLIB:LIBCMT /INCREMENTAL:NO /subsystem:console /MANIFEST:EMBED,ID=1" failed (exit code 1120) with the following output: arrow_flight_sql_static.lib(protocol_internal.cc.obj) : error LNK2019: unresolved external symbol "class google::protobuf::internal::GlobalEmptyStringConstexpr const google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3VGlobalEmptyStringConstexpr@123@B) referenced in function "private: static void * __cdecl arrow::flight::protocol::sql::CommandStatementIngest::PlacementNew_(void const *,void *,class google::protobuf::Arena *)" (?PlacementNew_@CommandStatementIngest@sql@protocol@flight@arrow@@CAPEAXPEBXPEAXPEAVArena@protobuf@google@@@Z) arrow_flight_static.lib(serialization_internal.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::GlobalEmptyStringConstexpr const google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3VGlobalEmptyStringConstexpr@123@B) arrow_flight_static.lib(Flight.pb.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::GlobalEmptyStringConstexpr const google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3VGlobalEmptyStringConstexpr@123@B) release\bin\arrow_odbc_spi_impl_cli.exe : fatal error LNK1120: 1 unresolved externals ninja: build stopped: subcommand failed. ``` This is failing for RC0 on 26.0.1. None of the ODBC jobs are currently failing on main so I am unsure whether this is tested on nightlies or I've missed a commit for the RC for 26.0.1 release. ### Component(s) Release, FlightRPC -- 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]
