Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680482 - media-libs/audiofile-0.3.6-r3 : [TEST] UT_RebufferModule.cpp:(.text+<snip>): undefined reference to testing::internal::EqFailure
Summary: media-libs/audiofile-0.3.6-r3 : [TEST] UT_RebufferModule.cpp:(.text+<snip>): ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-03-15 17:30 UTC by Toralf Förster
Modified: 2020-07-19 18:28 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.32 KB, text/plain)
2019-03-15 17:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,35.27 KB, text/plain)
2019-03-15 17:30 UTC, Toralf Förster
Details
environment (environment,89.81 KB, text/plain)
2019-03-15 17:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.66 KB, application/x-bzip)
2019-03-15 17:31 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.32 KB, application/x-bzip)
2019-03-15 17:31 UTC, Toralf Förster
Details
media-libs:audiofile-0.3.6-r3:20190315-145826.log (media-libs:audiofile-0.3.6-r3:20190315-145826.log,98.19 KB, text/plain)
2019-03-15 17:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.74 KB, application/x-bzip)
2019-03-15 17:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-03-15 17:30:52 UTC
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)"
Comment 1 Toralf Förster gentoo-dev 2019-03-15 17:30:55 UTC
Created attachment 569206 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-15 17:30:58 UTC
Created attachment 569208 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-03-15 17:31:01 UTC
Created attachment 569210 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-03-15 17:31:04 UTC
Created attachment 569212 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-03-15 17:31:07 UTC
Created attachment 569214 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-03-15 17:31:10 UTC
Created attachment 569216 [details]
media-libs:audiofile-0.3.6-r3:20190315-145826.log
Comment 7 Toralf Förster gentoo-dev 2019-03-15 17:31:12 UTC
Created attachment 569218 [details]
temp.tbz2
Comment 8 Håkon Alstadheim 2019-03-16 11:04:11 UTC
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
 )
Comment 9 Larry the Git Cow gentoo-dev 2020-07-19 18:28:30 UTC
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(+)