[OE-core] [Warrior][ 18/19] wpa-supplicant: Fix CVE-2019-9494 CVE-2019-9495 CVE-2019-9496 CVE-2019-9497 CVE-2019-9498 CVE-2019-9499 CVE-2019-11555

2019-06-23 Thread Armin Kuster
From: Adrian Bunk Signed-off-by: Adrian Bunk Signed-off-by: Armin Kuster --- ...pwd-server-Fix-reassembly-buffer-handling.patch | 48 +++ ...-constant-time-operations-for-private-big.patch | 97 ++ ...er-functions-for-constant-time-operations.patch | 222 ++

[OE-core] [Warrior][ 17/19] package.bbclass: Clean up writing of runtime pkgdata files

2019-06-23 Thread Armin Kuster
From: Peter Kjellerstedt This introduces a variable, PKGDATA_VARS, that contains the names of the variables that are to be output in the runtime pkgdata files. Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/classes/package.bbclass | 56

[OE-core] [Warrior][ 12/19] oeqa/logparser: ignore test failure commentary

2019-06-23 Thread Armin Kuster
From: Ross Burton The output format for Python and GLib both can be of this form: FAIL: foobar (Segmentation fault) In this case the test is called foobar not foobar_segmentation_fault. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster ---

[OE-core] [Warrior][ 11/19] rootfs: Fix dependency for every dpkg run

2019-06-23 Thread Armin Kuster
From: Ricardo Ribalda Delgado Avoid getting a warning on do_rootfs. Fixes: NOTE: Installing the following packages: libgdk-pixbuf-2.0-locale-en-gb glibc-locale-en-gb libatspi-locale-en-gb gstreamer1.0-locale-en-gb gtk+3-locale-en libatk-1.0-locale-en-gb gtk+3-locale-en-gb

[OE-core] [Warrior][ 14/19] libxslt: Fix CVE-2019-11068

2019-06-23 Thread Armin Kuster
From: Adrian Bunk Signed-off-by: Adrian Bunk Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../files/0001-Fix-security-framework-bypass.patch | 124 + meta/recipes-support/libxslt/libxslt_1.1.33.bb | 4 +- 2 files changed, 127 insertions(+), 1

[OE-core] [Warrior][ 15/19] texinfo-dummy-native: A little clean up of template.py

2019-06-23 Thread Armin Kuster
From: Peter Kjellerstedt This is mainly whitespace clean up, plus using the with statement when writing files. Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../texinfo-dummy-native/texinfo-dummy/template.py | 63 +++--- 1

[OE-core] [Warrior][ 16/19] texinfo-dummy-native: Rewrite template.py to use argparse

2019-06-23 Thread Armin Kuster
From: Peter Kjellerstedt The original version of template.py parses the arguments manually. This fails when looking for the -E option if, e.g., an -I option is specified without any space before its argument, and that argument contains the letter 'E'. A minor difference to the original version

[OE-core] [Warrior][ 19/19] gpg_sign/selftest: Fix secmem parameter handling

2019-06-23 Thread Armin Kuster
From: Richard Purdie We keep seeing "cannot allocate memory" errors from rpm when signing packages on the autobuilder. The following were tried: * checking locked memory use (isn't hitting limits) * Restricting RPM_GPG_SIGN_CHUNK to 1 * Limiting to 10 parallel do_package_write_rpm tasks *

[OE-core] [Warrior][ 08/19] ptest-runner: enable child procs as session leader

2019-06-23 Thread Armin Kuster
From: Randy MacLeod When running the run-execscript bash ptest as a user rather than root, a warning: bash: cannot set terminal process group (16036): Inappropriate ioctl for device bash: no job control in this shell contaminates the bash log files causing the test to fail. This happens

[OE-core] [Warrior][ 13/19] uninative: Update to 2.6 release

2019-06-23 Thread Armin Kuster
From: Richard Purdie The 2.6 release contains both libcrypt.so.1 and libcrypt.so.2 which fixes compatibility with recent fedora/suse releases. The difference is one is built with obsolete APIs enabled and one disabled. We now ship both in uninative for compatibility regardless of which distro a

[OE-core] [Warrior][ 10/19] manifest.py: fix test_SDK_manifest_entries

2019-06-23 Thread Armin Kuster
From: Chen Qi TOOLCHAIN_OUTPUTNAME could be overridden. So use this variable directly instead of its default value ${SDK_NAME}-toolchain-${SDK_VERSION}. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/lib/oeqa/selftest/cases/manifest.py | 7 ++-

[OE-core] [Warrior][ 07/19] ptest-runner: update SRCREV to latest HEAD on ptest-runner2 repo

2019-06-23 Thread Armin Kuster
From: Sakib Sajal 63d097c Add SPDX-License-Identifier: GPL-2.0-or-later in source files (HEAD) fb93c99 utils.c: close all file descriptors after completing a ptest Signed-off-by: Sakib Sajal Signed-off-by: Randy Macleod Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster ---

[OE-core] [Warrior][ 05/19] devicetree.bbclass: Combine stderr into stdout to see actual dtc error

2019-06-23 Thread Armin Kuster
From: Jaewon Lee Previously the subprocess command to run dtc was not properly displaying the error on console. Combining stderr into stdout for the dtc subprocess so the actual error can be seen on console without having to open the do_compile log. For example, previously on a dtc error, just

[OE-core] [Warrior][ 09/19] openssl: fix failure of ptest test_shlibload

2019-06-23 Thread Armin Kuster
From: Kai Kang It fails to run ptest case test_shlibload which requires libcrypto.so and libssl.so with version numbers now. Signed-off-by: Kai Kang Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-connectivity/openssl/openssl_1.1.1b.bb | 4 ++-- 1 file changed, 2

[OE-core] [Warrior][ 02/19] linux-yocto: Add scsi_debug module when ptest is in DISTRO_FEATURES

2019-06-23 Thread Armin Kuster
From: Mariano López util-linux ptest requires the scsi_debug module to perform eject/mount tests. This will conditionally add scsi_debug module when ptest is in DISTRO_FEATURES. This doesn't include linux-yocto-tiny because the resulting image will be too big and do_image would complain about

[OE-core] [Warrior][ 06/19] context.py: fix skipping function

2019-06-23 Thread Armin Kuster
From: Chen Qi The current codes to skip test cases are logically correct, but they do not work correctly in reality. It does skip the tests as the command line argument specifies, but the related information is wrong. e.g. $ oe-selftest -R archiver bblayers runtime_test 2019-06-17 09:24:53,764 -

[OE-core] [Warrior][ 04/19] diffutils/run-ptest: support to run at arbitrary path

2019-06-23 Thread Armin Kuster
From: Hongxu Jia 1. Run run-ptest at arbitrary path 2. Fix large-subopt.in1 not found ... |diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in1: No such file or directory |diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in2: No such file or

[OE-core] [Warrior][ 03/19] selftest/devtool: fix URI to MarkupSafe package

2019-06-23 Thread Armin Kuster
From: Oleksandr Kravchuk PyPi packages are now hosted at files.pythonhosted.org. [YOCTO #13243] Signed-off-by: Oleksandr Kravchuk Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OE-core] [Warrior][ 01/19] util-linux: Stop udevd to run ptests

2019-06-23 Thread Armin Kuster
From: Mariano López The util-linux's ptest uses the SCSI_DEBUG kernel module to create virtual SCSI disks. The automount feature of udevd will try to mount these disks by default. Because udevd controls the mount of the disks, the eject/mount tests will fail or be skipped. This change will stop

[OE-core] [Warrior][ 00/19] patch review

2019-06-23 Thread Armin Kuster
Please review by Wednesday The following changes since commit 712c78984c891e6357e1b1dc414431fb6c226c49: gnutls: Use ca-certificates as default trust store file (2019-06-14 07:05:34 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib

Re: [OE-core] [PATCH 2/4] scons.bbclass: use python3-scons

2019-06-23 Thread Alistair Francis
On Thu, Jun 20, 2019 at 5:22 PM Tim Orling wrote: > > > > On Thu, Jun 20, 2019 at 6:37 AM Khem Raj wrote: >> >> On Fri, Jun 7, 2019 at 5:50 PM Tim Orling >> wrote: >> > >> > SCons has supported python3 since 3.0.0 release, use it. >> > >> > [YOCTO #13381] >> > >> > Signed-off-by: Tim Orling >>

Re: [OE-core] [PATCH 2/4] scons.bbclass: use python3-scons

2019-06-23 Thread Tim Orling
On Sun, Jun 23, 2019 at 12:24 PM Adrian Bunk wrote: > On Sun, Jun 23, 2019 at 09:44:07AM -0700, Tim Orling wrote: > > On Sat, Jun 22, 2019 at 5:03 PM Khem Raj wrote: > > > > > > > > > > > On Sat, Jun 22, 2019 at 1:58 AM Adrian Bunk wrote: > > > > > >> On Thu, Jun 20, 2019 at 09:27:15PM -0600,

Re: [OE-core] [PATCH V3] gcc-runtime: fix C++ header mapping for n32/x32 tune

2019-06-23 Thread Changqing Li
On 6/21/19 6:21 PM, Martin Jansa wrote: Hi, see the fix here: http://lists.openembedded.org/pipermail/openembedded-core/2019-June/283928.html I think it doesn't need additional explanation. Any aarch64/arm multilib configuration should trigger this (or anything where TARGET_OS isn't just

[OE-core] [PATCH] mc: update to 4.8.23

2019-06-23 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- meta/recipes-extended/mc/{mc_4.8.22.bb => mc_4.8.23.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/mc/{mc_4.8.22.bb => mc_4.8.23.bb} (93%) diff --git a/meta/recipes-extended/mc/mc_4.8.22.bb

[OE-core] [PATCH] valgrind: Remove dependency on libx11

2019-06-23 Thread Adrian Bunk
It doesn't seem to be used. Signed-off-by: Adrian Bunk --- meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb index

Re: [OE-core] [PATCH 2/4] scons.bbclass: use python3-scons

2019-06-23 Thread Adrian Bunk
On Sun, Jun 23, 2019 at 09:44:07AM -0700, Tim Orling wrote: > On Sat, Jun 22, 2019 at 5:03 PM Khem Raj wrote: > > > > > > > On Sat, Jun 22, 2019 at 1:58 AM Adrian Bunk wrote: > > > >> On Thu, Jun 20, 2019 at 09:27:15PM -0600, Khem Raj wrote: > >> > On Thu, Jun 20, 2019 at 6:18 PM Tim Orling

Re: [OE-core] [PATCH 2/4] scons.bbclass: use python3-scons

2019-06-23 Thread Tim Orling
On Sat, Jun 22, 2019 at 5:03 PM Khem Raj wrote: > > > On Sat, Jun 22, 2019 at 1:58 AM Adrian Bunk wrote: > >> On Thu, Jun 20, 2019 at 09:27:15PM -0600, Khem Raj wrote: >> > On Thu, Jun 20, 2019 at 6:18 PM Tim Orling wrote: >> >... >> > > Latest mongo release appears to be 4.3.0 and appears to

[OE-core] [PATCH v3] oe_syslog.py: Handle syslogd/klogd restart race

2019-06-23 Thread Jon Mason
syslogd and klogd can occasionally take too long to restart, which causes tests to fail by starting before the log daemons are ready. To work around this problem, poll for up to 30 seconds on the processes to verify the old ones are killed and the new ones are up and running. Similarly, add