[Buildroot] Adding BR2_PACKAGE_PYTHON3 make U-Boot build fail

Jonatan Hatakeyama Zeidler jonatan.zeidler at brainlab.com
Tue Sep 15 12:55:08 UTC 2020


Hello,

my buildroot config (attached) works fine and produces a bootable
build. Now I want to add Python 3 to the root fs. But adding
BR2_PACKAGE_PYTHON3=y leads to a build error in u-boot:

./arch/arm/mach-k3/make_fit.py am65xx_phycore_kit \
arch/arm/dts/k3-am65xx-phycore-kit.dtb > u-boot.its
  CAT     u-boot-dtb.bin
  COPY    u-boot.dtb
  MKIMAGE u-boot-dtb.img
  COPY    u-boot.bin
Traceback (most recent call last):
  File "./arch/arm/mach-k3/make_fit.py", line 155, in <module>
    main()
  File "./arch/arm/mach-k3/make_fit.py", line 151, in main
    generate_its(board, dtbs)
  File "./arch/arm/mach-k3/make_fit.py", line 127, in generate_its
    overlays=generate_fdts(get_overlays(board), dtbdir))
  File "./arch/arm/mach-k3/make_fit.py", line 75, in get_overlays
    m = r.match(l)
TypeError: cannot use a string pattern on a bytes-like object

How is it possible that a target package affects the build tools? And
how can I solve that?

Thanks
Jonatan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: phycore-am65x_defconfig
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200915/6ea55fce/attachment.ksh>


More information about the buildroot mailing list