All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/util-linux: Fix host uuidd build configuration
@ 2025-12-10 10:29 Kory Maincent via buildroot
  2025-12-10 13:57 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 6+ messages in thread
From: Kory Maincent via buildroot @ 2025-12-10 10:29 UTC (permalink / raw)
  To: buildroot; +Cc: Kory Maincent, thomas.petazzoni

The host build had conflicting configuration options where libuuid was
simultaneously enabled and disabled. Although comments explicitly stated
that libuuid should be enabled for the host, the --disable-uuidd flag
was preventing the uuid tools from being built and installed.

Remove the --disable-uuidd configure parameter to allow the uuid tools
to build properly on the host side.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
 package/util-linux/util-linux.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index ed30c0b107..bfcb91232d 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -258,7 +258,6 @@ HOST_UTIL_LINUX_CONF_OPTS += \
 	--disable-tunelp \
 	--disable-ul \
 	--disable-unshare \
-	--disable-uuidd \
 	--disable-vipw \
 	--disable-wall \
 	--disable-wdctl \
-- 
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] package/util-linux: Fix host uuidd build configuration
  2025-12-10 10:29 [Buildroot] [PATCH] package/util-linux: Fix host uuidd build configuration Kory Maincent via buildroot
@ 2025-12-10 13:57 ` Thomas Petazzoni via buildroot
  2025-12-10 14:13   ` Kory Maincent via buildroot
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-12-10 13:57 UTC (permalink / raw)
  To: Kory Maincent; +Cc: buildroot

Hello,

On Wed, 10 Dec 2025 10:29:39 +0000
Kory Maincent <kory.maincent@bootlin.com> wrote:

> The host build had conflicting configuration options where libuuid was
> simultaneously enabled and disabled. Although comments explicitly stated
> that libuuid should be enabled for the host, the --disable-uuidd flag
> was preventing the uuid tools from being built and installed.

Sorry, but I don't really understand the conflict. --enable-libuuid to
me does not conflict with --disable-uuidd. --enable-libuuid enables the
libuuid library, --disable-uuidd disables the uuidd daemon, which can
optionally be used by libuuid, but isn't strictly needed.

Which specific tool was missing in your case?

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] package/util-linux: Fix host uuidd build configuration
  2025-12-10 13:57 ` Thomas Petazzoni via buildroot
@ 2025-12-10 14:13   ` Kory Maincent via buildroot
  2025-12-10 14:26     ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 6+ messages in thread
From: Kory Maincent via buildroot @ 2025-12-10 14:13 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot

On Wed, 10 Dec 2025 14:57:15 +0100
Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> Hello,
> 
> On Wed, 10 Dec 2025 10:29:39 +0000
> Kory Maincent <kory.maincent@bootlin.com> wrote:
> 
> > The host build had conflicting configuration options where libuuid was
> > simultaneously enabled and disabled. Although comments explicitly stated
> > that libuuid should be enabled for the host, the --disable-uuidd flag
> > was preventing the uuid tools from being built and installed.  
> 
> Sorry, but I don't really understand the conflict. --enable-libuuid to
> me does not conflict with --disable-uuidd. --enable-libuuid enables the
> libuuid library, --disable-uuidd disables the uuidd daemon, which can
> optionally be used by libuuid, but isn't strictly needed.

Oh wow, my brain read --enable-uuid and --disable-uuid.
uuid and libuuid are indeed two distinct things, sorry for the confusion.
 
> Which specific tool was missing in your case?

I was needing the uuidgen tool on my case.
That why I need to enable uuid.

Regards,
-- 
Köry Maincent, 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] package/util-linux: Fix host uuidd build configuration
  2025-12-10 14:13   ` Kory Maincent via buildroot
@ 2025-12-10 14:26     ` Thomas Petazzoni via buildroot
  2025-12-10 14:38       ` Kory Maincent via buildroot
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-12-10 14:26 UTC (permalink / raw)
  To: Kory Maincent; +Cc: buildroot

Hello,

On Wed, 10 Dec 2025 15:13:37 +0100
Kory Maincent <kory.maincent@bootlin.com> wrote:

> > Sorry, but I don't really understand the conflict. --enable-libuuid to
> > me does not conflict with --disable-uuidd. --enable-libuuid enables the
> > libuuid library, --disable-uuidd disables the uuidd daemon, which can
> > optionally be used by libuuid, but isn't strictly needed.  
> 
> Oh wow, my brain read --enable-uuid and --disable-uuid.
> uuid and libuuid are indeed two distinct things, sorry for the confusion.
>  
> > Which specific tool was missing in your case?  
> 
> I was needing the uuidgen tool on my case.
> That why I need to enable uuid.

And --enable-uuidd controls whether uuidgen is built?

I'll generally be fine with dropping --disable-uiidd, but please
provide a good commit log, explaining the difference in build time
(since it's a host package, we don't care about the difference in
installed size). I presume the build time difference will be minimal if
not negligible.

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] package/util-linux: Fix host uuidd build configuration
  2025-12-10 14:26     ` Thomas Petazzoni via buildroot
