Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835471 - media-libs/libvmaf-2.3.0 fails tests
Summary: media-libs/libvmaf-2.3.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Adel KARA SLIMANE
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-17 07:33 UTC by Agostino Sarubbo
Modified: 2022-04-09 12:46 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,294.43 KB, text/plain)
2022-03-17 07:33 UTC, Agostino Sarubbo
Details
1-testlog.txt (1-testlog.txt,6.93 KB, text/plain)
2022-03-17 07:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-03-17 07:33:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/libvmaf-2.3.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-17 07:33:26 UTC
Created attachment 767205 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-17 07:33:27 UTC
Created attachment 767206 [details]
1-testlog.txt

1-testlog.txt
Comment 3 Agostino Sarubbo gentoo-dev 2022-03-17 07:33:28 UTC
Error(s) that match a know pattern:


fatal: not a git repository: '/var/tmp/portage/media-libs/libvmaf-2.3.0/work/vmaf-2.3.0/libvmaf/../.git'
Program doxygen found: NO
Program xxd found: NO
Comment 4 Adel KARA SLIMANE 2022-03-19 18:37:13 UTC
In the end it's an upstream test: I tried to fix the issue with the hard coded paths in the test files and the issue remained. 

Then, I tried to do a build test from the git folder directly and it had the same issue. I opened a bug report upstream: https://github.com/Netflix/vmaf/issues/998
Comment 5 Larry the Git Cow gentoo-dev 2022-03-20 13:13:14 UTC
The bug has been closed via the following commit(s):

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

commit 39f3b86fff8b739e1afd463223087215498e5944
Author:     Adel KARA SLIMANE <adel.ks@zegrapher.com>
AuthorDate: 2022-03-17 12:24:28 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-03-20 13:13:10 +0000

    media-libs/libvmaf: restrict TEST phase
    
    The hardcoded paths are buggy for some tests,
    the library works otherwise
    The testing code could be patched otherwise
    
    Closes: https://bugs.gentoo.org/835471
    Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-libs/libvmaf/libvmaf-2.3.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-07 20:01:37 UTC
From de5f605d3886ad9d076de0f0e777a5b4869b6af3 Mon Sep 17 00:00:00 2001
From: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Date: Mon, 28 Mar 2022 21:09:25 +0200
Subject: [PATCH] media-libs/libvmaf: add bdep to embed models within the
 shared libs

Correct fix for Bug https://bugs.gentoo.org/835471

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/24796
Signed-off-by: Sam James <sam@gentoo.org>
---