Re: [OE-core] [PATCH] dhcp: Add choice for "with ddns" and "no ddns".

2017-03-01 Thread Zhou, Li
Ping. On 02/09/2017 02:37 PM, Li Zhou wrote: Disable DNS update functionality can solve this issue: dhcpd is listening on additional random ports. To meet different requests, add a choice in dhcp's bb file: "with ddns" version should add "ddns" to PACKAGECONFIG, and it is the default; "no ddns"

[OE-core] [PATCH V2 0/1] autotools.bbclass: delete the extra varflag set for autotools_copy_aclocals

2017-03-01 Thread Dengke Du
The following changes since commit e77712ee028b1946ab2268737499640452f7ac6f: core-image-lsb-sdk: Lower IMAGE_OVERHEAD_FACTOR (2017-03-01 23:27:11 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib dengke/del-extra-varflag-set-for-autotools_co

[OE-core] [PATCH V2 1/1] autotools.bbclass: delete the extra varflag set for autotools_copy_aclocals

2017-03-01 Thread Dengke Du
The autotools_copy_aclocals has been droped, so the varflag set for that should be removed. Signed-off-by: Dengke Du --- meta/classes/autotools.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index da5ec27..d494734 100644

[OE-core] [PATCH 1/1] delete the extra varflag set for autotools_copy_aclocals

2017-03-01 Thread Dengke Du
The autotools_copy_aclocals has been droped, so the varflag set for that should be removed. Signed-off-by: Dengke Du --- meta/classes/autotools.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index da5ec27..d494734 100644

[OE-core] [PATCH 0/1] delete the extra varflag set for autotools_copy_aclocals

2017-03-01 Thread Dengke Du
The following changes since commit e77712ee028b1946ab2268737499640452f7ac6f: core-image-lsb-sdk: Lower IMAGE_OVERHEAD_FACTOR (2017-03-01 23:27:11 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib dengke/del-extra-varflag-for-autotools_copy_a

Re: [OE-core] [PATCH 1/7] create_npm.py: add devDependencies to depends

2017-03-01 Thread Paul Eggleton
Hi Anders, On Thursday, 2 March 2017 6:19:55 AM NZDT Anders Darander wrote: > Web applications built using e.g. angular2, usually requires that the > packages in devDependencies are available. > > Signed-off-by: Anders Darander > --- > scripts/lib/recipetool/create_npm.py | 17 +

Re: [OE-core] About scripts/oe-find-native-sysroot

2017-03-01 Thread Richard Purdie
On Wed, 2017-03-01 at 13:58 +0800, Robert Yang wrote: > Hi RP, > > The common STAGING_DIR_NATIVE is gone, so the OECORE_NATIVE_SYSROOT > defined in scripts/oe-find-native-sysroot doesn't make any sense > currently: > > OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d > '"' -f

Re: [OE-core] State of bitbake world, Failed tasks 2017-03-01

2017-03-01 Thread Andreas Müller
On Wed, Mar 1, 2017 at 8:55 PM, Martin Jansa wrote: > * > openembedded-core/meta/recipes-extended/parted/parted_3.2.bb:do_compile_ptest_base Before Martin blacklists gparted for dependency :) 1. Autobuilder error log says: | ../libparted/fs/.libs/libparted-fs-resize.so: error: undefined ref

Re: [OE-core] [PATCH v2 1/1] buildhistory.bbclass: Add license declaration to packages and recipes

2017-03-01 Thread Burton, Ross
On 1 March 2017 at 13:21, wrote: > pr = d.getVar('PR', True) > +license = d.getVar('LICENSE', True) > Can you rebase this to master please? We dropped the use of True/False in general some time ago and this patch doesn't apply cleanly anymore. Ross --

[OE-core] State of bitbake world, Failed tasks 2017-03-01

2017-03-01 Thread Martin Jansa
== Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!colspan='6'|Failed depencencies!!|Signatures !!colspan='12'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64 ||q

Re: [OE-core] [PATCH 3/3] rm_work.bbclass: clean up sooner

2017-03-01 Thread Martin Jansa
On Wed, Mar 01, 2017 at 05:44:53PM +0100, Patrick Ohly wrote: > On Wed, 2017-03-01 at 16:52 +0100, Martin Jansa wrote: > > On Thu, Feb 16, 2017 at 11:26:54AM +0100, Patrick Ohly wrote: > > > On Wed, 2017-02-15 at 19:32 +0100, Martin Jansa wrote: > > > > Are all changes necessary for this to work al

[OE-core] [PATCH 7/7] scripts/lib/create_npm: handle Public Domain licenses

2017-03-01 Thread Anders Darander
Rewrite Public Domain as PD, as that's what the place holder in meta/files/common_licenses is called. Signed-off-by: Anders Darander --- scripts/lib/recipetool/create_npm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_

[OE-core] [PATCH 4/7] classes/npm: allow installation of devDependencies

2017-03-01 Thread Anders Darander
Often, eg when using angular2, there's a need to install also the devDependencies. The default is to keep the old behaviour, to not install devDependencies. Signed-off-by: Anders Darander --- meta/classes/npm.bbclass | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --g

[OE-core] [PATCH 6/7] scripts/lib/create_npm: handle AND and OR in licenses

2017-03-01 Thread Anders Darander
Handle npm packages with multiple licenses (AND and OR). Prior to this, AND and OR were treated as licensed in their own. Signed-off-by: Anders Darander --- scripts/lib/recipetool/create_npm.py | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/scripts/lib/recip

[OE-core] [PATCH 5/7] scripts/lib/create_npm: rewrite see license in eula

2017-03-01 Thread Anders Darander
Rewrite the 'SEE LICENSE IN EULA' to a single string (without spaces), to avoid splitting the string later on. (Otherwise, each word gets split, and assumed to be a license on it's own. Signed-off-by: Anders Darander --- scripts/lib/recipetool/create_npm.py | 6 -- 1 file changed, 4 inserti

[OE-core] [PATCH 3/7] lib/oe/package.py: remove @ from package name

2017-03-01 Thread Anders Darander
@ isn't allowed in package names. Angular2 packages often have @ in their names. Signed-off-by: Anders Darander --- meta/lib/oe/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 7953895..0ca41aa 100644 --- a/meta/lib/oe/package.p

[OE-core] [PATCH 2/7] create_npm.py: convert MIT/X11 to MIT

2017-03-01 Thread Anders Darander
Quite a few npm packages declare MIT/X11 as their license. This is equal to a pure MIT license. Signed-off-by: Anders Darander --- scripts/lib/recipetool/create_npm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.

[OE-core] [PATCH 1/7] create_npm.py: add devDependencies to depends

2017-03-01 Thread Anders Darander
Web applications built using e.g. angular2, usually requires that the packages in devDependencies are available. Signed-off-by: Anders Darander --- scripts/lib/recipetool/create_npm.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/lib/recipetool/c

[OE-core] [PATCH 0/7] create_npm: fixes to allow eg Angular2 based applications

2017-03-01 Thread Anders Darander
After the fixes to bitbake, which have gone in to master, there's still some issues with having devtool add work correctly with a angular2 based applications. Some of the issues, license strings gets split incorrectly, AND and OR are used in license strings in npm, @ and / in npm package names.

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-03-01 Thread Patrick Ohly
On Wed, 2017-03-01 at 16:01 +, Richard Purdie wrote: > On Wed, 2017-03-01 at 16:51 +0100, Patrick Ohly wrote: > > On Wed, 2017-03-01 at 15:12 +, Richard Purdie wrote: > > > > > > On Wed, 2017-03-01 at 08:10 +0100, Patrick Ohly wrote: > > > > > > > > Is the "build single distro for differe

Re: [OE-core] [PATCH 3/3] rm_work.bbclass: clean up sooner

2017-03-01 Thread Patrick Ohly
On Wed, 2017-03-01 at 16:52 +0100, Martin Jansa wrote: > On Thu, Feb 16, 2017 at 11:26:54AM +0100, Patrick Ohly wrote: > > On Wed, 2017-02-15 at 19:32 +0100, Martin Jansa wrote: > > > Are all changes necessary for this to work already in master? > > > > Yes. > > > > > Yesterday I've noticed that

Re: [OE-core] [PATCH] libgpg-error: correctly configure on mips64

2017-03-01 Thread Khem Raj
On Wed, Mar 1, 2017 at 4:07 AM, Alexander Kanavin wrote: > + mips64*)TUPLE=mips64el-unknown-linux-gnuabi64 ;; This probably is going to fail for big-endian mips64 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.or

Re: [OE-core] [PATCH 02/12] testsdk: Handle minimal eSDK and avoid download costs

2017-03-01 Thread Richard Purdie
Sorry I missed this one when fixing the patches, I'll add a commit message which says: """ When using a minimal eSDK, testing currently fails as the sdk isn't populated. We therefore setup the eSDK under test to point at local sstate and execute a command to ensure the toolchain is populated since

[OE-core] [PATCH 12/12] oeqa/sdkext: don't skip tests if there isn't a toolchain

2017-03-01 Thread Richard Purdie
From: Ross Burton Skipping the tests if a toolchain wasn't installed out of the box (for example, a minimal eSDK) doesn't make sense as the first thing the tests should do is install a toolchain. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/lib/oeqa/sdkext/cases/devtool.p

[OE-core] [PATCH 09/12] oeqa/esdk/devtool: clean setUpClass/tearDownClass

2017-03-01 Thread Richard Purdie
From: Ross Burton These methods are class not instance methods, so the argument should be cls not self. Also don't put variables into cls that we don't need there. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/lib/oeqa/sdkext/cases/devtool.py | 24

[OE-core] [PATCH 10/12] oeqa: add output to subprocess exceptions

2017-03-01 Thread Richard Purdie
From: Ross Burton Out of the box subprocess.CalledProcessError.__str__() just displays the command and exit code, which isn't very useful for debugging. Add a function to oeqa.utils.subprocesstweak to monkey-patch __str__() so that it can also display the value of stdout and stderr. Signed-off-

[OE-core] [PATCH 11/12] oeqa/sdkext/devtool: use finally instead of repeating cleanup

2017-03-01 Thread Richard Purdie
From: Ross Burton Use the finally: block to always to cleanup. Now that the test harness in testsdk.bbclass has monkey-patched CalledProcessException to display the output we don't need to do that in the test case. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/tes

[OE-core] [PATCH 02/12] testsdk: Handle minimal eSDK and avoid download costs

2017-03-01 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta/classes/testsdk.bbclass | 11 +++ 1 file changed, 11 insertions(+) diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index 75b4027..802e57f 100644 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk.bbclass @@ -149,6

[OE-core] [PATCH 01/12] oeqa/sdkext/devtool: rename recipe name to match upstream

2017-03-01 Thread Richard Purdie
From: Ross Burton Call the generated recipe librdfa instead of bb-example to make it clearer what is happening. Signed-off-by: Ross Burton --- meta/lib/oeqa/sdkext/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta

[OE-core] [PATCH 05/12] oeqs/sdk*/case: Use universal_newlines for subprocess calls

2017-03-01 Thread Richard Purdie
This removes the need for some of the ugly decode calls with hardcoded locales. Signed-off-by: Richard Purdie --- meta/lib/oeqa/sdk/case.py| 2 +- meta/lib/oeqa/sdkext/case.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/sdk/case.py b/meta/lib/oeqa/sdk

[OE-core] [PATCH 06/12] oeqa/sdkext/context: Work around broken dependency checks to get sdk tests running

2017-03-01 Thread Richard Purdie
This is admitted a bit of a hack but it does allow a number of significant sdk tests to run successfully and hence improves testing of eSDK which is good. I'm therefore proposing we do this until we come up with a better solution since the current lack of testing is worrying and would have caught

[OE-core] [PATCH 04/12] oeqa/sdkext: Ensure we run a deterministic set of tests

2017-03-01 Thread Richard Purdie
The directory list of sdk tests to run can vary so this code effectively selects a random set of SDK tests to run in the eSDK. We want to attemp all the SDK tests so remove the element selection. Signed-off-by: Richard Purdie --- meta/lib/oeqa/sdkext/context.py | 4 ++-- 1 file changed, 2 inser

[OE-core] [PATCH 08/12] oeqa/selftest: Drop http sstate sharing

2017-03-01 Thread Richard Purdie
Using httpServer from python for sharing sstate is known to be buggy, it can't cope with the number/type of requests coming from bitbake and quietly fails to share files. This causes intermittent build failures which are hard to debug. We can use a file:// url for the sstate mirror instead, removi

[OE-core] [PATCH 07/12] populate_sdk_ext: Allow generation of meta-extsdk-toolchain even for minimal SDKs

2017-03-01 Thread Richard Purdie
If you build a minimal eSDK currently, you don't build meta-extesdk-toolchain even if you will have built most of its dependencies. This means when you try and install a toolchain into the eSDK, it fails, breaking our automated testing of the eSDK. Therefore add the dependency unconditionally even

[OE-core] [PATCH 03/12] devtool/sdk: Run build-sysroots after installing new things

2017-03-01 Thread Richard Purdie
After running sdk-install we need to ensure that the standalone sysroots are updated as done when the eSDK is originally built. Add such a call so this happens automatically and the envrionment scripts in the SDK work correctly after updates. Signed-off-by: Richard Purdie --- scripts/lib/devtool

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-03-01 Thread Richard Purdie
On Wed, 2017-03-01 at 16:51 +0100, Patrick Ohly wrote: > On Wed, 2017-03-01 at 15:12 +, Richard Purdie wrote: > > > > On Wed, 2017-03-01 at 08:10 +0100, Patrick Ohly wrote: > > > > > > Is the "build single distro for different machines" scenario that > > > I > > > described part of the Yocto

Re: [OE-core] [PATCH 3/3] rm_work.bbclass: clean up sooner

2017-03-01 Thread Martin Jansa
On Thu, Feb 16, 2017 at 11:26:54AM +0100, Patrick Ohly wrote: > On Wed, 2017-02-15 at 19:32 +0100, Martin Jansa wrote: > > Are all changes necessary for this to work already in master? > > Yes. > > > Yesterday I've noticed that rm_work for some components which are > > early in the dependency (li

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-03-01 Thread Patrick Ohly
On Wed, 2017-03-01 at 15:12 +, Richard Purdie wrote: > On Wed, 2017-03-01 at 08:10 +0100, Patrick Ohly wrote: > > Is the "build single distro for different machines" scenario that I > > described part of the Yocto Compliance 2.0? Should there be tests for > > it? > > Right now its not Okay, s

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-03-01 Thread Richard Purdie
On Wed, 2017-03-01 at 08:10 +0100, Patrick Ohly wrote: > On Wed, 2017-03-01 at 04:00 +, Richard Purdie wrote: > > > > On Tue, 2017-02-28 at 21:09 +0100, Patrick Ohly wrote: > > > > > > On Mon, 2017-02-20 at 15:12 -0600, Aníbal Limón wrote: > > > > > > > > > > > > common.test_signatures: Tes

[OE-core] [PATCH] sstate.bbclass: update .siginfo atime

2017-03-01 Thread Ed Bartosh
.siginfo files are not being accessed from local or NFS-mounted sstate mirrors when sstate package is installed, so their atime is not updated. If sstate mirror is cleaned based on access time, they get deleted, even though they are still being used. Updated atime of .siginfo symlinks with 'touch

[OE-core] util-linux: Multiple alternatives issues preventing clean upgrades

2017-03-01 Thread Bryan Evenson
I am using opkg for package management, and before moving to a more recent branch (currently on dizzy) I'm doing some firmware upgrade tests to make sure I have a clean upgrade process. For my testing I flash an image using our current production image and then do firmware upgrade from the comm

[OE-core] [PATCH v2 1/1] buildhistory.bbclass: Add license declaration to packages and recipes

2017-03-01 Thread Hugo.Jacob
Having the license declaration in the buildhistory is useful to track licenses changes, licenses going to a given image and etc. This change adds the license declaration for recipes and packages to its buildhistory data. Signed-off-by: Hugo Jacob --- meta/classes/buildhistory.bbclass | 8 +++

Re: [OE-core] [PATCH 1/1] buildhistory.bbclass: Add license declaration to packages and recipes

2017-03-01 Thread Andreas Oberritter
Hello Hugo, On Tue, 28 Feb 2017 09:51:00 + wrote: > Having the license declaration in the buildhistory is useful to track > licenses changes, licenses going to a given image and etc. This change > adds the license declaration for recipes and packages to its > buildhistory data. > > Upstream

[OE-core] [PATCH] libgpg-error: correctly configure on mips64

2017-03-01 Thread Alexander Kanavin
This fixes the long-standing error: ../../libgpg-error-1.26/src/posix-lock.c:137: get_lock_object: Assertion `!"sizeof lock obj"' failed. Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gcr/gcr_3.20.0.bb | 4 meta/recipes-gnome/libsecret/libsecret_0.18.5.bb

[OE-core] [OE-Core][PATCH v3] firmware: use ${nonarch_base_libdir} for firmware installation.

2017-03-01 Thread Amarnath Valluri
Replace hardcoded '/lib' in kernel firmware installation path with ${nonarch_base_libdir}. Signed-off-by: Amarnath Valluri --- .../linux-firmware/linux-firmware_git.bb | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/meta/recipes-kernel/linux

[OE-core] [PATCH] buildhistory.bbclass: use tabs as separator in installed-package-sizes.txt

2017-03-01 Thread Mikko Rapeli
All other fields are separated by tabs except KiB and binary package name. This helps users, *cough managers*, who import this file into MS Excel to calculate file system usage summaries. Signed-off-by: Mikko Rapeli --- meta/classes/buildhistory.bbclass | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OE-core] [PATCH 1/1] recipes-extended: Move efivar from meta-openembedded to oe-core

2017-03-01 Thread Martin Jansa
I think it's missing pkgconfig http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111603.html and fix is already on ML: http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111628.html If I don't forget I might re-try your earlier upgrade: http://lists.ope