Bug#968574: ffmpeg: Please backport upstream patch to fix build on powerpc and ppc64
Hi there,> I think this patch is trivial enough that it can be included without any furthertesting besides the testing on Debian powerpc and ppc64, where I have verifiedthe patch to fix the problem.it would probably help if you could become a member if the pkg-multimedia team, applied these patches and did a team upload. I can add you right now once you apply. Cheers, - Fabian Von meinem/meiner Galaxy gesendet Ursprüngliche Nachricht Von: John Paul Adrian Glaubitz Datum: 16.01.21 23:27 (GMT+01:00) An: 968...@bugs.debian.org Cc: debian-powe...@lists.debian.org Betreff: Bug#968574: ffmpeg: Please backport upstream patch to fix build on powerpc and ppc64 Hi!On 8/17/20 10:56 PM, John Paul Adrian Glaubitz wrote:> ffmpeg currently FTBFS on powerpc and ppc64 [1]:> (...)> Upstream has a patch for that, see [2]. Could you backport that patch?The bug is unfortunately still present and the package still fails to build fromsource on Debian powerpc [1] and ppc64 [2].I think this patch is trivial enough that it can be included without any furthertesting besides the testing on Debian powerpc and ppc64, where I have verifiedthe patch to fix the problem.Could the patch be included with the next package revision?Thanks,Adrian> [1] https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=powerpc&ver=7%3A4.3.1-6&stamp=1610485996&raw=0> [2] https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=ppc64&ver=7%3A4.3.1-6&stamp=1610485440&raw=0-- .''`. John Paul Adrian Glaubitz: :' : Debian Developer - glaub...@debian.org`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Bug#968574: ffmpeg: Please backport upstream patch to fix build on powerpc and ppc64
Hi! On 8/17/20 10:56 PM, John Paul Adrian Glaubitz wrote: > ffmpeg currently FTBFS on powerpc and ppc64 [1]: > (...) > Upstream has a patch for that, see [2]. Could you backport that patch? The bug is unfortunately still present and the package still fails to build from source on Debian powerpc [1] and ppc64 [2]. I think this patch is trivial enough that it can be included without any further testing besides the testing on Debian powerpc and ppc64, where I have verified the patch to fix the problem. Could the patch be included with the next package revision? Thanks, Adrian > [1] > https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=powerpc&ver=7%3A4.3.1-6&stamp=1610485996&raw=0 > [2] > https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=ppc64&ver=7%3A4.3.1-6&stamp=1610485440&raw=0 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Bug#968574: ffmpeg: Please backport upstream patch to fix build on powerpc and ppc64
Source: ffmpeg Version: 7:4.3.1-2 Severity: important Tags: patch User: debian-powe...@lists.debian.org Usertags: powerpc ppc64 X-Debbugs-Cc: debian-powe...@lists.debian.org Hello! ffmpeg currently FTBFS on powerpc and ppc64 [1]: src/libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_abgr’: src/libswscale/ppc/yuv2rgb_altivec.c:338:18: error: implicit declaration of function ‘vec_xl’; did you mean ‘vec_rl’? [-Werror=implicit-function-declaration] 338 | y0 = vec_xl(0, y1i); \ | ^~ src/libswscale/ppc/yuv2rgb_altivec.c:437:1: note: in expansion of macro ‘DEFCSP420_CVT’ 437 | DEFCSP420_CVT(yuv2_abgr, out_abgr) | ^ gcc -I. -Isrc/ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_swscale -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-overflow -fstack-protector-all -fPIE -std=c11 -fomit-frame-pointer -fPIC -maltivec -mabi=altivec -pthread -I/usr/include/p11-kit-1 -I/usr/include/lilv-0 -I/usr/include/sratom-0 -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/powerpc64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/bs2b -I/usr/include/libdrm -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/openjpeg-2.3 -I/usr/include/opus -I/usr/include/opus -D_REENTRANT -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/powerpc64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/srt -I/usr/include/p11-kit-1 -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.2 -I/usr/include/libxml2 -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized -D_REENTRANT -I/usr/include/SDL2 -MMD -MF libswscale/swscale_unscaled.d -MT libswscale/swscale_unscaled.o -c -o libswscale/swscale_unscaled.o src/libswscale/swscale_unscaled.c src/libswscale/ppc/yuv2rgb_altivec.c:338:18: error: incompatible types when assigning to type ‘__vector unsigned char’ {aka ‘__vector(16) unsigned char’} from type ‘int’ 338 | y0 = vec_xl(0, y1i); \ | ^~ src/libswscale/ppc/yuv2rgb_altivec.c:437:1: note: in expansion of macro ‘DEFCSP420_CVT’ 437 | DEFCSP420_CVT(yuv2_abgr, out_abgr) | ^ src/libswscale/ppc/yuv2rgb_altivec.c:340:18: error: incompatible types when assigning to type ‘__vector unsigned char’ {aka ‘__vector(16) unsigned char’} from type ‘int’ 340 | y1 = vec_xl(0, y2i); \ | ^~ src/libswscale/ppc/yuv2rgb_altivec.c:437:1: note: in expansion of macro ‘DEFCSP420_CVT’ 437 | DEFCSP420_CVT(yuv2_abgr, out_abgr) | ^ src/libswscale/ppc/yuv2rgb_altivec.c:437:1: error: cannot convert a value of type ‘int’ to vector type ‘__vector(16) signed char’ which has different size src/libswscale/ppc/yuv2rgb_altivec.c:437:1: error: cannot convert a value of type ‘int’ to vector type ‘__vector(16) signed char’ which has different size src/libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_bgra’: src/libswscale/ppc/yuv2rgb_altivec.c:338:18: error: incompatible types when assigning to type ‘__vector unsigned char’ {aka ‘__vector(16) unsigned char’} from type ‘int’ 338 | y0 = vec_xl(0, y1i); \ | ^~ src/libswscale/ppc/yuv2rgb_altivec.c:438:1: note: in expansion of macro ‘DEFCSP420_CVT’ 438 | DEFCSP420_CVT(yuv2_bgra, out_bgra) | ^ src/libswscale/ppc/yuv2rgb_altivec.c:340:18: error: incompatible types when assigning to type ‘__vector unsigned char’ {aka ‘__vector(16) unsigned char’} from ty