[Slackbuilds-users] Snappy not building

Luveh Keraph 1.41421 at gmail.com
Mon Apr 6 17:47:23 UTC 2020


Can you be more specific? I have lots of packages in my system, and I don't
know which ones would be related to unit testing. I know I have not
intentionally and knowingly installed anything like that though.

On Mon, Apr 6, 2020 at 11:16 AM Willy Sudiarto Raharjo <
willysr at slackbuilds.org> wrote:

> >     This is for the latest version of snappy (1.1.8) for 14.2, as
> retrieved
> > from the link in slackbuilds.org:
> >
> >
> > [ 62%] Built target snappy
> > Scanning dependencies of target snappy_unittest
> > [ 75%] Building CXX object
> > CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o
> > [ 87%] Building CXX object
> CMakeFiles/snappy_unittest.dir/snappy-test.cc.o
> > [100%] Linking CXX executable snappy_unittest
> > CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function
> > `testing::internal::scoped_ptr<std::basic_stringstream<char,
> > std::char_traits<char>, std::allocator<char> >
> >> ::reset(std::basic_stringstream<char, std::char_traits<char>,
> > std::allocator<char> >*) [clone .constprop.163]':
> > snappy_unittest.cc:(.text+0x1d10): undefined reference to
> > `testing::internal::IsTrue(bool)'
> > CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function
> > `snappy::Snappy_ZeroOffsetCopy_Test::TestBody()':
> > snappy_unittest.cc:(.text+0x3319): undefined reference to
> > `testing::Message::Message()'
> >
> > (scores of similar lines)
> >
> >
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE[_ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE]+0x28):
> > undefined reference to `testing::Test::TearDown()'
> >
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_VerifyCharTable_TestE[_ZTVN6snappy27Snappy_VerifyCharTable_TestE]+0x20):
> > undefined reference to `testing::Test::SetUp()'
> >
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_VerifyCharTable_TestE[_ZTVN6snappy27Snappy_VerifyCharTable_TestE]+0x28):
> > undefined reference to `testing::Test::TearDown()'
> > collect2: error: ld returned 1 exit status
> > CMakeFiles/snappy_unittest.dir/build.make:121: recipe for target
> > 'snappy_unittest' failed
> > make[2]: *** [snappy_unittest] Error 1
> > CMakeFiles/Makefile2:104: recipe for target
> > 'CMakeFiles/snappy_unittest.dir/all' failed
> > make[1]: *** [CMakeFiles/snappy_unittest.dir/all] Error 2
> > Makefile:138: recipe for target 'all' failed
> > make: *** [all] Error 2
>
> Did you have any package that relates to unit testing?
> i tested this on clean VM and it built fine
>
>
> --
> Willy Sudiarto Raharjo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200406/12b16023/attachment-0001.htm>


More information about the SlackBuilds-users mailing list