Bug 13641 - Remove python2 from HOSTTOOLS
Summary: Remove python2 from HOSTTOOLS
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on: 13645
Blocks: 13640
  Show dependency tree
 
Reported: 2019-11-21 15:56 UTC by Armin Kuster
Modified: 2019-12-12 16:23 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2019-11-21 15:56:01 UTC

    
Comment 1 Randy MacLeod 2019-11-21 16:00:26 UTC
If you need help, create sub defects and we'll get people to work on them.
Comment 2 Ross Burton 2019-11-21 17:42:15 UTC
Not convinced that we're ready to build without Py2 on the host.  I have a branch disable hosttools for python2* but this doesn't detect recipes that end up calling /usr/bin/python directly.

Will do a container thing and test.
Comment 3 Ross Burton 2019-11-21 21:48:25 UTC
python-native fails to build without a python on the host.  It tries to use the host python3 but the script isn't py3-safe.  I believe patching python2 would be relatively simple.
Comment 4 Ross Burton 2019-12-12 16:23:49 UTC
Merged in 5f8f16b17f66966ae91aeabc23e97de5ecd17447.