Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building from source fails on rpi4 #2

Open
rnixx opened this issue Apr 26, 2020 · 1 comment
Open

Building from source fails on rpi4 #2

rnixx opened this issue Apr 26, 2020 · 1 comment

Comments

@rnixx
Copy link

rnixx commented Apr 26, 2020

Hi,

i tried to build this package from source with buster on rpi4.

2 Tests are failing:

TEST    pixelutils
/home/pi/build/ffmpeg-4.1.4/tests/fate-run.sh fate-pixelutils "" "" "/home/pi/build/ffmpeg-4.1.4/debian/standard" 'run libavutil/tests/pixelutils' '' '' '' '1' '' '' '' '' '' '' '' '' '' ''
 /home/pi/build/ffmpeg-4.1.4/debian/standard/libavutil/tests/pixelutils
--- /home/pi/build/ffmpeg-4.1.4/tests/ref/fate/pixelutils   2019-07-08 18:45:26.000000000 +0100
+++ tests/data/fate/pixelutils  2020-04-26 16:29:58.175301916 +0100
@@ -1,60 +0,0 @@
-[OK] [UU] SAD [random] 2x2=409 ref=409
-[OK] [UU] SAD [random] 4x4=1370 ref=1370
-[OK] [UU] SAD [random] 8x8=5178 ref=5178
-[OK] [UU] SAD [random] 16x16=20946 ref=20946
-[OK] [UU] SAD [random] 32x32=83150 ref=83150
-[OK] [AU] SAD [random] 2x2=320 ref=320
-[OK] [AU] SAD [random] 4x4=1522 ref=1522
-[OK] [AU] SAD [random] 8x8=5821 ref=5821
-[OK] [AU] SAD [random] 16x16=21951 ref=21951
-[OK] [AU] SAD [random] 32x32=86983 ref=86983
-[OK] [AA] SAD [random] 2x2=276 ref=276
-[OK] [AA] SAD [random] 4x4=1521 ref=1521
-[OK] [AA] SAD [random] 8x8=5130 ref=5130
-[OK] [AA] SAD [random] 16x16=20775 ref=20775
-[OK] [AA] SAD [random] 32x32=83402 ref=83402
-[OK] [UU] SAD [max] 2x2=1020 ref=1020
-[OK] [UU] SAD [max] 4x4=4080 ref=4080
-[OK] [UU] SAD [max] 8x8=16320 ref=16320
-[OK] [UU] SAD [max] 16x16=65280 ref=65280
-[OK] [UU] SAD [max] 32x32=261120 ref=261120
-[OK] [AU] SAD [max] 2x2=1020 ref=1020
-[OK] [AU] SAD [max] 4x4=4080 ref=4080
-[OK] [AU] SAD [max] 8x8=16320 ref=16320
-[OK] [AU] SAD [max] 16x16=65280 ref=65280
-[OK] [AU] SAD [max] 32x32=261120 ref=261120
-[OK] [AA] SAD [max] 2x2=1020 ref=1020
-[OK] [AA] SAD [max] 4x4=4080 ref=4080
-[OK] [AA] SAD [max] 8x8=16320 ref=16320
-[OK] [AA] SAD [max] 16x16=65280 ref=65280
-[OK] [AA] SAD [max] 32x32=261120 ref=261120
-[OK] [UU] SAD [min] 2x2=0 ref=0
-[OK] [UU] SAD [min] 4x4=0 ref=0
-[OK] [UU] SAD [min] 8x8=0 ref=0
-[OK] [UU] SAD [min] 16x16=0 ref=0
-[OK] [UU] SAD [min] 32x32=0 ref=0
-[OK] [AU] SAD [min] 2x2=0 ref=0
-[OK] [AU] SAD [min] 4x4=0 ref=0
-[OK] [AU] SAD [min] 8x8=0 ref=0
-[OK] [AU] SAD [min] 16x16=0 ref=0
-[OK] [AU] SAD [min] 32x32=0 ref=0
-[OK] [AA] SAD [min] 2x2=0 ref=0
-[OK] [AA] SAD [min] 4x4=0 ref=0
-[OK] [AA] SAD [min] 8x8=0 ref=0
-[OK] [AA] SAD [min] 16x16=0 ref=0
-[OK] [AA] SAD [min] 32x32=0 ref=0
-[OK] [UU] SAD [small] 2x2=400 ref=400
-[OK] [AU] SAD [small] 2x2=384 ref=384
-[OK] [AA] SAD [small] 2x2=409 ref=409
-[OK] [UU] SAD [small] 4x4=1144 ref=1144
-[OK] [AU] SAD [small] 4x4=1156 ref=1156
-[OK] [AA] SAD [small] 4x4=1086 ref=1086
-[OK] [UU] SAD [small] 8x8=6510 ref=6510
-[OK] [AU] SAD [small] 8x8=5755 ref=5755
-[OK] [AA] SAD [small] 8x8=6156 ref=6156
-[OK] [UU] SAD [small] 16x16=19490 ref=19490
-[OK] [AU] SAD [small] 16x16=21037 ref=21037
-[OK] [AA] SAD [small] 16x16=22986 ref=22986
-[OK] [UU] SAD [small] 32x32=86550 ref=86550
-[OK] [AU] SAD [small] 32x32=83656 ref=83656
-[OK] [AA] SAD [small] 32x32=85164 ref=85164
Test pixelutils failed. Look at tests/data/fate/pixelutils.err for details.
Assertion tmp[0] == 0 && tmp[1] == 0 failed at src/libavutil/pixdesc.c:2570
Aborted
make[2]: *** [/home/pi/build/ffmpeg-4.1.4/tests/Makefile:228: fate-pixelutils] Error 134
TEST    sws-pixdesc-query
/home/pi/build/ffmpeg-4.1.4/tests/fate-run.sh fate-sws-pixdesc-query "" "" "/home/pi/build/ffmpeg-4.1.4/debian/standard" 'run libswscale/tests/pixdesc_query' '' '' '' '1' '' '' '' '' '' '' '' '' '' ''
 /home/pi/build/ffmpeg-4.1.4/debian/standard/libswscale/tests/pixdesc_query
