Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork()
@ 2025-12-16  9:35 Joachim Wiberg
  2025-12-16  9:35 ` [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2 Joachim Wiberg
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Joachim Wiberg @ 2025-12-16  9:35 UTC (permalink / raw)
  To: buildroot; +Cc: Joachim Wiberg

Unfortunately, parts of the library is not very no-MMU friendly atm.
The below check fails due to runbg.c requiring fork().

$ ./utils/test-pkg -c libite.config -p libite
                    bootlin-armv5-uclibc [1/6]: OK
                     bootlin-armv7-glibc [2/6]: OK
                   bootlin-armv7m-uclibc [3/6]: FAILED
                     bootlin-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                             arm-aarch64 [6/6]: OK

The dependency was introduced in libite v2.6.0, so this patch should
probably be backported to v2025.02.x.

Fixes:

 https://autobuild.buildroot.net/results/6c6fd2ae410a82c44da54ee13a09a38a7ab220c1/

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>

---
v1 -> v2:

- Clarify this is a fix that applies to previous versions, including LTS
- Link to relevant autobuilder failure

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
---
 package/libite/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libite/Config.in b/package/libite/Config.in
index 80d29791db..516d1bff98 100644
--- a/package/libite/Config.in
+++ b/package/libite/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBITE
 	bool "libite"
+	depends on BR2_USE_MMU # fork()
 	help
 	  Libite is a lightweight library of frog DNA. It can be used
 	  to fill the gaps in any dinosaur project. It holds useful
-- 
2.43.0

_______________________________________________
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 v2 2/2] package/libite: bump to v2.6.2
  2025-12-16  9:35 [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork() Joachim Wiberg
@ 2025-12-16  9:35 ` Joachim Wiberg
  2026-02-04 13:14   ` Thomas Petazzoni via buildroot
  2026-02-13 19:37   ` Thomas Perale via buildroot
  2026-02-04 13:13 ` [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork() Thomas Petazzoni via buildroot
  2026-02-13 19:37 ` Thomas Perale via buildroot
  2 siblings, 2 replies; 6+ messages in thread
From: Joachim Wiberg @ 2025-12-16  9:35 UTC (permalink / raw)
  To: buildroot; +Cc: Joachim Wiberg

Changes:
- Fix memory leak in which() on realloc() failure
- Fix pidfile() to handle missing trailing slash in prefix path

https://github.com/troglobit/libite/releases/tag/v2.6.2

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
---
 package/libite/libite.hash | 4 ++--
 package/libite/libite.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libite/libite.hash b/package/libite/libite.hash
index 3abad09b0a..c593f7a66d 100644
--- a/package/libite/libite.hash
+++ b/package/libite/libite.hash
@@ -1,7 +1,7 @@
 # Upstream .sha256 from GitHub
-sha256  0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b  libite-2.6.1.tar.xz
+sha256  0550ac5670836db85569786e00860d1d6999df8f74005307c290371c990e1dbd  libite-2.6.2.tar.xz
 
 # Locally calculated
 sha256  3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422  LICENSE
 sha256  c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14  src/chomp.c
-sha256  bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918  src/pidfile.c
+sha256  b6cc7074a27b26ee4e1ccda8d634d485d0f6f819e564c663c28ed61f4cc2b451  src/pidfile.c
diff --git a/package/libite/libite.mk b/package/libite/libite.mk
index e4bd845487..beb8c27ba7 100644
--- a/package/libite/libite.mk
+++ b/package/libite/libite.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBITE_VERSION = 2.6.1
+LIBITE_VERSION = 2.6.2
 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz
 LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION)
 LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause
-- 
2.43.0

