You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jonathan Keane (Jira)" <ji...@apache.org> on 2021/07/12 18:22:00 UTC

[jira] [Updated] (ARROW-13315) [R] Wrap r_task_group includes with ARROW_R_WITH_ARROW checking

     [ https://issues.apache.org/jira/browse/ARROW-13315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Keane updated ARROW-13315:
-----------------------------------
    Description: 
Need to wrap the includes with

{code}
#if defined(ARROW_R_WITH_ARROW)
...
#endif
{code}

at https://github.com/apache/arrow/blob/master/r/src/r_task_group.h#L20-L21

{code}
* installing *source* package ‘arrow’ ...
** using staged installation
*** Proceeding without C++ dependencies
------------------------- NOTE ---------------------------
See https://arrow.apache.org/docs/r/articles/install.html
for help installing Arrow C++ libraries
---------------------------------------------------------
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG  -I'/usr/local/lib/R/site-library/cpp11/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-tbZjLv/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -Wall -pedantic -c RTasks.cpp -o RTasks.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG  -I'/usr/local/lib/R/site-library/cpp11/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-tbZjLv/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -Wall -pedantic -c altrep.cpp -o altrep.o
In file included from RTasks.cpp:18:
./r_task_group.h:20:10: fatal error: arrow/util/parallel.h: No such file or directory
   20 | #include <arrow/util/parallel.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/usr/lib/R/etc/Makeconf:177: RTasks.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘arrow’
* removing ‘/tmp/RtmpQLy29Z/Rinst325b11ebc1/arrow’
{code}


  was:
Need to wrap the includes with

{code}
#if defined(ARROW_R_WITH_ARROW)
...
#endif
{code}

at https://github.com/apache/arrow/blob/master/r/src/r_task_group.h#L20-L21



> [R] Wrap r_task_group includes with ARROW_R_WITH_ARROW checking
> ---------------------------------------------------------------
>
>                 Key: ARROW-13315
>                 URL: https://issues.apache.org/jira/browse/ARROW-13315
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Jonathan Keane
>            Assignee: Jonathan Keane
>            Priority: Blocker
>             Fix For: 5.0.0
>
>
> Need to wrap the includes with
> {code}
> #if defined(ARROW_R_WITH_ARROW)
> ...
> #endif
> {code}
> at https://github.com/apache/arrow/blob/master/r/src/r_task_group.h#L20-L21
> {code}
> * installing *source* package ‘arrow’ ...
> ** using staged installation
> *** Proceeding without C++ dependencies
> ------------------------- NOTE ---------------------------
> See https://arrow.apache.org/docs/r/articles/install.html
> for help installing Arrow C++ libraries
> ---------------------------------------------------------
> ** libs
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG  -I'/usr/local/lib/R/site-library/cpp11/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-tbZjLv/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -Wall -pedantic -c RTasks.cpp -o RTasks.o
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG  -I'/usr/local/lib/R/site-library/cpp11/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-tbZjLv/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -Wall -pedantic -c altrep.cpp -o altrep.o
> In file included from RTasks.cpp:18:
> ./r_task_group.h:20:10: fatal error: arrow/util/parallel.h: No such file or directory
>    20 | #include <arrow/util/parallel.h>
>       |          ^~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make: *** [/usr/lib/R/etc/Makeconf:177: RTasks.o] Error 1
> make: *** Waiting for unfinished jobs....
> ERROR: compilation failed for package ‘arrow’
> * removing ‘/tmp/RtmpQLy29Z/Rinst325b11ebc1/arrow’
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)