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

[C++] Target arrow-type-benchmark failed to be built on bullx Linux

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • C++
    • bullx Linux

    Description

      I was building Arrow on bullx Linux (a Linux distribution compatible with Red Hat Enterprise Linux).

      CMake options:

      -DCMAKE_BUILD_TYPE=Debug
      -DARROW_FLIGHT=ON
      -DARROW_BUILD_BENCHMARKS=ON
      

      make failed with the following error message:

      Scanning dependencies of target arrow-type-benchmark
      [ 72%] Building CXX object src/arrow/CMakeFiles/arrow-type-benchmark.dir/type_benchmark.cc.o
      make[2]: *** No rule to make target `gbenchmark_ep/src/gbenchmark_ep-install/lib/libbenchmark_main.a', needed by `debug/arrow-type-benchmark'.  Stop.
      make[1]: *** [src/arrow/CMakeFiles/arrow-type-benchmark.dir/all] Error 2
      make: *** [all] Error 2
      

      This is due to the same reason as mentioned in this commit:

      If -DCMAKE_INSTALL_LIBDIR=lib is not explicitly set, libbenchmark_main.a will be put in lib64 instead of lib.

      Attachments

        Issue Links

          Activity

            People

              cxma Chengxin Ma
              cxma Chengxin Ma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Slack

                    Issue deployment