Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635332 - media-video/ffmpeg-3.3.4 fails tests on ppc
Summary: media-video/ffmpeg-3.3.4 fails tests on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo Media-video project
URL: http://git.videolan.org/?p=ffmpeg.git...
Whiteboard:
Keywords: TESTFAILURE
: 650206 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-24 17:12 UTC by ernsteiswuerfel
Modified: 2018-03-14 17:29 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_635332.txt,5.69 KB, text/plain)
2017-10-24 17:14 UTC, ernsteiswuerfel
Details
build.log (ffmpeg-min_build.log.xz,91.00 KB, application/x-xz)
2017-10-24 17:15 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2017-10-24 17:12:59 UTC
+++ tests/data/fate/sws-pixdesc-query	2017-10-24 11:25:44.511787161 +0200
@@ -407,8 +407,8 @@
   rgb8
   rgb4
   rgb4_byte
-  abgr
-  bgra
+  argb
+  rgba
   rgb48be
   rgb48le
   rgb565be
@@ -427,8 +427,8 @@
   bgr8
   bgr4
   bgr4_byte
-  argb
-  rgba
+  abgr
+  bgra
   bgr565be
   bgr565le
   bgr555be
Test sws-pixdesc-query failed. Look at tests/data/fate/sws-pixdesc-query.err for details.
make: *** [/var/tmp/portage/media-video/ffmpeg-3.3.4/work/ffmpeg-3.3.4/tests/Makefile:220: fate-sws-pixdesc-query]

sws-pixdesc-query.err as suggested above shows no further details, it's a 0 Byte file. sws-pixdesc-query.diff shows the same message as above. So I am attatching the build.log only.
Comment 1 ernsteiswuerfel archtester 2017-10-24 17:14:12 UTC
Created attachment 499958 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2017-10-24 17:15:18 UTC
Created attachment 499960 [details]
build.log
Comment 3 Carl Eugen Hoyos 2017-10-29 00:04:56 UTC
The bug is that this new test makes different assumptions about the code than libswscale, it cannot be reproduced with any command line.
Feel free to fix it with this commit:
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=4158fba3cdb7c90f42071323f37f617e4f278414
Comment 4 ernsteiswuerfel archtester 2018-01-20 13:43:30 UTC
Same result for media-video/ffmpeg-3.3.6: 

--- /var/tmp/portage/media-video/ffmpeg-3.3.6/work/ffmpeg-3.3.6/tests/ref/fate/sws-pixdesc-query	2017-12-31 23:35:50.000000000 +0100
+++ tests/data/fate/sws-pixdesc-query	2018-01-20 14:28:49.055068536 +0100
@@ -407,8 +407,8 @@
   rgb8
   rgb4
   rgb4_byte
-  abgr
-  bgra
+  argb
+  rgba
   rgb48be
   rgb48le
   rgb565be
@@ -427,8 +427,8 @@
   bgr8
   bgr4
   bgr4_byte
-  argb
-  rgba
+  abgr
+  bgra
   bgr565be
   bgr565le
   bgr555be
Test sws-pixdesc-query failed. Look at tests/data/fate/sws-pixdesc-query.err for details.
make: *** [/var/tmp/portage/media-video/ffmpeg-3.3.6/work/ffmpeg-3.3.6/tests/Makefile:220: fate-sws-pixdesc-query] Error 1
Comment 5 Carl Eugen Hoyos 2018-01-22 10:56:37 UTC
As said before, the bug is in the test itself, there is no (related) bug in the tested code.
Comment 6 ernsteiswuerfel archtester 2018-01-22 12:10:48 UTC
Ok for me. Also I am not demanding anything. But a buggy test-procedure could be seen as a bug too, even if the tested code works. ;-)

Maybe I should take this upstream if media-video/ffmpeg-3.4.x is affected in the same way.
Comment 7 Carl Eugen Hoyos 2018-01-23 00:51:23 UTC
(In reply to ernsteiswuerfel from comment #6)
> Ok for me. Also I am not demanding anything. But a buggy test-procedure
> could be seen as a bug too, even if the tested code works. ;-)

I don't disagree, just suggesting that you remove the test as it is buggy.

> Maybe I should take this upstream if media-video/ffmpeg-3.4.x is affected in
> the same way.

https://trac.ffmpeg.org/ticket/6554 (the hurd issue is unrelated).
Comment 8 ernsteiswuerfel archtester 2018-02-27 19:24:48 UTC
Fixed in media-video/ffmpeg-3.4.2.

It passes all tests on ppc now. So the fix Carl was talking about must have trickled down to 3.4.x.

See: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=4158fba3cdb7c90f42071323f37f617e4f278414
Comment 9 Rolf Eike Beer archtester 2018-03-14 17:29:41 UTC
*** Bug 650206 has been marked as a duplicate of this bug. ***