Bug 268759

Summary: x11-toolkits/gtk40: Program linked to /usr/local/lib/gtk-4.0/4.0.0/media/libmedia-gstreamer.so prints the error: Undefined symbol "gst_gl_display_wayland_new_with_display"
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: freebsd-desktop (Team) <desktop>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (desktop)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2023-01-05 02:55:37 UTC
Testcase: port sysutils/process-viewer (will be committed today).

$ process_viewer 
/usr/local/lib/gtk-4.0/4.0.0/media/libmedia-gstreamer.so: Undefined symbol "gst_gl_display_wayland_new_with_display"
Failed to load module: /usr/local/lib/gtk-4.0/4.0.0/media/libmedia-gstreamer.so

gtk4-4.8.3
FreeBSD 13.1 STABLE
Comment 1 Jan Beich freebsd_committer freebsd_triage 2023-01-05 06:25:22 UTC
gst_gl_display_wayland_new_with_display is provided by graphics/gstreamer1-plugins-gl built with WAYLAND=on (default). Currently, the ports framework doesn't support requesting dependencies built with specific options enabled/disabled to avoid footshooting.

See also ports 8452483c93f3 and ports ef2d73ff4560. For example, preview in multimedia/video-trimmer works fine both under X11 and Wayland, tested inside 13.1 amd64 jail with packages using default options.
Comment 2 Jan Beich freebsd_committer freebsd_triage 2023-01-05 06:44:26 UTC
> Testcase: port sysutils/process-viewer (will be committed today).

https://github.com/GuillaumeGomez/process-viewer/search?q=MediaFile returns nothing, so the error may not have an impact on testing the port.