@ 2025-12-10 14:38       ` Kory Maincent via buildroot
  2025-12-10 14:59         ` Kory Maincent via buildroot
  0 siblings, 1 reply; 6+ messages in thread
From: Kory Maincent via buildroot @ 2025-12-10 14:38 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot

On Wed, 10 Dec 2025 15:26:57 +0100
Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> Hello,
> 
> On Wed, 10 Dec 2025 15:13:37 +0100
> Kory Maincent <kory.maincent@bootlin.com> wrote:
> 
> > > Sorry, but I don't really understand the conflict. --enable-libuuid to
> > > me does not conflict with --disable-uuidd. --enable-libuuid enables the
> > > libuuid library, --disable-uuidd disables the uuidd daemon, which can
> > > optionally be used by libuuid, but isn't strictly needed.    
> > 
> > Oh wow, my brain read --enable-uuid and --disable-uuid.
> > uuid and libuuid are indeed two distinct things, sorry for the confusion.
> >    
> > > Which specific tool was missing in your case?    
> > 
> > I was needing the uuidgen tool on my case.
> > That why I need to enable uuid.  
> 
> And --enable-uuidd controls whether uuidgen is built?

yes.

> I'll generally be fine with dropping --disable-uiidd, but please
> provide a good commit log, explaining the difference in build time
> (since it's a host package, we don't care about the difference in
> installed size). I presume the build time difference will be minimal if
> not negligible.

Yes sure, I will!

Regards,
-- 
Köry Maincent, 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] package/util-linux: Fix host uuidd build configuration
  2025-12-10 14:38       ` Kory Maincent via buildroot
@ 2025-12-10 14:59         ` Kory Maincent via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Kory Maincent via buildroot @ 2025-12-10 14:59 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot

On Wed, 10 Dec 2025 15:38:55 +0100
Kory Maincent <kory.maincent@bootlin.com> wrote:

> On Wed, 10 Dec 2025 15:26:57 +0100
> Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
> 
> > Hello,
> > 
> > On Wed, 10 Dec 2025 15:13:37 +0100
> > Kory Maincent <kory.maincent@bootlin.com> wrote:
> >   
> > > > Sorry, but I don't really understand the conflict. --enable-libuuid to
> > > > me does not conflict with --disable-uuidd. --enable-libuuid enables the
> > > > libuuid library, --disable-uuidd disables the uuidd daemon, which can
> > > > optionally be used by libuuid, but isn't strictly needed.      
> > > 
> > > Oh wow, my brain read --enable-uuid and --disable-uuid.
> > > uuid and libuuid are indeed two distinct things, sorry for the confusion.
> > >      
> > > > Which specific tool was missing in your case?      
> > > 
> > > I was needing the uuidgen tool on my case.
> > > That why I need to enable uuid.    
> > 
> > And --enable-uuidd controls whether uuidgen is built?  
> 
> yes.

In fact this patch is not needed. I was confused about the built result when
having BR2_PACKAGE_HOST_UTIL_LINUX set or not.
If it is set the uuidgen tool is well built.
Sorry for the noise, it seems I need vacation! ;)

Regards,
-- 
Köry Maincent, 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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-10 10:29 [Buildroot] [PATCH] package/util-linux: Fix host uuidd build configuration Kory Maincent via buildroot
2025-12-10 13:57 ` Thomas Petazzoni via buildroot
2025-12-10 14:13   ` Kory Maincent via buildroot
2025-12-10 14:26     ` Thomas Petazzoni via buildroot
2025-12-10 14:38       ` Kory Maincent via buildroot
2025-12-10 14:59         ` Kory Maincent 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.