Re: [OE-core] [PATCH v2] cups: set rundir to /run/cups if systemd is used

2021-02-23 Thread kai
On 2/22/21 4:47 AM, Oleksandr Kravchuk wrote: When running under systemd, cups needs to be configured with '--with-rundir=/run/cups', as systemd takes an exception to the activation socket being under /var/run and relocates it. This leads to fd duplication in cupsd and an inadvertent closure of

Re: [OE-core][PATCH] mesa: Allow building the iris driver

2021-02-23 Thread Yongxin Liu
> -Original Message- > From: Böszörményi Zoltán > Sent: Wednesday, February 24, 2021 13:36 > To: Liu, Yongxin ; openembedded- > c...@lists.openembedded.org; richard.pur...@linuxfoundation.org > Subject: Re: [OE-core][PATCH] mesa: Allow building the iris driver > > [Please note: This

Re: [OE-core][PATCH] mesa: Allow building the iris driver

2021-02-23 Thread Zoltan Boszormenyi via lists.openembedded.org
Hi, 2021. 02. 24. 1:31 keltezéssel, Yongxin Liu írta: Iris driver supports Broadwell and newer (Gen8+) for very low CPU overhead. With this patch, user can add PACKAGECONFIG_append = " iris" in their bbappend file. And then iris will be added in build options, like

[OE-core] [PATCH v2 3/3] go-helloworld: Turn into a go module enabled build

2021-02-23 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb index

[OE-core] [PATCH v2 2/3] go: Enable CGO and pie buildmode on rv64

2021-02-23 Thread Khem Raj
go1.16 has added CGO support for riscv64 arch Signed-off-by: Khem Raj --- meta/classes/go.bbclass | 5 ++--- meta/recipes-devtools/go/go-runtime_1.16.bb | 1 - meta/recipes-devtools/go/go_1.16.bb | 5 ++--- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git

[OE-core] [PATCH v2 1/3] go: Upgrade compiler to 1.16 major release

2021-02-23 Thread Khem Raj
Revert a CC/CXX check [1] which wont work with OE settings Forward port needed patches forward Details releaase notes are here [2] [1] https://go-review.googlesource.com/c/go/+/228517/ [2] https://golang.org/doc/go1.16 Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc

[OE-core] [PATCH 7/8] cargo/rust/rustfmt: exclude from world

2021-02-23 Thread Randy MacLeod
cargo, rust, and rustfmt can't be built for the targets yet so exclude them from world builds. Signed-off-by: Randy MacLeod --- meta/recipes-devtools/cargo/cargo.inc | 1 + meta/recipes-example/rustfmt/rustfmt_1.4.2.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH 2/8] libssh2: pull in additional commits from meta-oe

2021-02-23 Thread Randy MacLeod
b24ef04ae libssh2: Fix build with autoconf 2.70+ d7aa71734 libssh2: enhance ptest b3e9b51c9 libssh2: fix ptest f5df715e2 libssh2: enable ptest c1d1697c5 libssh2: add nativesdk support 3a6cbf246 libssh2: Security Advisory - libssh2 - CVE-2019-17498 40ea4c939 libssh2: upgrade 1.8.2 -> 1.9.0

[OE-core] [PATCH 6/8] meta-rust: merge commits

2021-02-23 Thread Randy MacLeod
Merge most of: git log --oneline --no-merges 5cda04c..029f1ea with two layer.conf exceptions explained below. 920328c rust-native shouldn't depend on TARGET variables 4e96013 Factor in `CARGO_SRC_DIR` when setting `MANIFEST_PATH`. 87e8d50 Keep only the most recent two Rust versions. 53c9aab

[OE-core] [PATCH 4/8] meta-rust: move code to oe-core from meta-rust layer

2021-02-23 Thread Randy MacLeod
Rust is becoming more widely used so move the meta-rust layer. Taken from meta-rust at commit: 11aed43 cargo-1.37.0: fix patch fuzz Signed-off-by: Randy MacLeod --- meta/classes/cargo.bbclass| 70 +++ meta/classes/cargo_common.bbclass | 98

[OE-core] [PATCH 1/8] Add libgit2, libssh2 from meta-oe for rust

2021-02-23 Thread Randy MacLeod
Signed-off-by: Randy MacLeod --- .../recipes-support/libgit2/libgit2_0.27.8.bb | 25 + meta/recipes-support/libssh2/libssh2_1.8.2.bb | 27 +++ 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-support/libgit2/libgit2_0.27.8.bb create mode 100644

[OE-core] [PATCH 5/8] rust: mv README.md to recipes-devtools/rust/README-rust.md

2021-02-23 Thread Randy MacLeod
Import the meta-rust/README.md but relocate and rename it. Signed-off-by: Randy MacLeod --- meta/recipes-devtools/rust/README-rust.md | 69 +++ 1 file changed, 69 insertions(+) create mode 100644 meta/recipes-devtools/rust/README-rust.md diff --git

[OE-core] [PATCH 3/8] libgit2: pull in updates from meta-oe

2021-02-23 Thread Randy MacLeod
d62613046 libgit2: update to 1.1.0 ce47a064d libgit2: upgrade 1.0.0 -> 1.0.1 7d137c5b2 libgit2: Enable pcre2 regexp backend 14894a4c4 libgit2: Update to v1.0.0 7b39ea059 libgit2: Upgrade to 0.28.4 da358cf1f libgit2: Don't pass parameters with their default values to cmake bcd89f7cd libgit2:

[OE-core] [PATCH 8/8] rust: add a language demo image to test reproducibility

2021-02-23 Thread Randy MacLeod
The image should contain a demo program from a variety of languages but let's start with rust. Signed-off-by: Randy MacLeod --- meta/recipes-devtools/images/core-image-languages.bb | 12 1 file changed, 12 insertions(+) create mode 100644

[OE-core] Merge meta-rust to oe-core

2021-02-23 Thread Randy MacLeod
Clean-up the merge of meta-rust to oe-core by squashing most of the meta-rust history so we are left with: 35da4b252f rust: add a language demo image to test reproducibility 088374371b cargo/rust/rustfmt: exclude from world 7df10d2a22 meta-rust: merge commits 4187796cd6 rust: mv

Re: [OE-core][gatesgarth]Mongodb segfault on gatesgarth

2021-02-23 Thread Andre McCurdy
On Tue, Feb 23, 2021 at 2:39 PM jaewon wrote: > > > Still struggling with this issue, Perhaps first decide what you are actually trying to do. The choice is between including debug symbols in the mongodb binary installed on the target (e.g. modifying INHIBIT_PACKAGE_STRIP and/or

Re: [OE-core][PATCH] mesa: Allow building the iris driver

2021-02-23 Thread Yongxin Liu
Iris driver supports Broadwell and newer (Gen8+) for very low CPU overhead. With this patch, user can add PACKAGECONFIG_append = " iris" in their bbappend file. And then iris will be added in build options, like "-Dgallium-drivers=swrast,virgl,iris". You can check

Re: [OE-core][PATCH] ffmpeg: add ptest install for ffmpeg

2021-02-23 Thread Scott Branden via lists.openembedded.org
Thanks for the work on this Suji. We can now buidl and test ffmpeg using FATE in yocto. On 2021-02-22 5:17 p.m., suji.velupil...@broadcom.com wrote: > From: Suji Velupillai > > [YOCTO #5605] Add ptest for ffmpeg > > ffmpeg fate test requires full source code and copy of test suite > data to

Re: [OE-core][gatesgarth]Mongodb segfault on gatesgarth

2021-02-23 Thread jaewon
Hi, Still struggling with this issue, To summarize the steps that I took to see the mongodb segfault issue, Here are the steps I took, Download poky (gatesgarth) git clone https://git.yoctoproject.org/git/poky -b gatesgarth openembedded (gatesgarth) git clone

[OE-core] [PATCH 2/2] babeltrace2: Fix reproducibility

2021-02-23 Thread Richard Purdie
babeltrace2-ptest was referencing the host's python version in it's makefiles. Whilst this could be fixed, its easier to correct the python version being found to the target one which works much more effectively and solves the issue. Signed-off-by: Richard Purdie ---

[OE-core] [PATCH 1/2] diffoscope: Ensure the correct magic file is used

2021-02-23 Thread Richard Purdie
diffoscope uses libmagic and it was searching in file-native's sysroot for the magic file. Wrap it and set MAGIC in the environment to ensure the file is found correctly and avoid build failures. Signed-off-by: Richard Purdie --- meta/recipes-support/diffoscope/diffoscope_167.bb | 4 1

[PATCH] [OE-core] [meta-openembedded] hostapd: fix CVE-2021-0326

2021-02-23 Thread Stefan Ghinea
In p2p_copy_client_info of p2p.c, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution if the target device is performing a Wi-Fi Direct search, with no additional execution privileges needed. User interaction is not needed for

[PATCH] [OE-core] wpa-supplicant: fix CVE-2021-0326

2021-02-23 Thread Stefan Ghinea
In p2p_copy_client_info of p2p.c, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution if the target device is performing a Wi-Fi Direct search, with no additional execution privileges needed. User interaction is not needed for

[OE-core] OpenEmbedded Happy Hour February 24 9pm/2100 UTC

2021-02-23 Thread Denys Dmytriyenko
Hi, Please join us for the upcoming OpenEmbedded Happy Hour on February 24 for Asia/Pacific timezones @ 2100/9pm UTC (4pm EST): https://www.openembedded.org/wiki/Calendar https://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenEmbedded+Happy+Hour+February+24=20210224T21 -- Regards,

Re: [OE-core] [dunfell][PATCH] wpebackend-fdo: Fix missing .so symlink when using dev package

2021-02-23 Thread Zbigniew Bodek
Hi Anuj, I just checked and yes, it's needed for gatesgarth too. Kind regards Zbigniew wt., 23 lut 2021 o 16:33 Mittal, Anuj napisał(a): > > Is this change needed for the version in gatesgarth too? > > Thanks, > > Anuj > > On Tue, 2021-02-23 at 13:24 +0100, Zbigniew Bodek wrote: > > Any

Re: [OE-core] [PATCH] go: Update to 1.15.8

2021-02-23 Thread Khem Raj
On Mon, Feb 22, 2021 at 12:18 PM Randy MacLeod wrote: > > On 2021-02-14 3:49 a.m., Khem Raj wrote: > > Signed-off-by: Khem Raj > > --- > > meta/recipes-devtools/go/go-1.15.inc | 4 ++-- > > ...{go-binary-native_1.15.6.bb => go-binary-native_1.15.8.bb} | 4 ++-- > > 2

Re: [OE-core] [PATCH v2] cups: set rundir to /run/cups if systemd is used

2021-02-23 Thread kai
On 2/22/21 4:47 AM, Oleksandr Kravchuk wrote: When running under systemd, cups needs to be configured with '--with-rundir=/run/cups', as systemd takes an exception to the activation socket being under /var/run and relocates it. This leads to fd duplication in cupsd and an inadvertent closure of

[OE-core] Yocto Project Status WW08`21

2021-02-23 Thread Stephen Jolley
Current Dev Position: YP 3.3 M3 development Next Deadline: 1st March 2021 YP 3.3 M3 build and YP 3.3 Feature Freeze Next Team Meetings: * Bug Triage meeting Thursday Feb. 25th at 7:30am PDT (

Re: [OE-core] [dunfell][PATCH] wpebackend-fdo: Fix missing .so symlink when using dev package

2021-02-23 Thread Anuj Mittal
Is this change needed for the version in gatesgarth too? Thanks, Anuj On Tue, 2021-02-23 at 13:24 +0100, Zbigniew Bodek wrote: > Any comments, questions, remarks to that? > > Kind regards > Zbigniew > > pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org > napisał(a): > > > >

[OE-core][PATCH v3] wic: Warn if an ext filesystem affected by the Y2038 problem is used

2021-02-23 Thread florian.bezd...@siemens.com
From: Florian Bezdeka We are getting closer and closer to the year 2038 where the 32 bit time_t overflow will happen. While products (= embedded systems) with an expected life time of 15 years are still save the situation may change if your system has to survive the next 20 years. ext2 and ext3

Re: [OE-core] [RFC][PATCH] sstatesig.py: show an error instead of warning when sstate manifest isn't found

2021-02-23 Thread Martin Jansa
On Tue, Feb 23, 2021 at 02:35:53PM +0100, Martin Jansa via lists.openembedded.org wrote: > * not sure if there are some valid use-cases for missing manifest, but > recently I'm seeing increasing number of build failures where something > from native recipe is missing (seen it with pseudo,

[OE-core] [RFC][PATCH] sstatesig.py: show an error instead of warning when sstate manifest isn't found

2021-02-23 Thread Martin Jansa
* not sure if there are some valid use-cases for missing manifest, but recently I'm seeing increasing number of build failures where something from native recipe is missing (seen it with pseudo, autoconf, nodejs recently) and the only indication that something is wrong (before showing

Re: [OE-core] [dunfell][PATCH] wpebackend-fdo: Fix missing .so symlink when using dev package

2021-02-23 Thread Zbigniew Bodek
Any comments, questions, remarks to that? Kind regards Zbigniew pt., 19 lut 2021 o 18:20 Zbigniew Bodek via lists.openembedded.org napisał(a): > > From: Zbigniew Bodek > > Problem spotted on dunfell-23.0.4 > > Normally, unversioned .so is removed from -dev (default) package > however it is

Re: [OE-core][PATCH] busybox: search stable versions for AUH

2021-02-23 Thread Bas Mevissen
On 2021-02-22 21:00, Alexander Kanavin wrote: I am also not sure if there's actual meaning behind this unstable marker. It's not explained anywhere, there are no release announcements where it's explicitly mentioned, and the branch in git has no commits since 1.33.0

Re: [OE-core] [PATCH] vim: Improve reproducibility

2021-02-23 Thread Richard Purdie
On Mon, 2021-02-22 at 08:42 -0800, Oleksiy Obitotskyy via lists.openembedded.org wrote: > Override awk and perl path to avoid > using local absolute path. > > Signed-off-by: Oleksiy Obitotskyy > --- >  .../0001-vim-Override-perl-and-awk.patch | 34 +++ >