Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836330 - media-video/vlc ‘Dav1dSettings’ has no member named ‘n_frame_threads’
Summary: media-video/vlc ‘Dav1dSettings’ has no member named ‘n_frame_threads’
Status: RESOLVED DUPLICATE of bug 835787
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-28 17:26 UTC by jorge
Modified: 2022-03-28 17:31 UTC (History)
2 users (show)

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


Attachments
build log (vlc_log.log,327.76 KB, text/x-log)
2022-03-28 17:29 UTC, jorge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorge 2022-03-28 17:26:35 UTC
In my last update, www-client/firefox:rapid required the ~amd64 keyword for media-libs/dav1d:

---------------------------------------------------------------------------
!!! The following update has been skipped due to unsatisfied dependencies:

www-client/firefox:rapid

  selected: (www-client/firefox-98.0.1:rapid/rapid::gentoo, installed)
  skipped: (www-client/firefox-98.0.2:rapid/rapid::gentoo, ebuild scheduled for merge) (see unsatisfied dependency below)

!!! All ebuilds that could satisfy ">=media-libs/dav1d-0.9.3:=" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-libs/dav1d-9999::gentoo (masked by: missing keyword)
- media-libs/dav1d-1.0.0::gentoo (masked by: ~amd64 keyword)

(dependency required by "www-client/firefox-98.0.2::gentoo[system-av1]" [ebuild])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
---------------------------------------------------------------------------

After the keyword change, dav1d was updated:

---------------------------------------------------------------------------
[ebuild  r  U ~] media-libs/dav1d-1.0.0:0/6::gentoo [0.9.2:0/5::gentoo] USE="8bit 10bit asm -test -xxhash" ABI_X86="32 (64) (-x32)" 938 KiB
---------------------------------------------------------------------------

and vlc needed a rebuild:

---------------------------------------------------------------------------
[ebuild  rR    ] media-video/vlc-3.0.16-r7:0/5-9::gentoo  USE="X a52 alsa aom bluray cddb dav1d dbus dts dvbpsi dvd encode faad fdk ffmpeg flac fontconfig gcrypt gnome-keyring jack jpeg libcaca libnotify libsamplerate mad matroska mp3 mpeg ncurses ogg png pulseaudio qt5 soxr speex ssl svg truetype twolame udev v4l vaapi vdpau vpx x264 x265 xml zeroconf -archive -aribsub -bidi -chromaprint -chromecast -dc1394 -debug (-directx) -fluidsynth -gme -gstreamer -ieee1394 -kate -libass -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -modplug -mtp -musepack -nfs -omxil -optimisememory -opus -projectm -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -srt -taglib -test -theora -tremor -upnp -vnc -wayland -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1" 0 KiB
---------------------------------------------------------------------------

but it did not compile:

---------------------------------------------------------------------------
codec/dav1d.c:310:45: error: ‘Dav1dSettings’ has no member named ‘n_frame_threads’
  310 |     dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1);
      |                                             ^
make[4]: *** [Makefile:21747: codec/libdav1d_plugin_la-dav1d.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
demux/oggseek.c: In function ‘Oggseek_BlindSeektoPosition’:
demux/oggseek.c:953:13: warning: variable ‘i_pagepos’ set but not used [-Wunused-but-set-variable]
  953 |     int64_t i_pagepos;
      |             ^~~~~~~~~
demux/oggseek.c: In function ‘Oggseek_ProbeEnd’:
demux/oggseek.c:320:5: warning: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  320 |     vlc_stream_Seek( p_demux->s, i_backup_pos );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
demux/oggseek.c: In function ‘oggseek_read_page’:
demux/oggseek.c:1070:9: warning: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1070 |         vlc_stream_Seek( p_demux->s, i_in_pos );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
demux/oggseek.c:1079:9: warning: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1079 |         vlc_stream_Seek( p_demux->s, i_in_pos );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
demux/ogg.c: In function ‘Control’:
demux/ogg.c:834:18: warning: ‘*(input_attachment_t **)malloc (_15)’ may be used uninitialized [-Wmaybe-uninitialized]
  834 |             if (!**ppp_attach)
      |                  ^~~~~~~~~~~~
In file included from ../include/vlc_common.h:409,
                 from demux/ogg.c:32:
demux/ogg.c: In function ‘Ogg_DecodePacket’:
../include/vlc_threads.h:878:19: warning: call to ‘harmful_delay.constprop’ declared with attribute warning: use proper event handling instead of short delay [-Wattribute-warning]
  878 | #define msleep(d) msleep(check_delay(d))
      |                   ^~~~~~~~~~~~~~~~~~~~~~
demux/ogg.c:1480:13: note: in expansion of macro ‘msleep’
 1480 |             msleep(10000);
      |             ^~~~~~
make[4]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.16-r7/work/vlc-3.0.16/modules'
make[3]: *** [Makefile:28013: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.16-r7/work/vlc-3.0.16/modules'
make[2]: *** [Makefile:12806: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.16-r7/work/vlc-3.0.16/modules'
make[1]: *** [Makefile:1563: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.16-r7/work/vlc-3.0.16'
make: *** [Makefile:1450: all] Error 2
 * ERROR: media-video/vlc-3.0.16-r7::gentoo failed (compile phase):
 *   emake failed
---------------------------------------------------------------------------
Comment 1 jorge 2022-03-28 17:29:50 UTC
Created attachment 768083 [details]
build log
Comment 2 Jonas Stein gentoo-dev 2022-03-28 17:30:15 UTC
duplicate of 835787?
Comment 3 Ionen Wolkens gentoo-dev 2022-03-28 17:31:52 UTC
(In reply to Jonas Stein from comment #2)
> duplicate of 835787?
Indeed, this is one of the many errors will see.

*** This bug has been marked as a duplicate of bug 835787 ***