Bug 2312457
| Summary: | Please branch and build mosquitto in epel10 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Robert Scheck <redhat-bugzilla> |
| Component: | mosquitto | Assignee: | Rich Mattes <richmattes> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel10 | CC: | cllang, farrotin, jonathan, linville, mail, richmattes |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | mosquitto-2.0.20-5.el10_0 mosquitto-2.0.20-5.el10_1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-22 01:18:35 UTC | 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: | |||
| Bug Depends On: | 2311677, 2325868 | ||
| Bug Blocks: | 2303880, 2345748 | ||
|
Description
Robert Scheck
2024-09-15 18:46:06 UTC
libwebsockets should be done shortly. I will go from there. No matching package to install: 'openssl-devel-engine' However: "The openssl-devel-engine package contains include files needed to develop applications which use deprecated OpenSSL ENGINE functionality." It seems mosquitto already correctly uses `#if !defined(OPENSSL_NO_ENGINE)` almost everywhere. I've found a use of an unguarded definition of `ENGINE *engine = NULL;` in `net__init_ssl_ctx` in `lib/net_mosq.c` that probably need to be fixed to also be inside of an ifdef. The same seems to apply to the declaration `ENGINE *eng` in `mosquitto_string_option` in `lib/options.c`, and then mosquitto should compile just fine against CentOS 10 Stream, although you will have to make the `openssl-devel-engine` BuildRequires specific to Fedora. In fact, mosquitto already builds fine for me in EPEL 10 with this patch:
```
diff --git a/mosquitto.spec b/mosquitto.spec
index 1ba604e..9f810b2 100644
--- a/mosquitto.spec
+++ b/mosquitto.spec
@@ -20,7 +20,9 @@ BuildRequires: libwebsockets-devel
BuildRequires: libxslt
BuildRequires: cmake
BuildRequires: openssl-devel
+%if 0%{?fedora}
BuildRequires: openssl-devel-engine
+%endif
BuildRequires: systemd-devel
%if 0%{?with_tests}
BuildRequires: CUnit-devel
```
FEDORA-EPEL-2025-00834e18bf (mosquitto-2.0.20-5.el10_0) has been submitted as an update to Fedora EPEL 10.0. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-00834e18bf *** Bug 2345581 has been marked as a duplicate of this bug. *** FEDORA-EPEL-2025-00834e18bf has been pushed to the Fedora EPEL 10.0 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-00834e18bf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. *** Bug 2345780 has been marked as a duplicate of this bug. *** FEDORA-EPEL-2025-00834e18bf (mosquitto-2.0.20-5.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2025-c4881d356e (mosquitto-2.0.20-5.el10_1) has been submitted as an update to Fedora EPEL 10.1. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c4881d356e FEDORA-EPEL-2025-c4881d356e has been pushed to the Fedora EPEL 10.1 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c4881d356e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2025-c4881d356e (mosquitto-2.0.20-5.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository. If problem still persists, please make note of it in this bug report. |