[
https://issues.apache.org/jira/browse/ARROW-12802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Webb Phillips updated ARROW-12802:
----------------------------------
Description:
libarrow build succeeds, but include/arrow/csv/type_fwd.h isn't installed since
4.0.0. This causes R install.packages('arrow') to fail with:
{code:java}
make: ***
[/opt/local/Library/Frameworks/R.framework/Resources/etc/Makeconf:179: array.o]
Error 1
In file included from recordbatch.cpp:18:
././arrow_types.h:37:10: fatal error: 'arrow/csv/type_fwd.h' file not
found{code}
Reproduced with Ubuntu 18.04 and with macOS 10.13.6 MacPorts with both
apache-arrow-4.0.0 and current HEAD f959141ece4d660bce5f7fa545befc0116a7db79.
No other type_fwd.h are missing:
{code:java}
find .../arrow/cpp/src -name type_fwd.h | wc -l
10
find .../include -name type_fwd.h | wc -l
9{code}
Best guess: default value of cmake ARROW_CSV changed and R arrow requires
ARROW_CSV=ON.
was:
libarrow build succeeds, but include/arrow/csv/type_fwd.h isn't installed since
4.0.0. This causes R install.packages('arrow') to fail with:
{code:java}
make: ***
[/opt/local/Library/Frameworks/R.framework/Resources/etc/Makeconf:179: array.o]
Error 1
In file included from recordbatch.cpp:18:
././arrow_types.h:37:10: fatal error: 'arrow/csv/type_fwd.h' file not
found{code}
Reproduced with Ubuntu 18.04 and with macOS 10.13.6 MacPorts with both
apache-arrow-4.0.0 and current HEAD f959141ece4d660bce5f7fa545befc0116a7db79.
No other type_fwd.h are missing:
{code:java}
find .../arrow/cpp/src -name type_fwd.h | wc -l
10
find .../include -name type_fwd.h | wc -l
9{code}
Unfortunately, manually copying the missing header files only pushes the
{code:java}
R install.packages('arrow'){code}
error down the road:
{code:java}
In file included from array_to_vector.cpp:18:
././arrow_types.h:182:27: error: no member named 'WriteOptions' in namespace
'arrow::csv'{code}
> Missing include/arrow/csv since 4.0.0
> -------------------------------------
>
> Key: ARROW-12802
> URL: https://issues.apache.org/jira/browse/ARROW-12802
> Project: Apache Arrow
> Issue Type: Bug
> Affects Versions: 4.0.0, 4.0.1
> Reporter: Webb Phillips
> Priority: Major
>
> libarrow build succeeds, but include/arrow/csv/type_fwd.h isn't installed
> since 4.0.0. This causes R install.packages('arrow') to fail with:
> {code:java}
> make: ***
> [/opt/local/Library/Frameworks/R.framework/Resources/etc/Makeconf:179:
> array.o] Error 1
> In file included from recordbatch.cpp:18:
> ././arrow_types.h:37:10: fatal error: 'arrow/csv/type_fwd.h' file not
> found{code}
> Reproduced with Ubuntu 18.04 and with macOS 10.13.6 MacPorts with both
> apache-arrow-4.0.0 and current HEAD f959141ece4d660bce5f7fa545befc0116a7db79.
> No other type_fwd.h are missing:
> {code:java}
> find .../arrow/cpp/src -name type_fwd.h | wc -l
> 10
> find .../include -name type_fwd.h | wc -l
> 9{code}
> Best guess: default value of cmake ARROW_CSV changed and R arrow requires
> ARROW_CSV=ON.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)