[OE-core] [PATCH 3/3] libtool-cross: Handle ccache sstate 'infection' issues

2018-08-10 Thread Richard Purdie
On a system without ccache, f you: INHERIT += "ccache" bitbake libtool-cross bitbake apmd then it fails due to being unable to find ccache. The references to ccache are coded into libtool-cross but the sstate checksum doesn't reflect this due to the way the class is coded (output should be the

[OE-core] [PATCH 2/3] sstate: Remove DEPLOY_DIR_IMAGE from SSTATE_DUPWHITELIST

2018-08-10 Thread Richard Purdie
Replace the generic whitelist entry with entries for the three specific 'problem' cases in OE-Core. This means the general DEPLOY_DIR_IMAGE entry doesn't mask problems for others as was recently encoutered by users reported on irc. In the whitelisted cases they occur only in multilib builds and

[OE-core] [PATCH 1/3] oeqa/esdk/devtool: Drop OETestDepends usage

2018-08-10 Thread Richard Purdie
OETestDepends doesn't work with parallelism and in this case we don't really need this dependency, it would just short out some tests quickly in the rare case the esdk environment was broken. Currently this is masking tests which is a much worse problem and we can't make OETestDepends work

[OE-core] [meta-oe][PATCH 2/3] testimage: target.start exceptions not masked.

2018-08-10 Thread Paulo Neves
Previously the target.start exceptions were being masked by the catch clause of RuntimeError and BlockingIOError which are very broad. We decoupled the start method try clause from the runTests try clause which requires catching the BlockingIOError and RuntimeError. Signed-off-by: Paulo Neves

[OE-core] [meta-oe][PATCH 1/3] testimage: Refactoring and fixing.

2018-08-10 Thread Paulo Neves
The testimage.bbclass invocation of controllers besides simpletarget and qemutarget was broken. Setting TEST_TARGET to class names did not work, only hardcoded values set in context.py were allowed. On the other hand the other TEST_TARGETs available were supposedly available through the class

[OE-core] [meta-oe][PATCH 3/3] masterimage: Check for rootfs path instead of file.

2018-08-10 Thread Paulo Neves
The rootfs might be a directory path or a file path. A case in point is if the test wants to deploy a rootfs directly by rsyncing it to the target or even use it as part of a tftp server. Signed-off-by: Paulo Neves --- meta/lib/oeqa/controllers/masterimage.py | 6 +- 1 file changed, 1

[OE-core] [PATCH] perf: fail if src path does not exist

2018-08-10 Thread Mikko Rapeli
A missing src directory from a broken kernel recipe resulted only in a warning: WARNING: copyfile: stat of /home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch failed ([Errno 2] No such file or directory:

[OE-core] [PATCH] lttng-tools: add systemd support

2018-08-10 Thread Kai Kang
Add systemd service file of lttng-tools from Fedora ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide /Everything/source/tree/Packages/l/lttng-tools-2.10.5-1.fc29.src.rpm And disable the service by default. Signed-off-by: Kai Kang ---

Re: [OE-core] [morty][PATCH] Check libcc1 directory before disabling hardcoding of RPATHs

2018-08-10 Thread Daniel Gomez
On vie, 2018-07-27 at 12:59 -0700, Andre McCurdy wrote: > On Fri, Jul 27, 2018 at 6:07 AM, Daniel Gomez > wrote: > > > > Check if libcc1 directory exits before disabling hardcode_into_libs > > configuration because of broken libtool in gcc recipes. > A patch for morty should either be a backport

Re: [OE-core] [PATCH 1/1] allarch: disable allarch when multilib is used

2018-08-10 Thread Kang Kai
On 2018年08月10日 17:24, richard.pur...@linuxfoundation.org wrote: On Fri, 2018-08-10 at 16:14 +0800, kai.k...@windriver.com wrote: From: Kai Kang Some allarch packages rdepends non-allarch packages. When multilib is used, it doesn't expand the dependency chain correctly, e.g. core-image-sato

Re: [OE-core] [PATCH 6/6] nss: fix multilib file conflict

2018-08-10 Thread Alexander Kanavin
2018-08-10 11:03 GMT+02:00 Richard Purdie : > Shouldn't those files be architecture independent given the files are > in sysconfdir? Isn't this really a determinism problem and we should > fix the builds to be deterministic instead? Yes, absolutely. This 'multilib_script' facility should be used

[OE-core] [PATCH] curl: support multilib installation of curl-config

2018-08-10 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-support/curl/curl_7.61.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/curl/curl_7.61.0.bb b/meta/recipes-support/curl/curl_7.61.0.bb index 76f5509..cabfcff 100644 ---

[OE-core] [PATCH] nfs-utils: add runtime depends for nfs-export-root

2018-08-10 Thread Dengke Du
When DISTRO_FEATURE enable "systemd", the nfs-server.service in nfs-utils depends on /etc/exports, but the file "/etc/exports" installed by package nfs-export-root. Otherwise the service would failed. So we should add the runtime depends for nfs-export-root. Signed-off-by: Dengke Du ---

Re: [OE-core] [PATCH 1/1] allarch: disable allarch when multilib is used

2018-08-10 Thread richard . purdie
On Fri, 2018-08-10 at 16:14 +0800, kai.k...@windriver.com wrote: > From: Kai Kang > > Some allarch packages rdepends non-allarch packages. When multilib is > used, it doesn't expand the dependency chain correctly, e.g. > > core-image-sato -> ca-certificates(allarch) -> openssl > > we expect

Re: [OE-core] [PATCH 6/6] nss: fix multilib file conflict

2018-08-10 Thread Richard Purdie
On Fri, 2018-08-10 at 00:31 -0700, Zhixiong Chi wrote: > Signed-off-by: Zhixiong Chi > --- > meta/recipes-support/nss/nss_3.38.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-support/nss/nss_3.38.bb b/meta/recipes- > support/nss/nss_3.38.bb > index

Re: [OE-core] [PATCH 5/6] mobile-broadband-provider-info: fix the script multilib conflict

2018-08-10 Thread Richard Purdie
On Fri, 2018-08-10 at 00:31 -0700, Zhixiong Chi wrote: > Signed-off-by: Zhixiong Chi > --- > .../mobile-broadband-provider-info_git.bb | 4 > +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-connectivity/mobile-broadband-provider- >

Re: [OE-core] [PATCH 2/6] libcheck: fix the multilib header conflict

2018-08-10 Thread Richard Purdie
On Fri, 2018-08-10 at 00:31 -0700, Zhixiong Chi wrote: > Signed-off-by: Zhixiong Chi > --- > meta/recipes-support/libcheck/libcheck_0.12.0.bb | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-support/libcheck/libcheck_0.12.0.bb >

[OE-core] [PATCH 1/1] allarch: disable allarch when multilib is used

2018-08-10 Thread kai.kang
From: Kai Kang Some allarch packages rdepends non-allarch packages. When multilib is used, it doesn't expand the dependency chain correctly, e.g. core-image-sato -> ca-certificates(allarch) -> openssl we expect dependency chain for lib32-core-image-sato: lib32-core-image-sato ->

[OE-core] [PATCH 0/1] allarch: disable allarch when multilib is used

2018-08-10 Thread kai.kang
From: Kai Kang The following changes since commit da24071e92071ecbefe51314d82bf40f85172485: bitbake: toaster/orm/management/commands/lsupdates.py: Use new layerindexlib module (2018-08-02 10:18:27 +0100) are available in the Git repository at: git://git.pokylinux.org/poky-contrib

Re: [OE-core] [PATCH] test-result-log: testcase management tool to store test result

2018-08-10 Thread Yeoh, Ee Peng
Same codes were available in github with better viewing and reviewing. https://github.com/epyeoh/openembedded-core/tree/test-result-log/scripts/lib/testresultlog -Original Message- From: Yeoh, Ee Peng Sent: Friday, August 10, 2018 4:42 PM To: openembedded-core@lists.openembedded.org

Re: [OE-core] [PATCH] test-result-log: testcase management tool to store test result

2018-08-10 Thread Yeoh, Ee Peng
Hi Richard, Ross, Paul, Anuj, As per our conversation in the past, there was a need to provide alternative testcase management tool to Testopia in order to achieve our goals of: 1) To unblocked Bugzilla upgrade to a newer version in order to receive the improvement in WebServices, performance,

