All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libite: bump to v2.6.2
@ 2025-12-15 22:30 Joachim Wiberg
  2025-12-15 22:30 ` [Buildroot] [PATCH 2/2] package/libite: update deps, requires fork() Joachim Wiberg
  0 siblings, 1 reply; 5+ messages in thread
From: Joachim Wiberg @ 2025-12-15 22:30 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] 5+ messages in thread

* [Buildroot] [PATCH 2/2] package/libite: update deps, requires fork()
  2025-12-15 22:30 [Buildroot] [PATCH 1/2] package/libite: bump to v2.6.2 Joachim Wiberg
@ 2025-12-15 22:30 ` Joachim Wiberg
  2025-12-16  7:42   ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 5+ messages in thread
From: Joachim Wiberg @ 2025-12-15 22:30 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

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] 5+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/libite: update deps, requires fork()
  2025-12-15 22:30 ` [Buildroot] [PATCH 2/2] package/libite: update deps, requires fork() Joachim Wiberg
@ 2025-12-16  7:42   ` Thomas Petazzoni via buildroot
  2025-12-16  9:04     ` Joachim Wiberg
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-12-16  7:42 UTC (permalink / raw)
  To: Joachim Wiberg; +Cc: buildroot

Hello Joachim,

On Mon, 15 Dec 2025 23:30:50 +0100
Joachim Wiberg <troglobit@gmail.com> 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
> 
> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>

Thanks for the patch. My understanding is that this is a fix, unrelated
to the bump to 2.6.2. Indeed the current version 2.6.1 is similarly
affected.

Therefore:

- This patch should be PATCH 1/2 in the series, as it's a fix, needed
  regardless of the bump

- You should indicate since when this issue exists so that we can
  understand whether this fix should be backported to our LTS branch or
  not

- You should add a reference to an autobuilder failure that this commit
  will fix, like this:

  Fixes:

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

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] 5+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/libite: update deps, requires fork()
  2025-12-16  7:42   ` Thomas Petazzoni via buildroot
@ 2025-12-16  9:04     ` Joachim Wiberg
  2025-12-16  9:10       ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 5+ messages in thread
From: Joachim Wiberg @ 2025-12-16  9:04 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot

Hi Thomas!

On Tue, 2025-12-16 at 08:42 +0100, Thomas Petazzoni wrote:
> On Mon, 15 Dec 2025 Joachim Wiberg <troglobit@gmail.com> wrote:
> > Unfortunately, parts of the library is not very no-MMU friendly atm.
> >                    bootlin-armv7m-uclibc [3/6]: FAILED
> Thanks for the patch. My understanding is that this is a fix,
> unrelated to the bump to 2.6.2. Indeed the current version 2.6.1 is
> similarly affected.

Correct, was unsure if I should send it as a separate patch altogether.

> Therefore:
> - This patch should be PATCH 1/2 in the series, as it's a fix, needed
>   regardless of the bump
> - You should indicate since when this issue exists so that we can
>   understand whether this fix should be backported to our LTS branch 
> or not

Got it!  It is, so I'll send a v2 to fix this and clarify.

> - You should add a reference to an autobuilder failure that this
> commit will fix, like this:
>   Fixes:
> https://autobuild.buildroot.net/results/6c6fd2ae410a82c44da54ee13a09a38a7ab220c1/

Aha, didn't even realize there were failures already reported for this.
I just stumbled upon it basically 🙂

Best regards
 /Joachim

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 2/2] package/libite: update deps, requires fork()
  2025-12-16  9:04     ` Joachim Wiberg
@ 2025-12-16  9:10       ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-12-16  9:10 UTC (permalink / raw)
  To: Joachim Wiberg; +Cc: buildroot

Hello Joachim,

On Tue, 16 Dec 2025 10:04:02 +0100
Joachim Wiberg <troglobit@gmail.com> wrote:

> Got it!  It is, so I'll send a v2 to fix this and clarify.

Thanks!

> > https://autobuild.buildroot.net/results/6c6fd2ae410a82c44da54ee13a09a38a7ab220c1/  
> 
> Aha, didn't even realize there were failures already reported for this.
> I just stumbled upon it basically 🙂

Since you are listed in the DEVELOPERS file for package/libite, you
should be receiving every day a report with the build failures that
occurred for your package(s). Something like:

Subject: [autobuild.buildroot.org] Your daily results for 2025-12-15

(Of course the mail is only sent if some build failures happened for
one of your packages, if not, no mail is sent)

Best regards,

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] 5+ messages in thread

end of thread, other threads:[~2025-12-16  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-15 22:30 [Buildroot] [PATCH 1/2] package/libite: bump to v2.6.2 Joachim Wiberg
2025-12-15 22:30 ` [Buildroot] [PATCH 2/2] package/libite: update deps, requires fork() Joachim Wiberg
2025-12-16  7:42   ` Thomas Petazzoni via buildroot
2025-12-16  9:04     ` Joachim Wiberg
2025-12-16  9:10       ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.