Bug 2311301

Summary: libwebsockets runtime plugins incorrectly packaged in libwebsockets-devel package
Product: [Fedora] Fedora EPEL Reporter: larrygriblets
Component: libwebsocketsAssignee: Fabian Affolter <mail>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: mail
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description larrygriblets 2024-09-10 20:18:24 UTC
Problem Description:  

Versions of libwebsockets  4.1 and above now support compiling with the event library support isolated into separate plugins.  

It appears that the libwebsockets in EPEL 9 was compiled with this plugin option enabled however the resulting plugins were unfortunately packaged in libwebsockets-devel package instead of something like libwebsockets-plugins.  Those event library plugins are runtime plugins.  Users should not be required to install a "devel" package that includes development files like headers and developer documentation etc just to get the runtime plugins on their production server.

The solution could be to package the plugins in the same RPM package as libwebsockets or in a plugin subpackage.  Refer to the following libwebsockets project link for more information regarding building and packaging the event libraries: https://libwebsockets.org/lws-api-doc-main/html/md_READMEs_README_event_libs.html

The affected files that are currently in the libwebsockets-devel package and should be moved to a runtime libwebsockets subpackage are  :  

/usr/lib64/libwebsockets-evlib_ev.so
/usr/lib64/libwebsockets-evlib_uv.so

Note also that the above libwebsockets project link actually lists four plugin files not just the above two :  

libwebsockets-evlib_glib.so
libwebsockets-evlib_event.so
libwebsockets-evlib_uv.so
libwebsockets-evlib_ev.so

Comment 1 Fabian Affolter 2024-09-18 22:21:34 UTC
This was fixed in libwebsockets-4.3.2-2. But this was never made available for EPEL9.

Comment 2 larrygriblets 2024-10-08 18:37:58 UTC
When could this fix be included in EPEL9 ?