Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739638 - media-libs/libopenshot-0.2.5 fails test tests/CMakeFiles/os_test
Summary: media-libs/libopenshot-0.2.5 fails test tests/CMakeFiles/os_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Stefan Strogin
URL:
Whiteboard:
Keywords: TESTFAILURE
: 763084 (view as bug list)
Depends on:
Blocks: 737290
  Show dependency tree
 
Reported: 2020-08-30 16:01 UTC by Thomas Deutschmann (RETIRED)
Modified: 2021-01-10 11:56 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,122.08 KB, text/plain)
2020-08-30 16:01 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-30 16:01:17 UTC
Created attachment 657506 [details]
build.log

> FAILED: tests/CMakeFiles/os_test
> cd /var/tmp/portage/media-libs/libopenshot-0.2.5/work/libopenshot-0.2.5_build/tests && /var/tmp/portage/media-libs/libop
> enshot-0.2.5/work/libopenshot-0.2.5_build/tests/openshot-test
> ----------------------------
>      RUNNING ALL TESTS
> ----------------------------
> /var/tmp/portage/media-libs/libopenshot-0.2.5/work/libopenshot-0.2.5/tests/FFmpegWriter_Tests.cpp:40:1: error: Failure in Webm: Unhandled exception: A valid audio codec could not be found for this file.
> [libx264 @ 0x1a1bad0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
> [libx264 @ 0x1a1bad0] profile High, level 3.1, 4:2:0, 8-bit
> [libx264 @ 0x1a1bad0] 264 - core 157 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=12 rc=abr mbtree=1 bitrate=5000 ratetol=1.0 qcomp=0.60 qpmin=2 qpmax=30 qpstep=4 ip_ratio=1.40 aq=1:1.00
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> FAILURE: 1 out of 93 tests failed (1 failures).
> Test time: 12.59 seconds.
> ----------------------------
> ninja: build stopped: subcommand failed.
>  * ERROR: media-libs/libopenshot-0.2.5::gentoo failed (test phase):
>  *   ninja -v -j5 -l7.95 os_test failed
> 


Portage 3.0.4 (python 3.7.8-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo-x86-kmod i686)
=================================================================
System uname: Linux-5.4.60-gentoo-x86-kmod-i686-with-gentoo-2.6
KiB Mem:     3106040 total,   1176648 free
KiB Swap:    8875836 total,   8875060 free
Timestamp of repository gentoo: Sun, 30 Aug 2020 15:05:39 +0000
Head commit of repository gentoo: 277902a451e3325819cbf5bd4900cc83d39583f5

sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.11 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/ccache:          3.7.11::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
Comment 1 Andreas Sturmlechner gentoo-dev 2020-12-19 10:54:24 UTC
tests built fine here on amd64.
Comment 2 Andreas Sturmlechner gentoo-dev 2020-12-19 15:13:11 UTC
not reproducible on a second amd64 system. Thomas, could you please retest?
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-19 21:46:03 UTC
> >>> Test phase: media-libs/libopenshot-0.2.5
>  * Working in BUILD_DIR: "/var/tmp/portage/media-libs/libopenshot-0.2.5/work/libopenshot-0.2.5_build"
> ninja -v -j3 -l0 os_test
> [1/1] cd /var/tmp/portage/media-libs/libopenshot-0.2.5/work/libopenshot-0.2.5_build/tests && /var/tmp/portage/media-libs/libopenshot-0.2.5/work/libopenshot-0.2.5_build/tests/openshot-test
> FAILED: tests/CMakeFiles/os_test
> cd /var/tmp/portage/media-libs/libopenshot-0.2.5/work/libopenshot-0.2.5_build/tests && /var/tmp/portage/media-libs/libopenshot-0.2.5/work/libopenshot-0.2.5_build/tests/openshot-test
> ----------------------------
>      RUNNING ALL TESTS
> ----------------------------
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2450590] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720, 1033 kb/s): unspecified pixel format
> Consider increasing the value for the 'analyzeduration' and 'probesize' options
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1f19420] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720, 1033 kb/s): unspecified pixel format
> Consider increasing the value for the 'analyzeduration' and 'probesize' options
> Assertion desc failed at src/libswscale/swscale_internal.h:674
> ninja: build stopped: subcommand failed.
>  * ERROR: media-libs/libopenshot-0.2.5::gentoo failed (test phase):
>  *   ninja -v -j3 -l0 os_test failed
>
Comment 4 Larry the Git Cow gentoo-dev 2020-12-25 15:05:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8cb32d4ec64b747e310012e3af7fcb905fccf7

commit bf8cb32d4ec64b747e310012e3af7fcb905fccf7
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-12-25 15:04:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-12-25 15:05:07 +0000

    media-libs/libopenshot: Try to fix tests
    
    Minor: Fix Unquoted Variable
    
    Bug: https://bugs.gentoo.org/739638
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../libopenshot-0.2.5-no-hwaccel-testfix.patch     | 45 ++++++++++++++++++++++
 media-libs/libopenshot/libopenshot-0.2.5.ebuild    |  5 ++-
 2 files changed, 49 insertions(+), 1 deletion(-)
Comment 5 Andreas Sturmlechner gentoo-dev 2020-12-25 15:06:05 UTC
Possible fix, please retest.
Comment 6 Andreas Sturmlechner gentoo-dev 2020-12-28 09:08:10 UTC
Please re-open in case it is reproduced, if possible also check with current stable. In case this also happens there, I see no reason to further block stabilisation and holding back py38 compat.
Comment 7 Andreas Sturmlechner gentoo-dev 2021-01-02 12:41:07 UTC
*** Bug 763084 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Sturmlechner gentoo-dev 2021-01-02 12:41:28 UTC
sigh...
Comment 9 Larry the Git Cow gentoo-dev 2021-01-10 11:56:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfd227962f869245b285e0fb5dcef7bcb53e24c5

commit bfd227962f869245b285e0fb5dcef7bcb53e24c5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-01-10 11:55:34 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-01-10 11:56:10 +0000

    media-libs/libopenshot: Require media-video/ffmpeg[vorbis]
    
    Fixes tests.
    
    Closes: https://bugs.gentoo.org/739638
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../{libopenshot-0.2.5.ebuild => libopenshot-0.2.5-r1.ebuild}       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)