Skip to content

[R][CI]: Compile error on opensuse155 #45718

@jonkeane

Description

@jonkeane

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

Since #45562 (and the error also suggests this PR), we have seen the test-r-rstudio-r-base-4.1-opensuse155 crossbow job fail with:

[ 59%] Building CXX object src/arrow/CMakeFiles/arrow_compute.dir/compute/kernels/aggregate_pivot.cc.o
/arrow/cpp/src/arrow/compute/kernels/aggregate_pivot.cc: In function ‘arrow::Result<std::unique_ptr<arrow::compute::KernelState> > arrow::compute::internal::{anonymous}::PivotInit(arrow::compute::KernelContext*, const arrow::compute::KernelInitArgs&)’:
/arrow/cpp/src/arrow/compute/kernels/aggregate_pivot.cc:152:10: error: could not convert ‘state’ from ‘std::unique_ptr<arrow::compute::internal::{anonymous}::PivotImpl, std::default_delete<arrow::compute::internal::{anonymous}::PivotImpl> >’ to ‘arrow::Result<std::unique_ptr<arrow::compute::KernelState> >’
   return state;
          ^~~~~
make[2]: *** [src/arrow/CMakeFiles/arrow_compute.dir/build.make:496: src/arrow/CMakeFiles/arrow_compute.dir/compute/kernels/aggregate_pivot.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2045: src/arrow/CMakeFiles/arrow_compute.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I suspect this is the old(er) GCC compiler in opensuse155 (7.5) which is EOL so we should probably bump the 4.1 test to a different OS.

Component(s)

Continuous Integration, R

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions