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

[Cmake] Failures when building Arrow unittests from source

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++
    • Labels:
      None

      Description

      I've started to get errors while building the unit tests from source.

      Following the developer docs, I run this:

       

      cd arrow/cpp/debug 
      cmake -DCMAKE_BUILD_TYPE=Debug -DARROW_BUILD_TESTS=ON .. 
      make unittest
      

      On current master I get a number of failures:

       

      The following tests FAILED:
       1 - arrow-array-test (Failed)
       2 - arrow-buffer-test (Failed)
       4 - arrow-misc-test (Failed)
       6 - arrow-scalar-test (Failed)
       7 - arrow-type-test (Failed)
       8 - arrow-table-test (Failed)
       9 - arrow-tensor-test (Failed)
       10 - arrow-sparse-tensor-test (Failed)
       11 - arrow-stl-test (Failed)
       12 - arrow-json-integration-test (Failed)
       13 - arrow-concatenate-test (Failed)
       14 - arrow-diff-test (Failed)
       15 - arrow-c-bridge-test (Failed)
       17 - arrow-io-compressed-test (Failed)
       19 - arrow-io-memory-test (Failed)
       20 - arrow-utility-test (Failed)
       21 - arrow-threading-utility-test (Failed)
       23 - arrow-compute-scalar-test (Failed)
       24 - arrow-compute-vector-test (Failed)
       26 - arrow-feather-test (Failed)
       27 - arrow-ipc-json-simple-test (Failed)
       28 - arrow-ipc-read-write-test (Failed)
       29 - arrow-ipc-tensor-test (Failed)
       30 - arrow-json-test (Failed)
      Errors while running CTest
      make[3]: *** [CMakeFiles/unittest.dir/build.make:76: CMakeFiles/unittest] Error 8
      make[2]: *** [CMakeFiles/Makefile2:572: CMakeFiles/unittest.dir/all] Error 2
      make[1]: *** [CMakeFiles/Makefile2:579: CMakeFiles/unittest.dir/rule] Error 2
      make: *** [Makefile:246: unittest] Error 2
       
      

      Scrolling up I see that these all fail with this message:

       

      18/30 Test #23: arrow-compute-scalar-test ........***Failed 0.11 sec
      Running arrow-compute-scalar-test, redirecting output into /home/andrew/git_repo/arrow/cpp/debug/build/test-logs/arrow-compute-scalar-test.txt (attempt 1/1)
      /home/andrew/git_repo/arrow/cpp/debug/debug/arrow-compute-scalar-test: symbol lookup error: /home/andrew/git_repo/arrow/cpp/debug/debug/arrow-compute-scalar-test: undefined symbol: _ZN5arrow6Status14AddContextLineEPKciS2_
      cat: /home/andrew/git_repo/arrow/cpp/debug/build/test-logs/arrow-compute-scalar-test.txt.raw: No such file or directory
      ~/git_repo/arrow/cpp/debug/src/arrow/compute/kernels
       
      

      I appreciate any comments/ideas on how to fix this!
       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arw2019 Andrew Wieteska
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: