public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/mosquitto: disable building the crtl-shell for host variant
@ 2026-04-01  5:15 yann.morin
  2026-04-01  9:27 ` Peter Korsgaard
  2026-04-10 10:26 ` Thomas Perale via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: yann.morin @ 2026-04-01  5:15 UTC (permalink / raw)
  To: buildroot
  Cc: Vincent Stehlé, Joseph Kogut, yann.morin, Titouan Christophe

From: "Yann E. MORIN" <yann.morin@orange.com>

The ctrl-shell, in mosquitto_ctrl, optionally uses a line-editing
library, either libedit or readline. There is a single option (in
mosquitto) that drives whether to build all the aopps or none, but
for the host variant, we're only interested in mosquitto_passwd,
not mosquitto_ctrl (nor the others either).

Explicitly disable the ctrl-shell, to avoid build failures when the
host has a mixed installation of readline or libedit that is not
compatible with ours.

Fixes:
    https://autobuild.buildroot.org/results/856/856352ddd690dc8b2314d46a6a837d74c237d69f

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Titouan Christophe <titouan.christophe@mind.be>
Cc: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Joseph Kogut <joseph.kogut@gmail.com>

---
Note: I was not able to reproduce the issue locally, so I am not certain
of the fix. Vincent, Joseph, if you could test in your autobuilders (or
provide the `dpkg --get-selections` or similar for Arch...)
---
 package/mosquitto/mosquitto.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk
index 06de7fc2af..6d68fa4773 100644
--- a/package/mosquitto/mosquitto.mk
+++ b/package/mosquitto/mosquitto.mk
@@ -158,6 +158,7 @@ HOST_MOSQUITTO_CONF_OPTS = \
 	-DWITH_PLUGINS=OFF \
 	-DWITH_TESTS=OFF \
 	-DWITH_APPS=ON \
+	-DWITH_CTRL_SHELL=OFF \
 	-DWITH_TLS=ON
 
 # Manually install just the one tool we need
-- 
2.34.1

____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-10 11:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01  5:15 [Buildroot] [PATCH] package/mosquitto: disable building the crtl-shell for host variant yann.morin
2026-04-01  9:27 ` Peter Korsgaard
2026-04-10 10:26 ` Thomas Perale via buildroot
2026-04-10 10:57   ` yann.morin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox