Natasha created ARROW-9635:
------------------------------

             Summary: Can't install red-arrow 0.1.7.1 
                 Key: ARROW-9635
                 URL: https://issues.apache.org/jira/browse/ARROW-9635
             Project: Apache Arrow
          Issue Type: Bug
          Components: Ruby
    Affects Versions: 0.17.1
            Reporter: Natasha


I need some help with this error, this was working ok 3 days ago, now I'm 
getting this:

Dependencies installed: 
libarrow17 libarrow-glib17 gir1.2-arrow-1.0 \
libparquet17 libparquet-glib17 gir1.2-parquet-1.0 \
libarrow-dev libarrow-glib-dev libparquet-dev libparquet-glib-dev
 
ERROR:  Error installing red-parquet:   ERROR: Failed to build gem native 
extension.    current directory: 
/usr/local/bundle/gems/red-arrow-0.17.1/ext/arrow/usr/local/bin/ruby -r 
./siteconf20200803-9-v6ubfi.rb extconf.rbchecking --enable-debug-build 
option... nochecking C++ compiler... g++checking g++ version... 6.3 
(gnu++14)mkmf-gnome2 is deprecated. Use mkmf-gnome instead.checking for 
--enable-debug-build option... nochecking for -Wall option to compiler... 
yeschecking for -Waggregate-return option to compiler... yeschecking for 
-Wcast-align option to compiler... yeschecking for -Wextra option to 
compiler... yeschecking for -Wformat=2 option to compiler... yeschecking for 
-Winit-self option to compiler... yeschecking for -Wlarger-than-65500 option to 
compiler... yeschecking for -Wmissing-declarations option to compiler... 
yeschecking for -Wmissing-format-attribute option to compiler... yeschecking 
for -Wmissing-include-dirs option to compiler... yeschecking for 
-Wmissing-noreturn option to compiler... yeschecking for -Wmissing-prototypes 
option to compiler... yeschecking for -Wnested-externs option to compiler... 
yeschecking for -Wold-style-definition option to compiler... yeschecking for 
-Wpacked option to compiler... yeschecking for -Wp,-D_FORTIFY_SOURCE=2 option 
to compiler... yeschecking for -Wpointer-arith option to compiler... 
yeschecking for -Wundef option to compiler... yeschecking for 
-Wout-of-line-declaration option to compiler... nochecking for 
-Wunsafe-loop-optimizations option to compiler... yeschecking for 
-Wwrite-strings option to compiler... yeschecking for Homebrew... nochecking 
for arrow... yeschecking for arrow-glib... yescreating Makefilecurrent 
directory: /usr/local/bundle/gems/red-arrow-0.17.1/ext/arrowmake "DESTDIR=" 
cleancurrent directory: /usr/local/bundle/gems/red-arrow-0.17.1/ext/arrowmake 
"DESTDIR="compiling arrow.cppcompiling converters.cppIn file included from 
converters.cpp:20:0:converters.hpp:258:19: error: ‘arrow::Status 
red_arrow::ListArrayValueConverter::Visit(const arrow::UnionArray&)’ marked 
‘override’, but does not override     arrow::Status Visit(const arrow::TYPE ## 
Array& array) override {   \                   ^converters.hpp:288:5: note: in 
expansion of macro ‘VISIT’     VISIT(Union)     ^~~~~converters.hpp:360:19: 
error: ‘arrow::Status red_arrow::StructArrayValueConverter::Visit(const 
arrow::UnionArray&)’ marked ‘override’, but does not override     arrow::Status 
Visit(const arrow::TYPE ## Array& array) override {   \                   
^converters.hpp:391:5: note: in expansion of macro ‘VISIT’     VISIT(Union)     
^~~~~converters.hpp: In member function ‘VALUE 
red_arrow::StructArrayValueConverter::convert(const arrow::StructArray&, 
int64_t)’:converters.hpp:342:48: warning: ‘int arrow::DataType::num_children() 
const’ is deprecated: Use num_fields() [-Wdeprecated-declarations]       const 
auto n = struct_type->num_children();                                           
     ^In file included from /usr/include/arrow/array/array_base.h:31:0,         
        from /usr/include/arrow/array.h:25,                 from 
/usr/include/arrow/api.h:22,                 from red-arrow.hpp:22,             
    from converters.hpp:20,                 from 
converters.cpp:20:/usr/include/arrow/type.h:139:7: note: declared here   int 
num_children() const \{ return num_fields(); }       ^~~~~~~~~~~~In file 
included from converters.cpp:20:0:converters.hpp:344:53: warning: ‘const 
std::shared_ptr<arrow::Field>& arrow::DataType::child(int) const’ is 
deprecated: Use field(i) [-Wdeprecated-declarations]         const auto 
field_type = struct_type->child(i).get();                                       
              ^In file included from 
/usr/include/arrow/array/array_base.h:31:0,                 from 
/usr/include/arrow/array.h:25,                 from 
/usr/include/arrow/api.h:22,                 from red-arrow.hpp:22,             
    from converters.hpp:20,                 from 
converters.cpp:20:/usr/include/arrow/type.h:127:33: note: declared here   const 
std::shared_ptr<Field>& child(int i) const \{ return field(i); }                
                 ^~~~~In file included from converters.cpp:20:0:converters.hpp: 
At global scope:converters.hpp:451:19: error: ‘arrow::Status 
red_arrow::UnionArrayValueConverter::Visit(const arrow::UnionArray&)’ marked 
‘override’, but does not override     arrow::Status Visit(const arrow::TYPE ## 
Array& array) override {   \                   ^converters.hpp:482:5: note: in 
expansion of macro ‘VISIT’     VISIT(Union)     ^~~~~converters.hpp: In member 
function ‘uint8_t 
red_arrow::UnionArrayValueConverter::compute_child_index(const 
arrow::UnionArray&, arrow::UnionType*, const char*)’:converters.hpp:508:39: 
warning: comparison is always true due to limited range of data type 
[-Wtype-limits]       if (type_code >= 0 && type_code <= 
arrow::UnionType::kMaxTypeCode) {                             
~~~~~~~~~~^~~~~~~~converters.hpp: In member function ‘void 
red_arrow::UnionArrayValueConverter::convert_sparse(const 
arrow::UnionArray&)’:converters.hpp:524:55: warning: ‘const 
std::shared_ptr<arrow::Field>& arrow::DataType::child(int) const’ is 
deprecated: Use field(i) [-Wdeprecated-declarations]       const auto 
child_field = type->child(child_index).get();                                   
                    ^In file included from 
/usr/include/arrow/array/array_base.h:31:0,                 from 
/usr/include/arrow/array.h:25,                 from 
/usr/include/arrow/api.h:22,                 from red-arrow.hpp:22,             
    from converters.hpp:20,                 from 
converters.cpp:20:/usr/include/arrow/type.h:127:33: note: declared here   const 
std::shared_ptr<Field>& child(int i) const \{ return field(i); }                
                 ^~~~~In file included from 
converters.cpp:20:0:converters.hpp:528:55: warning: 
‘std::shared_ptr<arrow::Array> arrow::UnionArray::child(int) const’ is 
deprecated: Deprecated in 1.0.0. Use field(pos) [-Wdeprecated-declarations]     
  const auto child_array = array.child(child_index).get();                      
                                 ^In file included from 
/usr/include/arrow/array.h:29:0,                 from 
/usr/include/arrow/api.h:22,                 from red-arrow.hpp:22,             
    from converters.hpp:20,                 from 
converters.cpp:20:/usr/include/arrow/array/array_nested.h:378:26: note: 
declared here   std::shared_ptr<Array> child(int pos) const;                    
      ^~~~~In file included from converters.cpp:20:0:converters.hpp: In member 
function ‘void red_arrow::UnionArrayValueConverter::convert_dense(const 
arrow::UnionArray&)’:converters.hpp:538:55: warning: ‘const 
std::shared_ptr<arrow::Field>& arrow::DataType::child(int) const’ is 
deprecated: Use field(i) [-Wdeprecated-declarations]       const auto 
child_field = type->child(child_index).get();                                   
                    ^In file included from 
/usr/include/arrow/array/array_base.h:31:0,                 from 
/usr/include/arrow/array.h:25,                 from 
/usr/include/arrow/api.h:22,                 from red-arrow.hpp:22,             
    from converters.hpp:20,                 from 
converters.cpp:20:/usr/include/arrow/type.h:127:33: note: declared here   const 
std::shared_ptr<Field>& child(int i) const \{ return field(i); }                
                 ^~~~~In file included from 
converters.cpp:20:0:converters.hpp:542:55: warning: 
‘std::shared_ptr<arrow::Array> arrow::UnionArray::child(int) const’ is 
deprecated: Deprecated in 1.0.0. Use field(pos) [-Wdeprecated-declarations]     
  const auto child_array = array.child(child_index);                            
                           ^In file included from 
/usr/include/arrow/array.h:29:0,                 from 
/usr/include/arrow/api.h:22,                 from red-arrow.hpp:22,             
    from converters.hpp:20,                 from 
converters.cpp:20:/usr/include/arrow/array/array_nested.h:378:26: note: 
declared here   std::shared_ptr<Array> child(int pos) const;                    
      ^~~~~In file included from converters.cpp:20:0:converters.hpp:544:22: 
error: ‘const class arrow::UnionArray’ has no member named ‘value_offset’; did 
you mean ‘offset’?       index_ = array.value_offset(index_);                   
   ^~~~~~~~~~~~Makefile:234: recipe for target 'converters.o' failedmake: *** 
[converters.o] Error 1make failed, exit code 2Gem files will remain installed 
in /usr/local/bundle/gems/red-arrow-0.17.1 for inspection.Results logged to 
/usr/local/bundle/extensions/x86_64-linux/2.5.0/red-arrow-0.17.1/gem_make.out



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

Reply via email to