Skip to contentSkip to conversation

New: host-python3 build needs python3 on the host

Buildroot [email protected] 1 participant 2 messages Jul 12, 2022 – Jul 27, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=14911

Bug ID: 14911
Summary: host-python3 build needs python3 on the host
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

Since commit 9c0c7846cdb63f3ed62563c4f532ad02ad0a1c98 ("support/dependencies:
don't check for python on the host"), we no longer require to have Python installed on the host system. However, on a minimal Ubuntu container, without python3 available, the build of host-python3 fails with:

python3 ./Tools/scripts/update_file.py ./Python/importlib_external.h ./Python/importlib_external.h.new
make[2]: python3: Command not found
make[2]: *** [Makefile:754: regen-importlib] Error 127 make[1]: *** [package/pkg-generic.mk:292:
/output/build/host-python3-3.10.4/.stamp_built] Error 2
make: *** [Makefile:23: _all] Error 2

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14911] host-python3 build needs python3 on the host

https://bugs.busybox.net/show_bug.cgi?id=14911

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/package/python3?id=3fed42456693a5c31c73b5a577d85ce6baa69737.
Many thanks to Vincent for the patch!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot