Bug 9713

Summary: packagegroup-self-hosted.bb needs to be updated for python3
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jussi Kukkonen <jku>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact: David Rodriguez <david.israelx.rodriguez.castellanos>
Severity: normal    
Priority: Medium+ CC: jose.perez.carranza, meta.mr.watcher, meta.watcher, paulg
Version: unspecified   
Target Milestone: 2.2 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know

Description Jussi Kukkonen 2016-06-06 13:43:34 UTC
I didn't actually test it but it does look like packagegroup-self-hosted-extended needs to be modified after current python3 changes: it currently lists only these python related dependencies:
    python \
    python-compiler \
    python-git \
    python-misc \
    python-modules \
    python-rpm \
Comment 1 Ross Burton 2016-06-07 15:58:06 UTC
Got a patch, just testing.
Comment 2 Paul Gortmaker 2016-06-09 22:31:14 UTC
The meta-overc layer, [which for the purposes of this bug can be considered build-appliance  plus a kernel and grub so that it can be booted directly] had the same 42 or so python3 packages that build-appliance has.

In order to get meta-overc to be able to build all the various meta-overc image types (half a dozen or so ; some complete with full X11/gnome) including itself, I had to build and install the following extra py3 chunks.

rpm -ivh python3-multiprocessing-3.5.1-r1.0.core2_64.rpm python3-mmap-3.5.1-r1.0.core2_64.rpm 
rpm -ivh python3-sqlite3-3.5.1-r1.0.core2_64.rpm 
rpm -ivh python3-debugger-3.5.1-r1.0.core2_64.rpm 
rpm -ivh python3-json-3.5.1-r1.0.core2_64.rpm 
rpm -ivh python3-xmlrpc-3.5.1-r1.0.core2_64.rpm python3-netserver-3.5.1-r1.0.core2_64.rpm 
rpm -ivh python3-pydoc-3.5.1-r1.0.core2_64.rpm  
rpm -ivh python3-curses-3.5.1-r1.0.core2_64.rpm 
rpm -ivh python3-resource-3.5.1-r1.0.core2_64.rpm 
rpm -ivh python3-unixadmin-3.5.1-r1.0.core2_64.rpm 

The double pkg lines are to solve dependencies.

A full world build might uncover one or two more, but this is a good start.
Comment 3 Ross Burton 2016-06-10 11:07:37 UTC
To be honest for a build applicance I'd ship python3-modules and get the full Py3 standard library.
Comment 4 Ross Burton 2016-06-21 11:04:32 UTC
oe-core ee627d7a833e0d85f691729c4d2f774516a8f425 moved from Py2 to Py3, and 055e58e5cc73263a4112d5935ec871c3adf4cd9b added back Py2 for coverage as some modules we build still use py2.