* [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf
@ 2026-01-01 18:00 Bernd Kuhls
2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-01-01 18:00 UTC (permalink / raw)
To: buildroot; +Cc: Angelo Compagnucci
Fixes error during autoreconf when openssl is not selected:
configure.ac:119: error: possibly undefined macro: AC_CHECK_LIB
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:127: error: possibly undefined macro: AC_MSG_ERROR
As it turns out adding host-pkgconf as mandatory dependency fixes the
problem.
Fixes:
https://autobuild.buildroot.net/results/05c/05c6a3f5a9290f1e5e4f62fea13a0f4cb1278c04/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/libdill/libdill.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/libdill/libdill.mk b/package/libdill/libdill.mk
index 9dda81d085..bea9aaeecb 100644
--- a/package/libdill/libdill.mk
+++ b/package/libdill/libdill.mk
@@ -10,6 +10,7 @@ LIBDILL_LICENSE = MIT
LIBDILL_LICENSE_FILES = COPYING
LIBDILL_INSTALL_STAGING = YES
# Fetched from Github, with no configure script
+LIBDILL_DEPENDENCIES = host-pkgconf
LIBDILL_AUTORECONF = YES
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
@@ -19,7 +20,7 @@ LIBDILL_CONF_OPTS += --disable-threads
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
-LIBDILL_DEPENDENCIES += host-pkgconf openssl
+LIBDILL_DEPENDENCIES += openssl
LIBDILL_CONF_OPTS += --enable-tls
else
LIBDILL_CONF_OPTS += --disable-tls
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH 2/3] package/libdill: update project URL
2026-01-01 18:00 [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Bernd Kuhls
@ 2026-01-01 18:00 ` Bernd Kuhls
2026-01-01 22:32 ` Thomas Petazzoni via buildroot
2026-01-13 19:47 ` Arnout Vandecappelle via buildroot
2026-01-01 18:00 ` [Buildroot] [PATCH 3/3] package/libdill: fix build with gcc-15.x Bernd Kuhls
2026-01-01 22:32 ` [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Thomas Petazzoni via buildroot
2 siblings, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-01-01 18:00 UTC (permalink / raw)
To: buildroot; +Cc: Angelo Compagnucci
https://github.com/sustrik/libdill/pull/228
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/libdill/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libdill/Config.in b/package/libdill/Config.in
index 2376fc9698..ec649c6600 100644
--- a/package/libdill/Config.in
+++ b/package/libdill/Config.in
@@ -4,4 +4,4 @@ config BR2_PACKAGE_LIBDILL
Libdill is a C library that makes writing structured
concurrent programs easy.
- http://libdill.org
+ https://sustrik.github.io/libdill/
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 2/3] package/libdill: update project URL
2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
@ 2026-01-01 22:32 ` Thomas Petazzoni via buildroot
2026-01-13 19:47 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-01 22:32 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Angelo Compagnucci
On Thu, 1 Jan 2026 19:00:44 +0100
Bernd Kuhls <bernd@kuhls.net> wrote:
> https://github.com/sustrik/libdill/pull/228
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/libdill/Config.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 2/3] package/libdill: update project URL
2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
2026-01-01 22:32 ` Thomas Petazzoni via buildroot
@ 2026-01-13 19:47 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2026-01-13 19:47 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Arnout Vandecappelle, buildroot
In reply of:
> https://github.com/sustrik/libdill/pull/228
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to 2025.02.x and 2025.11.x. Thanks
> ---
> package/libdill/Config.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/libdill/Config.in b/package/libdill/Config.in
> index 2376fc9698..ec649c6600 100644
> --- a/package/libdill/Config.in
> +++ b/package/libdill/Config.in
> @@ -4,4 +4,4 @@ config BR2_PACKAGE_LIBDILL
> Libdill is a C library that makes writing structured
> concurrent programs easy.
>
> - http://libdill.org
> + https://sustrik.github.io/libdill/
> --
> 2.47.3
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] package/libdill: fix build with gcc-15.x
2026-01-01 18:00 [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Bernd Kuhls
2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
@ 2026-01-01 18:00 ` Bernd Kuhls
2026-01-01 22:32 ` [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Thomas Petazzoni via buildroot
2 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-01-01 18:00 UTC (permalink / raw)
To: buildroot; +Cc: Angelo Compagnucci
Adding -std=gnu17 was recommended in upstream PR:
https://github.com/sustrik/libdill/issues/229#issuecomment-2865524080
Fixes:
https://autobuild.buildroot.net/results/1a5/1a5e9d7df6c83a921cae39b4dc4b601be4d18e36/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/libdill/libdill.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/libdill/libdill.mk b/package/libdill/libdill.mk
index bea9aaeecb..453031a471 100644
--- a/package/libdill/libdill.mk
+++ b/package/libdill/libdill.mk
@@ -13,6 +13,13 @@ LIBDILL_INSTALL_STAGING = YES
LIBDILL_DEPENDENCIES = host-pkgconf
LIBDILL_AUTORECONF = YES
+# gcc-15 defaults to -std=gnu23 which introduces build failures.
+# We force "-std=gnu17" for gcc version supporting it. Earlier gcc
+# versions will work, since they are using the older standard.
+ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y)
+LIBDILL_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu17"
+endif
+
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBDILL_CONF_OPTS += --enable-threads
else
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf
2026-01-01 18:00 [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Bernd Kuhls
2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
2026-01-01 18:00 ` [Buildroot] [PATCH 3/3] package/libdill: fix build with gcc-15.x Bernd Kuhls
@ 2026-01-01 22:32 ` Thomas Petazzoni via buildroot
2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-01 22:32 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Angelo Compagnucci
On Thu, 1 Jan 2026 19:00:43 +0100
Bernd Kuhls <bernd@kuhls.net> wrote:
> Fixes error during autoreconf when openssl is not selected:
>
> configure.ac:119: error: possibly undefined macro: AC_CHECK_LIB
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:127: error: possibly undefined macro: AC_MSG_ERROR
>
> As it turns out adding host-pkgconf as mandatory dependency fixes the
> problem.
Ah indeed, host-pkgconf! Thanks for coming up so quickly with an
improved patch.
However, since when this problem is happening? Again, need to
understand if this needs to be backported to LTS or not.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-01-13 19:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-01 18:00 [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Bernd Kuhls
2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
2026-01-01 22:32 ` Thomas Petazzoni via buildroot
2026-01-13 19:47 ` Arnout Vandecappelle via buildroot
2026-01-01 18:00 ` [Buildroot] [PATCH 3/3] package/libdill: fix build with gcc-15.x Bernd Kuhls
2026-01-01 22:32 ` [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox