[
https://issues.apache.org/jira/browse/ARROW-12473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Keane closed ARROW-12473.
----------------------------------
Resolution: Not A Problem
> error: ‘parquet’ was not declared in this scope
> -----------------------------------------------
>
> Key: ARROW-12473
> URL: https://issues.apache.org/jira/browse/ARROW-12473
> Project: Apache Arrow
> Issue Type: Task
> Components: R
> Reporter: Mauricio 'Pachá' Vargas Sepúlveda
> Priority: Major
>
> I' m trying to install from
> and when I get to R CMD INSTALL . I get
> https://github.com/apache/arrow/commit/2b2eeeb7ef751eadb4f49ea616bf5c1c852c707a
> {code:java}
> $ R CMD INSTALL .
> * installing to library ‘/home/pacha/R/x86_64-pc-linux-gnu-library/4.0’
> * installing *source* package ‘arrow’ ...
> ** using staged installation
> *** Generating code with data-raw/codegen.R
> *** > 416 functions decorated with [[arrow|dataset|parquet|s3::export]]
> *** > `src/arrowExports.cpp` not modified
> *** > `R/arrowExports.R` not modified
> *** Using ARROW_HOME as the source of libarrow
> PKG_CFLAGS=-I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW
> -DARROW_R_WITH_DATASET -DARROW_R_WITH_S3
> PKG_LIBS=-L/home/pacha/.arrow/lib -larrow_dataset -larrow
> ** libs
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG
> -I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_DATASET
> -DARROW_R_WITH_S3 -I'/usr/lib/R/site-library/cpp11/include' -fpic -g -O2
> -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.5=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -c array.cpp -o array.o
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG
> -I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_DATASET
> -DARROW_R_WITH_S3 -I'/usr/lib/R/site-library/cpp11/include' -fpic -g -O2
> -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.5=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -c array_to_vector.cpp -o array_to_vector.o
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG
> -I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_DATASET
> -DARROW_R_WITH_S3 -I'/usr/lib/R/site-library/cpp11/include' -fpic -g -O2
> -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.5=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -c arraydata.cpp -o arraydata.o
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG
> -I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_DATASET
> -DARROW_R_WITH_S3 -I'/usr/lib/R/site-library/cpp11/include' -fpic -g -O2
> -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.5=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -c arrowExports.cpp -o arrowExports.o
> arrowExports.cpp:1646:131: error: ‘parquet’ was not declared in this scope
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
> ^~~~~~~
> arrowExports.cpp:1646:156: error: template argument 1 is invalid
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
>
> ^
> arrowExports.cpp:1646:131: error: ‘parquet’ was not declared in this scope
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
> ^~~~~~~
> arrowExports.cpp:1646:156: error: template argument 1 is invalid
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
>
> ^
> arrowExports.cpp:1646:131: error: ‘parquet’ was not declared in this scope
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
> ^~~~~~~
> arrowExports.cpp:1646:156: error: template argument 1 is invalid
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
>
> ^
> arrowExports.cpp:1646:131: error: ‘parquet’ was not declared in this scope
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
> ^~~~~~~
> arrowExports.cpp:1646:156: error: template argument 1 is invalid
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
>
> ^
> arrowExports.cpp:1646:131: error: ‘parquet’ was not declared in this scope
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
> ^~~~~~~
> arrowExports.cpp:1646:156: error: template argument 1 is invalid
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
>
> ^
> arrowExports.cpp:1646:115: error: invalid use of template-name
> ‘std::shared_ptr’ without an argument list
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
> ^~~
> arrowExports.cpp:1646:115: note: class template argument deduction is only
> available with ‘-std=c++17’ or ‘-std=gnu++17’
> In file included from /usr/include/c++/9/bits/shared_ptr.h:52,
> from /usr/include/c++/9/memory:81,
> from /usr/lib/R/site-library/cpp11/include/cpp11/as.hpp:5,
> from /usr/lib/R/site-library/cpp11/include/cpp11.hpp:5,
> from arrowExports.cpp:2:
> /usr/include/c++/9/bits/shared_ptr_base.h:348:11: note: ‘template<class _Tp>
> class std::shared_ptr’ declared here
> 348 | class shared_ptr;
> | ^~~~~~~~~~
> arrowExports.cpp:1646:130: error: expected ‘,’ or ‘...’ before ‘<’ token
> 1646 | void dataset___ParquetFileWriteOptions__update(const
> std::shared_ptr<ds::ParquetFileWriteOptions>& options, const
> std::shared_ptr<parquet::WriterProperties>& writer_props, const
> std::shared_ptr<parquet::ArrowWriterProperties>& arrow_writer_props);
> |
> ^
> arrowExports.cpp: In function ‘SEXPREC*
> _arrow_dataset___ParquetFileWriteOptions__update(SEXP, SEXP, SEXP)’:
> arrowExports.cpp:1650:40: error: ‘parquet’ was not declared in this scope
> 1650 | arrow::r::Input<const
> std::shared_ptr<parquet::WriterProperties>&>::type
> writer_props(writer_props_sexp);
> | ^~~~~~~
> arrowExports.cpp:1650:65: error: template argument 1 is invalid
> 1650 | arrow::r::Input<const
> std::shared_ptr<parquet::WriterProperties>&>::type
> writer_props(writer_props_sexp);
> | ^
> arrowExports.cpp:1650:67: error: template argument 1 is invalid
> 1650 | arrow::r::Input<const
> std::shared_ptr<parquet::WriterProperties>&>::type
> writer_props(writer_props_sexp);
> | ^
> arrowExports.cpp:1650:75: error: qualified-id in declaration before
> ‘writer_props’
> 1650 | arrow::r::Input<const
> std::shared_ptr<parquet::WriterProperties>&>::type
> writer_props(writer_props_sexp);
> |
> ^~~~~~~~~~~~
> arrowExports.cpp:1651:72: error: template argument 1 is invalid
> 1651 | arrow::r::Input<const
> std::shared_ptr<parquet::ArrowWriterProperties>&>::type
> arrow_writer_props(arrow_writer_props_sexp);
> |
> ^
> arrowExports.cpp:1651:80: error: qualified-id in declaration before
> ‘arrow_writer_props’
> 1651 | arrow::r::Input<const
> std::shared_ptr<parquet::ArrowWriterProperties>&>::type
> arrow_writer_props(arrow_writer_props_sexp);
> |
> ^~~~~~~~~~~~~~~~~~
> arrowExports.cpp:1652:53: error: ‘writer_props’ was not declared in this
> scope; did you mean ‘writer_props_sexp’?
> 1652 | dataset___ParquetFileWriteOptions__update(options, writer_props,
> arrow_writer_props);
> | ^~~~~~~~~~~~
> | writer_props_sexp
> arrowExports.cpp:1652:67: error: ‘arrow_writer_props’ was not declared in
> this scope; did you mean ‘arrow_writer_props_sexp’?
> 1652 | dataset___ParquetFileWriteOptions__update(options, writer_props,
> arrow_writer_props);
> |
> ^~~~~~~~~~~~~~~~~~
> |
> arrow_writer_props_sexp
> make: *** [/usr/lib/R/etc/Makeconf:181: arrowExports.o] Error 1
> ERROR: compilation failed for package ‘arrow’
> * removing ‘/home/pacha/R/x86_64-pc-linux-gnu-library/4.0/arrow’
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)