All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] BR2_FORCE_HOST_BUILD broken
@ 2024-08-05 21:29 Markus Mayer via buildroot
  2024-08-05 21:48 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Mayer via buildroot @ 2024-08-05 21:29 UTC (permalink / raw)
  To: Buildroot Mailing List

Hi all,

The following commit[1] seems to be breaking BR2_FORCE_HOST_BUILD:

4703a7ae9176 package/xz: fix musl static build

Here is a one-liner to reproduce the problem:

$ make O=/tmp/dummy raspberrypi5_defconfig && \
    sed -i 's/# BR2_FORCE_HOST_BUILD.*/BR2_FORCE_HOST_BUILD=y/' \
    /tmp/dummy/.config  && make O=/tmp/dummy
  GEN     /tmp/dummy/Makefile
#
# configuration written to /tmp/dummy/.config
#
package/xz/xz.mk:72: *** Recursive variable
'HOST_XZ_FINAL_RECURSIVE_DEPENDENCIES' references itself (eventually).
Stop.
make: *** [Makefile:83: _all] Error 2

That means:
    1. Configure for Raspberry Pi 5 (but any target would work)
    2. Turn on BR2_FORCE_HOST_BUILD
    3. Try to build
    4. Observe circular dependency for host-xz

I haven't determined the actual circular dependency yet. Are there any
tips for narrowing this down? These circular dependencies don't seem
to be easy to track down.

Thanks,
-Markus

[1] https://github.com/buildroot/buildroot/commit/4703a7ae9176b3a9d824880ef095b1b80c123df4
_______________________________________________
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:[~2024-08-06 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 21:29 [Buildroot] BR2_FORCE_HOST_BUILD broken Markus Mayer via buildroot
2024-08-05 21:48 ` Thomas Petazzoni via buildroot
2024-08-06  2:19   ` Markus Mayer via buildroot
     [not found]     ` <CAGt4E5v3F3zJyNZPGtWRpOxbO9eNV4+H6bd6tKXR7fwqBiMWmw@mail.gmail.com>
2024-08-06 14:48       ` Thomas Petazzoni 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.