_______________________________________________
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 v2 1/2] package/libite: fix missing deps, requires fork()
  2025-12-16  9:35 [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork() Joachim Wiberg
  2025-12-16  9:35 ` [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2 Joachim Wiberg
@ 2026-02-04 13:13 ` Thomas Petazzoni via buildroot
  2026-02-13 19:37 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-02-04 13:13 UTC (permalink / raw)
  To: Joachim Wiberg; +Cc: buildroot

Hello Joachim,

Thanks for the patch. I've updated the commit title to:

  package/libite: add dependency on MMU, requires fork()

which is a bit more useful.

On Tue, Dec 16, 2025 at 10:35:33AM +0100, Joachim Wiberg wrote:
> Unfortunately, parts of the library is not very no-MMU friendly atm.
> The below check fails due to runbg.c requiring fork().
> 
> $ ./utils/test-pkg -c libite.config -p libite
>                     bootlin-armv5-uclibc [1/6]: OK
>                      bootlin-armv7-glibc [2/6]: OK
>                    bootlin-armv7m-uclibc [3/6]: FAILED
>                      bootlin-x86-64-musl [4/6]: OK
>                       br-arm-full-static [5/6]: OK
>                              arm-aarch64 [6/6]: OK
> 
> The dependency was introduced in libite v2.6.0, so this patch should
> probably be backported to v2025.02.x.

Why "probably": it should be backported. So I've dropped the
"probably".

Applied with those changes, 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

* Re: [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2
  2025-12-16  9:35 ` [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2 Joachim Wiberg
@ 2026-02-04 13:14   ` Thomas Petazzoni via buildroot
  2026-02-13 19:37   ` Thomas Perale via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-02-04 13:14 UTC (permalink / raw)
  To: Joachim Wiberg; +Cc: buildroot

Hello Joachim,

On Tue, Dec 16, 2025 at 10:35:34AM +0100, Joachim Wiberg wrote:

>  # Locally calculated
>  sha256  3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422  LICENSE
>  sha256  c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14  src/chomp.c
> -sha256  bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918  src/pidfile.c
> +sha256  b6cc7074a27b26ee4e1ccda8d634d485d0f6f819e564c663c28ed61f4cc2b451  src/pidfile.c

We normally require changes to license files to be explained in the
commit message, so I've amended the commit message with some details
about this and applied.

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

* Re: [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2
  2025-12-16  9:35 ` [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2 Joachim Wiberg
  2026-02-04 13:14   ` Thomas Petazzoni via buildroot
@ 2026-02-13 19:37   ` Thomas Perale via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2026-02-13 19:37 UTC (permalink / raw)
  To: Joachim Wiberg; +Cc: Thomas Perale, buildroot

In reply of:
> Changes:
> - Fix memory leak in which() on realloc() failure
> - Fix pidfile() to handle missing trailing slash in prefix path
> 
> https://github.com/troglobit/libite/releases/tag/v2.6.2
> 
> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>

Applied to 2025.02.x & 2025.11.x. Thanks

> ---
>  package/libite/libite.hash | 4 ++--
>  package/libite/libite.mk   | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/libite/libite.hash b/package/libite/libite.hash
> index 3abad09b0a..c593f7a66d 100644
> --- a/package/libite/libite.hash
> +++ b/package/libite/libite.hash
> @@ -1,7 +1,7 @@
>  # Upstream .sha256 from GitHub
> -sha256  0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b  libite-2.6.1.tar.xz
> +sha256  0550ac5670836db85569786e00860d1d6999df8f74005307c290371c990e1dbd  libite-2.6.2.tar.xz
>  
>  # Locally calculated
>  sha256  3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422  LICENSE
>  sha256  c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14  src/chomp.c
> -sha256  bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918  src/pidfile.c
> +sha256  b6cc7074a27b26ee4e1ccda8d634d485d0f6f819e564c663c28ed61f4cc2b451  src/pidfile.c
> diff --git a/package/libite/libite.mk b/package/libite/libite.mk
> index e4bd845487..beb8c27ba7 100644
> --- a/package/libite/libite.mk
> +++ b/package/libite/libite.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -LIBITE_VERSION = 2.6.1
> +LIBITE_VERSION = 2.6.2
>  LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz
>  LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION)
>  LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause
> -- 
> 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] 6+ messages in thread

* Re: [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork()
  2025-12-16  9:35 [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork() Joachim Wiberg
  2025-12-16  9:35 ` [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2 Joachim Wiberg
  2026-02-04 13:13 ` [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork() Thomas Petazzoni via buildroot
@ 2026-02-13 19:37 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2026-02-13 19:37 UTC (permalink / raw)
  To: Joachim Wiberg; +Cc: Thomas Perale, buildroot

In reply of:
> Unfortunately, parts of the library is not very no-MMU friendly atm.
> The below check fails due to runbg.c requiring fork().
> 
> $ ./utils/test-pkg -c libite.config -p libite
>                     bootlin-armv5-uclibc [1/6]: OK
>                      bootlin-armv7-glibc [2/6]: OK
>                    bootlin-armv7m-uclibc [3/6]: FAILED
>                      bootlin-x86-64-musl [4/6]: OK
>                       br-arm-full-static [5/6]: OK
>                              arm-aarch64 [6/6]: OK
> 
> The dependency was introduced in libite v2.6.0, so this patch should
> probably be backported to v2025.02.x.
> 
> Fixes:
> 
>  https://autobuild.buildroot.net/results/6c6fd2ae410a82c44da54ee13a09a38a7ab220c1/
> 
> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
> 

Applied to 2025.02.x & 2025.11.x. Thanks

> ---
> v1 -> v2:
> 
> - Clarify this is a fix that applies to previous versions, including LTS
> - Link to relevant autobuilder failure
> 
> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
> ---
>  package/libite/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/libite/Config.in b/package/libite/Config.in
> index 80d29791db..516d1bff98 100644
> --- a/package/libite/Config.in
> +++ b/package/libite/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_LIBITE
>  	bool "libite"
> +	depends on BR2_USE_MMU # fork()
>  	help
>  	  Libite is a lightweight library of frog DNA. It can be used
>  	  to fill the gaps in any dinosaur project. It holds useful
> -- 
> 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] 6+ messages in thread

end of thread, other threads:[~2026-02-13 19:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-16  9:35 [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork() Joachim Wiberg
2025-12-16  9:35 ` [Buildroot] [PATCH v2 2/2] package/libite: bump to v2.6.2 Joachim Wiberg
2026-02-04 13:14   ` Thomas Petazzoni via buildroot
2026-02-13 19:37   ` Thomas Perale via buildroot
2026-02-04 13:13 ` [Buildroot] [PATCH v2 1/2] package/libite: fix missing deps, requires fork() Thomas Petazzoni via buildroot
2026-02-13 19:37 ` 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