[OE-core] [PATCH] sudo: set with-rundir to /run/sudo

2020-07-20 Thread Ricardo Salveti
Set with-rundir to a known path instead of letting configure decide which is the best folder to store the timestamp files. This is required otherwise it might end up at /sudo, which will cause errors on a ro filesystem. Signed-off-by: Ricardo Salveti --- meta/recipes-extended/sudo/sudo_1.9.1.bb

[OE-core] [PATCH] gtk-immodules-cache.bbclass: fix post install scriptlet error

2020-07-20 Thread Changqing Li
From: Changqing Li package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default. when install package gtk-immodule-xim, it is possible met below error: /var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory warning:

[OE-core] [PATCH V2] e2fsprogs: fix up check for hardlinks always false if inode > 0xFFFFFFFF

2020-07-20 Thread hongxu
While file has a large inode number (> 0x), mkfs.ext4 could not parse hardlink correctly. Prepare three hardlink files for mkfs.ext4 $ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a 11026675846 -rw-r--r-- 3 hjia

Re: [OE-core] [PATCH] e2fsprogs: fix mkfs.ext4 not parse hardlink if file has a large inode number

2020-07-20 Thread hongxu
Please ignore this, V2 incoming //Hongxu On 7/20/20 10:42 PM, hongxu wrote: While file has a large inode number, mkfs.ext4 could not parse hardlink. $ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a 11026675846 -rw-r--r--

Re: [OE-core] Why disable NEON support in recipes if runtime detection works?

2020-07-20 Thread Khem Raj
On Sun, Jul 19, 2020 at 2:06 AM Tanu Kaskinen wrote: > > Hi! > > If a recipe provides NEON optimizations, should those be explicitly > disabled when "neon" is not in TUNE_FEATUERS, even if the software is > able to detect NEON availability at runtime? > > I'm currently converting the pulseaudio

[OE-core] [master][dunfell][PATCH] glibc: Secruity fix for CVE-2020-6096

2020-07-20 Thread akuster
From: Armin Kuster Source: glibc.org MR: 104799 Type: Security Fix Disposition: Backport from beea361050728138b82c57dda0c4810402d342b9 ChangeID: 29df826fb697fdd2742c3bace33388bda962c5f1 Description: Signed-off-by: Armin Kuster --- .../glibc/glibc/CVE-2020-6096.patch | 112

[OE-core] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2020-07-20 Thread Stephen Jolley
All, The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

[OE-core] [PATCH 1/2] pseudo: Update to add OFC fcntl lock updates

2020-07-20 Thread Richard Purdie
This adds in support for the OFC fcntl ioctl lock flags, removing warnings on some more recent linux kernels. Signed-off-by: Richard Purdie --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 2/2] oeqa/qemurunner: Add priority/nice information for running processes

2020-07-20 Thread Richard Purdie
We're seeing failures due to system load. In theory we've set process nice levels which should compensate for this. Add debugging so we can find out if they're being correctly applied. Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/qemurunner.py | 2 +-

Re: [OE-core] [master][dunfell][PATCH] glibc: whitelist CVE-2010-10029

2020-07-20 Thread Khem Raj
On Sun, Jul 19, 2020 at 1:49 PM akuster wrote: > > The update via Commit > https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/glibc?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1 > > should have added the whitelist for this CVE removed > > Signed-off-by: Armin Kuster > --- >

[OE-core][PATCH 2/2] lib/oe/reproducible: Fix error when no git HEAD

2020-07-20 Thread Joshua Watt
Fixes an error that occurs when attempting to get the timestamp of the latest commit when there is no HEAD in the git repository. The easiest way to trigger this condition is to use the 'subdir=' option when specifying a 'git://' SRC_URI. Signed-off-by: Joshua Watt ---

[OE-core][PATCH 0/2] classes/reproducible: Fix error when no git HEAD

2020-07-20 Thread Joshua Watt
Fixes a bug where getting the source date epoch would fail if there was no git HEAD (such as when 'subdir=' is used). Also takes the opportunity to move many of the anonymous python functions to library code to reducing the parsing burden Joshua Watt (2): classes/reproducible: Move to library

[OE-core][PATCH 1/2] classes/reproducible: Move to library code

2020-07-20 Thread Joshua Watt
Moves most of the python code used for dealing with the source date epoch to library code. Signed-off-by: Joshua Watt --- meta/classes/reproducible_build.bbclass | 90 +-- meta/lib/oe/reproducible.py | 95 + 2 files changed, 98

[OE-core] [PATCH v2] kernel-fitimage: build configuration for image tree when dtb is not present

2020-07-20 Thread Usama Arif
[Edited Message Follows] This patch adds support for adding configuration node even when dtb is not part of the FIT image. The conf and default node number are therefore changed to point to kernel ID rather than dtb ID when dtb does not exist. Signed-off-by: Usama Arif ---

Re: [OE-core] [PATCH] kernel-fitimage: build configuration for image tree when dtb is not present

2020-07-20 Thread Usama Arif
On 20/07/2020 08:41, Richard Purdie via lists.openembedded.org wrote: On Fri, 2020-07-17 at 15:19 +0100, Usama Arif wrote: This patch adds support for adding default config node even when dtb is not part of the FIT image. The conf options are therefore changed to point to kernel ID rather

[OE-core] [PATCH v2] kernel-fitimage: build configuration for image tree when dtb is not present

2020-07-20 Thread Usama Arif
This patch adds support for adding configuration node even when dtb is not part of the FIT image. The conf and default node number are therefore changed to point to kernel ID rather than dtb ID when dtb does not exist. Change-Id: Ia5a2940d1d29ade1d9847c64327c2a582d51c123 Signed-off-by: Usama Arif

[OE-core][PATCH v10] expat: Added ptest

2020-07-20 Thread Oleksandr via lists.openembedded.org
For ptest support of expat package: - expat_2.2.9.bb recipe was switched on cmake-based building system to avoid cahnges in autotools build system which considered in upstream as potentially deprecated (https://github.com/libexpat/libexpat/issues/330). - cmake-native_3.17.3.bb recipe was

[OE-core] [PATCH] e2fsprogs: fix mkfs.ext4 not parse hardlink if file has a large inode number

2020-07-20 Thread hongxu
While file has a large inode number, mkfs.ext4 could not parse hardlink. $ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/b 11026675846 -rw-r--r-- 3 hjia

Re: [OE-core] [PATCH] gtk-icon-cache.bbclass: update RDEPENDS

2020-07-20 Thread Martin Jansa
> Martin, Khem, I still don't know how to reproduce this error "Unable to find matching sigdata for ", could you send how to reproduce? "Unable to find matching sigdata for " part is irrelevant The issue is this: "Hash for dependent task

[OE-core] [PATCH] image.bbclass: improve wording when image size exceeds the specified limit

2020-07-20 Thread Daniel Ammann
Signed-off-by: Daniel Ammann --- meta/classes/image.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 694b58fc9f..3b5600e550 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@

Re: [OE-core][PATCH v9] expat: Added ptest

2020-07-20 Thread Richard Purdie
On Sat, 2020-07-18 at 19:02 +0300, Oleksandr via lists.openembedded.org wrote: > For ptest support of expat package: > > - expat_2.2.9.bb recipe was switched on cmake-based building system to > avoid cahnges in autotools build system which considered in upstream as > potentially deprecated

[OE-core] [zeus][PATCH] core: glib-2.0: fix requested libmount/mkostemp/selinux not being linked in

2020-07-20 Thread Ahmad Fatoum
Since 010202076760 ("meson.bbclass: avoid unexpected operating-system names"), meson is no longer used with a cross file that appends the used libc to the operating system name, e.g. linux-gnueabi. Prior to that commit, the host_system == 'linux' checks in glib's meson failed, which led to glib

[OE-core] [dunfell][PATCH] core: glib-2.0: fix requested libmount/mkostemp/selinux not being linked in

2020-07-20 Thread Ahmad Fatoum
Since 010202076760 ("meson.bbclass: avoid unexpected operating-system names"), meson is no longer used with a cross file that appends the used libc to the operating system name, e.g. linux-gnueabi. Prior to that commit, the host_system == 'linux' checks in glib's meson failed, which led to glib

Re: [OE-core] ✗ patchtest: failure for Handle OFD lock flags (rev2)

2020-07-20 Thread Stefan Agner
I guess I should have prefixed that one with [pseudo]. -- Stefan On 2020-07-20 11:02, Patchwork wrote: > == Series Details == > > Series: Handle OFD lock flags (rev2) > Revision: 2 > URL : https://patchwork.openembedded.org/series/15665/ > State : failure > > == Summary == > > > Thank you

[OE-core] ✗ patchtest: failure for Handle OFD lock flags (rev2)

2020-07-20 Thread Patchwork
== Series Details == Series: Handle OFD lock flags (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/15665/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the

[OE-core] [PATCH v2] Handle OFD lock flags

2020-07-20 Thread Stefan Agner
Linux 3.15 and newer introduced new open file description locks. Currently pseudo prints a warning if fcntl is used with OFD locks: unknown fcntl argument 37, assuming long argument. However, calls to fcntl with a OFC lock set need a struct flock pointer. Treat F_OFD_GETLK (and friends) like

[OE-core] [PATCH] cryptodev-module: Backport a patch to fix build failure with kernel v5.8

2020-07-20 Thread He Zhe
From: He Zhe Fix the following build failure with linux-yocto-dev zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'? 61 | down_read(>mmap_sem); | ^~~~ | mmap_base zc.c:77:15: error: 'struct

Re: [OE-core] [PATCH] kernel-fitimage: build configuration for image tree when dtb is not present

2020-07-20 Thread Richard Purdie
On Fri, 2020-07-17 at 15:19 +0100, Usama Arif wrote: > This patch adds support for adding default config node even > when dtb is not part of the FIT image. The conf options are > therefore changed to point to kernel ID rather than dtb > ID when dtb does not exist. > > Signed-off-by: Usama Arif >

[OE-core] [PATCH] bind: upgrade 9.11.19 -> 9.11.21

2020-07-20 Thread Yi Zhao
Signed-off-by: Yi Zhao --- .../bind/{bind_9.11.19.bb => bind_9.11.21.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-connectivity/bind/{bind_9.11.19.bb => bind_9.11.21.bb} (98%) diff --git a/meta/recipes-connectivity/bind/bind_9.11.19.bb