Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936240 - 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’?
Summary: media-video/obs-studio[vlc] w/ media-video/vlc-9999: plugins/vlc-video/vlc-vi...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 08:21 UTC by Marius Stoica
Modified: 2024-07-21 11:12 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,244.69 KB, text/plain)
2024-07-18 08:23 UTC, Marius Stoica
Details
emerge --info (obs-studio.info,7.31 KB, text/plain)
2024-07-18 08:24 UTC, Marius Stoica
Details

Note You need to log in before you can comment on or make changes to this bug.
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).