All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [2026.08.x] Incomplete python-pkg-resources backport breaks U-Boot binman builds
@ 2026-11-15 22:51 michael
  2026-11-16 10:46 ` Thomas Perale via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: michael @ 2026-11-15 22:51 UTC (permalink / raw)
  To: buildroot

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

michael@moysys.com

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [2026.08.x] Incomplete python-pkg-resources backport breaks U-Boot binman builds
  2026-11-15 22:51 [Buildroot] [2026.08.x] Incomplete python-pkg-resources backport breaks U-Boot binman builds michael
@ 2026-11-16 10:46 ` Thomas Perale via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Perale via buildroot @ 2026-11-16 10:46 UTC (permalink / raw)
  To: michael; +Cc: Thomas Perale, buildroot

Hi Michael,

In reply of:
> 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 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

> Thanks,
> Michael Moy and Claude Code
> 
> michael@moysys.com
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot


_______________________________________________
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:[~2026-11-16 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 22:51 [Buildroot] [2026.08.x] Incomplete python-pkg-resources backport breaks U-Boot binman builds michael
2026-11-16 10:46 ` Thomas Perale via buildroot

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.