--- /home/pi/build/ffmpeg-4.1.4/tests/ref/fate/sws-pixdesc-query    2020-04-26 11:19:34.301040524 +0100
+++ tests/data/fate/sws-pixdesc-query   2020-04-26 16:29:58.245300293 +0100
@@ -57,6 +57,7 @@
   nv20le
   p010be
   p010le
+  sand64_10
   xyz12be
   xyz12le
   yuv420p10be
@@ -176,6 +177,8 @@
   p010le
   p016be
   p016le
+  sand128
+  sand64_10
   uyvy422
   uyyvyy411
   xyz12be
@@ -647,6 +650,8 @@
   rgb8
   rgba64be
   rgba64le
+  sand128
+  sand64_10
   uyvy422
   uyyvyy411
   xyz12be
Test sws-pixdesc-query failed. Look at tests/data/fate/sws-pixdesc-query.err for details.
make[2]: *** [/home/pi/build/ffmpeg-4.1.4/tests/Makefile:228: fate-sws-pixdesc-query] Error 1

Steps to reproduce:

  • Use latest raspbian buster lite
  • Enable raspbian related deb sources
    deb-src http://archive.raspberrypi.org/debian/ buster main
  • Get source package apt source -t buster ffmpeg
  • Install build dependencies mk-build-deps -i -r
  • Give it a new version dch -i "My own version"
  • Start build dpkg-buildpackage -b -uc -us
@marcusb
Copy link

marcusb commented Jul 30, 2024

I still get test failures when building on RPi 4 Bookworm (64-bit) with the current pios/bookworm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants