Hi Pierrick, For what it's worth, those files were also breaking on Ubuntu and Debian for me. I had to explicitly `sudo apt install libfdt-dev` for it to work again. I don't believe it was installed at all previously, but QEMU was building and working correctly without it being explicitly installed.
Thanks, Nabih Nabih Estefan (he/him) | Software Engineer | nabiheste...@google.com | 857-308-9574 On Mon, Jun 2, 2025 at 11:41 AM Pierrick Bouvier <pierrick.bouv...@linaro.org> wrote: > > Hi Cédric, > > On 6/2/25 6:59 AM, Cédric Le Goater wrote: > > Hello Pierrick, > > > > On 5/30/25 09:11, Paolo Bonzini wrote: > >> From: Pierrick Bouvier <pierrick.bouv...@linaro.org> > >> > >> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> > >> Reviewed-by: Thomas Huth <th...@redhat.com> > >> Tested-by: Philippe Mathieu-Daudé <phi...@linaro.org> > >> Link: > >> https://lore.kernel.org/r/20250521223414.248276-3-pierrick.bouv...@linaro.org > >> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > >> --- > >> hw/arm/meson.build | 4 ++-- > >> 1 file changed, 2 insertions(+), 2 deletions(-) > >> > >> diff --git a/hw/arm/meson.build b/hw/arm/meson.build > >> index 5098795f61d..d90be8f4c94 100644 > >> --- a/hw/arm/meson.build > >> +++ b/hw/arm/meson.build > >> @@ -8,7 +8,7 @@ arm_common_ss.add(when: 'CONFIG_HIGHBANK', if_true: > >> files('highbank.c')) > >> arm_common_ss.add(when: 'CONFIG_INTEGRATOR', if_true: > >> files('integratorcp.c')) > >> arm_common_ss.add(when: 'CONFIG_MICROBIT', if_true: files('microbit.c')) > >> arm_common_ss.add(when: 'CONFIG_MPS3R', if_true: files('mps3r.c')) > >> -arm_common_ss.add(when: 'CONFIG_MUSICPAL', if_true: [pixman, > >> files('musicpal.c')]) > >> +arm_common_ss.add(when: 'CONFIG_MUSICPAL', if_true: [files('musicpal.c')]) > >> arm_common_ss.add(when: 'CONFIG_NETDUINOPLUS2', if_true: > >> files('netduinoplus2.c')) > >> arm_common_ss.add(when: 'CONFIG_OLIMEX_STM32_H405', if_true: > >> files('olimex-stm32-h405.c')) > >> arm_common_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx.c', > >> 'npcm7xx_boards.c')) > >> @@ -79,7 +79,7 @@ arm_common_ss.add(when: 'CONFIG_SX1', if_true: > >> files('omap_sx1.c')) > >> arm_common_ss.add(when: 'CONFIG_VERSATILE', if_true: > >> files('versatilepb.c')) > >> arm_common_ss.add(when: 'CONFIG_VEXPRESS', if_true: files('vexpress.c')) > >> > >> -arm_common_ss.add(fdt, files('boot.c')) > >> +arm_common_ss.add(files('boot.c')) > >> > >> hw_arch += {'arm': arm_ss} > >> hw_common_arch += {'arm': arm_common_ss} > > > > This commit breaks building these files on Windows: > > > > hw/arm/{boot.c,vexpress.c,imx8mp-evk.c,raspi4b.c} > > > > Error is : > > > > fatal error: libfdt.h: No such file or directory > > > > Thanks, > > > > Is libfdt available in your windows environment? If yes, is it in a non > standard path? > On my side, it built successfully, so I first need to reproduce this. > > Thanks, > Pierrick >