[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2022-04-26 Thread Kazuaki Ishizaki (Jira)


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

Kazuaki Ishizaki commented on ARROW-12885:
--

I got an AIX instance for a few weeks. I will work to fix errors on AIX.

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | AIX
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2022-04-22 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-12885:
--

Thanks for the information.
It seems that we need something like 
https://github.com/protocolbuffers/protobuf/pull/9065/files .

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | AIX
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2022-04-22 Thread Kazuaki Ishizaki (Jira)


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

Kazuaki Ishizaki commented on ARROW-12885:
--

According to [this 
issue|[https://github.com/protocolbuffers/protobuf/issues/8373],] AIX does not 
have {{{}endian.h{}}}. Do we apply this change?

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | AIX
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2022-04-21 Thread Antoine Pitrou (Jira)


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

Antoine Pitrou commented on ARROW-12885:


[~kiszk] Do you think this is a bug in Arrow? Otherwise, perhaps we should 
simply chose this issue.

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | AIX
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-06-01 Thread Neal Richardson (Jira)


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

Neal Richardson commented on ARROW-12885:
-

Speaking of endian.h, I'm reminded of work to get Arrow to compile on Solaris, 
so perhaps AIX would need similar conditional handling.

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | AIX
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-31 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-12885:
--

Thanks.
I wanted to see the command line that causes build error but 
{{thrift_ep-build-err.log}} doesn't include it...

> Is arrow supported for AIX?

We have never tried AIX.
It seems that {{endian.h}} doesn't exist on AIX. We need a contributor to add 
support for AIX.

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | AIX
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-31 Thread Menno (Jira)


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

Menno commented on ARROW-12885:
---

If I install with ARROW_PARQUET=OFF the bluid fails as well:
{code:java}
[ 15%] Built target toolchain
Scanning dependencies of target arrow_dependencies
[ 15%] Built target arrow_dependencies
Scanning dependencies of target arrow_objlib
[ 15%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o
In file included from /pfmphp/phptestmsi/PFMRBI/arrow/cpp/src/arrow/type.h:33:0,
 from 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/src/arrow/array/array_base.h:31,
 from 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/src/arrow/array/array_base.cc:18:
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/src/arrow/util/endian.h:28:42: fatal error: 
endian.h: No such file or directory
 #include   // IWYU pragma: keep
  ^
compilation terminated.
make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/build.make:63: 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1195: 
src/arrow/CMakeFiles/arrow_objlib.dir/all] Error 2
make: *** [Makefile:141: all] Error 2{code}

Is arrow supported for AIX?

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | AIX
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-31 Thread Menno (Jira)


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

Menno commented on ARROW-12885:
---

The only thing I can find when I search online is that when compiler system 
headers are included many errors occure regarding the template with C linkage.

There is a possible problem with option -isystem on AIX.

In their case it was fixed avoiding the -system option by doing something like 
this:
{code:java}
  if ((CMAKE_SYSTEM_NAME STREQUAL "AIX" OR CMAKE_SYSTEM_NAME STREQUAL "OS400") 
AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
include_directories("${CMake_SOURCE_DIR}/includefile")
  else()
include_directories(SYSTEM "${CMake_SOURCE_DIR}/includefile")
  endif()
{code}
Is there any location in arrow's source code where this might apply?

{{}}

 

 

 

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | power
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-31 Thread Menno (Jira)


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

Menno commented on ARROW-12885:
---

It does fail at the same location as you said, with the same message:
{code:java}
[  7%] Performing build step for 'thrift_ep'
CMake Error at 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-RELEASE.cmake:37
 (message):
  Command failed: 2   'make'  See also
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-*.log
-- stdout output is:
[  2%] Building CXX object 
lib/cpp/CMakeFiles/thrift.dir/src/thrift/TApplicationException.cpp.o-- stderr 
output is:
In file included from 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/boost_ep-prefix/src/boost_ep/boost/numeric/conversion/cast.hpp:32:0,
 from 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TTransportException.h:23,
 from 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TTransport.h:24,
 from 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/protocol/TProtocol.h:28,
 from 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/TApplicationException.cpp:21:
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/boost_ep-prefix/src/boost_ep/boost/type.hpp:13:3:
 error: template with C linkage
   template 
   ^~~~
compilation terminated due to -fmax-errors=1.
make[5]: *** [lib/cpp/CMakeFiles/thrift.dir/build.make:63: 
lib/cpp/CMakeFiles/thrift.dir/src/thrift/TApplicationException.cpp.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:96: lib/cpp/CMakeFiles/thrift.dir/all] Error 
2
make[3]: *** [Makefile:152: all] Error 2CMake Error at 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-RELEASE.cmake:47
 (message):
  Stopping after outputting logs.
make[2]: *** [CMakeFiles/thrift_ep.dir/build.make:114: 
thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:676: CMakeFiles/thrift_ep.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

{code}
The log outputs the same message:

[^thrift_ep-build-err.log]

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | power
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-27 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-12885:
--

Could you try {{cmake .. -DARROW_JEMALLOC=OFF}} and re-run {{make}} with Apache 
Arrow C++ (not R)? It will be failed on the same location with R.
And could you provide 
{{${BUILD_DIR}/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-*.log}}?

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | power
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-27 Thread Menno (Jira)


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

Menno commented on ARROW-12885:
---

Unfortunately I need arrow specifically for parquet so option 1 wouldn't work.

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | power
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-27 Thread Neal Richardson (Jira)


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

Neal Richardson commented on ARROW-12885:
-

Looks like the error is coming from boost, i.e. not in arrow source. Unless 
there's some CFLAGS or whatever that we should be passing but aren't, your 
options seem to be:

1) Turn {{ARROW_PARQUET=OFF}} (parquet requires thrift, which requires the 
boost headers at build time)

2) Report an issue to boost and hope they can fix it, and then you can install 
the fixed boost version and use that at Arrow build time.

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | power
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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


[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-27 Thread Menno (Jira)


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

Menno commented on ARROW-12885:
---

Installing with R I run:
{code:java}
cd arrow/r
R CMD INSTALL .
{code}
And the full output is:
{code:java}
* installing to library '/QOpenSys/pkgs/lib/R/library'
* installing *source* package 'arrow' ...
*** Generating code with data-raw/codegen.R
Error in library(decor) : there is no package called 'decor'
Calls: suppressPackageStartupMessages -> withCallingHandlers -> library
Execution halted
*** Found local C++ source
*** Building C++ libraries
*** Building with MAKEFLAGS= -jNA
 arrow with SOURCE_DIR="../cpp" BUILD_DIR="/tmp/RtmpCyabIa/file1b6aaa1848" 
DEST_DIR="libarrow/arrow-4.0.0.9000" CMAKE="/QOpenSys/pkgs/bin/cmake" CC="gcc" 
CXX="g++ -std=gnu++11" LDFLAGS="-pthread -liconv 
-Wl,-brtl,-liconv,-bbigtoc,-bnoexpall,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/pkgs/lib/R/lib:/QOpenSys/usr/lib"
 ARROW_S3=OFF ARROW_MIMALLOC=OFF
++ pwd
+ : /pfmphp/phptestmsi/PFMRBI/arrow/r
+ : ../cpp
+ : /tmp/RtmpCyabIa/file1b6aaa1848
+ : libarrow/arrow-4.0.0.9000
+ : /QOpenSys/pkgs/bin/cmake
++ cd ../cpp
++ pwd
+ SOURCE_DIR=/pfmphp/phptestmsi/PFMRBI/arrow/cpp
++ mkdir -p libarrow/arrow-4.0.0.9000
++ cd libarrow/arrow-4.0.0.9000
++ pwd
+ DEST_DIR=/pfmphp/phptestmsi/PFMRBI/arrow/r/libarrow/arrow-4.0.0.9000
++ echo
++ tr '[:upper:]' '[:lower:]'
+ LIBARROW_MINIMAL=
+ '[' '' = false ']'
+ ARROW_DEFAULT_PARAM=OFF
+ mkdir -p /tmp/RtmpCyabIa/file1b6aaa1848
+ pushd /tmp/RtmpCyabIa/file1b6aaa1848
/tmp/RtmpCyabIa/file1b6aaa1848 /pfmphp/phptestmsi/PFMRBI/arrow/r
+ /QOpenSys/pkgs/bin/cmake -DARROW_BOOST_USE_SHARED=OFF -DARROW_BUILD_TESTS=OFF 
-DARROW_BUILD_SHARED=OFF -DARROW_BUILD_STATIC=ON -DARROW_COMPUTE=ON 
-DARROW_CSV=ON -DARROW_DATASET=ON -DARROW_DEPENDENCY_SOURCE=BUNDLED 
-DARROW_FILESYSTEM=ON -DARROW_JEMALLOC=OFF -DARROW_MIMALLOC=OFF -DARROW_JSON=ON 
-DARROW_PARQUET=ON -DARROW_S3=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF 
-DARROW_WITH_LZ4=OFF -DARROW_WITH_RE2=ON -DARROW_WITH_SNAPPY=OFF 
-DARROW_WITH_UTF8PROC=ON -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=OFF 
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib 
-DCMAKE_INSTALL_PREFIX=/pfmphp/phptestmsi/PFMRBI/arrow/r/libarrow/arrow-4.0.0.9000
 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_UNITY_BUILD=ON -G 'Unix 
Makefiles' /pfmphp/phptestmsi/PFMRBI/arrow/cpp
-- Building using CMake version: 3.16.0
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /QOpenSys/pkgs/bin/gcc
-- Check for working C compiler: /QOpenSys/pkgs/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /QOpenSys/pkgs/bin/g++
-- Check for working CXX compiler: /QOpenSys/pkgs/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 5.0.0 (full: '5.0.0-SNAPSHOT')
-- Arrow SO version: 500 (full: 500.0.0)
-- clang-tidy not found
-- clang-format not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN)
-- infer not found
-- Found Python3: /QOpenSys/pkgs/bin/python3.6 (found version "3.6.12") found 
components: Interpreter
-- Found cpplint executable at 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/build-support/cpplint.py
-- System processor: powerpc
-- Performing Test CXX_SUPPORTS_ALTIVEC
-- Performing Test CXX_SUPPORTS_ALTIVEC - Success
-- Arrow build warning level: PRODUCTION
Using ld linker
Configured for RELEASE build (set with cmake 
-DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Using BUNDLED approach to find dependencies
-- ARROW_ABSL_BUILD_VERSION: 0f3bb466b868b523cf1dc9b2aaaed65c77b28862
-- ARROW_AWSSDK_BUILD_VERSION: 1.8.133
-- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.10
-- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.5.10
-- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.1.5
-- ARROW_BOOST_BUILD_VERSION: 1.75.0
-- ARROW_BROTLI_BUILD_VERSION: v1.0.9
-- ARROW_BZIP2_BUILD_VERSION: 1.0.8
-- ARROW_CARES_BUILD_VERSION: 1.17.1
-- ARROW_GBENCHMARK_BUILD_VERSION: v1.5.2
-- ARROW_GFLAGS_BUILD_VERSION: v2.2.2
-- ARROW_GLOG_BUILD_VERSION: v0.4.0
-- ARROW_GRPC_BUILD_VERSION: v1.35.0
-- ARROW_GTEST_BUILD_VERSION: 1.10.0
-- ARROW_JEMALLOC_BUILD_VERSION: 5.2.1
-- ARROW_LZ4_BUILD_VERSION: v1.9.3
-- ARROW_MIMALLOC_BUILD_VERSION: v1.6.4
-- ARROW_ORC_BUILD_VERSION: 1.6.6
-- ARROW_PROTOBUF_BUILD_VERSION: v3.14.0
-- ARROW_RAPIDJSON_BUILD_VERSION: 1a803826f1197b5e30703afe4b9c0e7dd48074f5
-- ARROW_RE2_BUILD_VERSION: 2021-02-02
-- ARROW_SNAPPY_BUILD_VERSION: 1.1.8
-- ARROW_THRIFT_BUILD_VERSION: 0.13.0
-- ARROW_THRIFT_BUILD_MD5_CHECKSUM: 38a27d391a2b03214b444cb13d5664f1
-- 

[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-27 Thread Menno (Jira)


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

Menno commented on ARROW-12885:
---

I tried installing arrow directly calling:
{code:java}
git clone https://github.com/apache/arrow.git
cd arrow/cpp
mkdir release
cd release
cmake ..
make
{code}
However it even fails earlier that using the R install:
{code:java}
-- Building using CMake version: 3.16.0
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /QOpenSys/pkgs/bin/cc
-- Check for working C compiler: /QOpenSys/pkgs/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /QOpenSys/pkgs/bin/c++
-- Check for working CXX compiler: /QOpenSys/pkgs/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 5.0.0 (full: '5.0.0-SNAPSHOT')
-- Arrow SO version: 500 (full: 500.0.0)
-- clang-tidy not found
-- clang-format not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN)
-- infer not found
-- Found Python3: /QOpenSys/pkgs/bin/python3.6 (found version "3.6.12") found 
components: Interpreter
-- Found cpplint executable at 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/build-support/cpplint.py
-- System processor: powerpc
-- Performing Test CXX_SUPPORTS_ALTIVEC
-- Performing Test CXX_SUPPORTS_ALTIVEC - Success
-- Arrow build warning level: PRODUCTION
Using ld linker
Configured for RELEASE build (set with cmake 
-DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Using AUTO approach to find dependencies
-- ARROW_ABSL_BUILD_VERSION: 0f3bb466b868b523cf1dc9b2aaaed65c77b28862
-- ARROW_AWSSDK_BUILD_VERSION: 1.8.133
-- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.10
-- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.5.10
-- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.1.5
-- ARROW_BOOST_BUILD_VERSION: 1.75.0
-- ARROW_BROTLI_BUILD_VERSION: v1.0.9
-- ARROW_BZIP2_BUILD_VERSION: 1.0.8
-- ARROW_CARES_BUILD_VERSION: 1.17.1
-- ARROW_GBENCHMARK_BUILD_VERSION: v1.5.2
-- ARROW_GFLAGS_BUILD_VERSION: v2.2.2
-- ARROW_GLOG_BUILD_VERSION: v0.4.0
-- ARROW_GRPC_BUILD_VERSION: v1.35.0
-- ARROW_GTEST_BUILD_VERSION: 1.10.0
-- ARROW_JEMALLOC_BUILD_VERSION: 5.2.1
-- ARROW_LZ4_BUILD_VERSION: v1.9.3
-- ARROW_MIMALLOC_BUILD_VERSION: v1.6.4
-- ARROW_ORC_BUILD_VERSION: 1.6.6
-- ARROW_PROTOBUF_BUILD_VERSION: v3.14.0
-- ARROW_RAPIDJSON_BUILD_VERSION: 1a803826f1197b5e30703afe4b9c0e7dd48074f5
-- ARROW_RE2_BUILD_VERSION: 2021-02-02
-- ARROW_SNAPPY_BUILD_VERSION: 1.1.8
-- ARROW_THRIFT_BUILD_VERSION: 0.13.0
-- ARROW_THRIFT_BUILD_MD5_CHECKSUM: 38a27d391a2b03214b444cb13d5664f1
-- ARROW_UTF8PROC_BUILD_VERSION: v2.6.1
-- ARROW_XSIMD_BUILD_VERSION: e9234cd6e6f4428fc260073b2c34ffe86fda1f34
-- ARROW_ZLIB_BUILD_VERSION: 1.2.11
-- ARROW_ZSTD_BUILD_VERSION: v1.4.8
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Looking for __SIZEOF_INT128__
-- Looking for __SIZEOF_INT128__ - found
-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
-- Building (vendored) jemalloc from source
-- Building xsimd from source
-- Found hdfs.h at: 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/thirdparty/hadoop/include/hdfs.h
-- All bundled static libraries: jemalloc::jemalloc
-- CMAKE_C_FLAGS:  -O3 -DNDEBUG  -Wall -fno-semantic-interposition -maltivec
-- CMAKE_CXX_FLAGS:   -fdiagnostics-color=always -O3 -DNDEBUG  -Wall 
-fno-semantic-interposition -maltivec
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Creating bundled static library target arrow_bundled_dependencies at 
/pfmphp/phptestmsi/PFMRBI/arrow/cpp/build/release/libarrow_bundled_dependencies.a
-- -
-- Arrow version: 5.0.0-SNAPSHOT
--
-- Build configuration summary:
--   Generator: Unix Makefiles
--   Build type: RELEASE
--   Source directory: /pfmphp/phptestmsi/PFMRBI/arrow/cpp
--   Install prefix: /usr/local
--
-- Compile and link options:
--
--   ARROW_CXXFLAGS="" [default=""]
--   Compiler flags to append when compiling Arrow
--   ARROW_BUILD_STATIC=ON [default=ON]
--   Build static libraries
--   ARROW_BUILD_SHARED=ON [default=ON]
--   Build shared libraries
--   ARROW_PACKAGE_KIND="" [default=""]
--   Arbitrary string that identifies the kind of package
--   (for informational purposes)
--   ARROW_GIT_ID=7707d333fb09fd0019a9bf03047147e05e463766 

[jira] [Commented] (ARROW-12885) [C++] Error: template with C linkage template

2021-05-26 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-12885:
--

Could you try installing Apache Arrow C++ directly (without R) and share the 
command line you used?

> [C++] Error: template with C linkage template 
> ---
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
> Environment: IBM i | AS400 | power
>Reporter: Menno
>Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



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