[ 
https://issues.apache.org/jira/browse/ARROW-6808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krisztian Szucs updated ARROW-6808:
-----------------------------------
    Summary: [Ruby] Ensure requiring suitable MSYS2 package  (was: [ruby] 
Doesn't build on windows msys2)

> [Ruby] Ensure requiring suitable MSYS2 package
> ----------------------------------------------
>
>                 Key: ARROW-6808
>                 URL: https://issues.apache.org/jira/browse/ARROW-6808
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Ruby
>         Environment: windows 10 msys2
>            Reporter: Dominic Sisneros
>            Assignee: Kouhei Sutou
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to