Wes McKinney created ARROW-5473:
-----------------------------------

             Summary: [C++] Build failure on googletest_ep on Windows when 
using Ninja
                 Key: ARROW-5473
                 URL: https://issues.apache.org/jira/browse/ARROW-5473
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Wes McKinney
             Fix For: 0.14.0


I consistently get this error when trying to use Ninja locally:

{code}
-- extracting...
     
src='C:/Users/wesmc/code/arrow/cpp/build/googletest_ep-prefix/src/release-1.8.1.tar.gz'
     
dst='C:/Users/wesmc/code/arrow/cpp/build/googletest_ep-prefix/src/googletest_ep'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
CMake Error at googletest_ep-stamp/extract-googletest_ep.cmake:51 (file):
  file RENAME failed to rename

    
C:/Users/wesmc/code/arrow/cpp/build/googletest_ep-prefix/src/ex-googletest_ep1234/googletest-release-1.8.1

  to

    C:/Users/wesmc/code/arrow/cpp/build/googletest_ep-prefix/src/googletest_ep

  because: Directory not empty



[179/623] Building CXX object 
src\arrow\CMakeFiles\arrow_static.dir\array\builder_dict.cc.obj
ninja: build stopped: subcommand failed.
{code}

I'm running within cmdr terminal emulator so it's conceivable there's some path 
modifications that are causing issues.

The CMake invocation is

{code}
cmake -G "Ninja" ^          -DCMAKE_BUILD_TYPE=Release ^          
-DARROW_BUILD_TESTS=on ^          -DARROW_CXXFLAGS="/WX /MP" ^
     -DARROW_FLIGHT=off -DARROW_PARQUET=on -DARROW_GANDIVA=ON 
-DARROW_VERBOSE_THIRDPARTY_BUILD=on     ..
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to