All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/avenger96_defconfig: fix CI build error due to a missing package for uboot
@ 2024-05-14 10:12 Marleen Vos via buildroot
  2024-05-14 15:49 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Marleen Vos via buildroot @ 2024-05-14 10:12 UTC (permalink / raw)
  To: buildroot; +Cc: Marleen Vos

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>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] configs/avenger96_defconfig: fix CI build error due to a missing package for uboot
  2024-05-14 10:12 [Buildroot] [PATCH 1/1] configs/avenger96_defconfig: fix CI build error due to a missing package for uboot Marleen Vos via buildroot
@ 2024-05-14 15:49 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2024-05-14 15:49 UTC (permalink / raw)
  To: marleen.vos; +Cc: Marleen Vos, buildroot

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

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-14 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-14 10:12 [Buildroot] [PATCH 1/1] configs/avenger96_defconfig: fix CI build error due to a missing package for uboot Marleen Vos via buildroot
2024-05-14 15:49 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.