Re: [OE-core] [PATCH 3/6] yocto-compat-layer.py: apply test_signatures to all layers

2017-05-29 Thread Patrick Ohly
On Mon, 2017-05-29 at 13:14 -0700, Christopher Larson wrote: > > On Mon, May 29, 2017 at 12:26 PM, Aníbal Limón > wrote: > > > > Changing software versions is indeed a bit more problematic. > One could > > argue that layers shouldn't fight over who provides a >

Re: [OE-core] [PATCH v4] busybox: make SYSLOGD optionnal

2017-05-29 Thread Romain Perier
Hello, Le 29/05/2017 à 00:30, Otavio Salvador a écrit : > On Sun, May 28, 2017 at 3:59 AM, Romain Perier > wrote: >> Some distros might choose another syslogd provider like rsyslogd. >> update-alternative will update the link from syslogd to the right >> provider. However the syslogd feature is

Re: [OE-core] [PATCH] mesa: potentially enable texture float for gallium

2017-05-29 Thread Trevor Woerner
Hi Richard, Thanks for your review. On Mon, May 29, 2017 at 7:25 PM, Richard Purdie wrote: > On Fri, 2017-05-26 at 17:22 -0400, Trevor Woerner wrote: >> Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some >> algorithms that are encumbered by patents. These algorithms are >> ena

[OE-core] [PATCH] ltp: upgrade to 20170516

2017-05-29 Thread Fan Xin
1. Upgrade ltp from 20170116 to 20170516 2. Rename and Rebase patch file on 20170516 0034-periodic_output.patch to 0034-Add-periodic-output-for-long-time-test.patch 3. Delete the unnecessary patch 0039-fcntl-fix-the-time-def-to-use-time_t.patch 4. Update the md5sum of licesce file Au

[OE-core] [PATCHv3 0/2] devshell: make sure toolchains are populated in sysroot

2017-05-29 Thread rebecca . swee . fun . chang
From: Chang Rebecca Swee Fun Rework on PATCHv2. addtask do_prepare_recipe_sysroot is having the same effect on building more dependencies for devshell. The 2nd patch in series is to clean up some trailing whitespaces within devshell.bbclass. I have done some tests on random recipe to ensure thi

Re: [OE-core] [PATCH 1/2] devshell.bbclass: ensure toolchains available for do_devshell

2017-05-29 Thread Paul Eggleton
Hi Richard, On Tuesday, 30 May 2017 11:31:36 AM NZST Richard Purdie wrote: > On Mon, 2017-05-29 at 13:16 +0800, Chang Rebecca Swee Fun wrote: > > Toolchains are required to be prepopulated in sysroot before > > entering devshell. > > > > [YOCTO #11464] > > > > Signed-off-by: Chang Rebecca Swee F

Re: [OE-core] [PATCH 1/2] devshell.bbclass: ensure toolchains available for do_devshell

2017-05-29 Thread Richard Purdie
On Mon, 2017-05-29 at 13:16 +0800, Chang Rebecca Swee Fun wrote: > Toolchains are required to be prepopulated in sysroot before > entering devshell. > > [YOCTO #11464] > > Signed-off-by: Chang Rebecca Swee Fun > --- >  meta/classes/devshell.bbclass | 11 ++- >  1 file changed, 10 inserti

Re: [OE-core] [PATCH] mesa: potentially enable texture float for gallium

2017-05-29 Thread Richard Purdie
On Fri, 2017-05-26 at 17:22 -0400, Trevor Woerner wrote: > Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some > algorithms that are encumbered by patents. These algorithms are > enabled with > mesa's --enable-texture-float configure flag. However, if hardware > acceleration is be

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-29 Thread Richard Purdie
On Mon, 2017-05-29 at 18:54 +0300, Alexander Kanavin wrote: > I see. You are right here. I admit I don't fully understand if it's  > generally okay for -native recipes to look around in (and later use)  > host include  directories like that, as we're striving towards  > reproducible builds, and thi

Re: [OE-core] [PATCH 2/2] import: new plugin to import the devtool workspace

2017-05-29 Thread Paul Eggleton
On Friday, 26 May 2017 9:31:48 AM NZST leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > Takes a tar archive created by 'devtool export' and export it (untar) to > workspace. By default, the whole tar archive is imported, thus there is no > way to limit what is impo

Re: [OE-core] [PATCH 1/2] export: new plugin to export the devtool workspace

2017-05-29 Thread Paul Eggleton
Hi Leo, A few notes below. On Friday, 26 May 2017 9:31:47 AM NZST leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > By default, exports the whole workspace (all recipes) including the source > code. > User can also limit what is exported with --included/--excluded

Re: [OE-core] [PATCH v3] package_ipk: correct ipk multiline descriptions

2017-05-29 Thread Andreas Oberritter
On Mon, 29 May 2017 10:36:47 -0700 leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > Empty descriptions lines are set with a space following by a dot and > the multiline ones require a leading space. Also, for non-empty lines, > there is no need for formating with t

[OE-core] KERNEL_IMAGETYPES and Image.gz

2017-05-29 Thread Nicolas Dechesne
hi, i am trying to set KERNEL_IMAGETYPES="Image.gz" in my machine conf file. But it doesn't work. I am seeing this error during kernel_do_compile(): run.do_compile.30019: cannot open Image: No such file In fact the code snippet that tries to compress the Image file into Image.gz expects the Ima

Re: [OE-core] [PATCH 1/3] piglit: depend on virtual/egl

2017-05-29 Thread Daniel Díaz Rodríguez
Ping on this series (#6793 in Patchwork). -- ddiaz On 18 May 2017 at 13:22, Daniel Díaz wrote: > While building for Hikey using Mali 450 driver (r6p0), an > error like the following appears while linking: > > [ 1%] Linking C shared library ../../../../lib/libpiglitutil.so > [...] > [..

Re: [OE-core] [PATCH 3/6] yocto-compat-layer.py: apply test_signatures to all layers

2017-05-29 Thread Christopher Larson
On Mon, May 29, 2017 at 12:26 PM, Aníbal Limón wrote: > > > > Changing software versions is indeed a bit more problematic. One could > > argue that layers shouldn't fight over who provides a certain recipe in > > the first place. If they do, perhaps the "additional layers" (= the ones > > with lo

Re: [OE-core] [PATCH 3/6] yocto-compat-layer.py: apply test_signatures to all layers

2017-05-29 Thread Aníbal Limón
On 05/29/2017 02:18 PM, Patrick Ohly wrote: > On Mon, 2017-05-29 at 11:13 -0500, Aníbal Limón wrote: >> On 05/29/2017 10:32 AM, Patrick Ohly wrote: >>> Software layers were previously allowed to change signatures, but >>> that's not desired for those layers either. The rule that a layer >>> which

Re: [OE-core] [PATCH 3/6] yocto-compat-layer.py: apply test_signatures to all layers

2017-05-29 Thread Patrick Ohly
On Mon, 2017-05-29 at 11:13 -0500, Aníbal Limón wrote: > On 05/29/2017 10:32 AM, Patrick Ohly wrote: > > Software layers were previously allowed to change signatures, but > > that's not desired for those layers either. The rule that a layer > > which is "Yocto Compatible 2.0" must not change signat

[OE-core] [PATCH v3] package_ipk: correct ipk multiline descriptions

2017-05-29 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Empty descriptions lines are set with a space following by a dot and the multiline ones require a leading space. Also, for non-empty lines, there is no need for formating with textwrap, so remove the logic for the latter. The documentation for multiline description was tak

Re: [OE-core] [PATCH v2] package_ipk: correct ipk descriptions

2017-05-29 Thread Leonardo Sandoval
On Wed, 2017-05-24 at 23:08 +0100, Burton, Ross wrote: > > On 24 May 2017 at 21:47, Leonardo Sandoval > wrote: > I will check that particular recipe and bb world just so see > if some > other recipe is broken with this change, then provide a v3. > > > And double

Re: [OE-core] [PATCH 0/6] yocto-compat-layer.py: various enhancements

2017-05-29 Thread Aníbal Limón
Most of the patches looks good, i only have comments on: - yocto-compat-layer.py: apply test_signatures to all layers For the rest: Acked-by: Aníbal Limón Cheers, Anibal On 05/29/2017 10:32 AM, Patrick Ohly wrote: > While enhancing the layer structure in intel-iot-refkit I ran into > various

Re: [OE-core] [PATCH 3/6] yocto-compat-layer.py: apply test_signatures to all layers

2017-05-29 Thread Aníbal Limón
On 05/29/2017 10:32 AM, Patrick Ohly wrote: > Software layers were previously allowed to change signatures, but > that's not desired for those layers either. The rule that a layer > which is "Yocto Compatible 2.0" must not change signatures unless > explicitly requested holds for all kinds of layer

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-29 Thread Alexander Kanavin
On 05/29/2017 04:06 PM, Max Krummenacher wrote: +- # check if rpm contains a bundled berkeley db +- CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H) ++ set(HAVE_RPM_DB_H 0) Have you looked into what CHECK_INCLUDE_FILE does, and whether it can be fixed? I'd like to hear about your findings. Yes,

[OE-core] [PATCH 2/6] yocto-compat-layer.py: tolerate broken world builds during signature diff

2017-05-29 Thread Patrick Ohly
The "test_signatures" test ignored a broken world build when getting signatures, but the code which then tried to analyze a difference found by the test didn't, which prevented printing the difference. Signed-off-by: Patrick Ohly --- scripts/lib/compatlayer/__init__.py | 7 ++- scripts/l

[OE-core] [PATCH 3/6] yocto-compat-layer.py: apply test_signatures to all layers

2017-05-29 Thread Patrick Ohly
Software layers were previously allowed to change signatures, but that's not desired for those layers either. The rule that a layer which is "Yocto Compatible 2.0" must not change signatures unless explicitly requested holds for all kinds of layers. Signed-off-by: Patrick Ohly --- scripts/lib/co

[OE-core] [PATCH 1/6] yocto-compat-layer.py: avoid adding layers more than once

2017-05-29 Thread Patrick Ohly
add_layer_dependencies() might get called more than once, or one of the layer dependencies might already be present. The function should not add layers again because doing so can cause warnings like: WARNING: Duplicate inclusion for .../meta-openembedded/meta-oe/conf/distro/include/meta_oe_secu

[OE-core] [PATCH 5/6] yocto-compat-layer.py: allow README with suffix

2017-05-29 Thread Patrick Ohly
It may be useful to append a suffix denoting the file format. For example, README.rst is rendered differently when viewed on Github, and also helps editors to switch to a mode more suitable for the format. The tests uses a file pattern to find the README file(s) and treats the one with the shortes

[OE-core] [PATCH 6/6] yocto-compat-layer.py: make signature check code reusable

2017-05-29 Thread Patrick Ohly
This moves the main content of test_signature into a helper function. It can be reused by arbitrary tests that need to do a before/after signature comparison. Long-term this might even be useful in oeqa itself. Signed-off-by: Patrick Ohly --- scripts/lib/compatlayer/__init__.py | 66

[OE-core] [PATCH 4/6] yocto-compat-layer.py: add test_world

2017-05-29 Thread Patrick Ohly
"test_signatures" ignores wold build breakage for the sake of reporting differences also when a world build is broken. Therefore we need a dedicated test that a world build at least theoretically can proceed without obvious parse time problems (dependencies, parse errors, dangling .bbappends, etc.)

[OE-core] [PATCH 0/6] yocto-compat-layer.py: various enhancements

2017-05-29 Thread Patrick Ohly
While enhancing the layer structure in intel-iot-refkit I ran into various cases where enhancements to the tool were necessary. intel-iot-refkit now has oe-selftests that check all layers using this tool. In addition, the signature checking utility code is imported into a custom test that also cove

[OE-core] [PATCH 0/1] bblayers sanity: bblayers.conf.sample specific update code

2017-05-29 Thread Patrick Ohly
In an experimental branch of refkit I bumped LCONF_VERSION from 4 to 5 and ran into the problem mentioned in the commit message: instead of raising an error as before, the code (incorrectly) claimed to have updated the bblayers.conf file. Perhaps refkit should have started with LCONF_VERSION as in

[OE-core] [PATCH 1/1] bblayers sanity: bblayers.conf.sample specific update code

2017-05-29 Thread Patrick Ohly
The code in sanity.bbclass was executed for all distros, regardless whether they use the same numbering of bblayers.conf.sample as OE-core. This is problematic for distros which started at LCONF_VERSION=1: once they reach the 5 to 7 (inclusive) number range, the code from sanity.bbclass kicks in a

[OE-core] [PATCH 1/2] mmc-utils: Upgrade to latest git version

2017-05-29 Thread Maxin B. John
Updates in the new version: 37c86e6 : mmc-utils: Check for ext_csd_rev only once c22a92f : mmc-utils: feature spec 5.0+, Pre EOL information 34a954b : mmc-utils: feature spec 5.0+, device life time estimation for MLC and pSLC mode Signed-off-by: Maxin B. John --- meta/recipes-dev

[OE-core] [PATCH 2/2] bluez5: Upgrade 5.44 -> 5.45

2017-05-29 Thread Maxin B. John
Signed-off-by: Maxin B. John --- meta/recipes-connectivity/bluez5/{bluez5_5.44.bb => bluez5_5.45.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-connectivity/bluez5/{bluez5_5.44.bb => bluez5_5.45.bb} (91%) diff --git a/meta/recipes-connectivity/bluez5/bluez5_5

Re: [OE-core] [PATCH 00/36] OEQA threading support and selftest migration

2017-05-29 Thread Leonardo Sandoval
On Mon, 2017-05-29 at 14:19 +0100, Richard Purdie wrote: > On Mon, 2017-05-29 at 08:15 -0500, Leonardo Sandoval wrote: > > On Sat, 2017-05-27 at 00:32 +0100, Richard Purdie wrote: > > > > > > On Fri, 2017-05-26 at 15:37 -0500, Aníbal Limón wrote: > > > > > > > > This series is the integration of

Re: [OE-core] [PATCH 00/36] OEQA threading support and selftest migration

2017-05-29 Thread Richard Purdie
On Mon, 2017-05-29 at 08:15 -0500, Leonardo Sandoval wrote: > On Sat, 2017-05-27 at 00:32 +0100, Richard Purdie wrote: > > > > On Fri, 2017-05-26 at 15:37 -0500, Aníbal Limón wrote: > > > > > > This series is the integration of tree main changes into the OEQA > > > module, > > > > > > * Implemen

Re: [OE-core] [PATCH 00/36] OEQA threading support and selftest migration

2017-05-29 Thread Leonardo Sandoval
On Sat, 2017-05-27 at 00:32 +0100, Richard Purdie wrote: > On Fri, 2017-05-26 at 15:37 -0500, Aníbal Limón wrote: > > This series is the integration of tree main changes into the OEQA > > module, > > > > * Implement threading support into OEQA core module > > * Enables OEQA threaded mode into {,e}

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-29 Thread Max Krummenacher
2017-05-29 15:00 GMT+02:00 Max Krummenacher : > 2017-05-29 12:50 GMT+02:00 Alexander Kanavin > : >> On 05/26/2017 11:35 PM, Max Krummenacher wrote: >>> >>> +- # check if rpm contains a bundled berkeley db >>> +- CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H) >>> ++ set(HAVE_RPM_DB_H 0) >> >> >> Have

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-29 Thread Max Krummenacher
2017-05-29 12:50 GMT+02:00 Alexander Kanavin : > On 05/26/2017 11:35 PM, Max Krummenacher wrote: >> >> +- # check if rpm contains a bundled berkeley db >> +- CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H) >> ++ set(HAVE_RPM_DB_H 0) > > > Have you looked into what CHECK_INCLUDE_FILE does, and whether

[OE-core] [PATCH] ghostscript: CVE-2016-7977, CVE-2016-7978, CVE-2016-7979, CVE-2017-9216

2017-05-29 Thread Catalin Enache
Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document. Use-after-free vulnerability in Ghostscript 9.20 might allow remote attackers to execute a

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-29 Thread Alexander Kanavin
On 05/26/2017 11:35 PM, Max Krummenacher wrote: +- # check if rpm contains a bundled berkeley db +- CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H) ++ set(HAVE_RPM_DB_H 0) Have you looked into what CHECK_INCLUDE_FILE does, and whether it can be fixed? I'd like to hear about your findings. Alex

Re: [OE-core] [PATCH] boost: backport a regression fix for forgotten header

2017-05-29 Thread Puustinen, Ismo
On Mon, 2017-05-15 at 14:54 +0300, Dmitry Rozhkov wrote: > The v1.64 release has broken array serialization code with issues > reported in > > https://svn.boost.org/trac/boost/ticket/12516 > https://github.com/bmwcarit/meta-ros/issues/505 > > Backport the fix from boost::serialization's master.

[OE-core] [PATCH] libdrm: upgrade to 2.4.81

2017-05-29 Thread Nicolas Dechesne
Signed-off-by: Nicolas Dechesne --- meta/recipes-graphics/drm/{libdrm_2.4.80.bb => libdrm_2.4.81.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/drm/{libdrm_2.4.80.bb => libdrm_2.4.81.bb} (93%) diff --git a/meta/recipes-graphics/drm/libdrm_2.4.80.bb b

[OE-core] [PATCH] kmscube: upgrade version

2017-05-29 Thread Nicolas Dechesne
Upgrade to a more recent kmscube commit from git. Tested on DB410c and DB820c with s/w and h/w codecs (v4l2). Signed-off-by: Nicolas Dechesne --- meta/recipes-graphics/kmscube/kmscube_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/kmscube/kmscube

Re: [OE-core] [pyro] [PATCH] cryptodev-linux: update SRC_URI

2017-05-29 Thread Chang, Rebecca Swee Fun
Hi Maxin, > -Original Message- > From: John, Maxin > Sent: Monday, May 29, 2017 3:50 PM > To: Chang, Rebecca Swee Fun > Cc: OpenEmbedded Core Mailing List c...@lists.openembedded.org> > Subject: Re: [OE-core] [pyro] [PATCH] cryptodev-linux: update SRC_URI > > Hi Rebecca, > > On Fri, M

Re: [OE-core] [pyro] [PATCH] cryptodev-linux: update SRC_URI

2017-05-29 Thread Maxin B. John
Hi Rebecca, On Fri, May 26, 2017 at 03:07:01PM +0800, Chang Rebecca Swee Fun wrote: > Gna! project announced that the download site from gna.org HTTP server > will soon be closing down. We have verified that the site is no longer > accessible without network proxy cache. We need to update SRC_URI

Re: [OE-core] What's the "proper" way to start WiFi networking?

2017-05-29 Thread Mike Looijmans
On 24-05-17 14:58, Mike Looijmans wrote: For boards that offer WiFi, I'd want them to connect more or less automatically. I was wondering if there were better ways than handcrafting shell scripts to do this on a headless embedded board? If I put wpa-conf into /etc/network/interfaces it wor

[OE-core] [PATCH v2] elfutils: Upgrade 0.168 to 0.169

2017-05-29 Thread Fan Xin
1) Upgrade elfutils from 0.168 to 0.169 2) Delete unnecessary patches which has been merged into 0.169 3) Rebase the patch files for 0.169 Signed-off-by: Fan Xin --- .../elfutils-0.168/Fix_one_GCC7_warning.patch | 44 --- ...de-alternatives-for-glibc-assumptions-hel.patch |