* [Buildroot] [PATCH 1/1] package/libbsd: fix build with uclibc
@ 2025-12-26 18:12 Dario Binacchi
2026-02-04 12:43 ` Thomas Petazzoni via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Dario Binacchi @ 2025-12-26 18:12 UTC (permalink / raw)
To: buildroot; +Cc: linux-amarula, Dario Binacchi
Building the package with uClibc raises the following error:
Configure: error: unknown ABI selection for time_macros
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
.../libbsd/0001-build-add-uClibc-case.patch | 31 +++++++++++++++++++
package/libbsd/libbsd.mk | 1 +
2 files changed, 32 insertions(+)
create mode 100644 package/libbsd/0001-build-add-uClibc-case.patch
diff --git a/package/libbsd/0001-build-add-uClibc-case.patch b/package/libbsd/0001-build-add-uClibc-case.patch
new file mode 100644
index 000000000000..e826c8e5662f
--- /dev/null
+++ b/package/libbsd/0001-build-add-uClibc-case.patch
@@ -0,0 +1,31 @@
+From da488ba5efe20b115e030c9212403358ff313d0a Mon Sep 17 00:00:00 2001
+From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
+Date: Fri, 19 Dec 2025 12:08:39 +0100
+Subject: [PATCH] build: add uClibc case
+
+Building the package in Buildroot with uClibc raises the following error:
+
+Configure: error: unknown ABI selection for time_macros
+
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
+Upstream: https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/32
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2a15d720f9db..55cbb2d7837a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -148,7 +148,7 @@ AS_CASE([$host_os],
+ abi_vis=yes
+ abi_wcsl=yes
+ ],
+- [*-musl*], [
++ [*-musl* | *-uclibc*], [
+ api_time_macros=no
+
+ abi_accmode=yes
+--
+2.43.0
+
diff --git a/package/libbsd/libbsd.mk b/package/libbsd/libbsd.mk
index 557b49fca6ff..4cc207618820 100644
--- a/package/libbsd/libbsd.mk
+++ b/package/libbsd/libbsd.mk
@@ -11,6 +11,7 @@ LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-5-Clause, \
MIT, ISC, Beerware
LIBBSD_LICENSE_FILES = COPYING
LIBBSD_CPE_ID_VENDOR = freedesktop
+LIBBSD_AUTORECONF = YES
LIBBSD_INSTALL_STAGING = YES
LIBBSD_DEPENDENCIES = libmd
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libbsd: fix build with uclibc
2025-12-26 18:12 [Buildroot] [PATCH 1/1] package/libbsd: fix build with uclibc Dario Binacchi
@ 2026-02-04 12:43 ` Thomas Petazzoni via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-02-04 12:43 UTC (permalink / raw)
To: Dario Binacchi; +Cc: buildroot, linux-amarula
Hello Dario,
On Fri, Dec 26, 2025 at 07:12:15PM +0100, Dario Binacchi wrote:
> Building the package with uClibc raises the following error:
>
> Configure: error: unknown ABI selection for time_macros
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Thanks for the patch. However, the upstream feedback was that your
patch wasn't quite correct. So I took upstream's feedback into
account, created a new patch and a new merge request.
Aside from that, your Buildroot message was missing some important
information: since when the problem was happening, and a reference to
the autobuilder issues being fixed.
The final commit is:
https://gitlab.com/buildroot.org/buildroot/-/commit/c0fd48dc2651a8c60ca82bef760670b3a62ab621
Thanks a lot,
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] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libbsd: fix build with uclibc
2025-12-26 18:12 [Buildroot] [PATCH 1/1] package/libbsd: fix build with uclibc Dario Binacchi
2026-02-04 12:43 ` Thomas Petazzoni via buildroot
@ 2026-02-13 19:36 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-02-13 19:36 UTC (permalink / raw)
To: Dario Binacchi; +Cc: Thomas Perale, buildroot
In reply of:
> Building the package with uClibc raises the following error:
>
> Configure: error: unknown ABI selection for time_macros
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Applied to 2025.11.x. Thanks
> ---
> .../libbsd/0001-build-add-uClibc-case.patch | 31 +++++++++++++++++++
> package/libbsd/libbsd.mk | 1 +
> 2 files changed, 32 insertions(+)
> create mode 100644 package/libbsd/0001-build-add-uClibc-case.patch
>
> diff --git a/package/libbsd/0001-build-add-uClibc-case.patch b/package/libbsd/0001-build-add-uClibc-case.patch
> new file mode 100644
> index 000000000000..e826c8e5662f
> --- /dev/null
> +++ b/package/libbsd/0001-build-add-uClibc-case.patch
> @@ -0,0 +1,31 @@
> +From da488ba5efe20b115e030c9212403358ff313d0a Mon Sep 17 00:00:00 2001
> +From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> +Date: Fri, 19 Dec 2025 12:08:39 +0100
> +Subject: [PATCH] build: add uClibc case
> +
> +Building the package in Buildroot with uClibc raises the following error:
> +
> +Configure: error: unknown ABI selection for time_macros
> +
> +Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> +Upstream: https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/32
> +---
> + configure.ac | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index 2a15d720f9db..55cbb2d7837a 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -148,7 +148,7 @@ AS_CASE([$host_os],
> + abi_vis=yes
> + abi_wcsl=yes
> + ],
> +- [*-musl*], [
> ++ [*-musl* | *-uclibc*], [
> + api_time_macros=no
> +
> + abi_accmode=yes
> +--
> +2.43.0
> +
> diff --git a/package/libbsd/libbsd.mk b/package/libbsd/libbsd.mk
> index 557b49fca6ff..4cc207618820 100644
> --- a/package/libbsd/libbsd.mk
> +++ b/package/libbsd/libbsd.mk
> @@ -11,6 +11,7 @@ LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-5-Clause, \
> MIT, ISC, Beerware
> LIBBSD_LICENSE_FILES = COPYING
> LIBBSD_CPE_ID_VENDOR = freedesktop
> +LIBBSD_AUTORECONF = YES
> LIBBSD_INSTALL_STAGING = YES
> LIBBSD_DEPENDENCIES = libmd
>
> --
> 2.43.0
>
> _______________________________________________
> 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] 3+ messages in thread
end of thread, other threads:[~2026-02-13 19:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-26 18:12 [Buildroot] [PATCH 1/1] package/libbsd: fix build with uclibc Dario Binacchi
2026-02-04 12:43 ` Thomas Petazzoni via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox