Re: [meta-arm] [PATCH] arm/edk2-basetools-native: add util-linux-native to DEPENDS

Jon Mason <[email protected]> Tue, 26 May 2026 09:46:24 -0400
Newsgroups org.yoctoproject.lists.meta-arm
Message-ID <CAPoiz9xSDLb53tCJ7jRmobO9F=7q9v-tRDUjj8mRo6tL0UdFWA@mail.gmail.com>
This issue was patched by Alex Chapman in
https://lists.yoctoproject.org/g/meta-arm/message/7057

Since that one looks more complete, I'm inclined to take that one.  If
you can verify and respond to it with your "Reviewed-by", then I'd be
appreciative (and you can get some credit for doing the work in the
git log).

Thanks,
Jon

On Mon, May 25, 2026 at 9:07=E2=80=AFAM Igor Opaniuk via
lists.yoctoproject.org
<[email protected]> wrote:
>
> The C host tools GenFv and GenFfs include <uuid/uuid.h> from libuuid,
> which is provided by util-linux. Without an explicit dependency the
> build relies on the header being present in the host system, which
> breaks reproducible builds and fails on hosts without uuid-dev
> installed:
>
>   GenFvInternalLib.c:21:10: fatal error: uuid/uuid.h: No such file or dir=
ectory
>      21 | #include <uuid/uuid.h>
>         |          ^~~~~~~~~~~~~
>   compilation terminated.
>
> Add util-linux-native to DEPENDS so libuuid is staged into the native
> sysroot before compilation.
>
> Signed-off-by: Igor Opaniuk <[email protected]>
> ---
>  meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb b/=
meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb
> index e2d927e2..35dc199c 100644
> --- a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb
> +++ b/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb
> @@ -25,6 +25,8 @@ UPSTREAM_CHECK_GITTAGREGEX =3D "^edk2-stable(?P<pver>\d=
+)$"
>
>  inherit native
>
> +DEPENDS +=3D "util-linux-native"
> +
>  RDEPENDS:${PN} +=3D "python3-core"
>
>  do_compile() {
> --
> 2.53.0
>
>
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7062): https://lists.yoctoproject.org/g/meta-arm/mess=
age/7062
> Mute This Topic: https://lists.yoctoproject.org/mt/119480149/3616920
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [jdmason@kud=
zu.us]
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>