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

[C++] Link failure due to googletest shared library on Alpine Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • C++

    Description

      See

      [314/538] Linking CXX shared library debug/libarrow_testing.so.14.0.0
      FAILED: debug/libarrow_testing.so.14.0.0 
      : && /usr/bin/ccache /usr/bin/g++ -fPIC -Wno-noexcept-type  -fdiagnostics-color=always -ggdb -O0  -Wall -Wno-conversion -Wno-sign-conversion -Wno-unused-variable -Werror -msse4.2  -g   -shared -Wl,-soname,libarrow_testing.so.14 -o debug/libarrow_testing.so.14.0.0 src/arrow/CMakeFiles/arrow_testing_objlib.dir/io/test-common.cc.o src/arrow/CMakeFiles/arrow_testing_objlib.dir/ipc/test-common.cc.o src/arrow/CMakeFiles/arrow_testing_objlib.dir/filesystem/test-util.cc.o src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/gtest_util.cc.o src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/random.cc.o  -Wl,-rpath,/build/cpp/debug:/build/cpp/googletest_ep-prefix/src/googletest_ep/lib: debug/libarrow.so.14.0.0 googletest_ep-prefix/src/googletest_ep/lib/libgtestd.so double-conversion_ep/src/double-conversion_ep/lib/libdouble-conversion.a /usr/lib/libcrypto.so brotli_ep/src/brotli_ep-install/lib/libbrotlienc-static.a brotli_ep/src/brotli_ep-install/lib/libbrotlidec-static.a brotli_ep/src/brotli_ep-install/lib/libbrotlicommon-static.a glog_ep-prefix/src/glog_ep/lib/libglog.a -ldl jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a -lrt && :
      g++: error: googletest_ep-prefix/src/googletest_ep/lib/libgtestd.so: No such file or directory
      [327/538] Building CXX object src/arrow/CMakeFiles/arrow-array-test.dir/array-test.cc.o
      ninja: build stopped: subcommand failed.
      

      There is erroneous logic in ThirdpartyToolchain.cmake – I am fixing.

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 40m
                  40m