raulcd commented on issue #41333:
URL: https://github.com/apache/arrow/issues/41333#issuecomment-2072863984

   Something similar seems to be happening on protobuf / abseil for conda on 
Windows on the conda feedstock on the 16.0.0 PR 
(https://github.com/conda-forge/arrow-cpp-feedstock/pull/1255), this is the 
error: 
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=920516&view=logs&j=10aa580e-aee1-5b9b-3283-2dc181465fcb&t=72fcaa87-4150-5a1f-38e4-dcca063da3f2&l=2146
   But in this case is substrait instead of flight
   ```
   [179/180] Linking CXX shared library release\arrow_substrait.dll
   FAILED: release/arrow_substrait.dll release/arrow_substrait.lib 
   C:\Windows\system32\cmd.exe /C "cd . && %BUILD_PREFIX%\Library\bin\cmake.exe 
-E vs_link_dll --intdir=src\arrow\engine\CMakeFiles\arrow_substrait_shared.dir 
--rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe 
--mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- 
C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\link.exe
 /nologo 
src\arrow\engine\CMakeFiles\arrow_substrait_shared.dir\Unity\unity_1_cxx.cxx.obj
 
src\arrow\engine\CMakeFiles\arrow_substrait_shared.dir\Unity\unity_0_cxx.cxx.obj
  /out:release\arrow_substrait.dll /implib:release\arrow_substrait.lib 
/pdb:release\arrow_substrait.pdb /dll /version:1600.0 /machine:x64  
/NODEFAULTLIB:LIBCMT /INCREMENTAL:NO 
-Wl,--version-script=D:/bld/apache-arrow_1713885601816/work/cpp/src/arrow/symbols.map
  release\arrow_dataset.lib  release\substrait.lib  release\parquet.lib  
release\arrow_acero.lib  release\arrow.lib  
%PREFIX%\Library\lib\libprotobuf.lib  kernel32.lib user32.lib gdi32.lib 
winspool.
 lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && 
cd ."
   LINK: command 
"C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\link.exe
 /nologo 
src\arrow\engine\CMakeFiles\arrow_substrait_shared.dir\Unity\unity_1_cxx.cxx.obj
 
src\arrow\engine\CMakeFiles\arrow_substrait_shared.dir\Unity\unity_0_cxx.cxx.obj
 /out:release\arrow_substrait.dll /implib:release\arrow_substrait.lib 
/pdb:release\arrow_substrait.pdb /dll /version:1600.0 /machine:x64 
/NODEFAULTLIB:LIBCMT /INCREMENTAL:NO 
-Wl,--version-script=D:/bld/apache-arrow_1713885601816/work/cpp/src/arrow/symbols.map
 release\arrow_dataset.lib release\substrait.lib release\parquet.lib 
release\arrow_acero.lib release\arrow.lib %PREFIX%\Library\lib\libprotobuf.lib 
kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib 
oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST:EMBED,ID=2" failed 
(exit code 1120) with the following output:
   LINK : warning LNK4044: unrecognized option 
'/Wl,--version-script=D:/bld/apache-arrow_1713885601816/work/cpp/src/arrow/symbols.map';
 ignored
      Creating library release\arrow_substrait.lib and object 
release\arrow_substrait.exp
   unity_0_cxx.cxx.obj : error LNK2019: unresolved external symbol "public: 
void __cdecl absl::lts_20240116::status_internal::StatusRep::Unref(void)const " 
(?Unref@StatusRep@status_internal@lts_20240116@absl@@QEBAXXZ) referenced in 
function "public: __cdecl absl::lts_20240116::Status::~Status(void)" 
(??1Status@lts_20240116@absl@@QEAA@XZ)
   unity_0_cxx.cxx.obj : error LNK2019: unresolved external symbol "class 
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl 
absl::lts_20240116::operator<<(class std::basic_ostream<char,struct 
std::char_traits<char> > &,class absl::lts_20240116::Status const &)" 
(??6lts_20240116@absl@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV23@AEBVStatus@01@@Z)
 referenced in function "public: static class arrow::Status __cdecl 
arrow::Status::FromArgs<char const (&)[29],class absl::lts_20240116::Status 
&>(enum arrow::StatusCode,char const (&)[29],class absl::lts_20240116::Status 
&)" 
(??$FromArgs@AEAY0BN@$$CBDAEAVStatus@lts_20240116@absl@@@Status@arrow@@SA?AV01@W4StatusCode@1@AEAY0BN@$$CBDAEAV0lts_20240116@absl@@@Z)
   substrait.lib(extension_rels.pb.cc.obj) : error LNK2001: unresolved external 
symbol "private: void __cdecl 
absl::lts_20240116::log_internal::LogMessage::CopyToEncodedBuffer<0>(class 
std::basic_string_view<char,struct std::char_traits<char> >)" 
(??$CopyToEncodedBuffer@$0A@@LogMessage@log_internal@lts_20240116@absl@@AEAAXV?$basic_string_view@DU?$char_traits@D@std@@@std@@@Z)
   substrait.lib(type.pb.cc.obj) : error LNK2001: unresolved external symbol 
"private: void __cdecl 
absl::lts_20240116::log_internal::LogMessage::CopyToEncodedBuffer<0>(class 
std::basic_string_view<char,struct std::char_traits<char> >)" 
(??$CopyToEncodedBuffer@$0A@@LogMessage@log_internal@lts_20240116@absl@@AEAAXV?$basic_string_view@DU?$char_traits@D@std@@@std@@@Z)
   substrait.lib(algebra.pb.cc.obj) : error LNK2001: unresolved external symbol 
"private: void __cdecl 
absl::lts_20240116::log_internal::LogMessage::CopyToEncodedBuffer<0>(class 
std::basic_string_view<char,struct std::char_traits<char> >)" 
(??$CopyToEncodedBuffer@$0A@@LogMessage@log_internal@lts_20240116@absl@@AEAAXV?$basic_string_view@DU?$char_traits@D@std@@@std@@@Z)
   substrait.lib(plan.pb.cc.obj) : error LNK2001: unresolved external symbol 
"private: void __cdecl 
absl::lts_20240116::log_internal::LogMessage::CopyToEncodedBuffer<0>(class 
std::basic_string_view<char,struct std::char_traits<char> >)" 
(??$CopyToEncodedBuffer@$0A@@LogMessage@log_internal@lts_20240116@absl@@AEAAXV?$basic_string_view@DU?$char_traits@D@std@@@std@@@Z)
   substrait.lib(extensions.pb.cc.obj) : error LNK2001: unresolved external 
symbol "private: void __cdecl 
absl::lts_20240116::log_internal::LogMessage::CopyToEncodedBuffer<0>(class 
std::basic_string_view<char,struct std::char_traits<char> >)" 
(??$CopyToEncodedBuffer@$0A@@LogMessage@log_internal@lts_20240116@absl@@AEAAXV?$basic_string_view@DU?$char_traits@D@std@@@std@@@Z)
   substrait.lib(algebra.pb.cc.obj) : error LNK2019: unresolved external symbol 
"class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > * __cdecl 
absl::lts_20240116::log_internal::MakeCheckOpString<unsigned __int64,unsigned 
__int64>(unsigned __int64,unsigned __int64,char const *)" 
(??$MakeCheckOpString@_K_K@log_internal@lts_20240116@absl@@YAPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K0PEBD@Z)
 referenced in function "class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > * __cdecl 
absl::lts_20240116::log_internal::Check_LEImpl<unsigned __int64,unsigned 
__int64>(unsigned __int64 const &,unsigned __int64 const &,char const *)" 
(??$Check_LEImpl@_K_K@log_internal@lts_20240116@absl@@YAPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEB_K0PEBD@Z)
   release\arrow_substrait.dll : fatal error LNK1120: 4 unresolved externals
   ```
   


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