Skip to content

[Ruby] Cannot get gem installed on Ubuntu 20 with arrow 14,15 and/or 16 #41396

@andresbarcenas

Description

@andresbarcenas

Describe the bug, including details regarding any error messages, version, and platform.

here is the error message on Ubuntu 20 (focal)

checking for arrow version (>= 15.0.0)... yes (16.0.0)
checking for arrow-glib version (>= 15.0.2)... yes (16.0.0)
creating Makefile

current directory: /home/deployer/.asdf/installs/ruby/2.7.4/lib/ruby/gems/2.7.0/gems/red-arrow-15.0.2/ext/arrow
make "DESTDIR=" clean

current directory: /home/deployer/.asdf/installs/ruby/2.7.4/lib/ruby/gems/2.7.0/gems/red-arrow-15.0.2/ext/arrow
make "DESTDIR="
compiling arrow.cpp
In file included from /usr/include/arrow/result.h:28,
                 from /usr/include/arrow/device.h:26,
                 from /usr/include/arrow/buffer.h:29,
                 from /usr/include/arrow/array/data.h:27,
                 from /usr/include/arrow/array/array_base.h:26,
                 from /usr/include/arrow/array.h:41,
                 from /usr/include/arrow/api.h:22,
                 from red-arrow.hpp:22,
                 from arrow.cpp:20:
/usr/include/arrow/util/aligned_storage.h:39:22: error: ‘constexpr const T* arrow::internal::AlignedStorage<T>::get() const’ cannot be overloaded with ‘constexpr T* arrow::internal::AlignedStorage<T>::get() const’
   39 |   constexpr const T* get() const noexcept {
      |                      ^~~
/usr/include/arrow/util/aligned_storage.h:35:16: note: previous declaration ‘constexpr T* arrow::internal::AlignedStorage<T>::get() const’
   35 |   constexpr T* get() noexcept {
      |                ^~~
In file included from /usr/include/arrow/device.h:26,
                 from /usr/include/arrow/buffer.h:29,
                 from /usr/include/arrow/array/data.h:27,
                 from /usr/include/arrow/array/array_base.h:26,

Is there any specific documentation/instructions to get this gem installed on Ubuntu 20. I was able to do it on CentOS7 with devtoolset-8

Component(s)

Ruby

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions