[OE-core] [PATCH 1/7] oeqa/runtime/cases/parselogs.py: extend common_errors list

2018-06-13 Thread Chen Qi
Add the following line to common_errors list. Failed to read /var/lib/nfs/statd/state: Success This message is not harmful, it does not result in rpc.statd starting failure. Signed-off-by: Chen Qi --- meta/lib/oeqa/runtime/cases/parselogs.py | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH 4/7] watchdog: make init script start after syslog

2018-06-13 Thread Chen Qi
We need to make sure logs are not lost. As long as there's no strong and vaild reason, we should make daemons start after syslog. As a side effect, we could check the logs to see if there are some potential problem. In OE, the 'parselogs' test case could do it automatically. Signed-off-by: Chen

[OE-core] [PATCH 6/7] oeqa/runtime/cases/parselogs.py: ignore a message from watchdog

2018-06-13 Thread Chen Qi
The following message from watchdog is not an error. "error retry time-out = 60 seconds" Checking watchdog's source codes, we have: src/watchdog.c: log_message(LOG_INFO, "error retry time-out = %d seconds", retry_timeout); It's clear this is an info message, so parselogs should ignore it.

Re: [OE-core] [PATCH 07/12] libunistring: upgrade to 0.9.10

2018-06-13 Thread Maxin B. John
Hi Randy, On Tue, Jun 12, 2018 at 09:21:17PM -0400, Randy MacLeod wrote: > On 06/12/2018 07:18 AM, Maxin B. John wrote: > >License-Update: Checksum changed due to updation in documentation. There > >are no changes in the license terms. > > That's correct but I'm not sure if we should include > a

[OE-core] [PATCH] openssh: add nativesdk support

2018-06-13 Thread Mikko Rapeli
And use bitbake variables for install paths to fix nativesdk-openssh compilation. Signed-off-by: Mikko Rapeli --- meta/recipes-connectivity/openssh/openssh_7.7p1.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/openssh/openssh_7.7p1.bb

Re: [OE-core] [PATCH V2] bitbake.conf: add BB_CURRENT_MC to OVERRIDES

2018-06-13 Thread Ming Liu
Yes, that is true, but then I will need have a mc-default override set in local.conf any way, since I need distinguish the build for all multiconfigs, that makes me think it'd better to have a single mc-${BB_CURRENT_MC} set in OVERRIDES. //Ming Liu 2018-06-12 19:49 GMT+02:00 Andre McCurdy : >

[OE-core] [PATCH] goarch.bbclass: set SECURITY_CFLAGS for mips64

2018-06-13 Thread kai.kang
From: Kai Kang When include conf/distro/include/security_flags.inc, NOPIE flags are still required for MIPS64 target builds. Otherwise it fails to build packages such as glide which inherit go.bbclass: |

[OE-core] [PATCH 3/7] watchdog: disable systemd services by default

2018-06-13 Thread Chen Qi
systemd has internal support for watchdog. See the RuntimeWatchdogSec in /etc/systemd/system.conf. We'd better just disable this service by default. If users want to use watchdog, consider using the systemd one. Signed-off-by: Chen Qi --- meta/recipes-extended/watchdog/watchdog_5.15.bb | 3 +++

[OE-core] [PATCH 5/7] watchdog: fix init script for sysvinit

2018-06-13 Thread Chen Qi
The current init script is installed from source with redhat style. It does not get configuration from /etc/default/watchdog. We should use debian style init script. Write our own script just like what wd_keepalive does. Also, in the init script, we check the existence of /dev/watchdog to

[OE-core] [PATCH 2/7] watchdog: remove the useless watchdog-conf.patch

2018-06-13 Thread Chen Qi
This patch modifies watchdog.conf file. But this file is deliberately deleted in do_install. The current mechanism in OE is to use another recipe watchdog-conf to handle watchdog configuration. So the patch is really useless. Signed-off-by: Chen Qi --- .../watchdog/watchdog/watchdog-conf.patch

[OE-core] [PATCH 7/7] dnf: default to disable systemd units

2018-06-13 Thread Chen Qi
The services and timers are not useful if a repo is not configured. In OE, we default to have no repo configured. So we default to disable these units. The problem was found by the test_systemd_failed runtime test case. dnf-makecache.service is found to fail. This is due to lack of repo. Note

[OE-core] [PATCH 0/7] Fix failures discoved by parselogs and systemd test cases

2018-06-13 Thread Chen Qi
The following changes since commit ddbd7b0cd6580ee26e11aa87e426fb294b372d64: meta-yocto-bsp: bump to the latest linux stable kernel for edgerouter/beaglebone (2018-06-12 23:34:40 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/parselogs_failures

[OE-core] [PATCH] meson: only use lists of commands in cross file if required

2018-06-13 Thread Ross Burton
There's a bug in Meson[1] where it find_program("foo") will fail if foo is defined in the cross file as a list. This is causing the Meson build of libdrm to fail, but for this instance we can work around the problem by only using lists in the cross file if there are arguments, and just using a

Re: [OE-core] [PATCH 1/7] openssh: stop adding -D__FILE_OFFSET_BITS=64 to CFLAGS

2018-06-13 Thread Burton, Ross
Looks good to me, marked for MUT. Ross On 12 June 2018 at 18:38, Andre McCurdy wrote: > On Thu, Jun 7, 2018 at 11:48 AM, Andre McCurdy wrote: >> Openssh takes care of enabling large-file support automatically via >> the AC_SYS_LARGEFILE in the configure.ac, so additional help from the >>

Re: [OE-core] [PATCH 6/8] xserver-xorg: upgrade 1.19.6 -> 1.20.0

2018-06-13 Thread Burton, Ross
On 1 June 2018 at 16:15, akuster808 wrote: >>> - xf86-video-intel (was DRI1 removed or disabled in 1.20?) > DRI 1 is still there. > >>> - xf86-input-mouse > sent fixed for xf86-inout-mount > >>> - xf86-video-omapfb >> hmm, will double check Tried it again last night: omapfb:

[OE-core] [PATCH] libdrm: port to Meson

2018-06-13 Thread Ross Burton
Signed-off-by: Ross Burton --- ...ac-Allow-explicit-enabling-of-cunit-tests.patch | 53 -- .../recipes-graphics/drm/libdrm/installtests.patch | 25 -- meta/recipes-graphics/drm/libdrm_2.4.92.bb | 23 -- 3 files changed, 9 insertions(+), 92 deletions(-)

Re: [OE-core] [PATCH v2] sqlite3: upgrade to 3.24.0

2018-06-13 Thread Khem Raj
Hi Maxin On 6/13/18 7:54 AM, Maxin B. John wrote: Disable fts5 support as it causes build errors for pseudo. Signed-off-by: Maxin B. John --- meta/recipes-support/sqlite/sqlite3.inc | 1 + meta/recipes-support/sqlite/{sqlite3_3.23.1.bb => sqlite3_3.24.0.bb} | 4

[OE-core] [PATCH v2] sqlite3: upgrade to 3.24.0

2018-06-13 Thread Maxin B. John
Disable fts5 support as it causes build errors for pseudo. Signed-off-by: Maxin B. John --- meta/recipes-support/sqlite/sqlite3.inc | 1 + meta/recipes-support/sqlite/{sqlite3_3.23.1.bb => sqlite3_3.24.0.bb} | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)

Re: [OE-core] [PATCH 10/12] sqlite3: upgrade to 3.24.0

2018-06-13 Thread Maxin B. John
Hi Ross, On Tue, Jun 12, 2018 at 04:22:30PM +0100, Burton, Ross wrote: > Fails for me when building pseudo: > > | > /data/poky-tmp/master/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/lib/libsqlite3.a(sqlite3.o): > In function `fts5Bm25Function': > |

Re: [OE-core] [PATCH] xorgproto: Install .pc files in ${libdir}/pkgconfig

2018-06-13 Thread Jeremy A. Puhlman
Okay I did some test builds and nuking the libdir lines worked fine. The patch is submitted here: https://lists.x.org/archives/xorg-devel/2018-June/057123.html It wasn't rejected out of hand. Did you want me to roll a update to this with the submitted patch, or did you want to wait to see how

Re: [OE-core] [PATCH 6/8] xserver-xorg: upgrade 1.19.6 -> 1.20.0

2018-06-13 Thread akuster808
On 06/13/2018 03:17 AM, Burton, Ross wrote: > On 1 June 2018 at 16:15, akuster808 wrote: - xf86-video-intel (was DRI1 removed or disabled in 1.20?) >> DRI 1 is still there. >> - xf86-input-mouse >> sent fixed for xf86-inout-mount >> - xf86-video-omapfb >>> hmm, will double check

Re: [OE-core] [PATCH] xorgproto: Install .pc files in ${libdir}/pkgconfig

2018-06-13 Thread Burton, Ross
Send the patch in to oe-core with Upstream-Status: Submitted, and hopefully we can drop it shortly. Ross On 13 June 2018 at 15:32, Jeremy A. Puhlman wrote: > Okay I did some test builds and nuking the libdir lines worked fine. > > The patch is submitted here: >

Re: [OE-core] [PATCH] goarch.bbclass: set SECURITY_CFLAGS for mips64

2018-06-13 Thread Khem Raj
On Wed, Jun 13, 2018 at 12:16 AM wrote: > > From: Kai Kang > > When include conf/distro/include/security_flags.inc, NOPIE flags are > still required for MIPS64 target builds. Otherwise it fails to build > packages such as glide which inherit go.bbclass: > > | >

Re: [OE-core] [PATCH 6/8] xserver-xorg: upgrade 1.19.6 -> 1.20.0

2018-06-13 Thread Burton, Ross
On 1 June 2018 at 16:15, akuster808 wrote: > > > On 05/28/2018 07:25 AM, akuster808 wrote: >> >> On 05/23/2018 04:01 AM, Burton, Ross wrote: >>> This is breaking a number of other bits of X: >>> >>> - xf86-video-intel (was DRI1 removed or disabled in 1.20?) > DRI 1 is still there.

Re: [OE-core] [PATCH v3] ltp: fix cve-2017-5669 test case

2018-06-13 Thread Saul Wold
Can this be backported to both Rocko and Sumo? Or is this a case to update LTP in those older releases? Sau! On 06/12/2018 12:34 AM, Naresh Kamboju wrote: Adding cve-2017-5669 test fix patch which is accepted upstream in LTP repo. Ref: cve-2017-5669: shmat() for 0 (or

[OE-core] [PATCH] gcc8: drop stray uClibc specific patch

2018-06-13 Thread Andre McCurdy
The patch was previously removed for gcc7 but came back with gcc8. http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87 Signed-off-by: Andre McCurdy --- meta/recipes-devtools/gcc/gcc-8.1.inc | 1 -

Re: [OE-core] [PATCH] gcc8: drop stray uClibc specific patch

2018-06-13 Thread Khem Raj
On 6/13/18 10:28 AM, Andre McCurdy wrote: > The patch was previously removed for gcc7 but came back with gcc8. > > > http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87 > This is ok to apply, thanks for noticing it. I am planning to look into the

[OE-core] [PATCH 1/2] runqemu-extract-sdk: support tar.xz format

2018-06-13 Thread Dennis Menschel
As the format "tar.xz" is included in the IMAGE_TYPES bitbake variable as defined in meta/classes/image_types.bbclass, it should also be possible to extract a rootfs that has been built using that format. Signed-off-by: Dennis Menschel --- scripts/runqemu-extract-sdk | 5 - 1 file changed,

[OE-core] [PATCH 2/2] runqemu-extract-sdk: fix whitespace errors

2018-06-13 Thread Dennis Menschel
Indentation using a mix of whitespaces and tabs has been unified in favor of tabs. Signed-off-by: Dennis Menschel --- scripts/runqemu-extract-sdk | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk index

Re: [OE-core] [PATCH] goarch.bbclass: set SECURITY_CFLAGS for mips64

2018-06-13 Thread Khem Raj
On 6/13/18 8:15 PM, Kang Kai wrote: On 2018年06月13日 22:01, Khem Raj wrote: On Wed, Jun 13, 2018 at 12:16 AM wrote: From: Kai Kang When include conf/distro/include/security_flags.inc, NOPIE flags are still required for MIPS64 target builds. Otherwise it fails to build packages such as glide

Re: [OE-core] [PATCH] meta-toolchain: Added dnf-nativesdk into cross-development toolchain.

2018-06-13 Thread Zheng, Ruoqin
Hi Ross: I submitted this patch aim to use dnf out of Yocto build system to manage packages. So I need to add dnf-nativesdk into cross-development toolchain. My plan is as following: Step 1. Add dnf-nativesdk into cross-development toolchain to support using dnf command line. Step 2. Add

[OE-core] [PATCH] Qemu: CVE-2018-11806 slirp heap buffer overflow

2018-06-13 Thread Jeremy Puhlman
--- ...018-11806-QEMU-slirp-heap-buffer-overflow.patch | 65 ++ meta/recipes-devtools/qemu/qemu_2.12.0.bb | 1 + 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/0001-CVE-2018-11806-QEMU-slirp-heap-buffer-overflow.patch diff

[OE-core] [PATCH][rocko] Qemu CVE-2018-11806 slirp-heap-buffer-overflow

2018-06-13 Thread Jeremy Puhlman
Signed-off-by: Jeremy Puhlman --- ...018-11806-QEMU-slirp-heap-buffer-overflow.patch | 69 ++ meta/recipes-devtools/qemu/qemu_2.10.0.bb | 1 + 2 files changed, 70 insertions(+) create mode 100644

[OE-core] [PATCH][sumo] Qemu: CVE-2018-11806 slirp-heap-buffer-overflow

2018-06-13 Thread Jeremy Puhlman
Signed-off-by: Jeremy Puhlman --- ...018-11806-QEMU-slirp-heap-buffer-overflow.patch | 65 ++ meta/recipes-devtools/qemu/qemu_2.11.1.bb | 1 + 2 files changed, 66 insertions(+) create mode 100644

[OE-core] [PATCH 1/1] oeqa/runtime/cases/rpm.py: change to use base-passwd-doc

2018-06-13 Thread Chen Qi
The test cases assume that rpm-doc is built out, as it says it its comment. This is not always true. And it sometimes results in following error. | cls.tc.target.copyTo(test_file, dst) | UnboundLocalError: local variable 'test_file' referenced before assignment Change to use

[OE-core] [PATCH 0/1] oeqa/runtime/cases/rpm.py: change to use base-passwd-doc

2018-06-13 Thread Chen Qi
The following changes since commit ddbd7b0cd6580ee26e11aa87e426fb294b372d64: meta-yocto-bsp: bump to the latest linux stable kernel for edgerouter/beaglebone (2018-06-12 23:34:40 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/rpm_test_case

[OE-core] [PATCH] default-versions.inc: use weak assignments to allow overwrite

2018-06-13 Thread Stefan Stanacar
default-versions.inc is included by defaultsetup.conf which in bitbake.conf is included after local/machine/distro.conf. If these are hard assignments distros can's overwrite them. Signed-off-by: Stefan Stanacar --- meta/conf/distro/include/default-versions.inc | 6 +++--- 1 file changed, 3

[OE-core] [PATCH master, sumo, rocko] Multilibize the UPDATERCPN variable

2018-06-13 Thread Jeremy Puhlman
The audit package specifies the following: UPDATERCPN = "auditd" However because it is not multilibized, the value "auditd" is used to search for the package to add the post install script too. In the mutlilib alternate abi case, that package does not exist. It ends up assigning the post install

[OE-core] [PATCH] Remove libdir specification from xorgproto .pc files

2018-06-13 Thread Jeremy Puhlman
Signed-off-by: Jeremy Puhlman --- .../0001-Remove-libdir-specification.patch | 468 + .../xorg-proto/xorgproto_2018.4.bb | 2 + 2 files changed, 470 insertions(+) create mode 100644

[OE-core] [PATCH] atk: Correct multilib conflict in header.

2018-06-13 Thread Jeremy Puhlman
The headers don't contain any code differences, but they include the full paths to the build location in the header file. Removing the build location resolves the install conflict. Error: Transaction check error: file /usr/include/atk-1.0/atk/atk-enum-types.h conflicts between attempted

Re: [OE-core] [PATCH] Only add uninative and checksum if inherited uninative class

2018-06-13 Thread Jeremy Puhlman
Any issue with this patch? On Wed, Apr 25, 2018 at 2:18 PM, Jeremy Puhlman wrote: > The checksum value is only calculated if the uninative class is > inherited, so check for inherit before adding it to local.conf > > Signed-off-by: Jeremy Puhlman > --- > meta/classes/populate_sdk_ext.bbclass

Re: [OE-core] [poky][PATCH] poky: add ubuntu-18.04 to SANITY_TESTED_DISTROS

2018-06-13 Thread Burton, Ross
Generally we'll only do this when the autobuilders actually have a 18.04 builder, which we don't have yet. Ross On 13 June 2018 at 23:25, wrote: > From: Oleksandr Kravchuk > > Signed-off-by: Oleksandr Kravchuk > --- > meta-poky/conf/distro/poky.conf | 1 + > 1 file changed, 1 insertion(+) >

Re: [OE-core] [PATCH 07/12] libunistring: upgrade to 0.9.10

2018-06-13 Thread Randy MacLeod
On 06/13/2018 04:29 AM, Maxin B. John wrote: Hi Randy, On Tue, Jun 12, 2018 at 09:21:17PM -0400, Randy MacLeod wrote: On 06/12/2018 07:18 AM, Maxin B. John wrote: License-Update: Checksum changed due to updation in documentation. There are no changes in the license terms. That's correct but

[OE-core] [poky][PATCH] poky: add ubuntu-18.04 to SANITY_TESTED_DISTROS

2018-06-13 Thread open . source
From: Oleksandr Kravchuk Signed-off-by: Oleksandr Kravchuk --- meta-poky/conf/distro/poky.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf index 9bd9ee58c4..19459b1791 100644 --- a/meta-poky/conf/distro/poky.conf +++

Re: [OE-core] [PATCH] goarch.bbclass: set SECURITY_CFLAGS for mips64

2018-06-13 Thread Kang Kai
On 2018年06月14日 11:33, Khem Raj wrote: On 6/13/18 8:15 PM, Kang Kai wrote: On 2018年06月13日 22:01, Khem Raj wrote: On Wed, Jun 13, 2018 at 12:16 AM wrote: From: Kai Kang When include conf/distro/include/security_flags.inc, NOPIE flags are still required for MIPS64 target builds. Otherwise

[OE-core] [PATCH V2 1/1] linux-yocto: add ptest support

2018-06-13 Thread Dengke Du
Signed-off-by: Dengke Du --- meta/recipes-kernel/linux/linux-yocto/run-ptest | 138 meta/recipes-kernel/linux/linux-yocto_4.14.bb | 9 ++ 2 files changed, 147 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto/run-ptest diff --git

Re: [OE-core] [PATCH v4 01/12] gstreamer: enable ptest support

2018-06-13 Thread Anuj Mittal
Ping. On 05/25/2018 02:20 PM, Anuj Mittal wrote: > Make sure that the tests are packaged and can be executed > when ptest is enabled. Also, remove build host specific references > from Makefile. > > Signed-off-by: Anuj Mittal > --- > > v4: > Tweak AM_TESTS_ENVIRONMENT to remove hardcoded

[OE-core] [PATCH V2 0/1] linux-yocto: add ptest support

2018-06-13 Thread Dengke Du
Changed in V2: Put the run-ptest script in linux-yocto directory. The following changes since commit ddbd7b0cd6580ee26e11aa87e426fb294b372d64: meta-yocto-bsp: bump to the latest linux stable kernel for edgerouter/beaglebone (2018-06-12 23:34:40 +0100) are available in the git

Re: [OE-core] [PATCH] goarch.bbclass: set SECURITY_CFLAGS for mips64

2018-06-13 Thread Kang Kai
On 2018年06月13日 22:01, Khem Raj wrote: On Wed, Jun 13, 2018 at 12:16 AM wrote: From: Kai Kang When include conf/distro/include/security_flags.inc, NOPIE flags are still required for MIPS64 target builds. Otherwise it fails to build packages such as glide which inherit go.bbclass: |