You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "barracuda156 (via GitHub)" <gi...@apache.org> on 2024/01/19 03:21:08 UTC
[I] Current `R-arrow` from CRAN fails to build against released Arrow: `error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter'` [arrow]
barracuda156 opened a new issue, #39698:
URL: https://github.com/apache/arrow/issues/39698
### Describe the bug, including details regarding any error messages, version, and platform.
Something got broken:
```
In file included from r_to_arrow.cpp:31:
/opt/local/include/arrow/util/converter.h: In instantiation of 'arrow::Status arrow::internal::MakeConverterImpl<BaseConverter, ConverterTrait>::Visit(const T&) [with T = arrow::StringViewType; ConverterType = arrow::r::RPrimitiveConverter<arrow::StringViewType, void>; BaseConverter = arrow::r::RConverter; ConverterTrait = arrow::r::RConverterTrait]':
/opt/local/include/arrow/visit_type_inline.h:54:5: required from 'arrow::Status arrow::VisitTypeInline(const DataType&, VISITOR*, ARGS&& ...) [with VISITOR = internal::MakeConverterImpl<r::RConverter, r::RConverterTrait>; ARGS = {}]'
/opt/local/include/arrow/util/converter.h:265:3: required from 'arrow::Result<std::unique_ptr<_Tp> > arrow::internal::MakeConverter(std::shared_ptr<arrow::DataType>, typename BaseConverter::OptionsType, arrow::MemoryPool*) [with BaseConverter = arrow::r::RConverter; ConverterTrait = arrow::r::RConverterTrait; typename BaseConverter::OptionsType = arrow::r::RConversionOptions]'
r_to_arrow.cpp:1322:71: required from here
/opt/local/include/arrow/util/converter.h:218:15: error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter<arrow::StringViewType, void>'
218 | out.reset(new ConverterType());
| ^~~~~~~~~~~~~~~~~~~
r_to_arrow.cpp:313:7: note: declaration of 'class arrow::r::RPrimitiveConverter<arrow::StringViewType, void>'
313 | class RPrimitiveConverter;
| ^~~~~~~~~~~~~~~~~~~
/opt/local/include/arrow/util/converter.h: In instantiation of 'arrow::Status arrow::internal::MakeConverterImpl<BaseConverter, ConverterTrait>::Visit(const T&) [with T = arrow::BinaryViewType; ConverterType = arrow::r::RPrimitiveConverter<arrow::BinaryViewType, void>; BaseConverter = arrow::r::RConverter; ConverterTrait = arrow::r::RConverterTrait]':
/opt/local/include/arrow/visit_type_inline.h:54:5: required from 'arrow::Status arrow::VisitTypeInline(const DataType&, VISITOR*, ARGS&& ...) [with VISITOR = internal::MakeConverterImpl<r::RConverter, r::RConverterTrait>; ARGS = {}]'
/opt/local/include/arrow/util/converter.h:265:3: required from 'arrow::Result<std::unique_ptr<_Tp> > arrow::internal::MakeConverter(std::shared_ptr<arrow::DataType>, typename BaseConverter::OptionsType, arrow::MemoryPool*) [with BaseConverter = arrow::r::RConverter; ConverterTrait = arrow::r::RConverterTrait; typename BaseConverter::OptionsType = arrow::r::RConversionOptions]'
r_to_arrow.cpp:1322:71: required from here
/opt/local/include/arrow/util/converter.h:218:15: error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter<arrow::BinaryViewType, void>'
218 | out.reset(new ConverterType());
| ^~~~~~~~~~~~~~~~~~~
r_to_arrow.cpp:313:7: note: declaration of 'class arrow::r::RPrimitiveConverter<arrow::BinaryViewType, void>'
313 | class RPrimitiveConverter;
| ^~~~~~~~~~~~~~~~~~~
make: *** [r_to_arrow.o] Error 1
ERROR: compilation failed for package ‘arrow’
```
### Component(s)
R
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Current `R-arrow` from CRAN fails to build against released Arrow: `error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter'` [arrow]
Posted by "barracuda156 (via GitHub)" <gi...@apache.org>.
barracuda156 commented on issue #39698:
URL: https://github.com/apache/arrow/issues/39698#issuecomment-1900856286
@assignUser Got it, thank you. Will wait until 15.x is there then.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Current `R-arrow` from CRAN fails to build against released Arrow: `error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter'` [arrow]
Posted by "barracuda156 (via GitHub)" <gi...@apache.org>.
barracuda156 commented on issue #39698:
URL: https://github.com/apache/arrow/issues/39698#issuecomment-1899753197
I used 15.0.0, since I wanted to update it in Macports, and there is a strong preference towards using releases whenever those are available. Backporting a fix from the master is easy though, if it has been already fixed.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Current `R-arrow` from CRAN fails to build against released Arrow: `error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter'` [arrow]
Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser closed issue #39698: Current `R-arrow` from CRAN fails to build against released Arrow: `error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter<arrow::BinaryViewType, void>'`
URL: https://github.com/apache/arrow/issues/39698
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Current `R-arrow` from CRAN fails to build against released Arrow: `error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter'` [arrow]
Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on issue #39698:
URL: https://github.com/apache/arrow/issues/39698#issuecomment-1899652591
Could you confirm which version you are trying to build against which? CRAN has 14.0.0.2 and your libarrow is from main?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Current `R-arrow` from CRAN fails to build against released Arrow: `error: invalid use of incomplete type 'class arrow::r::RPrimitiveConverter'` [arrow]
Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on issue #39698:
URL: https://github.com/apache/arrow/issues/39698#issuecomment-1899784984
libarrow 15.0.0 contains new layouts and is thus incompatible with prior versions of the package (e.g. 14.0.0.2, the current cran version). In addition 15.0.0 is not yet released, the vote is not closed yet ;)
The CRAN version lags behind a bit due to recent issues, though I hope we wil catch up soon...
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org