[PATCH] build: error out when missing elftools python module
Thomas Monjalon
thomas at monjalon.net
Sun Jun 29 22:50:05 CEST 2025
27/06/2025 17:27, Bruce Richardson:
> In the case where we use the meson python "find_installation()" function
> to get our python binary, we can fail the configure/setup step if the
> elftools module is missing. This avoids later errors on build when the
> module is missed.
>
> Old output (error logged and config continues):
>
> Program python3 (elftools) found: NO
>
> New output:
> Program python3 found: YES (/usr/bin/python3)
> Program python3 (elftools) found: NO
>
> ../buildtools/meson.build:15:31: ERROR: python3 is missing modules: elftools
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks.
More information about the dev
mailing list