Bug 8508

Summary: Remove knowledge of MACHINE from distutils3
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: devtools / tool chainAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED OBSOLETE QA Contact: David Rodriguez <david.israelx.rodriguez.castellanos>
Severity: normal    
Priority: Medium+ CC: alex.kanavin, jose.perez.carranza, meta.mr.watcher, meta.watcher
Version: 1.9   
Target Milestone: 2.2 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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