pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54095: devel/snappy fails to link on NetBSD/amd64-8.99.36



>Number:         54095
>Category:       pkg
>Synopsis:       devel/snappy fails to link on NetBSD/amd64-8.99.36
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 02 16:20:00 +0000 2019
>Originator:     John D. Baker
>Release:        NetBSD/amd64-8.99.36, pkgsrc-2019Q1
>Organization:
>Environment:
NetBSD plex760.technoskunk.fur 8.99.36 NetBSD 8.99.36 (PLEX760) #197: Mon Apr  1 09:36:45 CDT 2019  sysop%yggdrasil.technoskunk.fur@localhost:/r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760 amd64

>Description:
Building "devel/snappy" from pkgsrc-2019Q4 on NetBSD/amd64-current
(8.99.36) fails linking with:

[...]
[100%] Linking CXX executable snappy_unittest
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `snappy::Snappy_ZeroOffsetCopyValidation_Test::TestBody()':
snappy_unittest.cc:(.text+0x2b1): undefined reference to `testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult const&, char const*, char const*, char const*)'
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `snappy::Snappy_ZeroOffsetCopy_Test::TestBody()':
snappy_unittest.cc:(.text+0x414): undefined reference to `testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult const&, char const*, char const*, char const*)'
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `snappy::Snappy_VerifyCharTable_Test::TestBody()':
snappy_unittest.cc:(.text+0x8171): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `snappy::Snappy_FindMatchLengthRandom_Test::TestBody()':
snappy_unittest.cc:(.text+0x8a61): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
ld: snappy_unittest.cc:(.text+0x8d8f): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `testing::AssertionResult::AppendMessage(testing::Message const&)':
snappy_unittest.cc:(.text._ZN7testing15AssertionResult13AppendMessageERKNS_7MessageE[_ZN7testing15AssertionResult13AppendMessageERKNS_7MessageE]+0x29): undefined reference to `testing::Message::GetString[abi:cxx11]() const'
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `testing::AssertionResult& testing::AssertionResult::operator<< <char const*>(char const* const&)':
snappy_unittest.cc:(.text._ZN7testing15AssertionResultlsIPKcEERS0_RKT_[_ZN7testing15AssertionResultlsIPKcEERS0_RKT_]+0x66): undefined reference to `testing::Message::GetString[abi:cxx11]() const'
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `testing::AssertionResult testing::internal::CmpHelperEQ<int, int>(char const*, char const*, int const&, int const&)':
snappy_unittest.cc:(.text._ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x58): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
ld: CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > testing::PrintToString<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
snappy_unittest.cc:(.text._ZN7testing13PrintToStringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES6_RKT_[_ZN7testing13PrintToStringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES6_RKT_]+0x1cb): undefined reference to `testing::internal::PrintStringTo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::ostream*)'
*** [snappy_unittest] Error code 1

make[2]: stopped in /tmp/pkgsrc/devel/snappy/work/snappy-1.1.7
1 error

make[2]: stopped in /tmp/pkgsrc/devel/snappy/work/snappy-1.1.7
*** [CMakeFiles/snappy_unittest.dir/all] Error code 2

make[1]: stopped in /tmp/pkgsrc/devel/snappy/work/snappy-1.1.7
1 error

make[1]: stopped in /tmp/pkgsrc/devel/snappy/work/snappy-1.1.7
*** [all] Error code 2

make: stopped in /tmp/pkgsrc/devel/snappy/work/snappy-1.1.7
1 error

make: stopped in /tmp/pkgsrc/devel/snappy/work/snappy-1.1.7
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/devel/snappy
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/devel/snappy


Possible fallout from GCC update and/or libstd++.so major version
bump?

Inability to update "devel/snappy" additionally causes "net/wireshark"
build failure.
>How-To-Repeat:
Attempt to build "devel/snappy" from pkgsrc-2019Q1 on NetBSD/amd64-current
(8.99.36).
>Fix:



Home | Main Index | Thread Index | Old Index