Re: [OE-core] [PATCH] perl-ptest.inc: fix tar call to prevent objcopy failure

2016-06-02 Thread Enrico Joerns
Hi Renato, thanks for the comments on my changes. On 05/31/2016 01:35 PM, Renato Caldas wrote: My suggestion is that you submit a new patch with those improvements on top of the quick fix I made. I suggest you also add quotes to the --exclude options per tar's man page. I did not find any hin

Re: [OE-core] [PATCH v2] opkg-utils: update SRCREV

2016-06-02 Thread Richard Purdie
On Thu, 2016-06-02 at 15:23 -0500, Alejandro del Castillo wrote: > Drop patches now included in newer SRCREV. Update HOMEPAGE and PV > version to better align with opkg. Current revision include: > > * Python 3 compatibility > * Improved error handling > > Signed-off-by: Alejandro del Castillo >

Re: [OE-core] [PATCH] mklibs-native: two fixes

2016-06-02 Thread Kyle Russell
Thanks, Yuanjie. I see how your patch changes multiarch() to return quickly and thus avoid dpkg if the user provides a sysroot or libdir, but it also comments out some checking to verify that the dynamic linker is in the correct location and executable. (I'm referring to the following hunk from y

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Christopher Larson
On Thu, Jun 2, 2016 at 12:24 PM, Paul Eggleton < paul.eggle...@linux.intel.com> wrote: > On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote: > > On 2016-06-02 3:15 PM, Paul Eggleton wrote: > > > On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote: > > >> On Wed, Jun 01, 2016 at 10:23:35AM +1200, Paul E

[OE-core] [PATCH 1/1] testexport.bbclass: Update to use python3

2016-06-02 Thread mariano . lopez
From: Mariano Lopez Remove deprecated attributes in order to use python3. runexported was changed to use python3. [YOCTO #9702] Signed-off-by: Mariano Lopez --- meta/classes/testexport.bbclass | 4 ++-- meta/lib/oeqa/runexported.py| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)

Re: [OE-core] [PATCH 1/1] ca-certificates: add dependency for native/nativesdk on openssl-native

2016-06-02 Thread Otavio Salvador
On Thu, Jun 2, 2016 at 5:22 PM, Paul Eggleton wrote: > When running update-ca-certificates on the build host, as we do during > do_install for ca-certificates-native (and nativesdk-ca-certificates), > as of OE-Core commit cea46e7b8d9463306779301fa97f651d750f380f we now > need openssl-native so it

[OE-core] [PATCH v2] opkg-utils: update SRCREV

2016-06-02 Thread Alejandro del Castillo
Drop patches now included in newer SRCREV. Update HOMEPAGE and PV version to better align with opkg. Current revision include: * Python 3 compatibility * Improved error handling Signed-off-by: Alejandro del Castillo --- ...re-do-find-ls-code-to-not-fail-on-filenam.patch | 56 ---

[OE-core] [PATCH 1/1] ca-certificates: add dependency for native/nativesdk on openssl-native

2016-06-02 Thread Paul Eggleton
When running update-ca-certificates on the build host, as we do during do_install for ca-certificates-native (and nativesdk-ca-certificates), as of OE-Core commit cea46e7b8d9463306779301fa97f651d750f380f we now need openssl-native so it can run c_rehash. Signed-off-by: Paul Eggleton --- meta/rec

[OE-core] [PATCH 0/1] Fix ca-certificates-native missing dependency

2016-06-02 Thread Paul Eggleton
The following changes since commit 6c8d1876f5a2d53fa89531e4a5f414d5d5da77be: distro_check.py: Don't mix tabs and spaces (2016-06-02 08:36:15 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/ca-certificates-native http://cgit.openem

Re: [OE-core] [PATCH] ca-certificates: Add openssl as a runtime dependency

2016-06-02 Thread Paul Eggleton
On Thu, 02 Jun 2016 12:00:57 Otavio Salvador wrote: > On Wed, Jun 1, 2016 at 8:31 PM, Paul Eggleton > > wrote: > > On Mon, 30 May 2016 22:57:52 Richard Purdie wrote: > >> On Fri, 2016-05-27 at 07:28 -0300, Otavio Salvador wrote: > >> > The update-ca-certificates script uses the c_rehash utility w

Re: [OE-core] [PATCH] opkg-utils: update SRCREV

2016-06-02 Thread Alejandro del Castillo
On 06/02/2016 03:15 PM, alexander.kana...@linux.intel.com wrote: >> Drop patches now included in newer SRCREV. Update HOMEPAGE and PV >> version to better align with opkg. Current revision include: >> +SRCREV = "ecd9a499d336ffd127bda3c5ba403f0a5ca056a5" >> +PV = "0.3.1+git${SRCPV}" > > PV should

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Bruce Ashfield
On 2016-06-02 3:38 PM, Paul Eggleton wrote: On Thu, 02 Jun 2016 15:30:14 Bruce Ashfield wrote: On 2016-06-02 3:24 PM, Paul Eggleton wrote: On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote: On 2016-06-02 3:15 PM, Paul Eggleton wrote: On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote: On Wed, J

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Paul Eggleton
On Thu, 02 Jun 2016 15:30:14 Bruce Ashfield wrote: > On 2016-06-02 3:24 PM, Paul Eggleton wrote: > > On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote: > >> On 2016-06-02 3:15 PM, Paul Eggleton wrote: > >>> On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote: > On Wed, Jun 01, 2016 at 10:23:35AM +

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Bruce Ashfield
On 2016-06-02 3:24 PM, Paul Eggleton wrote: On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote: On 2016-06-02 3:15 PM, Paul Eggleton wrote: On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote: On Wed, Jun 01, 2016 at 10:23:35AM +1200, Paul Eggleton wrote: On Wed, 01 Jun 2016 10:20:23 Paul Eggleton

Re: [OE-core] [PATCH] opkg-utils: update SRCREV

2016-06-02 Thread alexander . kanavin
> Drop patches now included in newer SRCREV. Update HOMEPAGE and PV > version to better align with opkg. Current revision include: > +SRCREV = "ecd9a499d336ffd127bda3c5ba403f0a5ca056a5" > +PV = "0.3.1+git${SRCPV}" PV should match an existing version tag in the repository, and currently there are n

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Paul Eggleton
On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote: > On 2016-06-02 3:15 PM, Paul Eggleton wrote: > > On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote: > >> On Wed, Jun 01, 2016 at 10:23:35AM +1200, Paul Eggleton wrote: > >>> On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote: > On Tue, 31 May 201

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Bruce Ashfield
On 2016-06-02 3:15 PM, Paul Eggleton wrote: On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote: On Wed, Jun 01, 2016 at 10:23:35AM +1200, Paul Eggleton wrote: On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote: On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote: On 11 May 2016 at 20:35, Khem Raj w

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Paul Eggleton
On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote: > On Wed, Jun 01, 2016 at 10:23:35AM +1200, Paul Eggleton wrote: > > On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote: > > > On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote: > > > > On 11 May 2016 at 20:35, Khem Raj wrote: > > > > > +#BASEURI ?= "

[OE-core] [PATCH] opkg-utils: update SRCREV

2016-06-02 Thread Alejandro del Castillo
Drop patches now included in newer SRCREV. Update HOMEPAGE and PV version to better align with opkg. Current revision include: * Python 3 compatibility * Improved error handling Signed-off-by: Alejandro del Castillo --- ...re-do-find-ls-code-to-not-fail-on-filenam.patch | 56 ---

Re: [OE-core] [PATCH 2/3] bitbake.conf: Add P4DIR and FETCHCMD_p4

2016-06-02 Thread Andrew Bradford
Hi Richard, On 06/02 16:56, Richard Purdie wrote: > On Wed, 2016-05-25 at 15:46 -0400, Andrew Bradford wrote: > > From: Andrew Bradford > > > > So that perforce fetching can work more like the other source control > > system fetchers. > > > > Signed-off-by: Andrew Bradford > > --- > > meta/co

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-06-02 Thread Martin Jansa
On Wed, Jun 01, 2016 at 10:23:35AM +1200, Paul Eggleton wrote: > On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote: > > On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote: > > > On 11 May 2016 at 20:35, Khem Raj wrote: > > > > +#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" > > > > +BAS

Re: [OE-core] [PATCH 2/3] bitbake.conf: Add P4DIR and FETCHCMD_p4

2016-06-02 Thread Richard Purdie
On Wed, 2016-05-25 at 15:46 -0400, Andrew Bradford wrote: > From: Andrew Bradford > > So that perforce fetching can work more like the other source control > system fetchers. > > Signed-off-by: Andrew Bradford > --- > meta/conf/bitbake.conf | 2 ++ > 1 file changed, 2 insertions(+) > > diff -

Re: [OE-core] [PATCH 1/3] oe-buildenv-internal: Add P4CONFIG to BB_ENV_EXTRAWHITE_OE

2016-06-02 Thread Richard Purdie
On Wed, 2016-05-25 at 15:46 -0400, Andrew Bradford wrote: > From: Andrew Bradford > > So that the user's P4CONFIG variable can be used by recipes which > utilize the perforce fetcher. > > References [YOCTO #6303] > > Signed-off-by: Andrew Bradford > --- > scripts/oe-buildenv-internal | 2 +- >

Re: [OE-core] Python3 for bitbake/OE merged

2016-06-02 Thread Christopher Larson
On Thu, Jun 2, 2016 at 12:31 AM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > I just watched things break on the autobuilder as trying to keep the > python3 patches in sync with all the other changes coming in was > proving tricky and not really a productive use of my time. > > I'

Re: [OE-core] [PATCH 01/16] scripts: python3: convert iterables to lists

2016-06-02 Thread Ed Bartosh
On Thu, Jun 02, 2016 at 08:55:21AM -0500, Leonardo Sandoval wrote: > Ed, > > what is the reason for this change? > The reason is that in python 3 dict.keys() returns iterator unlike in pyton 2 where it returns list. If dictionary is changed inside the loop (which is the case here) "RuntimeError:

Re: [OE-core] [PATCH] ca-certificates: Add openssl as a runtime dependency

2016-06-02 Thread Otavio Salvador
On Wed, Jun 1, 2016 at 8:31 PM, Paul Eggleton wrote: > On Mon, 30 May 2016 22:57:52 Richard Purdie wrote: >> On Fri, 2016-05-27 at 07:28 -0300, Otavio Salvador wrote: >> > The update-ca-certificates script uses the c_rehash utility which is >> > installed by openssl. Add openssl as a runtime depen

Re: [OE-core] [PATCH V2 1/4] Upgrade systemd to 229

2016-06-02 Thread Enrico Joerns
On 02/22/2016 10:36 PM, Khem Raj wrote: diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_229.bb similarity index 93% rename from meta/recipes-core/systemd/systemd_228.bb rename to meta/recipes-core/systemd/systemd_229.bb index b160816..16af0ac 100644 ---

Re: [OE-core] [PATCH 01/16] scripts: python3: convert iterables to lists

2016-06-02 Thread Leonardo Sandoval
Ed, what is the reason for this change? On 06/02/2016 05:12 AM, Ed Bartosh wrote: Converted return value of items() keys() and values() to lists when dictionary is modified in the loop and when the result is added to the list. Signed-off-by: Ed Bartosh --- scripts/bitbake-whatchanged

Re: [OE-core] [PATCH 0/3] Setup for bitbake perforce fetcher changes

2016-06-02 Thread Andrew Bradford
On 05/25 15:46, Andrew Bradford wrote: > From: Andrew Bradford > > The perforce fetcher does not yet support using SRCREV="${AUTOREV}" or > the use of the P4CONFIG variable [1]. These patches setup a few things > in oe-core so that changes in bitbake can take advantage of them to fix > these two

[OE-core] easiest way to patch some headers in gcc-5.2 source?

2016-06-02 Thread Robert P. J. Day
for backward compatibility reasons, i need to patch some header files in gcc-5.2 to change some quoted includes to angle bracket-style includes. i have the patch, and this change is only to make the resultant cross-compiler work properly, but i figure the easiest thing to do is just apply the

[OE-core] [PATCH 1/3] mtools: Patch out a useless sanity check

2016-06-02 Thread Jussi Kukkonen
The sanity check is ensuring that filesystem size is divisible by sectors-per-track. That seems to be just an optimization for ancient media, and quite tricky to accomplish as different dosfstools versions produce filesystems with different sectors-per-track. Continue processing even if filesystem

[OE-core] [PATCH 2/3] image-live, image-vm, wic: Remove fs size workaround

2016-06-02 Thread Jussi Kukkonen
Since mtools has been patched to live with filesystems with sizes not divisible by sectors-per-track, we no longer need to try to set the size based on our guess of the sectors-per-track dosfstools is going to use. Signed-off-by: Jussi Kukkonen --- meta/classes/image-live.bbclass

[OE-core] [PATCH 3/3] dosfstools: Upgrade 3.0.28 -> 4.0

2016-06-02 Thread Jussi Kukkonen
* Build system is now autotools * Patches are no longer required * Enable compatibility symlinks Signed-off-by: Jussi Kukkonen --- .../0001-mkfs.fat-fix-incorrect-int-type.patch | 46 -- .../dosfstools/dosfstools/largefile.patch | 19 - .../{dosfstools_3.

[OE-core] [PATCH 0/3] dosfstools upgrade + image gen. fixes

2016-06-02 Thread Jussi Kukkonen
A new approach to the dosfstools upgrade: Fix the sanity check in mtools and remove workarounds we have in image generation scripts. I ended up at this after I realised that: * dosfstools < 4.0 uses 32 sectors-per-track * dosfstools 4.0 uses 63 sectors-per-track * dosfstools git master uses va

[OE-core] [PATCH 16/16] scripts: python3: change python to python3 in shebang

2016-06-02 Thread Ed Bartosh
Signed-off-by: Ed Bartosh --- scripts/bitbake-whatchanged | 2 +- scripts/buildhistory-collect-srcrevs| 2 +- scripts/cleanup-workdir | 2 +- scripts/combo-layer | 2 +- scripts/contrib/bbvars.py | 2 +- scripts

[OE-core] [PATCH 11/16] scripts: python3: replace exec statement with builtin

2016-06-02 Thread Ed Bartosh
Used exec() builtin instead of 'exec' statement as this statement doesn't exist in python 3. Signed-off-by: Ed Bartosh --- scripts/lib/bsp/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 5ff6c98..2b87d33 10

[OE-core] [PATCH 07/16] scripts: python3: use new metaclass syntax

2016-06-02 Thread Ed Bartosh
Used metaclass= syntax instead old __metaclass__ = as only new one is supported in python 3. Signed-off-by: Ed Bartosh --- scripts/lib/bsp/engine.py | 6 ++ scripts/test-remote-image | 8 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/scripts/lib/bsp/engine.py b/sc

[OE-core] [PATCH 10/16] scripts: python3: use explicit relative imports

2016-06-02 Thread Ed Bartosh
Implicit relative imports within packages are not supported in python 3. They have to be converted to explicit imports. Used 'from .module import' syntax for relative imports. Signed-off-by: Ed Bartosh --- scripts/lib/bsp/engine.py | 2 +- scripts/lib/bsp/kernel.py | 3 +-- 2 files changed, 2 i

[OE-core] [PATCH 12/16] engine: python3: replace iteritems() -> items()

2016-06-02 Thread Ed Bartosh
Used items() as iteritems() doesn't exist in python 3. Signed-off-by: Ed Bartosh --- scripts/lib/bsp/engine.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 2b87d33..3ed90fa 100644 --- a/scripts/lib/bsp/engin

[OE-core] [PATCH 15/16] combo-layer: python3: use tempfile.TemporaryFile

2016-06-02 Thread Ed Bartosh
Used tempfile.TemporaryFile() API instead of deprecated os.tmpfile(). Signed-off-by: Ed Bartosh --- scripts/combo-layer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 7f0fa48..eaa7f5a 100755 --- a/scripts/combo-layer +++ b/

[OE-core] [PATCH 14/16] scripts: python3: decode subprocess output

2016-06-02 Thread Ed Bartosh
stdeout and stderr content returned by subprocess API has different types in Python 3(bytes) and Python 2(string). Decoding it to 'utf-8' makes it unicode on both pythons. Signed-off-by: Ed Bartosh --- scripts/cleanup-workdir | 2 +- scripts/combo-layer | 2 +- scripts/lib/bsp/kernel.p

[OE-core] [PATCH 13/16] dirsize: python3: fix TypeError: unorderable types

2016-06-02 Thread Ed Bartosh
Python 3 ignores the __cmp__() method and doesn't have cmp() builtin function. This caused sorted() call to raise TypeError: unorderable types: Record() < Record() Removing __cmp__ method and implementing __lt__ should solve the problem as __lt__ is the only method needed for sort[ed] to work.

[OE-core] [PATCH 06/16] scripts: python3: get rid of __future__ imports

2016-06-02 Thread Ed Bartosh
Removed print_function and with_statement imports from __future__ as they're supported by python 3 by default. Signed-off-by: Ed Bartosh --- scripts/bitbake-whatchanged | 1 - scripts/pybootchartgui/pybootchartgui/main.py.in | 2 -- scripts/pybootchartgui/pybootchartgui/pars

[OE-core] [PATCH 09/16] engine.py: python3: rename sys.maxint to sys.maxsize

2016-06-02 Thread Ed Bartosh
Renamed sys.maxint -> sys.maxsize as sys.maxint doesn't exist in python 3. Signed-off-by: Ed Bartosh --- scripts/lib/bsp/engine.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 5b49486..03bd66e 100644 --- a/s

[OE-core] [PATCH 08/16] combo-layer: python3: import reduce

2016-06-02 Thread Ed Bartosh
Reduce is not a builtin function in python3. It has to be imported from functools. Signed-off-by: Ed Bartosh --- scripts/combo-layer | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/combo-layer b/scripts/combo-layer index 0644cdc..0954bb6 100755 --- a/scripts/combo-layer +++ b/scripts

[OE-core] [PATCH 05/16] ksize.py: python3: get rid of strings.join

2016-06-02 Thread Ed Bartosh
Used join method instead of strings.join as stings.join doesn't exist in python 3. Signed-off-by: Ed Bartosh --- scripts/tiny/ksize.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/tiny/ksize.py b/scripts/tiny/ksize.py index 54b71f8..587c930 100755 --- a/scripts/

[OE-core] [PATCH 04/16] scripts: python3: fix urllib imports

2016-06-02 Thread Ed Bartosh
Some functions and classes have been moved from urllib[2] to urllib.request and urllib.error in python 3. Used new imports to make the code working in python 3. Signed-off-by: Ed Bartosh --- scripts/contrib/verify-homepage.py | 4 ++-- scripts/send-error-report | 14 +++--- 2

[OE-core] [PATCH 03/16] scripts: python3: rename raw_input to input

2016-06-02 Thread Ed Bartosh
Renamed raw_input to input as raw_input does not exist in python 3. Signed-off-by: Ed Bartosh --- scripts/lib/bsp/engine.py| 12 ++-- scripts/lib/bsp/kernel.py| 12 ++-- scripts/oepydevshell-internal.py | 2 +- scripts/send-error-report| 6 +++--- 4 file

[OE-core] [PATCH 02/16] scripts: python3: use new style except statement

2016-06-02 Thread Ed Bartosh
Changed old syle except statements 'except , var' to new style 'except as var' as old style is not supported in python3. Signed-off-by: Ed Bartosh --- scripts/combo-layer | 4 ++-- scripts/contrib/bbvars.py | 14 +++--- scripts/cp-noerror| 8 scripts/tiny/ksize.

[OE-core] [PATCH 01/16] scripts: python3: convert iterables to lists

2016-06-02 Thread Ed Bartosh
Converted return value of items() keys() and values() to lists when dictionary is modified in the loop and when the result is added to the list. Signed-off-by: Ed Bartosh --- scripts/bitbake-whatchanged | 6 +++--- scripts/combo-layer | 2 +- scr

[OE-core] [PATCH 00/16] porting scripts to python3

2016-06-02 Thread Ed Bartosh
Hi, Please review set of python3 fixes for oe scripts. As most of the scripts are not covered by tests it was quite hard to test them. I tested only those which I know how to work with. It would be greate to have any help with testing. The following changes since commit dcbfc72303d6782d9108538c8

[OE-core] [PATCH 31/31] automake: drop the Python scriptlets to determine Python's directories

2016-06-02 Thread Alexander Kanavin
python.m4 has python scriptlets that determine where the system's library directory is. For Python 2.x distutils.sysconfig is used (which works because we patch it), for Python 3.x plain sysconfig is used (which doesn't work for example on x32). There is also a hardcoded fallback if the scriptlets

[OE-core] [PATCH 29/31] hwlatdetect: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb b/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb index 025eb63..012b2dd 100644 --- a/meta/recipes

[OE-core] [PATCH 27/31] systemtap: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-kernel/systemtap/systemtap_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 97064b8..cf6a96a 100644 --- a/meta/re

[OE-core] [PATCH 30/31] python3-numpy: add a recipe

2016-06-02 Thread Alexander Kanavin
This is needed for updating piglit to use Python 3. Python 2 based recipe can be later moved to meta-oe. Signed-off-by: Alexander Kanavin --- .../python-numpy/python3-numpy_1.10.4.bb | 101 + 1 file changed, 101 insertions(+) create mode 100644 meta/recipes-devtool

[OE-core] [PATCH 26/31] lttng-ust: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-kernel/lttng/lttng-ust_git.bb | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/lttng/lttng-ust_git.bb b/meta/recipes-kernel/lttng/lttng-ust_git.bb index 15d925d..f5a12b1 100644 --- a/meta/recipes-ker

[OE-core] [PATCH 28/31] libcap-ng: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb index 5715467..5608f49 100

[OE-core] [PATCH 25/31] lttng-tools: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...d-look-for-python-3.0-when-building-pytho.patch | 30 -- meta/recipes-kernel/lttng/lttng-tools_git.bb | 7 +++-- 2 files changed, 3 insertions(+), 34 deletions(-) delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/Revert-B

[OE-core] [PATCH 22/31] libuser: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-extended/libuser/libuser_0.62.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/libuser/libuser_0.62.bb b/meta/recipes-extended/libuser/libuser_0.62.bb index 7a64efe..8590563 100644 --- a/meta/re

[OE-core] [PATCH 19/31] python-pyrex: remove unused recipe

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/distro_alias.inc | 1 - .../python/python-pyrex-native_0.9.9.bb| 5 - .../python-pyrex/pyrex-fix-optimized-mode.patch| 15 --- meta/recipes-devtools/python/python-pyrex_0.9.9.bb | 22 -

[OE-core] [PATCH 20/31] python-imaging: remove unused recipe

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/distro_alias.inc | 1 - meta/conf/distro/include/security_flags.inc| 1 - ...ing-setup.py-force-paths-for-zlib-freetyp.patch | 55 -- .../allow.to.disable.some.features.patch | 65 --

[OE-core] [PATCH 23/31] libnewt-python: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-extended/newt/libnewt-python_0.52.18.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/newt/libnewt-python_0.52.18.bb b/meta/recipes-extended/newt/libnewt-python_0.52.18.bb index ba04757..20369ef 1

[OE-core] [PATCH 24/31] gnome-doc-utils: remove recipe

2016-06-02 Thread Alexander Kanavin
Nothing in oe-core actually requires it. Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/epiphany/epiphany_3.18.4.bb | 1 - .../gnome-desktop/gnome-desktop3_3.18.2.bb | 2 +- meta/recipes-gnome/gnome/gnome-doc-utils.inc | 29 --- .../gnome-doc-utils/sysrooted-pkg-

[OE-core] [PATCH 16/31] bootchart2: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb index 86c

[OE-core] [PATCH 21/31] python-docutils: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python/python3-dbus_1.2.4.bb| 4 ++-- .../python/{python-docutils_0.12.bb => python3-docutils_0.12.bb} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/python/{python-docuti

[OE-core] [PATCH 18/31] swig: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/swig/swig.inc | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc index 9da40df..704bb27 100644 --- a/meta/recipes-devtools/swig/swig.inc ++

[OE-core] [PATCH 15/31] python-pycairo: move to Python 3

2016-06-02 Thread Alexander Kanavin
The Python 3 version comes in a separate tarball, and is relicensed under LGPLv3: http://cairographics.org/pycairo/ Signed-off-by: Alexander Kanavin --- .../python/python-pycairo_1.10.0.bb| 41 -- .../python/python3-pycairo_1.10.0.bb | 40 +++

[OE-core] [PATCH 17/31] gdb: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 12 ++-- meta/recipes-devtools/gdb/gdb-cross.inc | 4 ++-- meta/recipes-devtools/gdb/gdb_7.11.bb| 6 +++--- 4 files chan

[OE-core] [PATCH 11/31] packagegroup-core-full-cmdline: drop python-dbus from the list of services

2016-06-02 Thread Alexander Kanavin
Any Python scripts should include this dependency explicitly. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb b/me

[OE-core] [PATCH 13/31] systemd: drop python dependency for ptests

2016-06-02 Thread Alexander Kanavin
Python tests are not actually used, because systemd is configured using --without-python Signed-off-by: Alexander Kanavin --- meta/recipes-core/systemd/systemd_229.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_229.bb b/meta/recipes-core

[OE-core] [PATCH 14/31] util-linux: move to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-core/util-linux/util-linux.inc | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index a1614c2..c0f2540 100644 --- a/meta/reci

[OE-core] [PATCH 08/31] bluez5: switch to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/bluez5/bluez5.inc | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index b3cd8ed..92e360a 100644 --- a/meta/recipes-con

[OE-core] [PATCH 07/31] neard: do not package python test scripts

2016-06-02 Thread Alexander Kanavin
They require python-dbus and python-gobject (which are only provided for Python 3), and have not been ported to Python 3. Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/neard/neard_0.15.bb | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/meta/reci

[OE-core] [PATCH 10/31] ofono: drop the custom-made revert to Python 2 from Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/ofono/ofono.inc |6 +- .../ofono/Revert-test-Convert-to-Python-3.patch| 1270 meta/recipes-connectivity/ofono/ofono_1.17.bb |1 - 3 files changed, 5 insertions(+), 1272 deletions(-) dele

[OE-core] [PATCH 12/31] nfs-utils: switch to Python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb index a6268f3..285b

[OE-core] [PATCH 09/31] connman: do not install Python test scripts

2016-06-02 Thread Alexander Kanavin
They are not compatible with python 3, and require python-dbus and python-gobject (which are provided only for Python 3). Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/connman/connman.inc | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta/recipes-conne

[OE-core] [PATCH 00/31] Switch oe-core to Python 3

2016-06-02 Thread Alexander Kanavin
This is an updated and rebased patchset that switches oe-core recipes to Python 3 whenever possible. See here for an overview: http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121915.html Changes: - fixed issues found via autobuilder testing: gdbus-codegen issue and python3-dbus

[OE-core] [PATCH 06/31] python-pygobject: port to Python 3

2016-06-02 Thread Alexander Kanavin
This reverts commit 7f7c9ab29eba0e58916629ca13dc4a494535ce19. Signed-off-by: Alexander Kanavin --- ...001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch | 0 .../{python-pygobject_3.18.2.bb => python3-pygobject_3.18.2.bb} | 8 2 files changed, 4 insertions(+), 4 deletions(

[OE-core] [PATCH 01/31] bind: switch Python dependency to Python 3.x

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/bind/bind_9.10.3-P3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/bind/bind_9.10.3-P3.bb b/meta/recipes-connectivity/bind/bind_9.10.3-P3.bb index 1e3a20f..a99f0dd 100644 --- a/me

[OE-core] [PATCH 05/31] dbus-test: remove unneeded pygobject dependency

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-core/dbus/dbus-test_1.10.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/dbus/dbus-test_1.10.6.bb b/meta/recipes-core/dbus/dbus-test_1.10.6.bb index 3748fe6..af99976 100644 --- a/meta/recipes-core/dbus/d

[OE-core] [PATCH 04/31] glib: move to Python 3

2016-06-02 Thread Alexander Kanavin
Drop python-pygobject and python-dbus dependencies, because nothing in ptests depends on them, and it creates a circular dependency chain. Signed-off-by: Alexander Kanavin --- meta/recipes-core/glib-2.0/glib.inc | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meta/rec

[OE-core] [PATCH 02/31] python-dbus: update to 1.2.4, port to python 3

2016-06-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../{python-dbus_1.2.0.bb => python3-dbus_1.2.4.bb} | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) rename meta/recipes-devtools/python/{python-dbus_1.2.0.bb => python3-dbus_1.2.4.bb} (62%) diff --git a/meta/recipes-devtools/pyth

[OE-core] [PATCH 03/31] python3: drop 110-enable-zlib.patch

2016-06-02 Thread Alexander Kanavin
With the patch, the zlib extension wasn't built at all. Without the patch, it gets build just fine. Signed-off-by: Alexander Kanavin --- .../recipes-devtools/python/python3-native_3.5.1.bb | 1 - .../python/python3/110-enable-zlib.patch| 21 - meta/recipes-devtoo

[OE-core] Python3 for bitbake/OE merged

2016-06-02 Thread Richard Purdie
I just watched things break on the autobuilder as trying to keep the python3 patches in sync with all the other changes coming in was proving tricky and not really a productive use of my time. I've therefore merged the python3 patches and bitbake is now using python3. If there are any further issu

Re: [OE-core] [PATCH 02/22] classes/lib: Convert to use python3 octal syntax

2016-06-02 Thread Richard Purdie
On Wed, 2016-06-01 at 14:57 -0700, Christopher Larson wrote: > > On Wed, Jun 1, 2016 at 5:35 AM, Richard Purdie < > richard.pur...@linuxfoundation.org> wrote: > > diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass > > index 4be0a7e..1ba1222 100644 > > --- a/meta/classes/base.bbclas