kou commented on PR #13903:
URL: https://github.com/apache/arrow/pull/13903#issuecomment-1225191072

   @pitrou Could you fix the following build error? (You can push to this 
branch.)
   
   
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/44560863
   
   ```text
   FAILED: src/gandiva/CMakeFiles/gandiva_shared.dir/Unity/unity_3_cxx.cxx.obj 
   C:\Miniconda38-x64\Scripts\clcache.exe  /nologo /TP 
-DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_MIMALLOC 
-DARROW_WITH_RE2 -DARROW_WITH_UTF8PROC -DAWS_CAL_USE_IMPORT_EXPORT 
-DAWS_CHECKSUMS_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT 
-DAWS_EVENT_STREAM_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT 
-DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=8 -DAWS_SDK_VERSION_PATCH=186 
-DAWS_USE_IO_COMPLETION_PORTS -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB 
-DGANDIVA_EXPORTING -DGANDIVA_LLVM_VERSION=14 -DPROTOBUF_USE_DLLS 
-DUSE_IMPORT_EXPORT -DUSE_IMPORT_EXPORT=1 -DUSE_WINDOWS_DLL_SEMANTICS 
-D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE 
-Dgandiva_shared_EXPORTS -IC:\projects\arrow\cpp\build\src 
-IC:\projects\arrow\cpp\src -IC:\projects\arrow\cpp\src\generated 
-external:IC:\Miniconda38-x64\envs\arrow\Library\include 
-external:IC:\projects\arrow\cpp\thirdparty\flatbuffers\include -external
 :IC:\projects\arrow\cpp\thirdparty\hadoop\include 
-external:IC:\projects\arrow\cpp\build\mimalloc_ep\src\mimalloc_ep\include\mimalloc-2.0
 -external:W0 /DWIN32 /D_WINDOWS  /GR /EHsc 
/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING   /EHsc /wd5105 /bigobj /utf-8 /W3 
/wd4800 /wd4996 /wd4065  /WX /MP /MD /Od /UNDEBUG -std:c++17 /showIncludes 
/Fosrc\gandiva\CMakeFiles\gandiva_shared.dir\Unity\unity_3_cxx.cxx.obj 
/Fdsrc\gandiva\CMakeFiles\gandiva_shared.dir\ /FS -c 
C:\projects\arrow\cpp\build\src\gandiva\CMakeFiles\gandiva_shared.dir\Unity\unity_3_cxx.cxx
   C:\projects\arrow\cpp\src\arrow/vendored/datetime/tz.h(1792): error C2440: 
'<function-style-cast>': cannot convert from 'initializer list' to 
'arrow_vendored::date::zoned_time<std::chrono::duration<__int64,std::milli>,const
 arrow_vendored::date::time_zone *>'
   C:\projects\arrow\cpp\src\arrow/vendored/datetime/tz.h(1792): note: No 
constructor could take the source type, or constructor overload resolution was 
ambiguous
   C:/projects/arrow/cpp/src/gandiva/gdv_function_stubs.cc(764): note: see 
reference to function template instantiation 
'arrow_vendored::date::zoned_time<std::chrono::duration<__int64,std::milli>,const
 arrow_vendored::date::time_zone *> 
arrow_vendored::date::make_zoned<std::chrono::duration<__int64,std::milli>,const
 arrow_vendored::date::time_zone*>(const std::string &,const 
arrow_vendored::date::zoned_time<std::chrono::duration<__int64,std::milli>,const
 arrow_vendored::date::time_zone *> &)' being compiled
   [286/351] Building CXX object 
src\gandiva\CMakeFiles\gandiva_shared.dir\Unity\unity_1_cxx.cxx.obj
   ninja: build stopped: subcommand failed.
   (arrow) C:\projects\arrow\cpp\build>set lastexitcode=1 
   ```
   
   I don't have Conda + Windows environment. So fixing this is difficult to 
me...
   
   Note: `cpp/cmake_modules/CMakeLists.txt` change is the same as #13958 (for 
xsimd 9.0.0). It's for using xsimd 9.0.0 installed by Conda on AppVeyer.


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