[ 
https://issues.apache.org/jira/browse/ARROW-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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 <class T>
   ^~~~~~~~
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 <class T>
> -------------------------------------------------------
>
>                 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)

Reply via email to