[OE-core] [PATCH] libbsd: Fix conflict error when enable multlib.

2024-03-18 Thread leimaohui via lists.openembedded.org
From: Lei Maohui Error: Transaction test error: file /usr/include/bsd/sys/cdefs.h conflicts between attempted installs of libbsd-dev-0.12.1-r0.core2_64 and lib32-libbsd-dev-0.12.1-r0.core2_32 The difference of bsd/sys/cdefs.h between libbsd-dev and lib32-libbsd-dev is as following: /*

Re: [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat

2024-03-18 Thread Randolph Sapp via lists.openembedded.org
On Sat Mar 16, 2024 at 11:52 AM CDT, Alexander Kanavin wrote: > It's better to backport the upstream patch, as nobody's going to > remember why do_install snippet is there, or to remove it when there's > a new release (if it doesn't cause installation conflicts). > > Alex I would backport the

Re: [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat

2024-03-18 Thread Randolph Sapp via lists.openembedded.org
On Sun Mar 17, 2024 at 4:28 AM CDT, Richard Purdie wrote: > On Fri, 2024-03-15 at 19:19 -0500, r...@ti.com wrote: > > From: Randolph Sapp > > > > Add a link from libbz2.so.1.0 to libbz2.so.${PV} for compatibility > > with > > other distributions. > > > > A handfull of distributions are still

Re: [OE-core] [PATCH] openssh: enable sshd.service by default

2024-03-18 Thread Emil Kronborg via lists.openembedded.org
On Fri, Mar 15, 2024 at 16:09 +, Ross Burton wrote: > On 7 Mar 2024, at 20:08, Emil Kronborg via lists.openembedded.org > wrote: > > > > Socket activation is prone to DoS (denial of service) because too many > > connections will permanently deactivate sshd.socket [1]. Also, since > > socket

Re: [OE-core] [PATCH] linux-yocto: introduce KMETABRANCH

2024-03-18 Thread Bruce Ashfield
On Mon, Mar 18, 2024 at 4:32 AM Ming Liu wrote: > > From: Ming Liu > > If I want to try a different branch of linux-yocto in a bbappend, that > could be easily done by setting KBRANCH, but there is not such a way to > do the same for kernel meta. > The hardcoding of the branch (versus a

Re: [OE-core] [master] [PATCH] cve-check: Add provision to exclude classes

2024-03-18 Thread Ross Burton
On 15 Mar 2024, at 19:52, Dhairya Nagodra -X (dnagodra - E-INFO CHIPS INC at Cisco) wrote: >> What’s the use-case for this? Note that you can control whether cve-check >> runs per-layer already, if that’s useful. > > Currently, the CVE report is generated for all packages associated with the

Re: [oe-core][PATCH] python3-gpiod: add recipe

2024-03-18 Thread Khem Raj
its already available in meta-python and has a more recent version 2.1.3, is there anything needing it in such a way that we need to move it to the core layer ? On Mon, Mar 18, 2024 at 1:56 AM Xiangyu Chen wrote: > > From: Xiangyu Chen > > python3-gpiod is a python library for interacting with

[OE-core] [PATCH] wayland: fix upstream version check by asking gitlab directly

2024-03-18 Thread Alexander Kanavin
https://wayland.freedesktop.org/releases.html is prone to delays and missing entries as it is manually updated; in particular latest wayland-protocols remains unlisted: https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/issues/7 Signed-off-by: Alexander Kanavin ---

[OE-core] [PATCH] shadow: fix copydir operation with 'pseudo'

2024-03-18 Thread Enrico Scholz via lists.openembedded.org
From: Enrico Scholz Calling 'useradd' through pseudo on (at least) Ubuntu 20 creates filesystem objects (.bashrc, .profile) with invalid attributes. It manifests as | tar: ./home/.../.bashrc: Unknown file type; file ignored or | Copying files into the device: __populate_fs: ignoring entry

Re: [OE-core] Call for contributions to the 5.0 release notes

2024-03-18 Thread Alexander Kanavin
So I have looked through my commits over the past year that *definitely* need documenting, and identified these standouts: - https://git.yoctoproject.org/poky/commit/?id=63e53fb8b60d38315015844bd3357fa1649cd639 "build-sysroots: target or native sysroot population need to be selected explicitly"

[OE-core] [PATCH] python3: correct upstream version check

2024-03-18 Thread Alexander Kanavin
This only needs removal of the custom setting (which no longer produces a webpage suitable for parsing the version out), as the default SRC_URI is 'tarballs in versioned directoroies' setup, which the version checker is able to handle. Signed-off-by: Alexander Kanavin ---

Re: [oe-core][PATCH v2] mesa: enable imagination powervr support

2024-03-18 Thread Alexander Kanavin
On Mon, 18 Mar 2024 at 10:08, Marcel Ziswiler wrote: > +PACKAGECONFIG[imagination] = "-Dimagination-srv=true," This needs a negative condition as well, otherwise upstream defaults may result in an incorrect configuration (option being quietly enabled without it being present in PACKAGECONFIG).

Re: [OE-core] '.bashrc': Unknown file type; file ignored

2024-03-18 Thread Alexander Kanavin
On Mon, 18 Mar 2024 at 11:59, Enrico Scholz via lists.openembedded.org wrote: > > Enrico Scholz writes: > > > 4.14.2/shadow-4.14.2/lib/copydir.c > > > > | 443 if (fstatat(dst->dirfd, dst->name, , AT_SYMLINK_NOFOLLOW) > > != -1) { > > | return 0; > > | } >

Re: [OE-core] '.bashrc': Unknown file type; file ignored

2024-03-18 Thread Enrico Scholz via lists.openembedded.org
Enrico Scholz writes: > 4.14.2/shadow-4.14.2/lib/copydir.c > > | 443 if (fstatat(dst->dirfd, dst->name, , AT_SYMLINK_NOFOLLOW) != > -1) { > | return 0; > | } Bug in shadow-utils; when fstatat() fails, content of 'sb' will still be used.

[OE-core] [PATCH] bash/flex: Ensure BUILD_FLAGS doesn't leak onto target

2024-03-18 Thread Richard Purdie
The ptest packages were leaking BUILD_LDFLAGS into the Makefile used on target. Remove these values instead. Signed-off-by: Richard Purdie --- meta/recipes-devtools/flex/flex_2.6.4.bb | 1 + meta/recipes-extended/bash/bash.inc | 1 + 2 files changed, 2 insertions(+) diff --git

[OE-core] [PATCH v2] uninative: Add pthread linking workaround

2024-03-18 Thread Richard Purdie
With newer glibc versions, pthread was merged into the main library so there is no longer any need to link with -lpthread. On newer systems this means that linker flag is dropped from places like pkgconfig .pc files. If uninative then uses this newer library on an older system, the flag is

Re: [OE-core] Call for contributions to the 5.0 release notes

2024-03-18 Thread Michael Opdenacker via lists.openembedded.org
Hi Ross On 3/15/24 at 21:58, Ross Burton wrote: On 15 Mar 2024, at 08:12, Michael Opdenacker via lists.openembedded.org wrote: Greetings, If you contributed new features to the upcoming release, or if you are interested in figuring out what's new in 5.0, that would be great if you could

Re: [oe-core][PATCH] python3-gpiod: add recipe

2024-03-18 Thread Quentin Schulz via lists.openembedded.org
Hi Xiangyu Chen, On 3/18/24 10:35, Xiangyu Chen via lists.openembedded.org wrote: From: Xiangyu Chen python3-gpiod is a python library for interacting with the linux GPIO character device, it provides a simple way to control a GPIO in less code. Signed-off-by: Xiangyu Chen ---

[oe-core][PATCH v2] mesa: enable imagination powervr support

2024-03-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Allows mesa to be build with Imagination PowerVR support. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Define imagination as a standard PACKAGECONFIG setting as suggested by Alex. meta/recipes-graphics/mesa/mesa.inc | 6 +- 1 file changed, 5

[oe-core][PATCH] python3-gpiod: add recipe

2024-03-18 Thread Xiangyu Chen
From: Xiangyu Chen python3-gpiod is a python library for interacting with the linux GPIO character device, it provides a simple way to control a GPIO in less code. Signed-off-by: Xiangyu Chen --- meta/recipes-devtools/python/python3-gpiod_1.5.4.bb | 12 1 file changed, 12

[OE-core] [PATCH] linux-yocto: introduce KMETABRANCH

2024-03-18 Thread Ming Liu
From: Ming Liu If I want to try a different branch of linux-yocto in a bbappend, that could be easily done by setting KBRANCH, but there is not such a way to do the same for kernel meta. Introduce a variable KMETABRANCH to satisfy that. Signed-off-by: Ming Liu ---

[OE-core][kirkstone][PATCH] openssl: Improve FIPS RSA keygen performac

2024-03-18 Thread jason.lau via lists.openembedded.org
The ssh-keygen would take a long time to generate the entropy of a key The following commits have fixed the issue. https://github.com/openssl/openssl/commit/dd1d7bcb69994d81662e709b0ad838880b943870 https://github.com/openssl/openssl/commit/d2f6e66d2837bff1f5f7636bb2118e3a45c9df61 Signed-off-by:

Re: [OE-core] [master] [PATCH] cve-check: Add provision to exclude classes

2024-03-18 Thread Mikko Rapeli
Hi, On Fri, Mar 15, 2024 at 07:52:00PM +, Dhairya Nagodra via lists.openembedded.org wrote: > > > >-Original Message- > >From: Ross Burton > >Sent: Friday, March 15, 2024 9:39 PM > >To: Dhairya Nagodra -X (dnagodra - E-INFO CHIPS INC at Cisco) > > > >Cc: