raulcd commented on issue #48817:
URL: https://github.com/apache/arrow/issues/48817#issuecomment-3870796837
This seems to be required for 23.0.1 in order to build the docs. Otherwise
this fails:
```
*** Trying Arrow C++ found by pkg-config: /tmp/local
**** C++ library version 23.0.0 is supported by R version 23.0.0
PKG_CFLAGS=-I/tmp/local/include -DARROW_R_WITH_PARQUET
-DARROW_R_WITH_COMPUTE -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO
-DARROW_R_WITH_SUBSTRAIT -DARROW_R_WITH_JSON -DARROW_R_WITH_S3
-DARROW_R_WITH_GCS
PKG_LIBS=-L/tmp/local/lib -larrow_substrait -larrow_dataset -larrow_acero
-larrow_compute -lparquet -larrow
** libs
using C++ compiler: 'g++ (Debian 14.2.0-19) 14.2.0'
using C++17
...
g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I/tmp/local/include
-DARROW_R_WITH_PARQUET -DARROW_R_WITH_COMPUTE -DARROW_R_WITH_DATASET
-DARROW_R_WITH_ACERO -DARROW_R_WITH_SUBSTRAIT -DARROW_R_WITH_JSON
-DARROW_R_WITH_S3 -DARROW_R_WITH_GCS
-I'/usr/local/lib/R/site-library/cpp11/include' -fpic -g -O2
-ffile-prefix-map=/home/jranke/git/r-backports/trixie/r-base-4.5.2=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c
recordbatch.cpp -o recordbatch.o
In file included from /tmp/local/include/parquet/file_reader.h:27,
from /tmp/local/include/parquet/arrow/reader.h:26,
from parquet.cpp:25:
/tmp/local/include/parquet/metadata.h:397:31: error: 'std::span' has not
been declared
397 | static bool VerifySignature(std::span<const uint8_t>
serialized_metadata,
| ^~~
/tmp/local/include/parquet/metadata.h:397:40: error: expected ',' or '...'
before '<' token
397 | static bool VerifySignature(std::span<const uint8_t>
serialized_metadata,
| ^
g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I/tmp/local/include
-DARROW_R_WITH_PARQUET -DARROW_R_WITH_COMPUTE -DARROW_R_WITH_DATASET
-DARROW_R_WITH_ACERO -DARROW_R_WITH_SUBSTRAIT -DARROW_R_WITH_JSON
-DARROW_R_WITH_S3 -DARROW_R_WITH_GCS
-I'/usr/local/lib/R/site-library/cpp11/include' -fpic -g -O2
-ffile-prefix-map=/home/jranke/git/r-backports/trixie/r-base-4.5.2=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c
recordbatchreader.cpp -o recordbatchreader.o
make: *** [/usr/lib/R/etc/Makeconf:211: parquet.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package 'arrow'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]