[OE-core] ✗ patchtest: failure for Log colorizer

2020-07-27 Thread Patchwork
== Series Details == Series: Log colorizer Revision: 1 URL : https://patchwork.openembedded.org/series/25352/ 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 proposed series

[OE-core] [meta-oe][PATCH 3/3] log-colorizer.bbclass: add new class

2020-07-27 Thread Chris Laplante via lists.openembedded.org
This bbclass turns on compiler color diagnostics to make it easier to visually interpret compiler errors and warnings. It can be used per-recipe or globally (via INHERIT in local.conf). You can set the LOG_COLORIZER_SUPPRESS_COLORIZED_OUTPUT variable to turn off color output - this is intended

[OE-core] [meta-oe][PATCH 2/3] base.bbclass: make oe.log_colorizer available in global context

2020-07-27 Thread Chris Laplante via lists.openembedded.org
Signed-off-by: Chris Laplante --- meta/classes/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 4c681cc870..5a969b207a 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -12,7 +12,7

[OE-core] [meta-oe][PATCH 1/3] lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler

2020-07-27 Thread Chris Laplante via lists.openembedded.org
This progress handler intercepts log output, stripping any ANSII color escape codes. Then the stripped output is fed to the underlying progress handler which will render the progress bar as usual. Signed-off-by: Chris Laplante --- meta/lib/oe/log_colorizer.py | 86

[OE-core] [meta-oe][PATCH 0/3] Log colorizer

2020-07-27 Thread Chris Laplante via lists.openembedded.org
This patch series turns on color compiler diagnostics. It is especially useful when doing edit-compile-test development work with devtool. It is based on one I've been using internally for about a year now. Limitation: Note that the *.nocolor and *.color logs will only contain the output of the

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

2020-07-27 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:

Re: [OE-core][PATCH v2 2/2] buildtools-tarball: eliminate overwtiting OPENSSL_CONF

2020-07-27 Thread Richard Purdie
On Fri, 2020-07-24 at 07:26 +0200, Jens Rehsack wrote: > Remove overwriting of OPENSSL_CONF from buildtools-tarball.bb to clarify > whether nativesdk-openssl installs wrong content or buildtools-tarball: > (nativesdk-openssl) tmp/sysroots/x86_64/usr/lib/ssl-1.1/openssl.cnf >

[OE-core] [PATCH] gcc: Fix mangled patch

