Skip to contentSkip to conversation

Incomplete python-pkg-resources backport breaks U-Boot binman builds

Buildroot [email protected] 2 participants 2 messages Nov 15 – Nov 16

lore
Share & tools
lore
#0 lore raw

Hi,

The nightly build of my 2026.08.x KV260 configuration has failed since the stable batch of Oct 29. The build stops with:

make: *** No rule to make target 'host-python-jaraco-text', needed by

'.../build/host-python-pkg-resources-7fa76c17eacf8a67c6932c9c2dd97861f42439cf/.stamp_configured'.
Stop.

The cause seems to be these two commits, which were backported to 2026.08.x:

c58cbe478a package/python-pkg-resources: new host package c647377c53 boot/uboot: add host-python-pkg-resources dependency

On master, these commits come after a series that adds host variants for the packages they depend on (760fd221a1 "package/python-jaraco-text: add host variant", along with jaraco-context, jaraco-functools, more-itertools, typer-slim, typer and others). That series was not backported. As a result, on 2026.08.x:

- python-jaraco-text has no host variant, but
HOST_PYTHON_PKG_RESOURCES_DEPENDENCIES requires host-python-jaraco-text
- host-python-jaraco-text would in turn need host variants of
jaraco-context, jaraco-functools, more-itertools and typer-slim, which are also missing

Any configuration with BR2_TARGET_UBOOT_USE_BINMAN=y now fails to build, because U-Boot pulls in host-python-pkg-resources.

I tried cherry-picking the host-variant series onto 2026.08.x, but it conflicts (python-shellingham, for example, does not exist on the branch).

As a workaround, I reverted c647377c53 and c58cbe478a locally, and my build passes again with binman working. That is expected, since 2026.08.x still uses setuptools 80.9.0, which includes pkg_resources, so the standalone package should not be needed on this branch.

The 2026.08.1 tag predates this backport and is not affected.

Thanks,
Michael Moy and Claude Code

[email protected]

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#1 lore raw

Hi Michael,

In reply of:

Quoted 17 lines

Hi,

The nightly build of my 2026.08.x KV260 configuration has failed since the stable batch of Oct 29. The build stops with:

make: *** No rule to make target 'host-python-jaraco-text', needed by '.../build/host-python-pkg-resources-7fa76c17eacf8a67c6932c9c2dd97861f42439cf/.stamp_configured'. Stop.

The cause seems to be these two commits, which were backported to 2026.08.x:

c58cbe478a package/python-pkg-resources: new host package c647377c53 boot/uboot: add host-python-pkg-resources dependency

On master, these commits come after a series that adds host variants for the packages they depend on (760fd221a1 "package/python-jaraco-text: add host variant", along with jaraco-context, jaraco-functools, more-itertools, typer-slim, typer and others). That series was not backported. As a result, on 2026.08.x:

- python-jaraco-text has no host variant, but HOST_PYTHON_PKG_RESOURCES_DEPENDENCIES requires host-python-jaraco-text
- host-python-jaraco-text would in turn need host variants of jaraco-context, jaraco-functools, more-itertools and typer-slim, which are also missing

Quoted 8 lines

Any configuration with BR2_TARGET_UBOOT_USE_BINMAN=y now fails to build, because U-Boot pulls in host-python-pkg-resources.

I tried cherry-picking the host-variant series onto 2026.08.x, but it conflicts (python-shellingham, for example, does not exist on the branch).

As a workaround, I reverted c647377c53 and c58cbe478a locally, and my build passes again with binman working. That is expected, since 2026.08.x still uses setuptools 80.9.0, which includes pkg_resources, so the standalone package should not be needed on this branch.

The 2026.08.1 tag predates this backport and is not affected.

Thanks for the notice. It was indeed a human error and those two commits shouldn't have landed in the 2026.08.x stable branch. It's probably due to a confusion with the "Setuptools version 82" that was once present and then reverted back.

It's now fixed in 2026.08.x (85dc4d06c4315eac4850fcc138def8c5e8aab259).

Do not hesitate to send us a message if you see anything else.

Best regards,
PERALE Thomas

Quoted 9 lines

Thanks,
Michael Moy and Claude Code

[email protected]

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot