Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631930 - media-libs/gegl-0.3.20[ffmpeg] fails tests: codec not found
Summary: media-libs/gegl-0.3.20[ffmpeg] fails tests: codec not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2017-09-24 13:20 UTC by Toralf Förster
Modified: 2020-06-25 08:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.90 KB, text/plain)
2017-09-24 13:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,216.42 KB, text/plain)
2017-09-24 13:20 UTC, Toralf Förster
Details
environment (environment,149.27 KB, text/plain)
2017-09-24 13:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.02 KB, application/x-bzip)
2017-09-24 13:20 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.42 KB, application/x-bzip)
2017-09-24 13:20 UTC, Toralf Förster
Details
media-libs:gegl-0.3.20:20170924-102826.log (media-libs:gegl-0.3.20:20170924-102826.log,829.15 KB, text/plain)
2017-09-24 13:20 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,61.86 KB, application/x-bzip)
2017-09-24 13:20 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 2017-09-24 13:20:32 UTC
 * 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"
Comment 1 Toralf Förster gentoo-dev 2017-09-24 13:20:35 UTC
Created attachment 496264 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-24 13:20:38 UTC
Created attachment 496266 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-24 13:20:41 UTC
Created attachment 496268 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-24 13:20:44 UTC
Created attachment 496270 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-24 13:20:47 UTC
Created attachment 496272 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-24 13:20:51 UTC
Created attachment 496274 [details]
media-libs:gegl-0.3.20:20170924-102826.log
Comment 7 Toralf Förster gentoo-dev 2017-09-24 13:20:54 UTC
Created attachment 496276 [details]
temp.tbz2
Comment 8 Sebastian Pipping gentoo-dev 2017-09-30 12:39:37 UTC
I welcome help with analysis and a fix, before I find time myself.  Thanks!
Comment 9 Sebastian Pipping gentoo-dev 2018-01-10 23:52:44 UTC
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
Comment 10 Sergey Torokhov 2020-03-07 23:02:00 UTC
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.
Comment 11 Larry the Git Cow gentoo-dev 2020-06-25 08:08:08 UTC
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(+)