Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3075

Cannot run cppunit tests on branch 3.4 on Fedora 26

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 3.4.13
    • None
    • c client, tests
    • None

    Description

           [exec] zktest_st-TestWatchers.o.rodata._ZTIN7CppUnit23TestSuiteBuilderContextI18Zookeeper_watchersEE[_ZTIN7CppUnit23TestSuiteBuilderContextI18Zookeeper_watchersEE]+0x10): undefined reference to `typeinfo for CppUnit::TestSuiteBuilderContextBase'
           [exec] zktest_st-TestWatchers.o.rodata._ZTIN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTIN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x10): undefined reference to `typeinfo for CppUnit::TestCase'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x20): undefined reference to `CppUnit::TestCase::run(CppUnit::TestResult*)'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x28): undefined reference to `CppUnit::TestLeaf::countTestCases() const'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x30): undefined reference to `CppUnit::TestLeaf::getChildTestCount() const'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x38): undefined reference to `CppUnit::Test::getChildTestAt(int) const'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x40): undefined reference to `CppUnit::TestCase::getName[abi:cxx11]() const'
           [exec] zktest_st-TestWatchers.o.rodata.ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x48): undefined reference to `CppUnit::Test::findTestPath(std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CppUnit::TestPath&) const'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x50): undefined reference to `CppUnit::Test::findTestPath(CppUnit::Test const*, CppUnit::TestPath&) const'
           [exec] zktest_st-TestWatchers.o.rodata.ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x58): undefined reference to `CppUnit::Test::findTest(std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
           [exec] zktest_st-TestWatchers.o.rodata.ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x60): undefined reference to `CppUnit::Test::resolveTestPath(std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x68): undefined reference to `CppUnit::Test::checkIsValidIndex(int) const'
           [exec] zktest_st-TestWatchers.o.rodata._ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE[_ZTVN7CppUnit10TestCallerI18Zookeeper_watchersEE]+0x70): undefined reference to `CppUnit::TestLeaf::doGetChildTestAt(int) const'
           [exec] zktest_st-LibCSymTable.o: In function `LibCSymTable::LibCSymTable()':
           [exec] /xxx/zookeeper-3.4.13/src/c/tests/LibCSymTable.cc:36: undefined reference to `dlsym'
           [exec] /xxx/zookeeper-3.4.13/src/c/tests/LibCSymTable.cc:37: undefined reference to `dlsym'
           [exec] /xxx/zookeeper-3.4.13/src/c/tests/LibCSymTable.cc:38: undefined reference to `dlsym'
           [exec] /xxx/zookeeper-3.4.13/src/c/tests/LibCSymTable.cc:39: undefined reference to `dlsym'
           [exec] /xxxzookeeper-3.4.13/src/c/tests/LibCSymTable.cc:40: undefined reference to `dlsym'
           [exec] zktest_st-LibCSymTable.o:/xxxzookeeper-3.4.13/src/c/tests/LibCSymTable.cc:41: more undefined references to `dlsym' follow
           [exec] collect2: error: ld returned 1 exit status
           [exec] make[1]: *** [Makefile:822: zktest-st] Error 1
           [exec] make[1]: uscita dalla directory "/xxxzookeeper-3.4.13/build/test/test-cppunit"
           [exec] make: *** [Makefile:1718: check-am] Error 2

      BUILD FAILED
      /xxx/zookeeper-3.4.13/build.xml:1471: The following error occurred while executing this line:
      /xxx/zookeeper-3.4.13/build.xml:1481: exec returned: 2

      Attachments

        Activity

          People

            Unassigned Unassigned
            eolivelli Enrico Olivelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: