Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936240

Summary: media-video/obs-studio[vlc] w/ media-video/vlc-9999: plugins/vlc-video/vlc-video-source.c:811:14: error: ‘libvlc_Ended’ undeclared (first use in this function); did you mean ‘libvlc_new’?
Product: Gentoo Linux Reporter: Marius Stoica <Letto2>
Component: Current packagesAssignee: Chiitoo <chiitoo>
Status: UNCONFIRMED ---    
Severity: minor CC: asturm, ionen, Letto2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=931220
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Marius Stoica 2024-07-18 08:21:22 UTC
Failed to build media-video/obs-studio[vlc] with both media-video/vlc-3.0.9999 and media-video/vlc-9999. Earlier versions of vlc depend on an too old version of media-video/ffmpeg to take into account.


It emerges fine without the vlc use flag.


> $ sudo emerge -av media-video/obs-studio
...
> /var/tmp/portage/media-video/obs-studio-30.2.0-r1/work/obs-studio-30.2.0/plugins/vlc-video/vlc-video-source.c: In function ‘vlcs_get_state’:
> /var/tmp/portage/media-video/obs-studio-30.2.0-r1/work/obs-studio-30.2.0/plugins/vlc-video/vlc-video-source.c:811:14: error: ‘libvlc_Ended’ undeclared (first use in this function); did you mean ‘libvlc_new’?
>   811 |         case libvlc_Ended:
>       |              ^~~~~~~~~~~~


Reproducible: Always
Comment 1 Marius Stoica 2024-07-18 08:23:29 UTC
Created attachment 897914 [details]
build.log
Comment 2 Marius Stoica 2024-07-18 08:24:32 UTC
Created attachment 897915 [details]
emerge --info
Comment 3 Ionen Wolkens gentoo-dev 2024-07-18 08:44:55 UTC
If intend to use things that links with vlc, I'd stick with vlc3. If you want newer ffmpeg, you can disable USE=vaapi on it if don't mind losing that (only reason vlc3 depend son old ffmpeg).

I don't think (most) upstreams will really want to work on vlc4 support until there's at least a beta or rc released and things are more finalized.
Comment 4 Andreas Sturmlechner gentoo-dev 2024-07-21 11:12:20 UTC
Yes. Don't unmask 9999 versions without fully expecting to put your own time into fixing issues, by, for example, or at minimum, searching for an existing upstream bug regarding vlc4 porting and linking back here.

Otherwise this is a RESOLVED/UPSTREAM case (but still good to know if they're working on it or not).