From: Dave Voutila Subject: Re: a simple port, but i'm too stupid To: Stuart Henderson Cc: ports@openbsd.org Date: Tue, 05 Aug 2025 09:01:19 -0400 Jeremie Courreges-Anglas writes: > On Tue, Aug 05, 2025 at 08:17:56AM -0400, Dave Voutila wrote: >> Stuart Henderson writes: >> >> > You can probably just BUILD_DEPENDS on sysutils/e2fsprogs, I think that's basically the same uuid library as in >> > utils-linux. >> > >> >> Sadly it doesn't appear to be or the way e2fsprogs installs it, it >> doesn't work. /shrug >> >> > Alternatively you can often patch to use the uuid functions we have in libc without too much trouble. >> >> That might be a good option now that you mention it. I'll take a >> peek. Either UEFI or the edk2 implementation seems full of GUIDs and i >> don't see why there would be anything special in the utils-linux >> version. > > Are those uuid functions needed for some build-time only tools? Or > are they supposed to be used as part of the edk2 image? If the > latter, you don't need libuuid.so but a specially built libuuid > targetting bare metal/the EFI ABI. I believe it's build-time only as it's used by a build tool that helps assemble the resulting firmware image. I see no references to it in the actual firmware code.