* [Buildroot] [PATCH 1/1] package/openconnect: fix build without NLS
@ 2026-11-21 7:26 Bernd Kuhls
2026-11-21 10:18 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-11-21 7:26 UTC (permalink / raw)
To: buildroot
Fixes:
https://autobuild.buildroot.org/results/e788cbb9eea5dd9c710f0be71cceb5eca7133975/
checking for msgfmt... no
configure: error: msgfmt could not be found. Try configuring with
--disable-nls
The oldest recorded build error of this kind dates back to 2024 so a
backport to LTS branches should be considered:
https://autobuild.buildroot.net/results/7e2/7e288f5fc334ed0a23330d43fec52209df36a883/
Upstream added AC_ARG_ENABLE([nls] in 2011 to version 3.14:
https://gitlab.com/openconnect/openconnect/-/commit/b976ecb02aed356fe45334c018a0e727328a1c9a
while the first version added to buildroot was 9.12, see commit
c70e0c08c7ad516b4fd20bf92dc1435ecbea94b4.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/openconnect/openconnect.mk | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/package/openconnect/openconnect.mk b/package/openconnect/openconnect.mk
index e9a3257edb..26a2e646f3 100644
--- a/package/openconnect/openconnect.mk
+++ b/package/openconnect/openconnect.mk
@@ -6,7 +6,11 @@
OPENCONNECT_VERSION = 9.21
OPENCONNECT_SITE = https://www.infradead.org/openconnect/download
-OPENCONNECT_DEPENDENCIES = host-pkgconf libxml2 zlib
+OPENCONNECT_DEPENDENCIES = \
+ host-pkgconf \
+ libxml2 \
+ zlib \
+ $(TARGET_NLS_DEPENDENCIES)
OPENCONNECT_LICENSE = LGPL-2.1
OPENCONNECT_LICENSE_FILES = COPYING.LGPL
OPENCONNECT_CPE_ID_VENDOR = infradead
@@ -30,4 +34,10 @@ else
OPENCONNECT_CONF_OPTS += --without-lz4
endif
+ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
+OPENCONNECT_CONF_OPTS += --enable-nls
+else
+OPENCONNECT_CONF_OPTS += --disable-nls
+endif
+
$(eval $(autotools-package))
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-21 10:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21 7:26 [Buildroot] [PATCH 1/1] package/openconnect: fix build without NLS Bernd Kuhls
2026-11-21 10:18 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox