Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14160

[C++][Build] Cannot build with Parquet/Thrift support on CentOS 7

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • C++, Parquet

    Description

      Cannot compile the C++ library for Arrow 3.0.0 in CentOS 7. It breaks if I set ARROW_PARQUET=ON. It stops while trying to build thrift_ep

       

      > scl enable devtoolset-3 "cmake3 .. \
       -DARROW_PARQUET=ON  \
       -DARROW_WITH_LZ4=ON \
       -DARROW_WITH_ZLIB=ON \
       -DARROW_COMPUTE=ON \
       -DCMAKE_CXX_COMPILER=/opt/rh/devtoolset-3/root/usr/bin/g++ \
       -DCMAKE_C_COMPILER=/opt/rh/devtoolset-3/root/usr/bin/gcc \
       -DCMAKE_INSTALL_PREFIX=/opt/apache-arrow"
      ...
      apache-arrow-3.0.0/cpp/build> make
      Scanning dependencies of target jemalloc_ep
      [ 1%] Creating directories for 'jemalloc_ep'
      [ 1%] Performing download step (download, verify and extract) for
      'jemalloc_ep'
      -- jemalloc_ep download command succeeded. See also
      apache-arrow-3.0.0/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-download-*.log
      [ 2%] Performing patch step for 'jemalloc_ep'
      [ 2%] No update step for 'jemalloc_ep'
      [ 2%] Performing configure step for 'jemalloc_ep'
      -- jemalloc_ep configure command succeeded. See also
      apache-arrow-3.0.0/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-*.log
      [ 3%] Performing build step for 'jemalloc_ep'
      -- jemalloc_ep build command succeeded. See also
      apache-arrow-3.0.0/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-build-*.log
      [ 3%] Performing install step for 'jemalloc_ep'
      -- jemalloc_ep install command succeeded. See also
      apache-arrow-3.0.0/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-install-*.log
      [ 4%] Completed 'jemalloc_ep'
      [ 4%] Built target jemalloc_ep
      Scanning dependencies of target boost_ep
      [ 4%] Creating directories for 'boost_ep'
      [ 5%] Performing download step (download, verify and extract) for
      'boost_ep'
      -- boost_ep download command succeeded. See also
      apache-arrow-3.0.0/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log
      [ 5%] No patch step for 'boost_ep'
      [ 5%] No update step for 'boost_ep'
      [ 6%] No configure step for 'boost_ep'
      [ 6%] No build step for 'boost_ep'
      [ 7%] No install step for 'boost_ep'
      [ 7%] Completed 'boost_ep'
      [ 7%] Built target boost_ep
      Scanning dependencies of target thrift_ep
      [ 7%] Creating directories for 'thrift_ep'
      [ 7%] Performing download step (download, verify and extract) for
      'thrift_ep'
      -- thrift_ep download command succeeded. See also
      apache-arrow-3.0.0/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-download-*.log
      [ 7%] No patch step for 'thrift_ep'
      [ 8%] No update step for 'thrift_ep'
      [ 9%] Performing configure step for 'thrift_ep'
      -- thrift_ep configure command succeeded. See also
      apache-arrow-3.0.0/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-*.log
      [ 9%] Performing build step for 'thrift_ep'
      -- thrift_ep build command succeeded. See also
      apache-arrow-3.0.0/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-*.log
      [ 10%] Performing install step for 'thrift_ep'
      CMake Error at
      apache-arrow-3.0.0/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-install-RELEASE.cmake:37
      (message):
       Command failed: 2
      'make' 'install'
      See also
      
      apache-arrow-3.0.0/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-install-*.log
      
      -- stdout output is:
      -- stderr output is:
      make[3]: *** No rule to make target `install'. Stop.
      CMake Error at
      apache-arrow-3.0.0/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-install-RELEASE.cmake:47
      (message):
       Stopping after outputting logs.
      
      make[2]: *** [thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-install] Error
      1
      make[1]: *** [CMakeFiles/thrift_ep.dir/all] Error 2
      make: *** [all] Error 2
      
      > cat
      apache-arrow-3.0.0/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-install-*.log
      make[3]: *** No rule to make target `install'. Stop.
      

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rvernica Rares Vernica
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m