* [Buildroot] [PATCH 0/2] Fixes for binman after python-setuptools update
@ 2026-03-16 17:02 Vincent Stehlé
2026-03-16 17:02 ` [Buildroot] [PATCH 1/2] support/testing: bump test_atf u-boot to fix the build Vincent Stehlé
2026-03-16 17:02 ` [Buildroot] [PATCH 2/2] configs/iot-gate-imx8_ebbr: bump " Vincent Stehlé
0 siblings, 2 replies; 4+ messages in thread
From: Vincent Stehlé @ 2026-03-16 17:02 UTC (permalink / raw)
To: buildroot; +Cc: Vincent Stehlé, James Hilliard, Julien Olivain
Hi,
Here is a couple of patches after the python-setuptools update.
The defconfig has been tested to boot from eMMC on an IOT-GATE-iMX8 board.
Best regards,
Vincent.
Vincent Stehlé (2):
support/testing: bump test_atf u-boot to fix the build
configs/iot-gate-imx8_ebbr: bump u-boot to fix the build
configs/iot-gate-imx8_ebbr_defconfig | 2 +-
support/testing/tests/boot/test_atf.py | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
--
2.51.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] support/testing: bump test_atf u-boot to fix the build
2026-03-16 17:02 [Buildroot] [PATCH 0/2] Fixes for binman after python-setuptools update Vincent Stehlé
@ 2026-03-16 17:02 ` Vincent Stehlé
2026-03-16 20:57 ` Julien Olivain via buildroot
2026-03-16 17:02 ` [Buildroot] [PATCH 2/2] configs/iot-gate-imx8_ebbr: bump " Vincent Stehlé
1 sibling, 1 reply; 4+ messages in thread
From: Vincent Stehlé @ 2026-03-16 17:02 UTC (permalink / raw)
To: buildroot; +Cc: Vincent Stehlé, James Hilliard, Julien Olivain
Python setuptools has removed the obsolete pkg_resources python module in
v82.0.0. This module is used by the binman command in U-Boot until
v2025.10.
Since the python-setuptools package has been updated to v82.0.0 in
Buildroot, the python test tests.boot.test_atf.TestATFAllwinner (using
U-Boot v2023.10 and binman) fails to build with the following error [1]:
ModuleNotFoundError: No module named 'pkg_resources'
Update test_atf to use a more recent U-Boot v2026.01 (and add the
dependency on GNU TLS), to fix the build.
Link: https://gitlab.com/buildroot.org/buildroot/-/jobs/13500946337 [1]
Fixes: 51365ff06379 ("package/python-setuptools: bump to version 82.0.0")
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Julien Olivain <ju.o@free.fr>
---
support/testing/tests/boot/test_atf.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/support/testing/tests/boot/test_atf.py b/support/testing/tests/boot/test_atf.py
index b822b9d357..02d0c74b84 100644
--- a/support/testing/tests/boot/test_atf.py
+++ b/support/testing/tests/boot/test_atf.py
@@ -16,13 +16,14 @@ class TestATFAllwinner(infra.basetest.BRTest):
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
- BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10"
+ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.01"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus2"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
+ BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null"
--
2.51.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] configs/iot-gate-imx8_ebbr: bump u-boot to fix the build
2026-03-16 17:02 [Buildroot] [PATCH 0/2] Fixes for binman after python-setuptools update Vincent Stehlé
2026-03-16 17:02 ` [Buildroot] [PATCH 1/2] support/testing: bump test_atf u-boot to fix the build Vincent Stehlé
@ 2026-03-16 17:02 ` Vincent Stehlé
1 sibling, 0 replies; 4+ messages in thread
From: Vincent Stehlé @ 2026-03-16 17:02 UTC (permalink / raw)
To: buildroot; +Cc: Vincent Stehlé, James Hilliard, Julien Olivain
Python setuptools has removed the obsolete pkg_resources python module in
v82.0.0. This module is used by the binman command in U-Boot until
v2025.10.
Since the python-setuptools package has been updated to v82.0.0 in
Buildroot, the iot-gate-imx8_ebbr_defconfig (using U-Boot v2025.07 and
binman) fails to build with the following error [1]:
ModuleNotFoundError: No module named 'pkg_resources'
Update the defconfig to use a more recent U-Boot v2026.01, to fix the
build.
Link: https://gitlab.com/buildroot.org/buildroot/-/jobs/13476922237 [1]
Fixes: 51365ff06379 ("package/python-setuptools: bump to version 82.0.0")
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Julien Olivain <ju.o@free.fr>
---
configs/iot-gate-imx8_ebbr_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/iot-gate-imx8_ebbr_defconfig b/configs/iot-gate-imx8_ebbr_defconfig
index ff646e8adc..460494302a 100644
--- a/configs/iot-gate-imx8_ebbr_defconfig
+++ b/configs/iot-gate-imx8_ebbr_defconfig
@@ -44,7 +44,7 @@ BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES="CFG_TEE_CORE_LOG_LEVEL=2 CFG_TEE_TA_LO
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2025.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.01"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mm-cl-iot-gate-optee"
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/compulab/iot-gate-imx8-ebbr/u-boot.fragment"
BR2_TARGET_UBOOT_NEEDS_DTC=y
--
2.51.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] support/testing: bump test_atf u-boot to fix the build
2026-03-16 17:02 ` [Buildroot] [PATCH 1/2] support/testing: bump test_atf u-boot to fix the build Vincent Stehlé
@ 2026-03-16 20:57 ` Julien Olivain via buildroot
0 siblings, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-16 20:57 UTC (permalink / raw)
To: Vincent Stehlé; +Cc: buildroot, James Hilliard
On 16/03/2026 18:02, Vincent Stehlé wrote:
> Python setuptools has removed the obsolete pkg_resources python module
> in
> v82.0.0. This module is used by the binman command in U-Boot until
> v2025.10.
> Since the python-setuptools package has been updated to v82.0.0 in
> Buildroot, the python test tests.boot.test_atf.TestATFAllwinner (using
> U-Boot v2023.10 and binman) fails to build with the following error
> [1]:
>
> ModuleNotFoundError: No module named 'pkg_resources'
>
> Update test_atf to use a more recent U-Boot v2026.01 (and add the
> dependency on GNU TLS), to fix the build.
>
> Link: https://gitlab.com/buildroot.org/buildroot/-/jobs/13500946337 [1]
> Fixes: 51365ff06379 ("package/python-setuptools: bump to version
> 82.0.0")
> Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
> Cc: James Hilliard <james.hilliard1@gmail.com>
> Cc: Julien Olivain <ju.o@free.fr>
Series applied to master, thanks.
For info, I update the compulab custom uboot.hash file. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/fe49bf9451b512b3c2d6c441b16ec0a87ea54959
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-03-16 20:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16 17:02 [Buildroot] [PATCH 0/2] Fixes for binman after python-setuptools update Vincent Stehlé
2026-03-16 17:02 ` [Buildroot] [PATCH 1/2] support/testing: bump test_atf u-boot to fix the build Vincent Stehlé
2026-03-16 20:57 ` Julien Olivain via buildroot
2026-03-16 17:02 ` [Buildroot] [PATCH 2/2] configs/iot-gate-imx8_ebbr: bump " Vincent Stehlé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox