Bug 8508 - Remove knowledge of MACHINE from distutils3
Summary: Remove knowledge of MACHINE from distutils3
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.9
Hardware: All Multiple
: Medium+ normal
Target Milestone: 2.2 M2
Assignee: Alexander Kanavin
QA Contact: David Rodriguez
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-10-13 16:31 UTC by Ross Burton
Modified: 2016-07-29 16:02 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2015-10-13 16:31:08 UTC
distutils3.bbclass uses MACHINE and patches to Python to manipulate the sysroot usage.  This means that anything using distutils3 needs to rebuild as MACHINE changes.

Interestingly distutils.bbclass doesn't have this behaviour and simply removing it all appears to work fine.
Comment 1 Alexander Kanavin 2016-07-05 14:40:07 UTC
Seems like this is already solved?

1) MACHINE is not used anywhere in python3 recipe or patches

2) MACHINE is not used in distutils3.bbclass, and is excepted from checksum calculation by d8ab563a2dcfbc726407f3b690988eb51bd88784

Let me know if I missed something