You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "starsareintherose (via GitHub)" <gi...@apache.org> on 2023/04/30 03:09:48 UTC

[GitHub] [arrow] starsareintherose opened a new issue, #35372: CRAN:

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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] starsareintherose commented on issue #35372: [R] CRAN: compile error under R 4.3.0

Posted by "starsareintherose (via GitHub)" <gi...@apache.org>.
starsareintherose commented on issue #35372:
URL: https://github.com/apache/arrow/issues/35372#issuecomment-1535000434

   Okay, thanks for your information. @ArchangeGabriel Could you do me a favor to upgrade archlinux arrow pkg which is falgged as out of date serveral months


-- 
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


[GitHub] [arrow] thisisnic commented on issue #35372: [R] CRAN: compile error under R 4.3.0

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #35372:
URL: https://github.com/apache/arrow/issues/35372#issuecomment-1532462747

   Thanks for reporting this @starsareintherose!  Looking through the logs there, it looks like pkg-config found a system version of the Arrow C++ libraries at 10.0.1, which is incompatible with Arrow 11.0.0.3.  You'll need to either update the system version of Arrow to 11.0.0, or retry with the environment variable `ARROW_USE_PKG_CONFIG` set to `false` (though I think the system version upgrade probably makes more sense in your case?)


-- 
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


[GitHub] [arrow] thisisnic closed issue #35372: [R] CRAN: compile error under R 4.3.0

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #35372: [R] CRAN: compile error under R 4.3.0
URL: https://github.com/apache/arrow/issues/35372


-- 
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