Re: [OE-core] [PATCH 18/21] libdnf: update 0.62.0 -> 0.63.0

2021-05-27 Thread Chen Qi
Hi Alexander, This upgrade introduces a regression of building nativesdk-libdnf. `bitbake nativesdk-libdnf' and we can see do_package failure. Regards, Chen Qi On 05/24/2021 05:13 PM, Alexander Kanavin wrote: Signed-off-by: Alexander Kanavin --- .../libdnf/{libdnf_0.62.0.bb => libdnf_0.63.0

Re: [OE-core] [dunfell-backport][PATCH] gcc-cross-canadian: Install gcc/g++ wrappers for musl

2021-05-27 Thread Alejandro Hernandez Samaniego
Perhaps, I will take a look at it. Thanks Alejandro On 5/27/21 2:25 PM, Steve Sakoman wrote: I get an autobuilder failure on core-image-mingw-sdktest, details here: https://errors.yoctoproject.org/Errors/Details/585665/ Perhaps we need additional patch/patches from master? Steve On Thu, M

Re: [OE-core] [dunfell-backport][PATCH] gcc-cross-canadian: Install gcc/g++ wrappers for musl

2021-05-27 Thread Steve Sakoman
I get an autobuilder failure on core-image-mingw-sdktest, details here: https://errors.yoctoproject.org/Errors/Details/585665/ Perhaps we need additional patch/patches from master? Steve On Thu, May 27, 2021 at 7:16 AM Alejandro Hernandez Samaniego wrote: > > From: Khem Raj > > gcc needs -mmu

[OE-core][PATCH] classes/buildhistory: Add option to strip path prefix

2021-05-27 Thread Joshua Watt
Adds an option to strip a prefix from the paths reported in buildhistory. This makes it easier to compare task signatures in the build history when the builds were done from different directories. Signed-off-by: Joshua Watt --- meta/classes/buildhistory.bbclass | 3 ++- meta/lib/oe/sstatesig.py

[OE-core] [PATCH] erofs fixups

2021-05-27 Thread Richard Weinberger
- Rename to erofs-utils_1.2.1.bb and don't set PV - Set correct package license - Add lz4 and lz4hc variants to IMAGE_TYPES - Add myself as package maintainer Signed-off-by: Richard Weinberger --- meta/classes/image_types.bbclass | 2 +- meta/conf/distro/include/mai

[OE-core] [dunfell-backport][PATCH] gcc-cross-canadian: Install gcc/g++ wrappers for musl

2021-05-27 Thread Alejandro Hernandez Samaniego
From: Khem Raj gcc needs -mmusl option to be passed in SDK since we ship crossdk compiler configured for glibc by default, this helps in creating correct compiler defaults for musl based SDK compilers [YOCTO #13459] (From OE-Core rev: e6fbac7aeabe00d8fb734992012dd629a8527b25) Signed-off-by: Kh

Re: [OE-core] [PATCH] gcc-cross-canadian: Install gcc/g++ wrappers for musl

2021-05-27 Thread Alejandro Hernandez Samaniego
Please discard this patch, this was meant to be for dunfell, its missing the tag due to a typo Alejandro On 5/27/21 11:02 AM, Alejandro Hernandez Samaniego wrote: From: Khem Raj gcc needs -mmusl option to be passed in SDK since we ship crossdk compiler configured for glibc by default, this h

[OE-core] [PATCH] gcc-cross-canadian: Install gcc/g++ wrappers for musl

2021-05-27 Thread Alejandro Hernandez Samaniego
From: Khem Raj gcc needs -mmusl option to be passed in SDK since we ship crossdk compiler configured for glibc by default, this helps in creating correct compiler defaults for musl based SDK compilers [YOCTO #13459] (From OE-Core rev: e6fbac7aeabe00d8fb734992012dd629a8527b25) Cc: Leon Woestenb

Re: [OE-core][PATCH] flex: correct license information

2021-05-27 Thread Nikolay Papenkov via lists.openembedded.org
Hi, LICENSE set in flex recipe looks as not correct. It is set as "BSD-2-Clause" since: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/flex?id=fb8613fc4ed361c953087207b34b97ca23a8d4e4&h=dunfell. however per reviewing the sources - correct LICENSE-s for flex packages

[OE-core][PATCH v2] expat: set CVE_PRODUCT

2021-05-27 Thread Steve Sakoman
Upstream database uses both "expat" and "libexpat" to report CVEs Signed-off-by: Steve Sakoman --- meta/recipes-core/expat/expat_2.4.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/expat/expat_2.4.1.bb b/meta/recipes-core/expat/expat_2.4.1.bb index a57fc1b23b..45115

[OE-core][PATCH] bind: upgrade 9.16.15 -> 9.16.16

2021-05-27 Thread Trevor Gamblin
Signed-off-by: Trevor Gamblin --- .../0001-avoid-start-failure-with-bind-user.patch | 0 .../0001-named-lwresd-V-and-start-log-hide-build-options.patch | 0 .../bind-ensure-searching-for-json-headers-searches-sysr.patch | 0 .../bind/{bind-9.16.15 => bind-9.16.16}/bind9

[OE-core] [PATCH] oeqa/runtime/rpm: Drop log message counting test component

2021-05-27 Thread Richard Purdie
This test is flawed since multiple parts of the system can write to the log and we obtain different numbers of log messages depending on factors we can't control. Drop the log testing component of the test. [YOCTO #12465] Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/rpm.py | 9

Re: [OE-core] [PATCH v5 4/5] oeqa/selftest/cases/rust.py: Rust oe-selftest script.

2021-05-27 Thread Alexander Kanavin
Hello Vinay, sure, no problem. I see that SSHControl.run() isn't designed for starting background processes on the target. But I still think it's then better to use subprocess module for starting the server over ssh, rather than bundle everything into one gigantic runCmd(). Alex On Thu, 27 May 2

Re: [OE-core] [PATCH v5 4/5] oeqa/selftest/cases/rust.py: Rust oe-selftest script.

2021-05-27 Thread Vinay Kumar
Hi Alex, The reason why I changed this is, we have to execute "remote-test-server" on the image through background ssh. So that the "remote-test-server" will be alive waiting for connection. Then in the rust.py control passed to the next command (cmd) for execution. If we use the sshcontrol.py me

Re: [OE-core] [PATCH v5 4/5] oeqa/selftest/cases/rust.py: Rust oe-selftest script.

2021-05-27 Thread Alexander Kanavin
On Thu, 27 May 2021 at 10:11, Vinay Kumar wrote: > + # To kill remote-test-server executing through > background ssh > + killcommand = "kill -9 \$(ps | grep > remote-test-server | grep -v \"grep\" | awk '{print \$1}')" > + cmd = c

Re: [OE-core] [PATCH 3/4] images: add ptest images based on core-image-minimal

2021-05-27 Thread Alexander Kanavin
On Thu, 27 May 2021 at 00:08, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Since we're renaming, can these become "core-image-ptest"? The base > image is an implementation detail we probably don't need to care about > and would make any changes easier in future... > > Other patche

[OE-core] [PATCH 3/4] images: add ptest images based on core-image-minimal

2021-05-27 Thread Alexander Kanavin
This greatly reduces build times needed for those images, as they no longer need anything graphical, or -dev packages for everything. Signed-off-by: Alexander Kanavin --- .../images/core-image-ptest-all.bb| 25 +++ .../images/core-image-ptest-fast.bb | 24 ++

[OE-core] [PATCH 4/4] images: remove sato/weston ptest images

2021-05-27 Thread Alexander Kanavin
They have been replaced by core-image-minimal-ptest-fast/all Signed-off-by: Alexander Kanavin --- .../images/core-image-weston-ptest-all.bb | 21 --- .../images/core-image-weston-ptest-fast.bb| 20 -- .../images/core-image-sato-ptest-fast.bb | 23

[OE-core] [PATCH 2/4] ptest: add newly discovered missing runtime dependencies across recipes

2021-05-27 Thread Alexander Kanavin
Making ptest images based on core-image-minimal uncovered quite a few missing depenendcies from various recipes, here they are. Signed-off-by: Alexander Kanavin --- meta/recipes-core/gettext/gettext_0.21.bb | 2 +- meta/recipes-devtools/python/python3_3.9.5.bb | 3 ++- meta/recipes-d

[OE-core] [PATCH 1/4] wayland: package target binaries into -tools, not into -dev

2021-05-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/wayland/wayland_1.19.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/wayland_1.19.0.bb b/meta/recipes-graphics/wayland/wayland_1.19.0.bb index 8f121601c4..7e8a2884fe 100644 --- a/

Re: [OE-core] [PATCH 1/3] Revert "icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set"

2021-05-27 Thread Jose Quaresma
Douglas Royds escreveu no dia quinta, 27/05/2021 à(s) 00:26: > > Yes, we could, but it's quite a long list, and I'm reluctant to start > naming specific packages. > > I only did the INHIBIT_DEFAULT_DEPS test (that I'm reverting here) in > the first place to silence the warnings. I think demoting t

Re: [OE-core] [PATCH v5 4/5] oeqa/selftest/cases/rust.py: Rust oe-selftest script.

2021-05-27 Thread Alexander Kanavin
Alternatively, simply capture the output in result.output without summary.txt redirection (e.g. drop the '> summary.txt' bit); we can fine-tune the failure processing later on. Alex On Thu, 27 May 2021 at 10:32, Alexander Kanavin via lists.openembedded.org wrote: > On Thu, 27 May 2021 at 10:11,

Re: [OE-core] [PATCH v5 4/5] oeqa/selftest/cases/rust.py: Rust oe-selftest script.

2021-05-27 Thread Alexander Kanavin
On Thu, 27 May 2021 at 10:11, Vinay Kumar wrote: > + cmd = cmd + " cd %s; python3 > src/bootstrap/bootstrap.py test %s --target %s > summary.txt 2>&1;" % > (builddir, testargs, targetsys) > + # To kill remote-test-server executing through > background

[OE-core] [PATCH v5 3/5] rust.inc : Changed target cpu for powerpc to "7400"

2021-05-27 Thread Vinay Kumar
While executing rust-testing observed some ui testfailures due to below warning message. 'powerpc' is not a recognized processor for this target in rust So renamed target cpu for "powerpc" in "llvm_cpu" to "7400" as per default tune for qemuppc. Signed-off-by: Vinay Kumar --- meta/recipes-devt

[OE-core] [PATCH v5 5/5] rust.inc : Fix for aarch64 feature.

2021-05-27 Thread Vinay Kumar
While executing ui testing observed failures due to below warning, "'+v8' is not a recognized feature for this target (ignoring feature)" Same got fixed by backporting below patch, http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rmacleod/rust-wip-2021-02-16&id=f243e4bbd5414ce519336753

[OE-core] [PATCH v5 4/5] oeqa/selftest/cases/rust.py: Rust oe-selftest script.

2021-05-27 Thread Vinay Kumar
Build remote-test-server copy to image and execute remotely through background ssh. Execute rust testing by exporting required paths. Capturing test results in summary.txt at rust source folder. Kill "remote-test-server" on the image through ssh, once testing is completed. Signed-off-by: Vinay K

[OE-core] [PATCH v5 2/5] Add rust testsuite for 1.46.0

2021-05-27 Thread Vinay Kumar
Signed-off-by: Vinay Kumar --- meta/recipes-devtools/rust/rust-testsuite_1.46.0.bb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta/recipes-devtools/rust/rust-testsuite_1.46.0.bb diff --git a/meta/recipes-devtools/rust/rust-testsuite_1.46.0.bb b/meta/recipes-devtools/rust/rust-

[OE-core] [PATCH v5 1/5] rust-testsuite.inc : Rust cross testing.

2021-05-27 Thread Vinay Kumar
Below list of functions are part of rust-testsuite.inc setup_cargo_environment(): Build bootstrap and some early stage tools. do_rust_setup_snapshot(): Install the snapshot version of rust binaries. do_configure(): To generate config.toml do_compile(): To build "remote-test-server" for qemutarget i

[OE-core] [PATCH] apt: Add missing header

2021-05-27 Thread Khem Raj
This issue is seen with clang/libc++ Signed-off-by: Khem Raj --- .../0001-aptwebserver.cc-Include-array.patch | 32 +++ meta/recipes-devtools/apt/apt_2.2.3.bb| 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-devtools/apt/apt/0001-aptwebserver.cc