* ERROR: media-libs/gegl-0.3.20::gentoo failed (test phase): * Make check failed. See above for details. * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop_libressl_20170918-162903 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.5.1 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv media-libs/gegl [ebuild N ] media-libs/gegl-0.3.20 USE="cairo ffmpeg introspection lcms sdl svg tiff -debug -jpeg2k -lensfun -openexr -raw {-test} -umfpack -v4l -vala -webp" CPU_FLAGS_X86="mmx sse"
Created attachment 496264 [details] emerge-info.txt
Created attachment 496266 [details] emerge-history.txt
Created attachment 496268 [details] environment
Created attachment 496270 [details] etc.portage.tbz2
Created attachment 496272 [details] logs.tbz2
Created attachment 496274 [details] media-libs:gegl-0.3.20:20170924-102826.log
Created attachment 496276 [details] temp.tbz2
I welcome help with analysis and a fix, before I find time myself. Thanks!
Let my dump notes on my analysis and potential fixes for now: Current proposed fixed: * Add "test? ( ffmpeg? ( media-video/ffmpeg[encode,theora] ) )" to DEPEND * Change --without-gexiv2 to a) $(use_with test gexiv2) b) $(use_with gexiv2) c) --with-gexiv2 for tests and depend on media-libs/gexiv2, accordingly. Analysis: * The failing test are from tests/ff-load-save/Makefile.am, target "vids" behind a "if HAVE_AVFORMAT" guard * Once target "vids" would pass, target "images" would fail because * line "check: vids images" makes it run * target "images" requires file "examples/gegl-video" built * building "examples/gegl-video" is guarded with "if HAVE_GEXIV2" * and we have --without-gexiv2 hardcoded * when emerging media-video/ffmpeg-3.4.1[-theora,-vorbis] and running that single test again I get "could not open codec" rather than "codec not found" from that test
If this issue is still reproduced fo media-libs/gegl-0.3.34[ffmpeg]? I have only test issues that are described here: https://bugs.gentoo.org/686202#c12 But I'm about to disable this parts of tests for reason explained there.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794418cf941905fc957501a1e7a3bd9e954f86a6 commit 794418cf941905fc957501a1e7a3bd9e954f86a6 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2020-05-25 00:02:17 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-06-25 08:07:41 +0000 media-libs/gegl: 0.3.34, drop failed tests using gegl-video, vp8 1. The 'gegl-video' executable is built only 'with-gexiv2' option enabled. Enabling of 'gexiv2' option on test phase allows to built 'gegl-video' executable and then this part passed. As mentioned in gegl-0.3.34.ebuild (as mentioned by previous maintainer): "mrg is not in tree and gexiv2 support only has effect when mrg support is enabled". But as this option is disabled for build without USE="test" (or FEATURES="test") and therefore isn't used in provided package I see no reason to fix compilation instead of disabling this part of test. 2. The second error seems due to hardware doesn't support vp8 hardware encoding. AFAIK the vp8 hardware support is presented for intel since Broadwell (2014 year) and I didn't find if it's support by AMD CPUs or for other ARCHs. So this part of test is disabled here too. Closes: https://bugs.gentoo.org/631930 Bug: https://bugs.gentoo.org/686202 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../gegl/files/gegl-0.3.34-failing-tests.patch | 27 ++++++++++++++++++++++ media-libs/gegl/gegl-0.3.34-r1.ebuild | 1 + 2 files changed, 28 insertions(+)