Subject: bug#72917: ffmpeg@{3,4,5} build failures on i686-linux

From: Dariqq <[email-masked]>
Date: Thu, 5 Sep 2024 19:43:35 +0000

Hi,

On 05.09.24 09:25, Ludovic Courtès wrote:
> Hello,

> 
> As it turns out, while all 3 variants built fine for i686 on a machine
> of mine, there are test failures at ci.guix:
> 
>  From <https://ci.guix.gnu.org/build/5613329/details>:
> 
> --8<---------------cut here---------------start------------->8---
> --- ./tests/ref/fate/filter-lavd-scalenorm	2023-11-09 23:38:51.000000000 +0000
> +++ tests/data/fate/filter-lavd-scalenorm	2024-09-04 17:57:08.701821746 +0000
> @@ -1,15 +0,0 @@
> -#tb 0: 1/5
> -#media_type 0: video
> -#codec_id 0: rawvideo
> -#dimensions 0: 128x96
> -#sar 0: 1/1
> -0,          0,          0,        1,    18432, 0xac484db5
> -0,          1,          1,        1,    18432, 0x94734db6
> -0,          2,          2,        1,    18432, 0x3fac4db3
> -0,          3,          3,        1,    18432, 0x37a94dcd
> -0,          4,          4,        1,    18432, 0x2b3e4dbb
> -0,          5,          5,        1,    18432, 0xd23a67bf
> -0,          6,          6,        1,    18432, 0x898368e1
> -0,          7,          7,        1,    18432, 0x79466438
> -0,          8,          8,        1,    18432, 0x458c5d95
> -0,          9,          9,        1,    18432, 0x9d9a56ee
> Test filter-lavd-scalenorm failed. Look at tests/data/fate/filter-lavd-scalenorm.err for details.
> make: *** [tests/Makefile:304: fate-filter-lavd-scalenorm] Error 1
> make: *** Waiting for unfinished jobs....
> TEST    filter-refcmp-psnr-rgb
> 
> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("fate" "-j" "24") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `check' failed after 8.7 seconds
> command "make" "fate" "-j" "24" failed with status 2
> build process 18 exited with status 256
> builder for `/gnu/store/7wsa154li4w974z2p6qnaaw97ng9m8hq-ffmpeg-5.1.4.drv' failed with exit code 1
> --8<---------------cut here---------------end--------------->8---
> 
> And from <https://ci.guix.gnu.org/build/5613330/details>:
> 
> --8<---------------cut here---------------start------------->8---
> --- ./tests/ref/lavf/fits	1970-01-01 00:00:01.000000000 +0000
> +++ tests/data/fate/lavf-fits	2024-09-04 17:57:17.900035764 +0000
> @@ -1,9 +1,9 @@
>   ed9fd697d0d782df6201f6a2db184552 *./tests/data/lavf/graylavf.fits
>   5328000 ./tests/data/lavf/graylavf.fits
> -./tests/data/lavf/graylavf.fits CRC=0xbacf446c
> +./tests/data/lavf/graylavf.fits CRC=0xeb450e41
>   48e6caf6a59e32f9a8a39979c9183a7f *./tests/data/lavf/gray16belavf.fits
>   10368000 ./tests/data/lavf/gray16belavf.fits
> -./tests/data/lavf/gray16belavf.fits CRC=0xae2b58d4
> +./tests/data/lavf/gray16belavf.fits CRC=0xcc6d0df7
>   be2f7112fd193c9a909304c81e662769 *./tests/data/lavf/gbrplavf.fits
>   15408000 ./tests/data/lavf/gbrplavf.fits
>   ./tests/data/lavf/gbrplavf.fits CRC=0x04ed3828
> TEST    filter-pixdesc-yuv422p
> TEST    filter-pixdesc-yuv444p
> Test lavf-fits failed. Look at tests/data/fate/lavf-fits.err for details.
> make: *** [tests/Makefile:226: fate-lavf-fits] Error 1
> make: *** Waiting for unfinished jobs....
> 
> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("fate" "-j" "24") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `check' failed after 17.3 seconds
> command "make" "fate" "-j" "24" failed with status 2
> build process 18 exited with status 256
> builder for `/gnu/store/90fv07zbjc92dscaj42c2yzrqpl1qlza-ffmpeg-3.4.13.drv' failed with exit code 1
> --8<---------------cut here---------------end--------------->8---
> 
> Are you seeing this?  Does the Internet have something to say about
> these?
> 

ffmpeg@5 builds without issues for me. For ffmpeg@3 the tests always 
fail at the lavf-fits tests same as the ci system.

For ffmpeg@4 which has by far the most dependants (including things like 
webkitgtk etc) i have no test issues.

> Thanks,
> Ludo’.

I hope this helps,
Dariqq