Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2644

[Python] parquet binding fails building on AppVeyor

    XMLWordPrintableJSON

    Details

      Description

      This is a new issue (perhaps due to a new Cython version). See e.g. https://ci.appveyor.com/project/pitrou/arrow/build/1.0.509/job/dxdqcdk30kmiy6pd#L4291

      Excerpt:

      -- Running cmake --build for pyarrow
      C:\Program Files (x86)\CMake\bin\cmake.exe --build . --config release
      [1/8] cmd.exe /C "cd /D C:\projects\arrow\python\build\temp.win-amd64-3.6\Release && C:\Miniconda36-x64\envs\arrow\python.exe -m cython --cplus --working C:/projects/arrow/python --output-file C:/projects/arrow/python/build/temp.win-amd64-3.6/Release/_parquet.cpp C:/projects/arrow/python/pyarrow/_parquet.pyx"
      [2/8] cmd.exe /c
      [3/8] cmd.exe /C "cd /D C:\projects\arrow\python\build\temp.win-amd64-3.6\Release && C:\Miniconda36-x64\envs\arrow\python.exe -m cython --cplus --working C:/projects/arrow/python --output-file C:/projects/arrow/python/build/temp.win-amd64-3.6/Release/lib.cpp C:/projects/arrow/python/pyarrow/lib.pyx"
      [4/8] cmd.exe /c
      [5/8] C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\cl.exe   /TP -DARROW_EXPORTING -D_CRT_SECURE_NO_WARNINGS -D_parquet_EXPORTS -IC:\Miniconda36-x64\envs\arrow\lib\site-packages\numpy\core\include -IC:\Miniconda36-x64\envs\arrow\include -I..\..\..\src -IC:\Miniconda36-x64\envs\arrow\Library\include /bigobj /W3 /wd4800 /DWIN32 /D_WINDOWS  /GR /EHsc /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING  /WX /wd4190 /wd4293 /wd4800 /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoCMakeFiles\_parquet.dir\_parquet.cpp.obj /FdCMakeFiles\_parquet.dir\ /FS -c _parquet.cpp
      FAILED: CMakeFiles/_parquet.dir/_parquet.cpp.obj 
      C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\cl.exe   /TP -DARROW_EXPORTING -D_CRT_SECURE_NO_WARNINGS -D_parquet_EXPORTS -IC:\Miniconda36-x64\envs\arrow\lib\site-packages\numpy\core\include -IC:\Miniconda36-x64\envs\arrow\include -I..\..\..\src -IC:\Miniconda36-x64\envs\arrow\Library\include /bigobj /W3 /wd4800 /DWIN32 /D_WINDOWS  /GR /EHsc /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING  /WX /wd4190 /wd4293 /wd4800 /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoCMakeFiles\_parquet.dir\_parquet.cpp.obj /FdCMakeFiles\_parquet.dir\ /FS -c _parquet.cpp
      Microsoft (R) C/C++ Optimizing Compiler Version 19.14.26428.1 for x64
      Copyright (C) Microsoft Corporation.  All rights reserved.
      _parquet.cpp(6790): error C2220: warning treated as error - no 'object' file generated
      _parquet.cpp(6790): warning C4244: 'argument': conversion from 'int64_t' to 'long', possible loss of data
      [6/8] C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\cl.exe   /TP -DARROW_EXPORTING -D_CRT_SECURE_NO_WARNINGS -Dlib_EXPORTS -IC:\Miniconda36-x64\envs\arrow\lib\site-packages\numpy\core\include -IC:\Miniconda36-x64\envs\arrow\include -I..\..\..\src -IC:\Miniconda36-x64\envs\arrow\Library\include /bigobj /W3 /wd4800 /DWIN32 /D_WINDOWS  /GR /EHsc /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING  /WX /wd4190 /wd4293 /wd4800 /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoCMakeFiles\lib.dir\lib.cpp.obj /FdCMakeFiles\lib.dir\ /FS -c lib.cpp
      Microsoft (R) C/C++ Optimizing Compiler Version 19.14.26428.1 for x64
      Copyright (C) Microsoft Corporation.  All rights reserved.
      ninja: build stopped: subcommand failed.
      error: command 'C:\\Program Files (x86)\\CMake\\bin\\cmake.exe' failed with exit status 1
      (arrow) C:\projects\arrow\python>set lastexitcode=1 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apitrou Antoine Pitrou
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m