starsareintherose opened a new issue, #35372:
URL: https://github.com/apache/arrow/issues/35372

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   
   - OS: Arch Linux
   - R version: 4.3.0
   - Build details: 
https://github.com/BioArchLinux/Packages/blob/master/BioArchLinux/r-arrow/PKGBUILD
   
   An error report follows, full log is 
[here](https://build.bioarchlinux.org/api/pkg/r-arrow/log/1682786741)
   ```
   array.cpp: In function ‘std::shared_ptr<arrow::StructArray> 
StructArray__from_RecordBatch(const std::shared_ptr<arrow::RecordBatch>&)’:
   array.cpp:220:37: error: invalid use of incomplete type ‘using element_type 
= class arrow::RecordBatch’ {aka ‘class arrow::RecordBatch’}
     220 |       arrow::StructArray::Make(batch->columns(), 
batch->schema()->field_names()));
         |                                     ^~
   In file included from /usr/include/arrow/io/type_fwd.h:20,
                    from /usr/include/arrow/device.h:24,
                    from /usr/include/arrow/buffer.h:28,
                    from ./arrow_types.h:24,
                    from array.cpp:18:
   /usr/include/arrow/type_fwd.h:79:7: note: forward declaration of ‘using 
element_type = class arrow::RecordBatch’ {aka ‘class arrow::RecordBatch’}
      79 | class RecordBatch;
         |       ^~~~~~~~~~~
   array.cpp:220:55: error: invalid use of incomplete type ‘using element_type 
= class arrow::RecordBatch’ {aka ‘class arrow::RecordBatch’}
     220 |       arrow::StructArray::Make(batch->columns(), 
batch->schema()->field_names()));
         |                                                       ^~
   /usr/include/arrow/type_fwd.h:79:7: note: forward declaration of ‘using 
element_type = class arrow::RecordBatch’ {aka ‘class arrow::RecordBatch’}
      79 | class RecordBatch;
         |       ^~~~~~~~~~~
   array.cpp:219:10: error: ‘ValueOrStop’ was not declared in this scope; did 
you mean ‘arrow::ValueOrStop’?
     219 |   return ValueOrStop(
         |          ^~~~~~~~~~~
         |          arrow::ValueOrStop
   ./arrow_types.h:125:6: note: ‘arrow::ValueOrStop’ declared here
     125 | auto ValueOrStop(R&& result) -> 
decltype(std::forward<R>(result).ValueOrDie()) {
         |      ^~~~~~~~~~~
   make: *** [/usr/lib64/R/etc/Makeconf:200: array.o] Error 1
   make: *** Waiting for unfinished jobs....
   ERROR: compilation failed for package ‘arrow’
   * removing ‘/build/r-arrow/src/arrow’
   * restoring previous ‘/build/r-arrow/src/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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to