2020-07-27 Thread Richard Purdie
To quote Zhuang : """ A few days ago, I tried to compile a gcc plugin with the toolchain from poky sdk. It failed with errors about missing header files such as backend.h etc. After investigation, I found that the problem was brought by a gcc patch:

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

2020-07-27 Thread Andre McCurdy
On Sun, Jul 26, 2020 at 7:01 AM Khem Raj wrote: > On Sun, Jul 26, 2020 at 12:59 AM Tanu Kaskinen wrote: >> On Sun, 2020-07-26 at 09:27 +0300, Tanu Kaskinen wrote: >> > On Mon, 2020-07-20 at 15:26 -0700, Khem Raj wrote: >> > > On Sun, Jul 19, 2020 at 2:06 AM Tanu Kaskinen wrote: >> > > > Hi! >>

Re: [OE-core] [PATCH] re2c: update to 2.0

2020-07-27 Thread Oleksandr Kravchuk
On 27/07/2020 21:22, Richard Purdie wrote: On Sun, 2020-07-26 at 21:42 +0200, Oleksandr Kravchuk wrote: Signed-off-by: Oleksandr Kravchuk --- meta/recipes-support/re2c/{re2c_1.3.bb => re2c_2.0.bb} | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) rename

Re: [OE-core] [PATCH] re2c: update to 2.0

2020-07-27 Thread Richard Purdie
On Sun, 2020-07-26 at 21:42 +0200, Oleksandr Kravchuk wrote: > Signed-off-by: Oleksandr Kravchuk > --- > meta/recipes-support/re2c/{re2c_1.3.bb => re2c_2.0.bb} | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > rename meta/recipes-support/re2c/{re2c_1.3.bb => re2c_2.0.bb} (74%) >

[OE-core] [PATCH] git: update 2.28.0

2020-07-27 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- meta/recipes-devtools/git/{git_2.27.0.bb => git_2.28.0.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta/recipes-devtools/git/{git_2.27.0.bb => git_2.28.0.bb} (51%) diff --git a/meta/recipes-devtools/git/git_2.27.0.bb

Re: [OE-core] [PATCH] python3-numpy: Stop shipping manual config files

2020-07-27 Thread Adrian Bunk
On Tue, Jul 21, 2020 at 12:28:15PM +0200, Frieder Schrempf wrote: > Hi Armin, Anuj, Adrian, Hi Frieder, > On 27.10.19 18:36, Adrian Bunk wrote: > > Automatic generation seems to work fine, > > and does not become outdated. > > > > Signed-off-by: Adrian Bunk > > Can you confirm this will also

Re: [OE-core] [PATCH] meson: use the more specific cpu arch in cross file

2020-07-27 Thread Ruslan Babayev
Hi Ross, According to https://mesonbuild.com/Cross-compilation.html There are two different values for the CPU. The first one is cpu_family. It is a general type of the CPU. This should have a value from the CPU Family table . *Note*

Re: [OE-core] [PATCH v2] cve-update: handle baseMetricV2 as optional

2020-07-27 Thread Konrad Weihmann
Hi all, please consider this patch to be backported to dunfell/zeus and warrior. Master-rev: bbefe04a622e166d95093d5127c316de91b27d20 Thanks Konrad On 26.07.20 16:10, Konrad Weihmann wrote: Currently in NVD DB an item popped up, which hasn't set baseMetricV2. Let the parser handle it as an

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

2020-07-27 Thread Steve Sakoman
On Mon, Jul 27, 2020 at 6:14 AM Andreas Müller wrote: > If I am not mistaken, the patch > "meson.bbclass: avoid unexpected operating-system names" > made it into dunfell so this patch does not change anything (it should > do no harm either) You are correct! I didn't parse the commit message

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

2020-07-27 Thread Andreas Müller
On Mon, Jul 27, 2020 at 5:10 PM Steve Sakoman wrote: > > From: 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

Re: [OE-core] [v2][PATCH] cve-check: print warning if file is missing

2020-07-27 Thread Richard Purdie
On Mon, 2020-07-27 at 09:05 -0700, akuster808 wrote: > > On 7/27/20 7:47 AM, Richard Purdie wrote: > > On Mon, 2020-07-27 at 06:57 -0700, akuster808 wrote: > > > On 7/27/20 2:39 AM, Richard Purdie wrote: > > > > On Sun, 2020-07-26 at 19:52 -0700, akuster wrote: > > > > > If the "tmp/cve_check"

Re: [OE-core][PATCH v2 1/2] toolchain-scripts.bbclass: also recognize ${SDK_SYS} env setups

2020-07-27 Thread Richard Purdie
On Fri, 2020-07-24 at 07:26 +0200, Jens Rehsack wrote: > Instead of recognizing only environment-setup scripts in > ${STAGING_DIR_TARGET} or ${STAGING_DIR_NATIVE}, respectively - lurk also into > ${SDKPATH}/buildtools/sysroots/${SDK_SYS} where nativesdk-openssl installs > setup files. > >

Re: [OE-core] [v2][PATCH] cve-check: print warning if file is missing

2020-07-27 Thread akuster
On 7/27/20 7:47 AM, Richard Purdie wrote: > On Mon, 2020-07-27 at 06:57 -0700, akuster808 wrote: >> On 7/27/20 2:39 AM, Richard Purdie wrote: >>> On Sun, 2020-07-26 at 19:52 -0700, akuster wrote: If the "tmp/cve_check" file was not create as in the case for -c populate_sdk, just print

[OE-core][dunfell 17/18] buildhistory: use pid for temporary txt file name

2020-07-27 Thread Steve Sakoman
From: Lee Chee Yang buildhistory create .txt file bh_installed_pkgs.txt and bh_installed_pkgs_deps.txt while listing down installed package. These file is later removed in buildhistory_get_installed(). when multiple process runs in parellal there are chances to race for the file where one

[OE-core][dunfell 18/18] glibc: Secruity fix for CVE-2020-6096

2020-07-27 Thread Steve Sakoman
From: Armin Kuster Source: glibc.org MR: 104799 Type: Security Fix Disposition: Backport from beea361050728138b82c57dda0c4810402d342b9 ChangeID: 29df826fb697fdd2742c3bace33388bda962c5f1 Description: Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie (cherry picked from commit

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

2020-07-27 Thread Steve Sakoman
From: 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

[OE-core][dunfell 13/18] startup-notification: add time_t type mismatch patch from upstream

2020-07-27 Thread Steve Sakoman
From: Ross Burton Backport a patch to fix issues where sizeof(time_t) != sizeof(long). Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit f9c3a6d74765e636a8038fe3aaa5dfc8b550590a) Signed-off-by: Steve Sakoman --- .../startup-notification-0.12/time_t.patch

[OE-core][dunfell 16/18] gtk-immodules-cache.bbclass: fix post install scriptlet error

2020-07-27 Thread Steve Sakoman
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][dunfell 10/18] classes/cmake: Fix host detection

2020-07-27 Thread Steve Sakoman
From: Joshua Watt Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM variables. The HOST variables should be used instead of TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for where the package is going to run (the host), not what it will be generating

[OE-core][dunfell 05/18] linux-firmware: add ibt-20 package

2020-07-27 Thread Steve Sakoman
From: Kurt Kiefer Add the firmware packaging for Intel Bluetooth AX200, also known as Intel CyclonePeak (CcP). Signed-off-by: Kurt Kiefer Signed-off-by: Richard Purdie (cherry picked from commit a701625a95ccb15a9db1a50a02143ba1ac8e6f1d) Signed-off-by: Steve Sakoman ---

[OE-core][dunfell 12/18] image.bbclass: improve wording when image size exceeds the specified limit

2020-07-27 Thread Steve Sakoman
From: Daniel Ammann Signed-off-by: Daniel Ammann Signed-off-by: Richard Purdie (cherry picked from commit fcaab9d686a4afe53a4693f3b30634215d682389) Signed-off-by: Steve Sakoman --- meta/classes/image.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[OE-core][dunfell 07/18] linux-yocto/5.4: update to v5.4.51

2020-07-27 Thread Steve Sakoman
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 1c54d3c15afa Linux 5.4.51 8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely 43986c32ee00 dm zoned: assign max_io_len correctly 215e562251bb

[OE-core][dunfell 06/18] openssl: openssl-bin requires openssl-conf to run

2020-07-27 Thread Steve Sakoman
From: Robert Yang Fixed: $ dnf install openssl-bin $ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes -batch Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory Signed-off-by: Robert Yang Signed-off-by: Richard Purdie (cherry picked

[OE-core][dunfell 02/18] wic/filemap: Drop the unused get_unmapped_ranges()

2020-07-27 Thread Steve Sakoman
From: Kevin Hao This method is not used by any code, so drop it. Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie (cherry picked from commit 6513fd9302b9989f97fc9d95e76e06ad5d266774) Signed-off-by: Steve Sakoman --- scripts/lib/wic/filemap.py | 38

[OE-core][dunfell 04/18] rpm: fix nativesdk's default var location

2020-07-27 Thread Steve Sakoman
From: Chen Qi For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is '/var'. This is causing error when running `rpm -qplv A.rpm'. error: cannot open Packages index using db5 - Permission denied (13) error: cannot open Packages database in /var/lib/rpm The rpm in SDK should be

[OE-core][dunfell 03/18] wic/filemap: Fall back to standard copy when no way to get the block map

2020-07-27 Thread Steve Sakoman
From: Kevin Hao For some filesystems, such as aufs which may be used by docker container, don't support either the SEEK_DATA/HOLE or FIEMAP to get the block map. So add a FileNobmap class to fall back to standard copy when there is no way to get the block map. [Yocto #12988] Signed-off-by:

[OE-core][dunfell 11/18] classes/package: Use HOST_OS for runtime dependencies

2020-07-27 Thread Steve Sakoman
From: Joshua Watt The code was using TARGET_OS to try and detect what type of OS the packages would be running on, but this is incorrect. TARGET_OS is the OS for which the package will generate output (e.g. GCC output target or GDB debugging target). The OS where the package will run is the

[OE-core][dunfell 01/18] wic/filemap: Drop the unused block_is_unmapped()

2020-07-27 Thread Steve Sakoman
From: Kevin Hao This method is not used by any code, so drop it. Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie (cherry picked from commit fb62a15349597ee026c67a0bb0a6ca2cc9bfe420) Signed-off-by: Steve Sakoman --- scripts/lib/wic/filemap.py | 17 - 1 file changed, 17

[OE-core][dunfell 09/18] oeqa/qemurunner: Add priority/nice information for running processes

2020-07-27 Thread Steve Sakoman
From: 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 (cherry picked from commit

[OE-core][dunfell 15/18] busybox: make hwclock compatible with glibc 2.31

2020-07-27 Thread Steve Sakoman
From: Sakib Sajal settimeofday(2) has been deprecated as of glibc 2.31 which hwclock makes use of. This patch makes hwclock compatible with glibc v2.31 See patch for more details: busybox/0001-hwclock-make-glibc-2.31-compatible.patch Fixes [YOCTO #13981] Signed-off-by: Sakib Sajal

[OE-core][dunfell 08/18] linux-yocto-rt/5.4: fix mmdrop stress test issues

2020-07-27 Thread Steve Sakoman
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/5.4: 508b4e6ada7f sched: Remove unexpected mmdrop on RT Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry picked from commit 8500665cb8da792bb92a484e286f3935cf85e2b2) Signed-off-by: Steve Sakoman

[OE-core][dunfell 00/18] Patch review

2020-07-27 Thread Steve Sakoman
Please review this next set of patches for dunfell and have comments back by end of day Wednesday. The following changes since commit ea886d57db917a41a0d106a15e1e96c72d6407b0: kernel-yocto: account for extracted defconfig in elements check (2020-07-23 04:07:37 -1000) are available in the Git

Re: [OE-core] [v2][PATCH] cve-check: print warning if file is missing

2020-07-27 Thread Richard Purdie
On Mon, 2020-07-27 at 06:57 -0700, akuster808 wrote: > > On 7/27/20 2:39 AM, Richard Purdie wrote: > > On Sun, 2020-07-26 at 19:52 -0700, akuster wrote: > > > If the "tmp/cve_check" file was not create as in the case for -c > > > populate_sdk, just print a > > > warning instead of dumping a trace

Re: [OE-core] [bitbake-devel] [yocto] Stable Warrior branch

2020-07-27 Thread akuster
Adrian, On 7/21/20 1:53 AM, Richard Purdie wrote: > On Tue, 2020-07-14 at 16:56 +0300, Adrian Bunk wrote: >> On Thu, Jun 04, 2020 at 09:28:00PM -0700, akuster wrote: >>> Hello, >>> >>> The Warrior branch of Poky has had its last official dot release. >>> It >>> will be moving to Community support

Re: [OE-core] [v2][PATCH] cve-check: print warning if file is missing

2020-07-27 Thread akuster
On 7/27/20 2:39 AM, Richard Purdie wrote: > On Sun, 2020-07-26 at 19:52 -0700, akuster wrote: >> If the "tmp/cve_check" file was not create as in the case for -c >> populate_sdk, just print a >> warning instead of dumping a trace back >> >> --- >> v2] lets include the missing part of the patch

Re: [OE-core] [PATCH v6] Add package managers as a plugin

2020-07-27 Thread Richard Purdie
On Fri, 2020-07-24 at 16:42 +0200, Fredrik Gustafsson wrote: > OE-core today has three different package managers, the well-known formats deb > and rpm is supported as well as ipkg that is good for embedded devices. > > When building and having a good cache hit, a significant amount of time is >

[OE-core][PATCH] llvm: upgrade 9.0.1 -> 10.0.1

2020-07-27 Thread Trevor Gamblin
Signed-off-by: Trevor Gamblin --- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/llvm/llvm_git.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc

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

2020-07-27 Thread Richard Purdie
On Mon, 2020-07-20 at 18:21 +0100, Usama Arif wrote: > 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

Re: [OE-core] [PATCH] meson: use the more specific cpu arch in cross file

2020-07-27 Thread Ross Burton
On Sun, 26 Jul 2020 at 02:56, Ruslan Babayev wrote: > 'cpu' unlike 'cpu_family' must be a more specific subtype for the CPU. Can you elaborate here some more? Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#140978):

Re: [OE-core] [PATCH] adwaita-icon-theme: has a dependancy to gtk3+ add check

2020-07-27 Thread Richard Purdie
On Sun, 2020-07-26 at 11:21 -0700, akuster wrote: > fixes: > > NOTE: Resolving any missing task queue dependencies > ERROR: Nothing PROVIDES 'gtk+3' (but /.../poky/meta/recipes- > gnome/gnome/adwaita-icon-theme_3.36.1.bb DEPENDS on or otherwise > requires it) > gtk+3 was skipped: one of 'wayland

Re: [OE-core] [v2][PATCH] cve-check: print warning if file is missing

2020-07-27 Thread Richard Purdie
On Sun, 2020-07-26 at 19:52 -0700, akuster wrote: > If the "tmp/cve_check" file was not create as in the case for -c > populate_sdk, just print a > warning instead of dumping a trace back > > --- > v2] lets include the missing part of the patch > > Signed-off-by: Armin Kuster > --- >

[OE-core] [PATCH] json-c: update to 0.15

2020-07-27 Thread Oleksandr Kravchuk
Remove upstreamed patch. Signed-off-by: Oleksandr Kravchuk --- .../json-c/json-c/CVE-2020-12762.patch| 160 -- .../json-c/{json-c_0.14.bb => json-c_0.15.bb} | 6 +- 2 files changed, 2 insertions(+), 164 deletions(-) delete mode 100644