UnitTests-UT_RebufferModule.o: In function `validateChunkData(Chunk const&, int)': UT_RebufferModule.cpp:(.text+0x18c): undefined reference to `testing::internal::EqFailure(char const*, char const*, testing::internal::String const&, testing::internal::String const&, bool)' UnitTests-UT_RebufferModule.o: In function `_GLOBAL__sub_I__ZN35RebufferModule_FixedToVariable_Test10test_info_E': UT_RebufferModule.cpp:(.text.startup+0x9e): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)' UT_RebufferModule.cpp:(.text.startup+0xe5): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-desktop_test_20190313-190226 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.3.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Rust versions: [1] rust-bin-1.32.0 * emerge -qpvO media-libs/audiofile [ebuild N ] media-libs/audiofile-0.3.6-r3 USE="flac test -static-libs" ABI_X86="(64) -32 (-x32)"
Created attachment 569206 [details] emerge-info.txt
Created attachment 569208 [details] emerge-history.txt
Created attachment 569210 [details] environment
Created attachment 569212 [details] etc.portage.tbz2
Created attachment 569214 [details] logs.tbz2
Created attachment 569216 [details] media-libs:audiofile-0.3.6-r3:20190315-145826.log
Created attachment 569218 [details] temp.tbz2
Upstream audiofile uses a bundled gtest-1.6 . Current gentoo stable has gtest-1.7 . The ebuild patches audiofile source to enable use of system gtest package. The following change to the ebuild enables build with test on my system: diff -u a/media-libs/audiofile/audiofile-0.3.6-r3.ebuild b/media-libs/audiofile/audiofile-0.3.6-r3.ebuild --- a/media-libs/audiofile/audiofile-0.3.6-r3.ebuild 2019-02-17 18:09:28.000000000 +0100 +++ b/media-libs/audiofile/audiofile-0.3.6-r3.ebuild 2019-03-16 10:35:58.635000000 +0100 @@ -20,7 +20,6 @@ PATCHES=( "${FILESDIR}"/${PN}-0.3.6-gcc6-build-fixes.patch - "${FILESDIR}"/${PN}-0.3.6-system-gtest.patch "${FILESDIR}"/${PN}-0.3.6-CVE-2015-7747.patch "${FILESDIR}"/${PN}-0.3.6-mingw32.patch )
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2bb2dc35eccffb4adbcc7f4057b6e2ea458d1b8 commit f2bb2dc35eccffb4adbcc7f4057b6e2ea458d1b8 Author: John Helmert III <jchelmert3@posteo.net> AuthorDate: 2020-07-19 18:28:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-07-19 18:28:17 +0000 media-libs/audiofile: Add security patches Dropping the system-gtest patch is necessary to make the tests run, as mentioned here: https://bugs.gentoo.org/680482#c8 The three closed bugs are reported test failures fixed by dropping the aforementioned patch and a slight repair of src_test. Because we're not using system gtest anymore, we can drop the test dependency on dev-cpp/gtest, and by extension the IUSE=test boilerplate. Bug: https://bugs.gentoo.org/614046 Bug: https://bugs.gentoo.org/687766 Closes: https://bugs.gentoo.org/680482 Closes: https://bugs.gentoo.org/715192 Closes: https://bugs.gentoo.org/720836 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: John Helmert III <jchelmert3@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/16141 Signed-off-by: Sam James <sam@gentoo.org> media-libs/audiofile/audiofile-0.3.6-r4.ebuild | 55 +++ .../files/audiofile-0.3.6-CVE-2017-68xx.patch | 379 +++++++++++++++++++++ ...ofile-0.3.6-CVE-2018-13440-CVE-2018-17095.patch | 82 +++++ 3 files changed, 516 insertions(+)