Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conan create fails on RHEL7 #9

Open
michele-brambilla opened this issue Nov 9, 2022 · 0 comments
Open

conan create fails on RHEL7 #9

michele-brambilla opened this issue Nov 9, 2022 · 0 comments

Comments

@michele-brambilla
Copy link

The build of the filewriter on our RHL7s fails because of a failure of the unit_tests in this package.

system: RHEL7
g++: (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
python: 3.8.13 (rh-python38)
conan: Conan version 1.54.0

[100%] Linking CXX executable unit_tests
CMakeFiles/unit_tests.dir/BaseLogHandlerTest.cpp.o: In function `BaseLogHandler_SetStringCreatorTest_Test::TestBody()':
BaseLogHandlerTest.cpp:(.text+0x53d): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/BaseLogHandlerTest.cpp.o: In function `BaseLogHandler_DefaultStringCreatorTest_Test::TestBody()':
BaseLogHandlerTest.cpp:(.text+0x1350): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/BaseLogHandlerTest.cpp.o: In function `std::string testing::PrintToString<std::string>(std::string const&)':
BaseLogHandlerTest.cpp:(.text._ZN7testing13PrintToStringISsEESsRKT_[_ZN7testing13PrintToStringISsEESsRKT_]+0x14d): undefined reference to `testing::internal::PrintStringTo(std::string const&, std::ostream*)'
CMakeFiles/unit_tests.dir/BaseLogHandlerTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<std::string, std::string>(char const*, char const*, std::string const&, std::string const&)':
BaseLogHandlerTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureISsSsEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureISsSsEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `ConsoleInterface_FlushSuccess_Test::TestBody()':
ConsoleInterfaceTest.cpp:(.text+0x4b5): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `ConsoleInterface_FlushFail_Test::TestBody()':
ConsoleInterfaceTest.cpp:(.text+0x97d): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `ConsoleInterface_ConsoleStringTest_Test::TestBody()':
ConsoleInterfaceTest.cpp:(.text+0x1078): undefined reference to `testing::internal::GetCapturedStdout()'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `ConsoleInterface_ConsoleStringFunctionTest_Test::TestBody()':
ConsoleInterfaceTest.cpp:(.text+0x12c7): undefined reference to `testing::internal::GetCapturedStdout()'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `ConsoleInterface_QueueSizeOneIsNotEmpty_Test::TestBody()':
ConsoleInterfaceTest.cpp:(.text+0x18c6): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `ConsoleInterface_OnInitialisationQueueEmpty_Test::TestBody()':
ConsoleInterfaceTest.cpp:(.text+0x1f46): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `LoggingBase_AddConsoleHandlerTest_Test::TestBody()':
ConsoleInterfaceTest.cpp:(.text+0x23d6): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
ConsoleInterfaceTest.cpp:(.text+0x2466): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned long, int>(char const*, char const*, unsigned long const&, int const&)':
ConsoleInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/ConsoleInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<long, int>(char const*, char const*, long const&, int const&)':
ConsoleInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureIliEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIliEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `FileInterfaceTest_LogFileCreationTest_Test::TestBody()':
FileInterfaceTest.cpp:(.text+0x505): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `FileInterfaceTest_FlushSuccess_Test::TestBody()':
FileInterfaceTest.cpp:(.text+0x6ad): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `FileInterfaceTest_OpenFileMessages_Test::TestBody()':
FileInterfaceTest.cpp:(.text+0x852): undefined reference to `testing::internal::GetCapturedStdout()'
FileInterfaceTest.cpp:(.text+0x9ca): undefined reference to `testing::internal::GetCapturedStdout()'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `FileInterfaceTest_FlushFail_Test::TestBody()':
FileInterfaceTest.cpp:(.text+0x139d): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `FileInterfaceTest_QueueSizeOneIsNotEmpty_Test::TestBody()':
FileInterfaceTest.cpp:(.text+0x2d96): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `FileInterfaceTest_OnInitialisationQueueEmpty_Test::TestBody()':
FileInterfaceTest.cpp:(.text+0x407e): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned long, unsigned long>(char const*, char const*, unsigned long const&, unsigned long const&)':
FileInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperOpFailure<unsigned long, unsigned long>(char const*, char const*, unsigned long const&, unsigned long const&, char const*)':
FileInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x6f): undefined reference to `testing::Message::GetString() const'
FileInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x109): undefined reference to `testing::Message::GetString() const'
FileInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x18c): undefined reference to `testing::Message::GetString() const'
FileInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x21f): undefined reference to `testing::Message::GetString() const'
FileInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x2a2): undefined reference to `testing::Message::GetString() const'
CMakeFiles/unit_tests.dir/FileInterfaceTest.cpp.o:FileInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImmEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x335): more undefined references to `testing::Message::GetString() const' follow
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `GraylogInterface_FlushSuccess_Test::TestBody()':
GraylogInterfaceTest.cpp:(.text+0x37d): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `GraylogInterface_FlushFail_Test::TestBody()':
GraylogInterfaceTest.cpp:(.text+0x5eb): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `GraylogInterface_OnInitialisationQueueEmpty_Test::TestBody()':
GraylogInterfaceTest.cpp:(.text+0x2105): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `GraylogConnectionCom_UnknownHostTest_Test::TestBody()':
GraylogInterfaceTest.cpp:(.text+0x2435): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `GraylogConnectionCom_WrongPortTest_Test::TestBody()':
GraylogInterfaceTest.cpp:(.text+0x2855): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o:GraylogInterfaceTest.cpp:(.text+0x2e37): more undefined references to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)' follow
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::FunctionMocker<void (std::string)>::UntypedPrintArgs(void const*, std::ostream*) const':
GraylogInterfaceTest.cpp:(.text._ZNK7testing8internal14FunctionMockerIFvSsEE16UntypedPrintArgsEPKvPSo[_ZNK7testing8internal14FunctionMockerIFvSsEE16UntypedPrintArgsEPKvPSo]+0x25): undefined reference to `testing::internal::PrintStringTo(std::string const&, std::ostream*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::ExpectationBase::DescribeLocationTo(std::ostream*) const':
GraylogInterfaceTest.cpp:(.text._ZNK7testing8internal15ExpectationBase18DescribeLocationToEPSo[_ZNK7testing8internal15ExpectationBase18DescribeLocationToEPSo]+0x15): undefined reference to `testing::internal::FormatFileLocation(char const*, int)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `IsJSONMatcher::gmock_Impl<std::string>::DescribeNegationTo(std::ostream*) const':
GraylogInterfaceTest.cpp:(.text._ZNK13IsJSONMatcher10gmock_ImplISsE18DescribeNegationToEPSo[_ZNK13IsJSONMatcher10gmock_ImplISsE18DescribeNegationToEPSo]+0x87): undefined reference to `testing::internal::FormatMatcherDescription(bool, char const*, std::vector<std::string, std::allocator<std::string> > const&)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `IsJSONMatcher::gmock_Impl<std::string>::DescribeTo(std::ostream*) const':
GraylogInterfaceTest.cpp:(.text._ZNK13IsJSONMatcher10gmock_ImplISsE10DescribeToEPSo[_ZNK13IsJSONMatcher10gmock_ImplISsE10DescribeToEPSo]+0x84): undefined reference to `testing::internal::FormatMatcherDescription(bool, char const*, std::vector<std::string, std::allocator<std::string> > const&)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult& testing::AssertionResult::operator<< <char const*>(char const* const&)':
GraylogInterfaceTest.cpp:(.text._ZN7testing15AssertionResultlsIPKcEERS0_RKT_[_ZN7testing15AssertionResultlsIPKcEERS0_RKT_]+0x58): undefined reference to `testing::Message::GetString() const'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperOpFailure<Log::Status, Log::Status>(char const*, char const*, Log::Status const&, Log::Status const&, char const*)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_[_ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_]+0x74): undefined reference to `testing::Message::GetString() const'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_[_ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_]+0x108): undefined reference to `testing::Message::GetString() const'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_[_ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_]+0x197): undefined reference to `testing::Message::GetString() const'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_[_ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_]+0x226): undefined reference to `testing::Message::GetString() const'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o:GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_[_ZN7testing8internal18CmpHelperOpFailureIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_S6_]+0x2b1): more undefined references to `testing::Message::GetString() const' follow
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<Log::Status, Log::Status>(char const*, char const*, Log::Status const&, Log::Status const&)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal11CmpHelperEQIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIN3Log6StatusES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_]+0x4e): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<int, int>(char const*, char const*, int const&, int const&)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x4e): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<unsigned long, int>(char const*, char const*, unsigned long const&, int const&)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal11CmpHelperEQImiEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQImiEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x4f): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<int, unsigned long>(char const*, char const*, int const&, unsigned long const&)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal11CmpHelperEQIimEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIimEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x4f): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperOpFailure<unsigned long, int>(char const*, char const*, unsigned long const&, int const&, char const*)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x74): undefined reference to `testing::Message::GetString() const'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x108): undefined reference to `testing::Message::GetString() const'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x197): undefined reference to `testing::Message::GetString() const'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x226): undefined reference to `testing::Message::GetString() const'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x2b1): undefined reference to `testing::Message::GetString() const'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o:GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureImiEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x330): more undefined references to `testing::Message::GetString() const' follow
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::MockSpec<void (std::string)>::InternalExpectedAt(char const*, int, char const*, char const*)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal8MockSpecIFvSsEE18InternalExpectedAtEPKciS5_S5_[_ZN7testing8internal8MockSpecIFvSsEE18InternalExpectedAtEPKciS5_S5_]+0x14c): undefined reference to `testing::internal::LogWithLocation(testing::internal::LogSeverity, char const*, int, std::string const&)'
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal8MockSpecIFvSsEE18InternalExpectedAtEPKciS5_S5_[_ZN7testing8internal8MockSpecIFvSsEE18InternalExpectedAtEPKciS5_S5_]+0x19c): undefined reference to `testing::internal::ExpectationBase::ExpectationBase(char const*, int, std::string const&)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<long, long>(char const*, char const*, long const&, long const&)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureIllEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIllEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<double, double>(char const*, char const*, double const&, double const&)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureIddEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIddEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::FunctionMocker<void (std::string)>::DescribeDefaultActionTo(std::tuple<std::string> const&, std::ostream*) const':
GraylogInterfaceTest.cpp:(.text._ZNK7testing8internal14FunctionMockerIFvSsEE23DescribeDefaultActionToERKSt5tupleIJSsEEPSo[_ZNK7testing8internal14FunctionMockerIFvSsEE23DescribeDefaultActionToERKSt5tupleIJSsEEPSo]+0xd4): undefined reference to `testing::internal::FormatFileLocation(char const*, int)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::FunctionMocker<void (std::string)>::UntypedDescribeUninterestingCall(void const*, std::ostream*) const':
GraylogInterfaceTest.cpp:(.text._ZNK7testing8internal14FunctionMockerIFvSsEE32UntypedDescribeUninterestingCallEPKvPSo[_ZNK7testing8internal14FunctionMockerIFvSsEE32UntypedDescribeUninterestingCallEPKvPSo]+0x7e): undefined reference to `testing::internal::PrintStringTo(std::string const&, std::ostream*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::TypedExpectation<void (std::string)>::GetCurrentAction(testing::internal::FunctionMocker<void (std::string)> const*, std::tuple<std::string> const&) const':
GraylogInterfaceTest.cpp:(.text._ZNK7testing8internal16TypedExpectationIFvSsEE16GetCurrentActionEPKNS0_14FunctionMockerIS2_EERKSt5tupleIJSsEE[_ZNK7testing8internal16TypedExpectationIFvSsEE16GetCurrentActionEPKNS0_14FunctionMockerIS2_EERKSt5tupleIJSsEE]+0x1bd): undefined reference to `testing::internal::Log(testing::internal::LogSeverity, std::string const&, int)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::TypedExpectation<void (std::string)>::ExplainMatchResultTo(std::tuple<std::string> const&, std::ostream*) const':
GraylogInterfaceTest.cpp:(.text._ZNK7testing8internal16TypedExpectationIFvSsEE20ExplainMatchResultToERKSt5tupleIJSsEEPSo[_ZNK7testing8internal16TypedExpectationIFvSsEE20ExplainMatchResultToERKSt5tupleIJSsEEPSo]+0x342): undefined reference to `testing::internal::FormatFileLocation(char const*, int)'
GraylogInterfaceTest.cpp:(.text._ZNK7testing8internal16TypedExpectationIFvSsEE20ExplainMatchResultToERKSt5tupleIJSsEEPSo[_ZNK7testing8internal16TypedExpectationIFvSsEE20ExplainMatchResultToERKSt5tupleIJSsEEPSo]+0x55e): undefined reference to `testing::internal::PrintStringTo(std::string const&, std::ostream*)'
CMakeFiles/unit_tests.dir/GraylogInterfaceTest.cpp.o: In function `testing::internal::FunctionMocker<void (std::string)>::UntypedFindMatchingExpectation(void const*, void const**, bool*, std::ostream*, std::ostream*)':
GraylogInterfaceTest.cpp:(.text._ZN7testing8internal14FunctionMockerIFvSsEE30UntypedFindMatchingExpectationEPKvPS5_PbPSoS8_[_ZN7testing8internal14FunctionMockerIFvSsEE30UntypedFindMatchingExpectationEPKvPS5_PbPSoS8_]+0x4bd): undefined reference to `testing::internal::FormatFileLocation(char const*, int)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `LoggingBase_FmtLogMessageException_Test::TestBody()':
LoggingBaseTest.cpp:(.text+0x47b5): undefined reference to `testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult const&, char const*, char const*, char const*)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `std::string testing::PrintToString<char const*>(char const* const&)':
LoggingBaseTest.cpp:(.text._ZN7testing13PrintToStringIPKcEESsRKT_[_ZN7testing13PrintToStringIPKcEESsRKT_]+0x41): undefined reference to `testing::internal::PrintStringTo(std::string const&, std::ostream*)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `Log::LoggingBase::fmt_log<int, char const*>(Log::Severity, std::string, int, char const*)::{lambda()#1}::operator()() const':
LoggingBaseTest.cpp:(.text._ZZN3Log11LoggingBase7fmt_logIJiPKcEEEvNS_8SeverityESsDpT_ENKUlvE_clEv[_ZZN3Log11LoggingBase7fmt_logIJiPKcEEEvNS_8SeverityESsDpT_ENKUlvE_clEv]+0x60): undefined reference to `fmt::v8::vformat(fmt::v8::basic_string_view<char>, fmt::v8::basic_format_args<fmt::v8::basic_format_context<fmt::v8::appender, char> >)'
LoggingBaseTest.cpp:(.text._ZZN3Log11LoggingBase7fmt_logIJiPKcEEEvNS_8SeverityESsDpT_ENKUlvE_clEv[_ZZN3Log11LoggingBase7fmt_logIJiPKcEEEvNS_8SeverityESsDpT_ENKUlvE_clEv]+0x387): undefined reference to `fmt::v8::vformat(fmt::v8::basic_string_view<char>, fmt::v8::basic_format_args<fmt::v8::basic_format_context<fmt::v8::appender, char> >)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<int, int>(char const*, char const*, int const&, int const&)':
LoggingBaseTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<Log::BaseLogHandler*, BaseLogHandlerStandIn*>(char const*, char const*, Log::BaseLogHandler* const&, BaseLogHandlerStandIn* const&)':
LoggingBaseTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureIPN3Log14BaseLogHandlerEP21BaseLogHandlerStandInEENS_15AssertionResultEPKcS9_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIPN3Log14BaseLogHandlerEP21BaseLogHandlerStandInEENS_15AssertionResultEPKcS9_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<Log::Severity, Log::Severity>(char const*, char const*, Log::Severity const&, Log::Severity const&)':
LoggingBaseTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureIN3Log8SeverityES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIN3Log8SeverityES3_EENS_15AssertionResultEPKcS6_RKT_RKT0_]+0x47): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<std::string, char [26]>(char const*, char const*, std::string const&, char const (&) [26])':
LoggingBaseTest.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureISsA26_cEENS_15AssertionResultEPKcS5_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureISsA26_cEENS_15AssertionResultEPKcS5_RKT_RKT0_]+0x4e): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<Log::AdditionalField::Type, Log::AdditionalField::Type>(char const*, char const*, Log::AdditionalField::Type const&, Log::AdditionalField::Type const&)':
LoggingBaseTest.cpp:(.text._ZN7testing8internal11CmpHelperEQIN3Log15AdditionalField4TypeES4_EENS_15AssertionResultEPKcS7_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIN3Log15AdditionalField4TypeES4_EENS_15AssertionResultEPKcS7_RKT_RKT0_]+0x4f): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/LoggingBaseTest.cpp.o:LoggingBaseTest.cpp:(.text._ZN7testing8internal11CmpHelperEQIllEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIllEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x4f): more undefined references to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)' follow
CMakeFiles/unit_tests.dir/QueueLengthTest.cpp.o: In function `QueueLength_ConsoleInterfaceTest_Test::TestBody()':
QueueLengthTest.cpp:(.text+0x10cd): undefined reference to `testing::internal::GetCapturedStdout()'
CMakeFiles/unit_tests.dir/QueueLengthTest.cpp.o: In function `QueueLength_FileInterfaceTest_Test::TestBody()':
QueueLengthTest.cpp:(.text+0x15ee): undefined reference to `testing::internal::GetCapturedStdout()'
CMakeFiles/unit_tests.dir/QueueLengthTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<std::atomic<int>, int>(char const*, char const*, std::atomic<int> const&, int const&)':
QueueLengthTest.cpp:(.text._ZN7testing8internal11CmpHelperEQISt6atomicIiEiEENS_15AssertionResultEPKcS6_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQISt6atomicIiEiEENS_15AssertionResultEPKcS6_RKT_RKT0_]+0x4e): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)'
CMakeFiles/unit_tests.dir/LoggerTest.cpp.o: In function `Logger_ReplaceConsoleInterface_Test::TestBody()':
LoggerTest.cpp:(.text+0x311): undefined reference to `testing::internal::GetCapturedStdout()'
collect2: error: ld returned 1 exit status
gmake[3]: *** [unit_tests/CMakeFiles/unit_tests.dir/build.make:244: unit_tests/unit_tests] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:238: unit_tests/CMakeFiles/unit_tests.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:245: unit_tests/CMakeFiles/unit_tests.dir/rule] Error 2
gmake: *** [Makefile:222: unit_tests] Error 2
graylog-logger/2.1.4: 
graylog-logger/2.1.4: ERROR: Package 'ff38497f1148746f5158a82cae363785b45216eb' build failed
graylog-logger/2.1.4: WARN: Build folder /afs/psi.ch/user/b/brambilla_m/.conan/data/graylog-logger/2.1.4/_/_/build/ff38497f1148746f5158a82cae363785b45216eb
ERROR: graylog-logger/2.1.4: Error in build() method, line 34
	cmake.build(target="unit_tests")
	ConanException: Error 2 while executing cmake --build '.' '--target' 'unit_tests' '--' '-j8'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant