Re: [OE-core] [PATCH 1/2 v3] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-16 Thread Richard Purdie
Hi Ee Peng, On Fri, 2019-05-17 at 10:07 +0800, Yeoh Ee Peng wrote: > Convert manual testcase bsps-hw.bsps-hw.rpm_- > __install_dependency_package > from oeqa/manual/bsp-hw.json to runtime automated test. > > Signed-off-by: Yeoh Ee Peng > --- > meta/lib/oeqa/runtime/cases/rpm.py | 34 > +

[OE-core] [master][warrior][PATCH] lttng-modules: Fix build errors for kernel v5.1

2019-05-16 Thread Naveen Saini
Backport patches from upstream to fix build errors when building with kernel v5.1. Signed-off-by: Naveen Saini --- ...-create-the-new-vm_fault_t-type-v5.1.patch | 66 + ...rapper-definitions-for-obsolete-RCU..patch | 48 ...3-Fix-pipe-stop-using-can_merge-v5.1.patch | 43 +++ ...ert-

[OE-core] [PATCH 1/1] libxfont2: set CVE_PRODUCT

2019-05-16 Thread Chen Qi
Signed-off-by: Chen Qi --- meta/recipes-graphics/xorg-lib/libxfont2_2.0.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/xorg-lib/libxfont2_2.0.3.bb b/meta/recipes-graphics/xorg-lib/libxfont2_2.0.3.bb index 2b72d67..6994d79 100644 --- a/meta/recipes-graphics/xorg-

[OE-core] [PATCH 0/1] libxfont2: set CVE_PRODUCT

2019-05-16 Thread Chen Qi
*** BLURB HERE *** The following changes since commit ff472ffbb0d143de8187d84dbbf18453318f303f: apr/apr-util: Add ptest dependency on libgcc (2019-05-16 16:35:12 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/libxfont2-cve http://git.pokylinux.or

Re: [OE-core] [PATCH 1/2 v2] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-16 Thread Yeoh, Ee Peng
Hi Richard, I verified that this test was failing in multilib because the target package to be used for testing was not available. I had added skipTest logic in case the target package needed was not available. Sent the updated patches. Thank you very much for your inputs. Thanks, Yeoh Ee Pe

[OE-core] [PATCH 2/2 v3] oeqa/manual/bsp-hw.json: Remove rpm install dependency

2019-05-16 Thread Yeoh Ee Peng
Remove the bsps-hw.bsps-hw.rpm_-__install_dependency_package as it was replaced by the test_rpm_install_dependency inside oeqa/runtime/cases/rpm.py. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/manual/bsp-hw.json | 26 -- 1 file changed, 26 deletions(-) diff --git a/met

[OE-core] [PATCH 1/2 v3] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-16 Thread Yeoh Ee Peng
Convert manual testcase bsps-hw.bsps-hw.rpm_-__install_dependency_package from oeqa/manual/bsp-hw.json to runtime automated test. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/rpm.py | 34 ++ 1 file changed, 34 insertions(+) diff --git a/meta/lib/oe

Re: [OE-core] ptest with BBCLASSEXTEND

2019-05-16 Thread Changqing Li
On 5/17/19 5:13 AM, Randy MacLeod wrote: On 5/16/19 8:36 AM, Richard Purdie wrote: On Thu, 2019-05-16 at 11:54 +0100, Richard Purdie wrote: https://autobuilder.yocto.io/pub/non-release/20190514-14/testresults/testresult-report.txt A couple of patches (on the list) gets us to the results bel

[OE-core] sysstat and sysvinit

2019-05-16 Thread Slater, Joseph
Although the exact issues have changed over releases, I think that sysstat has dependencies on host /etc files or directories when using sysvinit instead of systemd. Since any "fixes" would potentially change target behavior, what are we looking for? Joe -- __

Re: [OE-core] ptest with BBCLASSEXTEND

2019-05-16 Thread richard . purdie
On Thu, 2019-05-16 at 17:13 -0400, Randy MacLeod wrote: > On 5/16/19 8:36 AM, Richard Purdie wrote: > > On Thu, 2019-05-16 at 11:54 +0100, Richard Purdie wrote: > > > https://autobuilder.yocto.io/pub/non-release/20190514-14/testresults/testresult-report.txt > > > > A couple of patches (on the list

Re: [OE-core] ptest with BBCLASSEXTEND

2019-05-16 Thread Randy MacLeod
On 5/16/19 8:36 AM, Richard Purdie wrote: On Thu, 2019-05-16 at 11:54 +0100, Richard Purdie wrote: https://autobuilder.yocto.io/pub/non-release/20190514-14/testresults/testresult-report.txt A couple of patches (on the list) gets us to the results below which is better. The perl module failures

[OE-core] [PATCH] python*-setuptools: add separate packages for pkg_resources module

2019-05-16 Thread luca . boccassi
From: Luca Boccassi The pkg_resources Python module is useful by itself, for example for automatic loading of resources shipped in a Python package. Add separate packages for it, so that users can depend on them individually and avoid pulling in the entire setuptools, which include scripts to dow

Re: [OE-core] [PATCH 1/2 v2] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-16 Thread Richard Purdie
On Thu, 2019-05-16 at 09:22 +0800, Yeoh Ee Peng wrote: > Convert manual testcase bsps-hw.bsps-hw.rpm_- > __install_dependency_package > from oeqa/manual/bsp-hw.json to runtime automated test. > > Signed-off-by: Yeoh Ee Peng > --- > meta/lib/oeqa/runtime/cases/rpm.py | 30 > ++

Re: [OE-core] [PATCH] systemd: Disable idn properly for musl instead of NI_IDN workarounds

2019-05-16 Thread Andreas Müller
On Thu, May 16, 2019 at 7:16 PM Adrian Bunk wrote: > > Signed-off-by: Adrian Bunk Think I saw similar for other recipes. Your journey cleaning up musl is highly appreciated! Andreas -- ___ Openembedded-core mailing list Openembedded-core@lists.openemb

[OE-core] [PATCH] glib-2.0: add missing libgcc dependency to glib-2.0-ptest

2019-05-16 Thread Ross Burton
The thread tests need libgcc for pthread_cancel to work. Signed-off-by: Ross Burton --- meta/recipes-core/glib-2.0/glib.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 9ffc4560a9e..82107a8a188 100644 --- a/m

[OE-core] [PATCH] systemd: Disable idn properly for musl instead of NI_IDN workarounds

2019-05-16 Thread Adrian Bunk
Signed-off-by: Adrian Bunk --- ...n-t-fail-if-libc-doesn-t-support-IDN.patch | 38 --- meta/recipes-core/systemd/systemd_242.bb | 4 +- 2 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 meta/recipes-core/systemd/systemd/0009-socket-util-don-t-fail-if-lib

[OE-core] [RFC][PATCH] tcmode-default.inc: use the same TUNE_PKGARCH variable as PN set in go-cross

2019-05-16 Thread Martin Jansa
* otherwise P_V might be set for i686 and PN and RECIPE_MAINTAINER for i586 from bitbake -e lib32-gcc-cross-i686: PREFERRED_VERSION_lib32-go-cross-i686="1.12%" RECIPE_MAINTAINER_pn-go-cross-i586="Khem Raj " $ git grep 'go-cross-${' meta/conf/distro/include/maintainers.inc:RECIPE_MAINTA

[OE-core] [PATCH 2/2] runtime ptest: run each ptest separately

2019-05-16 Thread Armin Kuster
resulttool still working Recipe | Passed| Failed | Skipped | Time(s) openssh | 0 | 0 | 1 | 1 openssl | 146 | 1 | 8 | 80 python | 0 | 0 | 0 | 21 [v2] Lets pass ptest name to ptest-runner in t

[OE-core] [v2][PATCH 0/2] refactor ptest.py

2019-05-16 Thread Armin Kuster
Sending out as a set. Ran fine on AB for fast and full ptest. Armin Kuster (2): runtime ptest: refactor for future work runtime ptest: run each ptest separately meta/lib/oeqa/runtime/cases/ptest.py | 122 ++- 1 file changed, 84 insertions(+), 38 deletions(-) -- 2.1

[OE-core] [PATCH 1/2] runtime ptest: refactor for future work

2019-05-16 Thread Armin Kuster
This in preparation for being able to run and capture each ptest separately. moves things to setup and finish functions breaks a few checks out into their own tests. no change in result tool output. Recipe | Passed| Failed | Skipped | Time(s)

Re: [OE-core] [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option

2019-05-16 Thread akuster808
On 5/16/19 8:04 AM, Alexander Kanavin wrote: > From: Marco Felsch > > Since commit [1] the imx-drm driver is covered by the generic kmsro > driver. Can you update the bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13350 - armin > > [1] https://gitlab.freedesktop.org/mesa/mesa/commit/

[OE-core] [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option

2019-05-16 Thread Alexander Kanavin
From: Marco Felsch Since commit [1] the imx-drm driver is covered by the generic kmsro driver. [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \ 41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2 Signed-off-by: Marco Felsch Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/mesa/m

[OE-core] [PATCH 2/3] qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium

2019-05-16 Thread Alexander Kanavin
This matches what the qemux86_64 is currently using, and will allow testing the instructions added in the meantime; particularly various SSE extensions are now enabled. Signed-off-by: Alexander Kanavin --- meta/conf/machine/include/qemuboot-x86.inc | 4 ++-- meta/conf/machine/qemux86.conf

[OE-core] [PATCH 1/3] packagegroup-cross-canadian: repackage when TUNE_ARCH changes

2019-05-16 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../packagegroups/packagegroup-cross-canadian.bb| 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb index d551147

Re: [OE-core] ptest with BBCLASSEXTEND

2019-05-16 Thread Richard Purdie
On Thu, 2019-05-16 at 11:54 +0100, Richard Purdie wrote: > https://autobuilder.yocto.io/pub/non-release/20190514-14/testresults/testresult-report.txt A couple of patches (on the list) gets us to the results below which is better. The perl module failures and quilt are from missing perl module depe

Re: [OE-core] [PATCH 0/4] add wic based image installer

2019-05-16 Thread Tom Rini
On Thu, May 16, 2019 at 11:48:02AM +, Lee, Chee Yang wrote: > I couldn’t figure out how to make it with sdimage-bootpart.wks, can > you tell me what did you set for IMAGE_BOOT_FILES ? > > To further explain the idea, I'm trying to use the new source plugin > and .wks.in to build a wic image

Re: [OE-core] [PATCH 0/4] add wic based image installer

2019-05-16 Thread Lee, Chee Yang
I couldn’t figure out how to make it with sdimage-bootpart.wks, can you tell me what did you set for IMAGE_BOOT_FILES ? To further explain the idea, I'm trying to use the new source plugin and .wks.in to build a wic image that "mimic" a hddimg, where I can dd the wic image to an USB drive and

[OE-core] [PATCH 2/2] apr/apr-util: Add ptest dependency on libgcc

2019-05-16 Thread Richard Purdie
Avoid: libgcc_s.so.1 must be installed for pthread_cancel to work when running the ptest without libgcc. Signed-off-by: Richard Purdie --- meta/recipes-support/apr/apr-util_1.6.1.bb | 1 + meta/recipes-support/apr/apr_1.7.0.bb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/meta/re

[OE-core] [PATCH 1/2] gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packages

2019-05-16 Thread Richard Purdie
This solves ptest runtime errors where make was missing causing the ptests to fail. Signed-off-by: Richard Purdie --- meta/recipes-core/gettext/gettext_0.19.8.1.bb | 1 + meta/recipes-devtools/flex/flex_2.6.0.bb | 2 +- meta/recipes-devtools/m4/m4-1.4.18.inc| 2 ++ meta/recipes-exte

Re: [OE-core] [PATCH] meta: handle UBOOT_CONFIG in image.bbclass

2019-05-16 Thread Ming Liu
> I wonder if we need to make it warn about missing functionality if someone is using the old option though? Agreed, will do that in V2. //Ming Liu 於 2019年5月16日 週四 下午12:55寫道: > On Thu, 2019-05-16 at 10:56 +0200, Ming Liu wrote: > > Hi, Richard: > > > > > I'd imagine the code is designed so you

Re: [OE-core] [PATCH] meta: handle UBOOT_CONFIG in image.bbclass

2019-05-16 Thread richard . purdie
On Thu, 2019-05-16 at 10:56 +0200, Ming Liu wrote: > Hi, Richard: > > > I'd imagine the code is designed so you'd inherit uboot-config in > the machine and this therefore could be made to work as is. > > Yes, that probably is how the author intended it to be used, but > unfortunately, that's not

[OE-core] ptest with BBCLASSEXTEND

2019-05-16 Thread Richard Purdie
We have a need to check the dependencies of our ptest packages. The best way to do that is to take a minimal image and run them under that in isolation. That would be a bit tedious and boring. It got me thinking about creative ways to do that and I thought I'd share the result. I created an image

Re: [OE-core] [PATCH] meta: handle UBOOT_CONFIG in image.bbclass

2019-05-16 Thread Ming Liu
Hi, Richard: > I'd imagine the code is designed so you'd inherit uboot-config in the machine and this therefore could be made to work as is. Yes, that probably is how the author intended it to be used, but unfortunately, that's not how it's being used in BSP layers, that fact is, in most BSP meta

[OE-core] [PATCH v3] ofono: upgrade 1.25 -> 1.29

2019-05-16 Thread Adrian Bunk
Remove patch applied upstream. Backport two fixes for build failures Signed-off-by: Adrian Bunk --- v3: Another buildfix backported. --- ...Add-check-for-explicit_bzero-support.patch | 27 ++ .../0001-build-Fix-a-race-condition.patch | 28 +++ .../ofono/ofono/

Re: [OE-core] [meta-oe][PATCH] protobuf: Fix ptest compilation

2019-05-16 Thread Richard Purdie
On Thu, 2019-05-16 at 08:32 +, Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) via Openembedded-core wrote: > Any comments? meta-oe changes need to go to openembedded-devel, not openembedded- core. Cheers, Richard -- ___ Openembedded

Re: [OE-core] [meta-oe][PATCH] protobuf: Fix ptest compilation

2019-05-16 Thread Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) via Openembedded-core
Any comments? Regards, Oleksiy On 16.04.19 18:34, Oleksiy Obitotskyy wrote: > Tests require c++11 support, so add -std=c++11 > to compiler flags. > > Upstream-Status: Pending > Signed-off-by: Oleksiy Obitotskyy > --- > meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb | 4 ++-- > 1 file chang

Re: [OE-core] [PATCH] kexec-tools: Fix compilation with clang

2019-05-16 Thread Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) via Openembedded-core
Any comments? Regards, Oleksiy On 16.04.19 18:29, Oleksiy Obitotskyy wrote: > clang assembler do not understand some directives e.g. > > ../kexec-tools-2.0.17/purgatory/arch/i386/entry32-16.S:23:2: error: unknown > directive > .arch i386 > ^ ../kexec-tools-2.0.17/purgatory/arch/i386/entry32-16.S

Re: [OE-core] [PATCH] meta: handle UBOOT_CONFIG in image.bbclass

2019-05-16 Thread Richard Purdie
On Wed, 2019-05-15 at 21:22 +0200, liu.min...@gmail.com wrote: > From: Ming Liu > > The code dealing with IMAGE_FSTYPES in uboot-config.bbclass would not > take any effect since it's in a uboot particular class, but it's not > being inherited by any image recipes. > > Move the IMAGE_FSTYPES hand

[OE-core] [PATCH] musl: Add TEMP_FAILURE_RETRY from glibc

2019-05-16 Thread Adrian Bunk
Patch it into musl instead of patching all users (currently elfutils and next ofono). Signed-off-by: Adrian Bunk --- ...0001-unistd.h-Add-TEMP_FAILURE_RETRY.patch | 36 +++ meta/recipes-core/musl/musl_git.bb| 1 + ...ternatives-for-glibc-assumptions-hel.patch | 30 +-

[OE-core] [PATCH] grub-efi-cfg, systemd-boot-cfg: use MACHINE_ARCH

2019-05-16 Thread Martin Jansa
* both use KERNEL_IMAGETYPE variable which is MACHINE specific * fixes: === Comparing signatures for task do_configure.sigdata between hammerhead and mako === ERROR: grub-bootconf different signature for task do_configure.sigdata between hammerhead and mako basehash changed from 710332f3e