You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Enrico Olivelli (Jira)" <ji...@apache.org> on 2020/11/06 12:16:00 UTC

[jira] [Resolved] (ZOOKEEPER-3075) Cannot run cppunit tests on branch 3.4 on Fedora 26

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enrico Olivelli resolved ZOOKEEPER-3075.
----------------------------------------
    Resolution: Won't Fix

3.4 is EOL, no need for this issue anymore

> Cannot run cppunit tests on branch 3.4 on Fedora 26
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-3075
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3075
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.4.13
>         Environment: Fedora 26
> java -version
> java version "1.8.0_162"
> Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
>  
> ant -version
> Apache Ant(TM) version 1.9.7 compiled on April 9 2016
> Cppunit:
> {color:#000000}cppunit-devel x86_64 1.13.2-3.fc26{color}
> {color:#000000}cppunit x86_64 1.13.2-3.fc26{color}
> {color:#000000}gcc --version
> gcc (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2){color}
>            Reporter: Enrico Olivelli
>            Priority: Critical
>
>      [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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)