[OE-core] [PATCH] test-result-log: testcase management tool to store test result

2018-08-10 Thread Yeoh Ee Peng
These scripts were developed as an alternative testcase management tool to Testopia. Using these scripts, user can store test result from OEQA automated testcase execution. These scripts will store test result & log in GIT repository. To use these scripts, first source oe environment, then run

[OE-core] [PATCH 6/6] nss: fix multilib file conflict

2018-08-10 Thread Zhixiong Chi
Signed-off-by: Zhixiong Chi --- meta/recipes-support/nss/nss_3.38.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/nss/nss_3.38.bb b/meta/recipes-support/nss/nss_3.38.bb index f3e5170a89..4f53b55f05 100644 --- a/meta/recipes-support/nss/nss_3.38.bb

[OE-core] [PATCH 5/6] mobile-broadband-provider-info: fix the script multilib conflict

2018-08-10 Thread Zhixiong Chi
Signed-off-by: Zhixiong Chi --- .../mobile-broadband-provider-info_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb

[OE-core] [PATCH 4/6] libevent: fix the multilib header conflict

2018-08-10 Thread Zhixiong Chi
Signed-off-by: Zhixiong Chi --- meta/recipes-support/libevent/libevent_2.1.8.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/libevent/libevent_2.1.8.bb b/meta/recipes-support/libevent/libevent_2.1.8.bb index 83ce4644cf..0f91e05a6c 100644 ---

[OE-core] [PATCH 1/6] multilib-script: fix ALTERNATIVE_${PN} override issue

2018-08-10 Thread Zhixiong Chi
If multilib scripts are more than one file, the variable ALTERNATIVE_${PN} will be overrode. Finally, there will be only one symbol link file. Signed-off-by: Zhixiong Chi --- meta/classes/multilib_script.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 2/6] libcheck: fix the multilib header conflict

2018-08-10 Thread Zhixiong Chi
Signed-off-by: Zhixiong Chi --- meta/recipes-support/libcheck/libcheck_0.12.0.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/libcheck/libcheck_0.12.0.bb b/meta/recipes-support/libcheck/libcheck_0.12.0.bb index e646d43968..cb97201580 100644 ---

[OE-core] [PATCH 3/6] nspr: fix script conflict for multilib

2018-08-10 Thread Zhixiong Chi
Stop the nspr-config scripts conflicting in a multilib case. Signed-off-by: Zhixiong Chi --- meta/recipes-support/nspr/nspr_4.19.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/nspr/nspr_4.19.bb b/meta/recipes-support/nspr/nspr_4.19.bb index