dav1d.c: In function '_open_plugin': dav1d.c:540:11: error: 'Dav1dSettings' has no member named 'n_frame_threads' 540 | settings.n_frame_threads = (ncpu > 8) ? 4 : (ncpu < 2) ? 1 : ncpu/2; | ^ dav1d.c:541:12: error: 'Dav1dSettings' has no member named 'n_tile_threads'; did you mean 'n_threads'? 541 | settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1); | ^~~~~~~~~~~~~~ | n_threads In file included from ../../lib/os_internal.h:71, from ../../include/config.h:47, from dav1d.c:23: dav1d.c:541:51: error: 'Dav1dSettings' has no member named 'n_frame_threads' 541 | settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1); | ^ dav1d.c:541:51: error: 'Dav1dSettings' has no member named 'n_frame_threads' 541 | settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1); | ^ In file included from ../../include/xine/input_plugin.h:28, from ../../include/xine/xine_internal.h:35, from dav1d.c:38: dav1d.c:544:21: error: 'Dav1dSettings' has no member named 'n_frame_threads' 544 | settings.n_frame_threads, settings.n_tile_threads); | ^ ../../include/xine/xineutils.h:676:40: note: in definition of macro 'xprintf' 676 | xine_log(xine, XINE_LOG_TRACE, __VA_ARGS__); \ | ^~~~~~~~~~~ dav1d.c:544:48: error: 'Dav1dSettings' has no member named 'n_tile_threads'; did you mean 'n_threads'? 544 | settings.n_frame_threads, settings.n_tile_threads); | ^~~~~~~~~~~~~~ ../../include/xine/xineutils.h:676:40: note: in definition of macro 'xprintf' 676 | xine_log(xine, XINE_LOG_TRACE, __VA_ARGS__); \ | ^~~~~~~~~~~ make[2]: *** [Makefile:1318: xineplug_decode_dav1d_la-dav1d.lo] Error 1 Reproducible: Always
This should be fixe already. Please emerge --sync and include the full build.log and emerge --info.
Created attachment 768002 [details] xine-lib build log
Created attachment 768003 [details] emerge --info
Output of `emerge -pqv` # FEATURES="-distcc" emerge -pqv '=media-libs/xine-lib-1.2.11::gentoo' [ebuild R ] media-libs/xine-lib-1.2.11 USE="X a52 aac alsa css dts dvb flac gtk imagemagick ipv6 jpeg mad mmap mng musepack nls opengl pulseaudio samba sdl theora truetype v4l vdpau vorbis xv xvmc -aalib (-altivec) -bluray -dxr3 -fbcon -jack -libcaca -modplug -nfs -oss -sftp -speex -vaapi -vcd -vdr (-vidix) (-vis) -vpx -wavpack -wayland -xinerama" fwiw
Created attachment 768548 [details] build.log Same here. build.log attached
Created attachment 768549 [details] emerge --info
# emerge -pqv '=media-libs/xine-lib-1.2.11::gentoo' [ebuild N ] media-libs/xine-lib-1.2.11 USE="X a52 aac alsa css dts flac gtk ipv6 jpeg mad mmap mng musepack opengl oss theora truetype v4l vdpau vorbis vpx xv xvmc -aalib (-altivec) -bluray -dvb -dxr3 -fbcon -imagemagick -jack -libcaca -modplug -nfs -nls -pulseaudio -samba -sdl -sftp -speex -vaapi -vcd -vdr (-vidix) (-vis) -wavpack -wayland -xinerama"
Created attachment 770948 [details, diff] support_dav1d_1.0.0.patch I used the upstream patch attached to Debian Bug Report 1008607 as follows: # mkdir -p /etc/portage/patches/media-libs/xine-lib-1.2.11 # cp /home/fitzcarraldo/Downloads/support_dav1d_1.0.0.patch /etc/portage/patches/media-libs/xine-lib-1.2.11/ # emerge -1v xine-lib These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/xine-lib-1.2.11:1::gentoo USE="X a52 aac alsa css dts dvb flac gtk ipv6 jpeg mad mmap mng musepack nls opengl pulseaudio sdl speex theora truetype v4l vorbis wayland xv -aalib (-altivec) -bluray -dxr3 -fbcon -imagemagick -jack -libcaca -modplug -nfs -oss -samba -sftp -vaapi -vcd -vdpau -vdr (-vidix) (-vis) -vpx -wavpack -xinerama -xvmc" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-libs/xine-lib-1.2.11::gentoo >>> Installing (1 of 1) media-libs/xine-lib-1.2.11::gentoo >>> Jobs: 1 of 1 complete Load avg: 1.76, 1.75, 1.14 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. # eix -I xine-lib [I] media-libs/xine-lib Available versions: (1) 1.2.10 1.2.11 ~1.2.12-r1 **1.2.9999*l {+X a52 aac aalib +alsa altivec bluray +css dav1d dts dvb dxr3 fbcon flac gtk imagemagick ipv6 jack jpeg libcaca mad +mmap mng modplug musepack nfs nls opengl oss pulseaudio samba sdl sftp speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis vpx wavpack wayland xinerama +xv xvmc} Installed versions: 1.2.11(1)(23:16:29 15/04/22)(X a52 aac alsa css dts dvb flac gtk ipv6 jpeg mad mmap mng musepack nls opengl pulseaudio sdl speex theora truetype v4l vorbis wayland xv -aalib -altivec -bluray -dxr3 -fbcon -imagemagick -jack -libcaca -modplug -nfs -oss -samba -sftp -vaapi -vcd -vdpau -vdr -vidix -vis -vpx -wavpack -xinerama -xvmc) Homepage: http://xine.sourceforge.net/ Description: Core libraries for Xine movie player # eix -I dav1d [I] media-libs/dav1d Available versions: 0.9.2(0/5)^t (~)1.0.0(0/6)^t **9999(0/6)*l^t {+8bit +10bit +asm test xxhash ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 1.0.0(0/6)^t(18:41:36 15/04/22)(8bit 10bit asm -test -xxhash ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32") Homepage: https://code.videolan.org/videolan/dav1d Description: dav1d is an AV1 Decoder :) #
(In reply to Fitzcarraldo from comment #8) > I used the upstream patch attached to Debian Bug Report 1008607 as follows: > > # mkdir -p /etc/portage/patches/media-libs/xine-lib-1.2.11 > # cp /home/fitzcarraldo/Downloads/support_dav1d_1.0.0.patch > /etc/portage/patches/media-libs/xine-lib-1.2.11/ > # emerge -1v xine-lib This patch solved my problem. Thanks
(In reply to Sam James from comment #1) > This should be fixe already. Please emerge --sync and include the full > build.log and emerge --info. commit 377be0b52f115818ea3c2d00367f0b2b5c91b0f1 Author: Sam James <sam@gentoo.org> Date: Tue Mar 22 16:53:01 2022 +0000 media-libs/xine-lib: fix automagic libaom, dav1d; fix build with dav1d-1.0.0 Closes: https://bugs.gentoo.org/835791 Signed-off-by: Sam James <sam@gentoo.org> I already fixed this with the exact same patch. The issue is you're using ~arch dav1d on stable and stable xine-lib isn't fixed yet. But oh well, it's time to stable anyway.
Unable to check for sanity: > no match for package: media-libs/xine-lib-1.2.11-r1
amd64 done
arm64 done
ppc done
ppc64 done
x86 stable. Closing.