Message ID | 20240514101244.1067520-1-marleen.vos@mind.be |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] configs/avenger96_defconfig: fix CI build error due to a missing package for uboot | expand |
Marleen, All, On 2024-05-14 12:12 +0200, Marleen Vos via buildroot spake thusly: > From: Marleen Vos <marleen.vos@mind.be> > > This refers to https://gitlab.com/buildroot.org/buildroot/-/jobs/6813124907 > The build error referenced in that link is: > > error: command 'swig' failed: No such file or directory > make[4]: *** [scripts/dtc/pylibfdt/Makefile:33: rebuild] Error 1 > make[3]: *** [scripts/Makefile.build:397: scripts/dtc/pylibfdt] Error 2 > make[2]: *** [Makefile:2014: scripts_dtc] Error 2 > make[1]: *** [package/pkg-generic.mk:283: /builds/buildroot.org/buildroot/output/build/uboot-2024.01/.stamp_built] Error 2 > make: *** [Makefile:82: _all] Error 2 > > BR2_TARGET_UBOOT_NEEDS_PYLIBFDT is added to the avenger96_defconfig in order to resolve the issue > > Signed-off-by: Marleen Vos <marleen.vos@mind.be> Applied to master, thanks. While you're looking at this defconfig, could look into adding hashes for the custom versions it uses? See for example: 5efa5e9023 configs/armadeus_apf27: add hashes for Linux/U-Boot Regards, Yann E. MORIN. > --- > configs/avenger96_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig > index f73b654dc8..64cfb3c2b0 100644 > --- a/configs/avenger96_defconfig > +++ b/configs/avenger96_defconfig > @@ -47,6 +47,7 @@ BR2_TARGET_UBOOT_FORMAT_DTB=y > BR2_TARGET_UBOOT_FORMAT_CUSTOM=y > BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" > BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp15xx-dhcor-avenger96" > +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y > > # Additional tools > BR2_PACKAGE_HOST_GENIMAGE=y > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig index f73b654dc8..64cfb3c2b0 100644 --- a/configs/avenger96_defconfig +++ b/configs/avenger96_defconfig @@ -47,6 +47,7 @@ BR2_TARGET_UBOOT_FORMAT_DTB=y BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp15xx-dhcor-avenger96" +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y # Additional tools BR2_PACKAGE_HOST_GENIMAGE=y