[OE-core] [PATCH] libhandy: upgrade 1.2.1 -> 1.2.2

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- .../libhandy/{libhandy_1.2.1.bb => libhandy_1.2.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-gnome/libhandy/{libhandy_1.2.1.bb => libhandy_1.2.2.bb} (95%) diff --git a/meta/recipes-gnome/libhandy/libhandy_1.2.1.bb

[OE-core] [PATCH] libjitterentropy: upgrade 3.0.1 -> 3.0.2

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- .../{libjitterentropy_3.0.1.bb => libjitterentropy_3.0.2.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/libjitterentropy/{libjitterentropy_3.0.1.bb => libjitterentropy_3.0.2.bb} (95%) diff --git

[OE-core] [PATCH] prservice: Use new connect API

2021-04-28 Thread Paul Barker
The new prserv connect() function decouples the code in oe-core from the exact classes and implementation details used within bitbake. This allows us to more easily switch over to a new asyncrpc based prservice. Signed-off-by: Paul Barker --- meta/lib/oe/prservice.py | 2 +- 1 file changed, 1

[OE-core] [PATCH] glib-networking: upgrade 2.66.0 -> 2.68.1

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- .../{glib-networking_2.66.0.bb => glib-networking_2.68.1.bb} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename meta/recipes-core/glib-networking/{glib-networking_2.66.0.bb => glib-networking_2.68.1.bb} (91%) diff --git

[OE-core] [PATCH] hdparm: upgrade 9.60 -> 9.61

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- .../hdparm/{hdparm_9.60.bb => hdparm_9.61.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/hdparm/{hdparm_9.60.bb => hdparm_9.61.bb} (90%) diff --git a/meta/recipes-extended/hdparm/hdparm_9.60.bb

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-28 Thread Devendra Tewari
The gist of it is that Docker uses the overlay2 storage driver by default, previously it used aufs. Both drivers have the same limitation in rename, where file rename across layers is handled by moving, but directory rename across layers results in error EXDEV. It is up to user space to handle

[OE-core] [PATCH] gdb: upgrade 10.1 -> 10.2

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- meta/recipes-devtools/gdb/{gdb-10.1.inc => gdb-10.2.inc}| 2 +- .../{gdb-cross-canadian_10.1.bb => gdb-cross-canadian_10.2.bb} | 0 .../gdb/{gdb-cross_10.1.bb => gdb-cross_10.2.bb}| 0 meta/recipes-devtools/gdb/{gdb_10.1.bb => gdb_10.2.bb}

[OE-core] [PATCH] glslang: upgrade 11.2.0 -> 11.4.0

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- .../glslang/{glslang_11.2.0.bb => glslang_11.4.0.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-graphics/glslang/{glslang_11.2.0.bb => glslang_11.4.0.bb} (95%) diff --git a/meta/recipes-graphics/glslang/glslang_11.2.0.bb

[OE-core] [PATCH] e2fsprogs: upgrade 1.46.1 -> 1.46.2

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- .../e2fsprogs/{e2fsprogs_1.46.1.bb => e2fsprogs_1.46.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/e2fsprogs/{e2fsprogs_1.46.1.bb => e2fsprogs_1.46.2.bb} (99%) diff --git

[OE-core] [PATCH] reproducible_build.bbclass: Enable -Wdate-time

2021-04-28 Thread Khem Raj
This will help identifying packages using __TIME__, __DATE__ and __TIMESTAMP__ macros in code, its a warning from the compiler and the packages which use -Werror will break the build with this and where they don't we will atleast have a warning in the build logs Signed-off-by: Khem Raj ---

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-28 Thread Devendra Tewari
Understood - carrying patches is a burden for sure. I’ll maintain patches for my own narrow use cases at my end, and perhaps submit them upstream. Thanks, Devendra > On 28 Apr 2021, at 18:42, Richard Purdie > wrote: > > On Wed, 2021-04-28 at 07:00 -0300, Devendra Tewari wrote: >> The gist of

[OE-core] [PATCH 1/1] ltp: Replace musl patches with do_patch[postfuncs]

2021-04-28 Thread Petr Vorel
MUSL related build fixes are not going to be upstreamed. They just not compile broken files, thus replace them with upstream solution for CI: just deleting files for musl (easier to maintain). Signed-off-by: Petr Vorel --- .../ltp/0001-Add-more-musl-exclusions.patch | 32

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-28 Thread Richard Purdie
On Wed, 2021-04-28 at 07:00 -0300, Devendra Tewari wrote: > The gist of it is that Docker uses the overlay2 storage driver by default,  > previously it used aufs. Both drivers have the same limitation in rename,  > where file rename across layers is handled by moving, but directory rename > across

[OE-core] [PATCH 1/2] ltp: Filter out -ffile-prefix-map

2021-04-28 Thread Khem Raj
ffile-prefix-map is also needed for reproduble builds and when introduced can be handled Signed-off-by: Khem Raj --- meta/recipes-extended/ltp/ltp_20210121.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/ltp/ltp_20210121.bb

[OE-core] [PATCH 2/2] openssl: Filter out -ffile-prefix-map as well

2021-04-28 Thread Khem Raj
Signed-off-by: Khem Raj --- ...p-sysroot-and-debug-prefix-map-from-co.patch | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/meta/recipes-connectivity/openssl/openssl/0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch

[OE-core] [PATCH] gcc-runtime: Fix __FILE__ related reproducablity issues

2021-04-28 Thread Khem Raj
libstdc++ uses assertion macros which use __FILE__ macros and if (__builtin_expect(!bool(_Condition), false)) \ std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \ #_Condition) This ends up using absolute paths into build

Re: [OE-core] [PATCH 1/1] ltp: Replace musl patches with do_patch[postfuncs]

2021-04-28 Thread Khem Raj
On Wed, Apr 28, 2021 at 12:17 PM Petr Vorel wrote: > > MUSL related build fixes are not going to be upstreamed. They just not > compile broken files, thus replace them with upstream solution for CI: > just deleting files for musl (easier to maintain). > Thanks for doing this Petr, looks good to

Re: [OE-core] [PATCH] busybox: Enable long options for enabled applets

2021-04-28 Thread Khem Raj
On Wed, Apr 28, 2021 at 10:40 AM Andre McCurdy wrote: > > On Tue, Apr 27, 2021 at 10:06 PM Khem Raj wrote: > > > > certain applets are enabled but the long options are not enabled for > > them, it results in subtle failures in ptests where its expecting these > > options e.g. gzip --best is

Re: [OE-core] [linux-yocto] 回复: [PATCH] rt-tests: Update the latest branches

2021-04-28 Thread Randy MacLeod
Dropping the yocto list since this might cause some people's filters to misfile the patch and it's an oe-core patch so that's the only list that needs to be CCed it seems. On 2021-04-23 4:41 a.m., Zhang, Qiang wrote: Hello robert This change didn't respond for a long time , look forward

[OE-core] [PATCH] mesa: upgrade 21.0.2 -> 21.0.3

2021-04-28 Thread wangmy
Signed-off-by: Wang Mingyu --- .../mesa/{mesa-gl_21.0.2.bb => mesa-gl_21.0.3.bb} | 0 meta/recipes-graphics/mesa/mesa.inc | 2 +- meta/recipes-graphics/mesa/{mesa_21.0.2.bb => mesa_21.0.3.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename

[OE-core] [PATCH] bitbake.conf: Use -ffile-prefix-map option in DEBUG_PREFIX_MAP

2021-04-28 Thread Khem Raj
Replace -fdebug-prefix-map/-fmacro-prefix-map with -ffile-prefix-map which is superset of all -f*-prefix-map options Signed-off-by: Khem Raj --- meta/conf/bitbake.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index

[OE-core] [PATCH 2/2] gcc: Upgrade to GCC 11

2021-04-28 Thread Khem Raj
Drop already upstream/backported patches Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 2 +- meta/conf/distro/include/tcmode-default.inc | 2 +- .../gcc/{gcc-10.3.inc => gcc-11.1.inc}| 12 +- ...ian_10.3.bb => gcc-cross-canadian_11.1.bb} | 0

[OE-core] [PATCH 0/2] Update to GCC 11.1.0

2021-04-28 Thread Khem Raj
This patchset enables OE to use first of GCC 11 release series this is a major upgrade and details are here https://gcc.gnu.org/gcc-11/changes.html If you are porting your packages then porting guide is helpful https://gcc.gnu.org/gcc-11/porting_to.html Bugs addressed in this release

[OE-core] [PATCH 1/2] libgcc-initial: Do not build fp128 to decimal ppc functions

2021-04-28 Thread Khem Raj
These functions depend on glibc headers e.g. stdlib.h/fenv.h/string.h/stdio.h which do not exist when building lbgcc-initial, and these functions are not needed during glibc build so we are fine to disable them introdcued with [1] [1]

[OE-core] [PATCH 1/2] libid3tag: Filter -ffile-prefix-map too

2021-04-28 Thread Khem Raj
helps when compiler has -ffile-prefix-map flag which helps reproducibility as well Signed-off-by: Khem Raj --- .../libid3tag/libid3tag/cflags_filter.patch | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[OE-core] [PATCH 2/2] libjpeg-turbo: Use --reproducible option for nasm

2021-04-28 Thread Khem Raj
This ensures that nasm version and timestamps do but appear in build outputs Signed-off-by: Khem Raj Cc: Joshua Watt --- meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb

[OE-core] [hardknott][PATCH 03/10] yocto-check-layer: Avoid bug when iterating and autoadding dependencies

2021-04-28 Thread Anuj Mittal
From: Richard Purdie If iterating a layer with multiple components and auto-adding dependencies the tests can break since layers are never removed and order isn't guaranteed to account for that. Fix this by resetting the layer list back to the original list each time before auto-adding the

[OE-core] [hardknott][PATCH 04/10] kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout

2021-04-28 Thread Anuj Mittal
From: Kai Kang It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it removes ${S} when it still resides in ${S}. It may fail to run the task do_kernel_checkout when bitbake is called by third-part wrapper script. So chdir to ${WORKDIR} by default for do_kernel_checkout. And it

[OE-core] [hardknott][PATCH 01/10] glib-2.0: fix CVE-2021-28153

2021-04-28 Thread Anuj Mittal
From: Chen Qi Backport patches to fix CVE-2021-28153. Signed-off-by: Chen Qi Signed-off-by: Anuj Mittal --- ...outputstream-Fix-a-typo-in-a-comment.patch | 32 ++ ...-using-g_test_bug_base-in-file-tests.patch | 47 +++ ...outputstream-Factor-out-a-flag-check.patch | 60

[OE-core] [hardknott][PATCH 05/10] cmake.bbclass: remove ${B} before cmake_do_configure

2021-04-28 Thread Anuj Mittal
From: Kai Kang It is fallible to remove ${B} in directory ${B} itself. And it does fail when call bitbake by third-party wrapper script. Use flag 'cleandirs' to remove ${B} first if build out of source tree. Signed-off-by: Kai Kang Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [hardknott][PATCH 02/10] libssh2: fix build failure with option no-ecdsa

2021-04-28 Thread Anuj Mittal
From: Stefan Ghinea libssh2 fails at do_compile if DEPRECATED_CRYPTO_FLAGS = "no-ecdsa" is set in recipe: ../src/.libs/libssh2.so: undefined reference to `LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY' References: https://github.com/libssh2/libssh2/issues/549 Upstream patches:

[OE-core] [hardknott][PATCH 07/10] meta/lib/oeqa/core/tests/cases/timeout.py: add a testcase for the previous fix

2021-04-28 Thread Anuj Mittal
From: Alexander Kanavin This is the sequence that didn't properly operate: - a test case that skips and isn't executed - a second test case that is skipped via a dependency decorator, and sets a timeout - a third test case that takes longer than the timeout from the second test case Without

[OE-core] [hardknott][PATCH 08/10] weston: fix build failure due to race condition

2021-04-28 Thread Anuj Mittal
From: Chen Qi The wayland.c actually include 'xdg-shell-client-protocol.h' instead of the server one, so fix it. Otherwise, it's possible to get build failure due to race condition. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [hardknott][PATCH 09/10] patchelf: Backport fix from upstream for note section overlap error

2021-04-28 Thread Anuj Mittal
From: Richard Purdie Backport a patch from upstream to fix an error: patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections seen on our ubuntu1604 autobuilder worker. Signed-off-by: Richard Purdie (cherry picked from commit 80e8f7d34d7032cc94b61bf155eac7648e6b6c74)

[OE-core] [hardknott][PATCH 06/10] oeqa: tear down oeqa decorators if one of them raises an exception in setup

2021-04-28 Thread Anuj Mittal
From: Alexander Kanavin Some of the decorators need proper cleanup, such as OETimeout which sets a signal handler that needs to be cleared via teardown. If this is not done then the signal gets called later with unpredictable effects. This can be seen if there's a test that is skipped via a

[OE-core] [hardknott][PATCH 10/10] rsync: fix CVE-2020-14387

2021-04-28 Thread Anuj Mittal
From: Chen Qi Backport patch to fix CVE-2020-14387. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie (cherry picked from commit 5e7a536d07856630e4eb421614c8d823c67e0294) Signed-off-by: Anuj Mittal --- ...-the-hostname-in-the-certificate-whe.patch | 31 +++

[OE-core] [hardknott][PATCH 00/10] review request

2021-04-28 Thread Anuj Mittal
Please review these changes for hardknott. Builds cleanly on autobuilder except for one intermittent and unrelated change. Thanks, Anuj The following changes since commit 3357bbf0dad31306d5e16ad306d3e931042eec61: go: Use dl.google.com for SRC_URI (2021-04-26 08:44:53 +0800) are available in

[OE-core][dunfell 00/19] Pull request (cover letter only)

2021-04-28 Thread Steve Sakoman
The following changes since commit a1b0631c4723d2a98eb9e80ec85a00bc46276783: go_1.14: don't set -buildmode=pie when building for windows targets (2021-04-19 04:27:15 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next

[OE-core][zeus][PATCH] binutils: Fix include error in builds

2021-04-28 Thread Trevor Gamblin
See [YOCTO #14169] A user found a problem with binutils in zeus due to a missing include in the source. Submitting the patch on their behalf. The issue is fixed in binutils 2.33 upstream. Signed-off-by: Trevor Gamblin --- .../binutils/binutils-2.32.inc| 1 +

Re: [OE-core] [PATCH] busybox: Enable long options for enabled applets

2021-04-28 Thread Andre McCurdy
On Tue, Apr 27, 2021 at 10:06 PM Khem Raj wrote: > > certain applets are enabled but the long options are not enabled for > them, it results in subtle failures in ptests where its expecting these > options e.g. gzip --best is commonly used in many package tests e.g. > > root@qemux86-64:/usr/lib#