[ 
https://issues.apache.org/jira/browse/ARROW-12624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345629#comment-17345629
 ] 

Ying Zhou commented on ARROW-12624:
-----------------------------------

[~yurivict] How did you try to build Arrow? Do you have ORC installed somewhere?

> ARROW_ORC=ON breaks: fatal error: 'orc/OrcFile.hh' file not found
> -----------------------------------------------------------------
>
>                 Key: ARROW-12624
>                 URL: https://issues.apache.org/jira/browse/ARROW-12624
>             Project: Apache Arrow
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>         Environment: OS: FreeBSD 12.2
>            Reporter: Yuri
>            Priority: Major
>
> {code:java}
> FAILED: src/arrow/CMakeFiles/arrow_objlib.dir/adapters/orc/adapter_util.cc.o 
> /usr/bin/c++ -DARROW_WITH_LZ4 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS 
> -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DURI_STATIC_BUILD -Isrc 
> -I/disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src 
> -I/disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/generated
>  -isystem 
> /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/thirdparty/flatbuffers/include
>  -isystem 
> /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/thirdparty/hadoop/include
>  -isystem orc_ep-install/include -O2 -pipe -fno-omit-frame-pointer 
> -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
> -fno-omit-frame-pointer  -isystem /usr/local/include -Qunused-arguments 
> -fcolor-diagnostics -O3 -DNDEBUG  -Wall -Wno-unknown-warning-option 
> -Wno-pass-failed  -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong 
> -isystem /usr/local/include -fno-strict-aliasing -fno-omit-frame-pointer  
> -isystem /usr/local/include -fPIC -std=c++11 -MD -MT 
> src/arrow/CMakeFiles/arrow_objlib.dir/adapters/orc/adapter_util.cc.o -MF 
> src/arrow/CMakeFiles/arrow_objlib.dir/adapters/orc/adapter_util.cc.o.d -o 
> src/arrow/CMakeFiles/arrow_objlib.dir/adapters/orc/adapter_util.cc.o -c 
> /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/arrow/adapters/orc/adapter_util.cc
> In file included from 
> /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/arrow/adapters/orc/adapter_util.cc:18:
> /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/arrow/adapters/orc/adapter_util.h:25:10:
>  fatal error: 'orc/OrcFile.hh' file not found
> #include "orc/OrcFile.hh"
>          ^~~~~~~~~~~~~~~~
> 1 error generated.
> {code}
> This file is present:
> {code:java}
> $ find . -name OrcFile.hh
> ./work/stage/disk-samsung/freebsd-ports/databases/arrow/work/.build/orc_ep-install/include/orc/OrcFile.hh
> ./work/.build/orc_ep-prefix/src/orc_ep/c++/include/orc/OrcFile.hh
> {code}
> but the build fails to find it.
> The build is outsource.



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

Reply via email to