FS#70321 - [libwebsockets] compile options incompatible with mosquitto

Attached to Project: Arch Linux
Opened by Yannic Schröder (yschroeder) - Tuesday, 06 April 2021, 19:50 GMT
Last edited by David Runge (dvzrv) - Thursday, 08 April 2021, 10:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jelle van der Waa (jelly)
David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The libwebsockets package is compiled without "LWS_WITH_EXTERNAL_POLL=ON". This breaks compatibility with mosquitto, which requires this option to be set to use websockets. When editing the PKGBUILD to add this option, mosquitto works fine.



Additional info:
* libwebsockets version: 4.1.6-1
* mosquitto version: 2.0.8-1
* Related issue in mosquitto bugtracker: https://github.com/eclipse/mosquitto/issues/2060

Steps to reproduce:
* Install mosquitto via pacman
* libwebsockets is installed as dependency
* Enable websockets in mosquitto config
* Websockets do not work in mosquitto
This task depends upon

Closed by  David Runge (dvzrv)
Thursday, 08 April 2021, 10:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with libwebsockets 4.1.6-2
Comment by David Runge (dvzrv) - Wednesday, 07 April 2021, 07:42 GMT
@yschroeder: Thanks for the report and the upstream ticket!

Can you verify whether libwebsockets 4.1.6-2 in [testing] works as expected for you?
Comment by Yannic Schröder (yschroeder) - Wednesday, 07 April 2021, 13:00 GMT
Yes, version 4.1.6-2 from [testing] works!

Thank you for the quick action!

Loading...