Bug#1134522: apache-arrow FTBFS with R 4.6

Adrian Bunk bunk at debian.org
Tue Apr 21 09:35:05 BST 2026


Source: apache-arrow
Version: 23.0.1-10
Severity: serious
Forwarded: https://github.com/apache/arrow/commit/7aca68211bf4e786328a9260bbea62ad8929f8d6

https://buildd.debian.org/status/logs.php?pkg=apache-arrow&ver=23.0.1-10%2Bb1

...
In file included from ./arrow_types.h:22,
                 from arraydata.cpp:18:
././arrow_cpp11.h: In function ‘Pointer arrow::r::r6_to_pointer(SEXP)’:
././arrow_cpp11.h:223:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  223 |   SEXP xp = Rf_findVarInFrame(self, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
././arrow_cpp11.h:223:13: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
././arrow_cpp11.h: In function ‘void arrow::r::r6_reset_pointer(SEXP)’:
././arrow_cpp11.h:238:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  238 |   SEXP xp = Rf_findVarInFrame(r6, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
In file included from ./arrow_types.h:22,
                 from array.cpp:18:
././arrow_cpp11.h: In function ‘Pointer arrow::r::r6_to_pointer(SEXP)’:
././arrow_cpp11.h:223:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  223 |   SEXP xp = Rf_findVarInFrame(self, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
././arrow_cpp11.h:223:13: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
././arrow_cpp11.h: In function ‘void arrow::r::r6_reset_pointer(SEXP)’:
././arrow_cpp11.h:238:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  238 |   SEXP xp = Rf_findVarInFrame(r6, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
In file included from ./arrow_types.h:22,
                 from altrep.cpp:18:
././arrow_cpp11.h: In function ‘Pointer arrow::r::r6_to_pointer(SEXP)’:
././arrow_cpp11.h:223:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  223 |   SEXP xp = Rf_findVarInFrame(self, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
././arrow_cpp11.h:223:13: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
././arrow_cpp11.h: In function ‘void arrow::r::r6_reset_pointer(SEXP)’:
././arrow_cpp11.h:238:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  238 |   SEXP xp = Rf_findVarInFrame(r6, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
In file included from ./arrow_types.h:22,
                 from arrowExports.cpp:5:
././arrow_cpp11.h: In function ‘Pointer arrow::r::r6_to_pointer(SEXP)’:
././arrow_cpp11.h:223:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  223 |   SEXP xp = Rf_findVarInFrame(self, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
././arrow_cpp11.h:223:13: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
././arrow_cpp11.h: In function ‘void arrow::r::r6_reset_pointer(SEXP)’:
././arrow_cpp11.h:238:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  238 |   SEXP xp = Rf_findVarInFrame(r6, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
In file included from ./arrow_types.h:22,
                 from array_to_vector.cpp:18:
././arrow_cpp11.h: In function ‘Pointer arrow::r::r6_to_pointer(SEXP)’:
././arrow_cpp11.h:223:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  223 |   SEXP xp = Rf_findVarInFrame(self, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
././arrow_cpp11.h:223:13: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
././arrow_cpp11.h: In function ‘void arrow::r::r6_reset_pointer(SEXP)’:
././arrow_cpp11.h:238:13: error: there are no arguments to ‘Rf_findVarInFrame’ that depend on a template parameter, so a declaration of ‘Rf_findVarInFrame’ must be available [-Wtemplate-body]
  238 |   SEXP xp = Rf_findVarInFrame(r6, arrow::r::symbols::xp);
      |             ^~~~~~~~~~~~~~~~~
x86_64-linux-gnu-g++ -std=gnu++20 -I"/usr/share/R/include" -DNDEBUG -I/build/reproducible-path/apache-arrow-23.0.1/debian/tmp/usr/include -pthread -DNOMINMAX -DUTF8PROC_EXPORTS   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_COMPUTE -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/lib/R/site-library/cpp11/include'     -fpic  -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.5.3.20260417=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -c bridge.cpp -o bridge.o
././arrow_cpp11.h: In instantiation of ‘Pointer arrow::r::r6_to_pointer(SEXP) [with Pointer = const std::shared_ptr<arrow::Array>*; SEXP = SEXPREC*]’:
././arrow_cpp11.h:251:70:   required from ‘arrow::r::ExternalPtrInput<T>::ExternalPtrInput(SEXP) [with T = std::shared_ptr<arrow::Array>; SEXP = SEXPREC*]’
  251 |   explicit ExternalPtrInput(SEXP self) : ptr_(r6_to_pointer<const T*>(self)) {}
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
././arrow_cpp11.h:468:20:   required from ‘cpp11::enable_if_shared_ptr<T> cpp11::as_cpp(SEXP) [with T = std::shared_ptr<arrow::Array>; enable_if_shared_ptr<T> = std::shared_ptr<arrow::Array>; SEXP = SEXPREC*]’
  468 |   return arrow::r::ExternalPtrInput<T>(from);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~
array.cpp:349:66:   required from here
  349 |     vector.push_back(cpp11::as_cpp<std::shared_ptr<arrow::Array>>(item));
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
././arrow_cpp11.h:223:30: error: ‘Rf_findVarInFrame’ was not declared in this scope; did you mean ‘R_existsVarInFrame’?
  223 |   SEXP xp = Rf_findVarInFrame(self, arrow::r::symbols::xp);
      |             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             R_existsVarInFrame
make[2]: *** [/usr/lib/R/etc/Makeconf:199: array.o] Error 1
...


More information about the debian-science-maintainers mailing list