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

[C++] Pin gtest to 1.8.1 to triage failing Appveyor / MSVC build

    XMLWordPrintableJSON

Details

    Description

      Not sure what introduced this

      https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/27992011/job/cj247lfl0s48xrsl

      LINK: command "C:\PROGRA~2\MI0E91~1.0\VC\bin\amd64\link.exe /nologo src\arrow\CMakeFiles\arrow-public-api-test.dir\public_api_test.cc.obj /out:release\arrow-public-api-test.exe /implib:release\arrow-public-api-test.lib /pdb:release\arrow-public-api-test.pdb /version:0.0 /machine:x64 /NODEFAULTLIB:LIBCMT /INCREMENTAL:NO /subsystem:console release\arrow_testing.lib release\arrow.lib C:\Miniconda36-x64\envs\arrow\Library\lib\double-conversion.lib C:\Miniconda36-x64\envs\arrow\Library\lib\libcrypto.lib C:\Miniconda36-x64\envs\arrow\Library\lib\libssl.lib C:\Miniconda36-x64\envs\arrow\Library\lib\brotlienc-static.lib C:\Miniconda36-x64\envs\arrow\Library\lib\brotlidec-static.lib C:\Miniconda36-x64\envs\arrow\Library\lib\brotlicommon-static.lib C:\Miniconda36-x64\envs\arrow\Library\bin\aws-cpp-sdk-config.lib C:\Miniconda36-x64\envs\arrow\Library\bin\aws-cpp-sdk-transfer.lib C:\Miniconda36-x64\envs\arrow\Library\bin\aws-cpp-sdk-s3.lib C:\Miniconda36-x64\envs\arrow\Library\bin\aws-cpp-sdk-core.lib C:\Miniconda36-x64\envs\arrow\Library\lib\double-conversion.lib C:\Miniconda36-x64\envs\arrow\Library\lib\libboost_filesystem.lib C:\Miniconda36-x64\envs\arrow\Library\lib\libboost_system.lib googletest_ep-prefix\src\googletest_ep\lib\gtest_main.lib googletest_ep-prefix\src\googletest_ep\lib\gtest.lib googletest_ep-prefix\src\googletest_ep\lib\gmock.lib C:\Miniconda36-x64\envs\arrow\Library\lib\libcrypto.lib C:\Miniconda36-x64\envs\arrow\Library\lib\aws-c-event-stream.lib C:\Miniconda36-x64\envs\arrow\Library\lib\aws-c-common.lib BCrypt.lib Kernel32.lib Ws2_32.lib C:\Miniconda36-x64\envs\arrow\Library\lib\aws-checksums.lib mimalloc_ep\src\mimalloc_ep\lib\mimalloc-1.0\mimalloc-static-release.lib Ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:release\arrow-public-api-test.exe.manifest" failed (exit code 1120) with the following output:
      public_api_test.cc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl testing::Test::SetUpTestSuite(void)" (__imp_?SetUpTestSuite@Test@testing@@SAXXZ) referenced in function "public: static void (__cdecl*__cdecl testing::internal::SuiteApiResolver<class testing::Test>::GetSetUpCaseOrSuite(char const *,int))(void)" (?GetSetUpCaseOrSuite@?$SuiteApiResolver@VTest@testing@@@internal@testing@@SAP6AXXZPEBDH@Z)
      public_api_test.cc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl testing::Test::TearDownTestSuite(void)" (__imp_?TearDownTestSuite@Test@testing@@SAXXZ) referenced in function "public: static void (__cdecl*__cdecl testing::internal::SuiteApiResolver<class testing::Test>::GetTearDownCaseOrSuite(char const *,int))(void)" (?GetTearDownCaseOrSuite@?$SuiteApiResolver@VTest@testing@@@internal@testing@@SAP6AXXZPEBDH@Z)
      release\arrow-public-api-test.exe : fatal error LNK1120: 2 unresolved externals
      [205/515] Building CXX object src\arrow\CMakeFiles\arrow-array-test.dir\array_test.cc.obj
      [206/515] Building CXX object src\arrow\CMakeFiles\arrow-array-test.dir\array_dict_test.cc.obj
      ninja: build stopped: subcommand failed.
      (arrow) C:\projects\arrow\cpp\build>goto scriptexit 
      

      Attachments

        Issue Links

          Activity

            People

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