You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/07/25 14:58:00 UTC

[jira] [Closed] (ARROW-6029) [R] could not build

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

Wes McKinney closed ARROW-6029.
-------------------------------
    Resolution: Not A Problem
      Assignee:     (was: Neal Richardson)

Agreed with Neal, you need to ensure that the installed C++ library version matches the R package version being installed. The git version of the R library includes features not found in the 0.14.0/0.14.1 C++ library

> [R] could not build
> -------------------
>
>                 Key: ARROW-6029
>                 URL: https://issues.apache.org/jira/browse/ARROW-6029
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 0.14.0
>         Environment: > sessionInfo()
> R version 3.6.0 (2019-04-26)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 18.04.2 LTS
>            Reporter: kohleth
>            Priority: Major
>
> hi there,
> when trying to build the R wrapper usingĀ 
> {code:java}
> remotes::install_github("apache/arrow", subdir = "r"){code}
> I hit the following error:
> {code:java}
> Found pkg-config cflags and libs!
>  PKG_CFLAGS=-DNDEBUG -DARROW_R_WITH_ARROW
>  PKG_LIBS=-larrow -lparquet** libsg++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DARROW_R_WITH_ARROW -I"/usr/lib/R/site-library/Rcpp/include" -fvisibility=hidden -fpic -g -O2 -fdebug-prefix-map=/build/r-base-VjHo9C/r-base-3.6.0=. -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 -DNDEBUG -DARROW_R_WITH_ARROW -I"/usr/lib/R/site-library/Rcpp/include" -fvisibility=hidden -fpic -g -O2 -fdebug-prefix-map=/build/r-base-VjHo9C/r-base-3.6.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c array_to_vector.cpp -o arrayto_vector.oarrayto_vector.cpp: In function 'Rcpp::List Table_to_dataframe(const std::shared_ptr<arrow::Table>&, bool)':
>  array__to_vector.cpp:819:65: error: 'using element_type = class arrow::Column {aka class arrow::Column}' has no member named 'chunks'
>  converters[i] = arrow::r::Converter::Make(table->column->chunks());
>  ^~~~~~array__to_vector.cpp:820:23: error: 'using element_type = class arrow::Table {aka class arrow::Table}' has no member named 'field'
>  names[i] = table->field->name();
>  ^~~~~/usr/lib/R/etc/Makeconf:176: recipe for target 'array__to_vector.o' failedmake: *** [array__to_vector.o] Error 1ERROR: compilation failed for package 'arrow'* removing '/home/kchia/R/x86_64-pc-linux-gnu-library/3.6/arrow'Error: Failed to install 'arrow' from GitHub:
>  (converted from warning) installation of package '/tmp/RtmpfYJZFa/file33fc6aee0ae6/arrow_0.14.0.9000.tar.gz' had non-zero exit status{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)