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

[Ruby] Ensure requiring suitable MSYS2 package

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Ruby
    • Environment:
      windows 10 msys2

      Description

      C:\Users\Dominic E Sisneros>gem update red-arrow
      Updating installed gems
      Updating red-arrow
      Temporarily enhancing PATH for MSYS/MINGW...
      Installing required msys2 packages: mingw-w64-x86_64-arrow
      warning: mingw-w64-x86_64-arrow-0.14.0-2 is up to date – skipping
      Building native extensions. This could take a while...
      ERROR: Error installing red-arrow:
      ERROR: Failed to build gem native extension.

      current directory: c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.15.0/ext/arrow
      c:/Ruby26-x64/bin/ruby.exe -I c:/Ruby26-x64/lib/ruby/site_ruby/2.6.0 -r ./siteconf20191007-20416-1m6q3x3.rb extconf.rb
      checking --enable-debug-build option... no
      checking C++ compiler... x86_64-w64-mingw32-g++
      checking g++ version... 9.2 (gnu++14)
      checking for --enable-debug-build option... no
      checking for -Wall option to compiler... yes
      checking for -Waggregate-return option to compiler... yes
      checking for -Wcast-align option to compiler... yes
      checking for -Wextra option to compiler... no
      checking for -Wformat=2 option to compiler... yes
      checking for -Winit-self option to compiler... yes
      checking for -Wlarger-than-65500 option to compiler... yes
      checking for -Wmissing-declarations option to compiler... yes
      checking for -Wmissing-format-attribute option to compiler... yes
      checking for -Wmissing-include-dirs option to compiler... yes
      checking for -Wmissing-noreturn option to compiler... yes
      checking for -Wmissing-prototypes option to compiler... yes
      checking for -Wnested-externs option to compiler... no
      checking for -Wold-style-definition option to compiler... yes
      checking for -Wpacked option to compiler... yes
      checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
      checking for -Wpointer-arith option to compiler... yes
      checking for -Wswitch-default option to compiler... yes
      checking for -Wswitch-enum option to compiler... yes
      checking for -Wundef option to compiler... yes
      checking for -Wout-of-line-declaration option to compiler... no
      checking for -Wunsafe-loop-optimizations option to compiler... yes
      checking for -Wwrite-strings option to compiler... yes
      checking for Homebrew... no
      checking for arrow... yes
      checking for arrow-glib... yes
      creating Makefile

      current directory: c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.15.0/ext/arrow
      make "DESTDIR=" clean

      current directory: c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.15.0/ext/arrow
      make "DESTDIR="
      generating arrow-x64-mingw32.def
      compiling arrow.cpp
      compiling converters.cpp
      compiling raw-records.cpp
      raw-records.cpp: In lambda function:
      raw-records.cpp:61:52: error: 'class arrow::Column' has no member named 'chunks'
      61 | for (const auto array : chunked_array->chunks()) {

      ^~~~~~
      make: *** [Makefile:236: raw-records.o] Error 1

      make failed, exit code 2

      Gem files will remain installed in c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.15.0 for inspection.
      Results logged to c:/Ruby26-x64/lib/ruby/gems/2.6.0/extensions/x64-mingw32/2.6.0/red-arrow-0.15.0/gem_make.out
      Gems updated: red-arrow

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kou Kouhei Sutou
                Reporter:
                dsisnero Dominic Sisneros
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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