[MacPorts] #71406: R-arrow broken by apache-arrow update to 18.1.0
MacPorts
noreply at macports.org
Wed Nov 27 04:49:18 UTC 2024
#71406: R-arrow broken by apache-arrow update to 18.1.0
--------------------------+---------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: R-arrow
--------------------------+---------------------
The last update of `apache-arrow` has broken `R-arrow`:
{{{
---> Configuring R-arrow
Executing: cd "/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_R_R-arrow/R-arrow/work/arrow" &&
/opt/local/bin/R CMD build . --no-manual --no-build-vignettes --keep-
empty-dirs
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘arrow’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running ‘cleanup’
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘arrow_17.0.0.1.tar.gz’
---> Building R-arrow
xinstall: mkdir /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_R_R-arrow/R-arrow/work/build
Executing: cd "/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_R_R-arrow/R-arrow/work/arrow" &&
/opt/local/bin/R CMD INSTALL . --library=/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_R_R-arrow/R-arrow/work/build --install-tests
* installing *source* package ‘arrow’ ...
file ‘configure’ has the wrong MD5 checksum
** using staged installation
*** pkg-config found.
*** Trying Arrow C++ found by pkg-config: /opt/local
**** Not using: C++ library version (18.1.0): not supported by R package
version 17.0.0.1
*** Warning: versions of apache-arrow and R-arrow do not match.
PKG_CFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 -DARROW_R_WITH_PARQUET
-DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_SUBSTRAIT
-DARROW_R_WITH_JSON -DARROW_R_WITH_GCS
PKG_LIBS=-L/opt/local/lib -larrow_substrait -larrow_dataset -larrow_acero
-lparquet -larrow
** libs
using C++ compiler: ‘g++-mp-13 (MacPorts gcc13 13.3.0_2+stdlib_flag)
13.3.0’
using C++17
Warning in system2("xcrun", "--show-sdk-path", TRUE, TRUE) :
running command ''xcrun' --show-sdk-path 2>&1' had status 64
using SDK: ‘NA’‘NA’‘NA’‘NA’‘NA’‘NA’
/opt/local/bin/g++-mp-13 -std=gnu++17
-I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-D_GLIBCXX_USE_CXX11_ABI=0 -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET
-DARROW_R_WITH_ACERO -DARROW_R_WITH_SUBSTRAIT -DARROW_R_WITH_JSON
-DARROW_R_WITH_GCS
-I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/cpp11/include'
-isystem/opt/local/include/LegacySupport -I/opt/local/include -fPIC
-pipe -Os -arch ppc -c RTasks.cpp -o RTasks.o
/opt/local/bin/g++-mp-13 -std=gnu++17
-I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-D_GLIBCXX_USE_CXX11_ABI=0 -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET
-DARROW_R_WITH_ACERO -DARROW_R_WITH_SUBSTRAIT -DARROW_R_WITH_JSON
-DARROW_R_WITH_GCS
-I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/cpp11/include'
-isystem/opt/local/include/LegacySupport -I/opt/local/include -fPIC
-pipe -Os -arch ppc -c altrep.cpp -o altrep.o
altrep.cpp:90:20: error: 'ChunkLocation' in namespace 'arrow::internal'
does not name a type
90 | arrow::internal::ChunkLocation locate(int64_t index) {
| ^~~~~~~~~~~~~
altrep.cpp:96:20: error: 'ChunkResolver' in namespace 'arrow::internal'
does not name a type
96 | arrow::internal::ChunkResolver resolver_;
| ^~~~~~~~~~~~~
altrep.cpp: In constructor
'arrow::r::altrep::{anonymous}::ArrowAltrepData::ArrowAltrepData(const
std::shared_ptr<arrow::ChunkedArray>&)':
altrep.cpp:86:40: error: class
'arrow::r::altrep::{anonymous}::ArrowAltrepData' does not have any field
named 'resolver_'
86 | : chunked_array_(chunked_array),
resolver_(chunked_array->chunks()) {}
| ^~~~~~~~~
altrep.cpp: In static member function 'static
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::c_type
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::Elt(SEXP,
R_xlen_t)':
altrep.cpp:277:33: error: 'class
arrow::r::altrep::{anonymous}::ArrowAltrepData' has no member named
'locate'
277 | auto resolve = altrep_data->locate(i);
| ^~~~~~
altrep.cpp:283:71: error: expected primary-expression before '>' token
283 | : array->data()->template
GetValues<c_type>(1)[j];
|
^
altrep.cpp: In static member function 'static int64_t
arrow::r::altrep::{anonymous}::AltrepFactor::Elt64(SEXP, R_xlen_t)':
altrep.cpp:567:33: error: 'class
arrow::r::altrep::{anonymous}::ArrowAltrepData' has no member named
'locate'
567 | auto resolve = altrep_data->locate(i);
| ^~~~~~
altrep.cpp:583:69: error: expected primary-expression before '>' token
583 | return
transpose_data[indices->data()->GetValues<uint8_t>(1)[j]] + 1;
|
^
altrep.cpp:585:68: error: expected primary-expression before '>' token
585 | return
transpose_data[indices->data()->GetValues<int8_t>(1)[j]] + 1;
|
^
altrep.cpp:587:70: error: expected primary-expression before '>' token
587 | return
transpose_data[indices->data()->GetValues<uint16_t>(1)[j]] + 1;
|
^
altrep.cpp:589:69: error: expected primary-expression before '>' token
589 | return
transpose_data[indices->data()->GetValues<int16_t>(1)[j]] + 1;
|
^
altrep.cpp:591:69: error: expected primary-expression before '>' token
591 | return
transpose_data[indices->data()->GetValues<int32_t>(1)[j]] + 1;
|
^
altrep.cpp:593:70: error: expected primary-expression before '>' token
593 | return
transpose_data[indices->data()->GetValues<uint32_t>(1)[j]] + 1;
|
^
altrep.cpp:595:69: error: expected primary-expression before '>' token
595 | return
transpose_data[indices->data()->GetValues<int64_t>(1)[j]] + 1;
|
^
altrep.cpp:597:70: error: expected primary-expression before '>' token
597 | return
transpose_data[indices->data()->GetValues<uint64_t>(1)[j]] + 1;
|
^
altrep.cpp:604:54: error: expected primary-expression before '>' token
604 | return indices->data()->GetValues<uint8_t>(1)[j] + 1;
| ^
altrep.cpp:606:53: error: expected primary-expression before '>' token
606 | return indices->data()->GetValues<int8_t>(1)[j] + 1;
| ^
altrep.cpp:608:55: error: expected primary-expression before '>' token
608 | return indices->data()->GetValues<uint16_t>(1)[j] + 1;
| ^
altrep.cpp:610:54: error: expected primary-expression before '>' token
610 | return indices->data()->GetValues<int16_t>(1)[j] + 1;
| ^
altrep.cpp:612:54: error: expected primary-expression before '>' token
612 | return indices->data()->GetValues<int32_t>(1)[j] + 1;
| ^
altrep.cpp:614:55: error: expected primary-expression before '>' token
614 | return indices->data()->GetValues<uint32_t>(1)[j] + 1;
| ^
altrep.cpp:616:54: error: expected primary-expression before '>' token
616 | return indices->data()->GetValues<int64_t>(1)[j] + 1;
| ^
altrep.cpp:618:76: error: expected primary-expression before '>' token
618 | return
static_cast<int64_t>(indices->data()->GetValues<uint64_t>(1)[j] + 1);
|
^
altrep.cpp: In static member function 'static SEXPREC*
arrow::r::altrep::{anonymous}::AltrepVectorString<Type>::Elt(SEXP,
R_xlen_t)':
altrep.cpp:868:33: error: 'class
arrow::r::altrep::{anonymous}::ArrowAltrepData' has no member named
'locate'
868 | auto resolve = altrep_data->locate(i);
| ^~~~~~
make: *** [altrep.o] Error 1
ERROR: compilation failed for package ‘arrow’
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71406>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list