[OE-core] [PATCH] rust: Use libc++ runtime when using clang with llvm runtime

2022-08-22 Thread Khem Raj
such a setting is used. Signed-off-by: Khem Raj --- meta/recipes-devtools/rust/rust.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index 284347dedc..c288903c9b 100644 --- a/meta/recipes-devtools/rust/rust.inc +++ b/meta

[OE-core] [master-next][PATCH] rust-llvm: Update to matching LLVM_VERSION from rust-source

2022-08-21 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/rust/rust-llvm_1.63.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb index 5b94e22f7b..396f741953 100644 --- a/meta/recipes

[OE-core] [PATCH] gcc: Upgrade to 12.2.0

2022-08-20 Thread Khem Raj
libsanitizers with glibc 2.36, its already present in 12.2 [1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED=FIXED_milestone=12.2 Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 2 +- .../gcc/{gcc-12.1.inc => gcc-12.2.inc}| 7 ++- ...ian_12.1.bb =&g

[OE-core] [PATCH v2] rust: Fix build failure on riscv32

2022-08-20 Thread Khem Raj
Latest rust has started using ENOTSUP define, which is not available in the older libc that current release of compiler is using therefore backport the needed patch. Eventually when vendored version of libc bumps to 1.33+ we should not need this patch. Signed-off-by: Khem Raj --- v2: Rebase

Re: [OE-core] [PATCH] rust: Fix build failure on riscv

2022-08-20 Thread Khem Raj
. > On 19/08/2022 11:58:20-0700, Khem Raj wrote: > > Latest rust has started using ENOTSUP define, which is not available in > > the older libc that current release of compiler is using therefore > > backport the needed patches. Eventually when vendored version of libc > >

[OE-core] [PATCH] cargo_common.bbclass: Add missing space in shell conditional code

2022-08-20 Thread Khem Raj
Fixes cofigure errors in rust recipes e.g. tmp/work/riscv32-yoe-linux-musl/rust/1.62.1-r0/temp/run.setup_cargo_environment.3047487: line 215: [: missing `]' Signed-off-by: Khem Raj --- meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] binutils: Upgrade to latest on 2.39 release branch

2022-08-19 Thread Khem Raj
in relocate, at powerpc.cc:10796 * e8cf7321518 gas/Dwarf: properly skip zero-size functions * 9284b63ea39 ld: fix NEWS typos Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.39.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/binutils

[OE-core] [PATCH] rust: Fix build failure on riscv

2022-08-19 Thread Khem Raj
Latest rust has started using ENOTSUP define, which is not available in the older libc that current release of compiler is using therefore backport the needed patches. Eventually when vendored version of libc bumps to 1.33+ we should not need this patch. Signed-off-by: Khem Raj --- meta/recipes

Re: [OE-core][PATCH] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Khem Raj
On Fri, Aug 19, 2022 at 8:22 AM Alexander Kanavin wrote: > > So which recent patch? Can you link to it please? > https://patchwork.yoctoproject.org/project/oe-core/patch/20220813170156.4040589-1-raj.k...@gmail.com/ but this needs to remove sysinit from target, I have meant to send a v2 but had

[OE-core] [PATCH] binutils: Disable gprofng on musl systems

2022-08-18 Thread Khem Raj
': | ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un' | 578 | sigev._sigev_un._tid = __collector_gettid (); | |^ Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils_2.39.bb | 3 +++ 1 file changed, 3

[OE-core] [PATCH] musl: Update to tip

2022-08-18 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 510dd4..97c27eba4a 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes

[OE-core] [PATCH] webkitgtk: Upgrade to 2.36.6 minor update

2022-08-18 Thread Khem Raj
Signed-off-by: Khem Raj --- .../webkit/{webkitgtk_2.36.5.bb => webkitgtk_2.36.6.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-sato/webkit/{webkitgtk_2.36.5.bb => webkitgtk_2.36.6.bb} (98%) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.36.5

Re: [OE-core][PATCH 2/2] openssh: add support for config snippet includes to ssh and sshd

2022-08-18 Thread Khem Raj
On Thu, Aug 18, 2022 at 4:21 AM Jan Luebbe wrote: > > This makes it simpler to set specific ssh/sshd config options by adding > snippet files to /etc/ssh/ssh_config.d/ or /etc/ssh/sshd_config.d/ > instead of modifying a copy of the full configuration file. As new > snippets can be added from

[OE-core] [PATCH v2 1/2] xmlto: Update to use upstream tip of trunk

2022-08-17 Thread Khem Raj
onfiguring the build. Run lex from sourcedir to avoid emitting absolute source paths via #line directive into generated c source file which ends up causing reproducability isssue Signed-off-by: Khem Raj --- v2: Fix reproducibility failure .../0001-Skip-validating-xmlto-output.pa

[OE-core] [PATCH v2 2/2] nfs-utils: Upgrade to 2.6.2

2022-08-17 Thread Khem Raj
Fix build with clang Package new rpcctl utility into a new package Signed-off-by: Khem Raj --- v2: Use nonarch_libdir instead of nonarch_base_libdir for packaging modprobe.d dir ...td-Check-for-return-of-stat-function.patch | 34 +++ .../0006-Fix-function-prototypes.patch| 93

[OE-core] [PATCH v3] rpm: Remove -Wimplicit-function-declaration warnings

2022-08-17 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Squash the patch into another patch which introduced it v3: Delete now unused patch from metadata ...lling-execute-package-scriptlets-wit.patch | 18 - ...ude-lib-rpmchroot.h-for-rpmChrootOut.patch | 26 --- meta/recipes-devtools/rpm

[OE-core] [PATCH v2] rpm: Remove -Wimplicit-function-declaration warnings

2022-08-17 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Squash the patch into another patch which introduced it ...alling-execute-package-scriptlets-wit.patch | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute

[OE-core] [PATCH v3 7/7] rsync: Add missing prototypes to function declarations

2022-08-17 Thread Khem Raj
Signed-off-by: Khem Raj --- ...-prototypes-to-function-declarations.patch | 182 ++ meta/recipes-devtools/rsync/rsync_3.2.5.bb| 1 + 2 files changed, 183 insertions(+) create mode 100644 meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function

[OE-core] [PATCH v3 3/7] binutils: Package up gprofng

2022-08-17 Thread Khem Raj
(From OE-Core rev: 62fad02c368aa912ae97e8dd048bd81e305a5444) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils_2.39.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/binutils/binutils_2.39.bb b

[OE-core] [PATCH v3 6/7] autoconf: Fix strict prototype errors in generated tests

2022-08-17 Thread Khem Raj
This will fix issues with autoconf tests which fail due to lacking prototypes Signed-off-by: Khem Raj --- ...totype-for-functions-with-no-paramet.patch | 64 +++ .../autoconf/autoconf_2.71.bb | 1 + 2 files changed, 65 insertions(+) create mode 100644 meta

[OE-core] [PATCH v3 5/7] binutils-cross-canadian: Package up new gprofng.rc file

2022-08-17 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc index b3d591e658..4e8f10c1c4

[OE-core] [PATCH v3 4/7] binutils: Disable gprofng when using clang

2022-08-17 Thread Khem Raj
: 5f4b6afb030fe75247cc2da09cdf0ec5259673df) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils_2.39.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/binutils/binutils_2.39.bb b/meta/recipes-devtools/binutils/binutils_2.39.bb index

[OE-core] [PATCH v3 2/7] binutils-cross: Disable gprofng for when building cross binutils

2022-08-17 Thread Khem Raj
This does not work in cross settings yet (From OE-Core rev: c9d484092060f7e8431e31c64d98433b4f85c378) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils-cross.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/binutils

Re: [OE-core] [PATCH 1/8] package: Switch debug source handling to use prefix map

2022-08-16 Thread Khem Raj
Series looks good now to me. I think we should upstream the gcc patches as well since its a good change to have everywhere. I am seeing one issue in curl-config now getting buildpaths [1] emitted into it, but it could be clang only problem too, I will look more into it [1]

Re: [OE-core] [PATCH 7/8] gcc: Add a patch to avoid hardcoded paths in libgcc on powerpc

2022-08-16 Thread Khem Raj
On Tue, Aug 16, 2022 at 1:58 PM Richard Purdie wrote: > > Tweak the powerpc code to just include filenames rather than full paths > to avoid build reproducibility issues. > > Signed-off-by: Richard Purdie > --- > meta/recipes-devtools/gcc/gcc-12.1.inc| 1 + >

Re: [OE-core] [PATCH v2 7/7] spirv-tools: Update to 1.3.224.0

2022-08-16 Thread Khem Raj
On Tue, Aug 16, 2022 at 10:03 AM Alexander Kanavin wrote: > > On Tue, 16 Aug 2022 at 18:59, Khem Raj wrote: > > -SRCREV = "c94501352d545e84c821ce031399e76d1af32d18" > > +SRCREV = "5e61ea2098220059e89523f1f47b0bcd8c33b89a" > > Sorry bu

[OE-core] [PATCH] spirv-tools: Remove default copy constructor in header

2022-08-16 Thread Khem Raj
Fixes build with when clang libc++ runtime is used. Signed-off-by: Khem Raj --- ...ult-copy-constructor-in-header.-4879.patch | 34 +++ .../spir/spirv-tools_1.3.216.0.bb | 4 ++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta/recipes

[OE-core] [PATCH v2 7/7] spirv-tools: Update to 1.3.224.0

2022-08-16 Thread Khem Raj
Fixes build with clang Signed-off-by: Khem Raj --- v2: Drop uprev of vulkan-headers recipe, there was no change .../spir/{spirv-tools_1.3.216.0.bb => spirv-tools_1.3.224.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-graphics/spir/{spirv-tools_1.3.216.0

[OE-core] [PATCH 6/7] ltp: Fix sys/mount.h and linux/mount.h conflict

2022-08-16 Thread Khem Raj
backport needed patches Signed-off-by: Khem Raj --- ...ove-duplicate-include-of-sys-mount.h.patch | 30 ...olve-conflict-in-different-header-fi.patch | 71 +++ ...-lapi-pidfd-adding-pidfd-header-file.patch | 60 meta/recipes-extended/ltp/ltp_20220527.bb

[OE-core] [PATCH 4/7] nfs-utils: Upgrade to 2.6.2

2022-08-16 Thread Khem Raj
Fix build with clang Package new rpcctl utility into a new package Signed-off-by: Khem Raj --- ...td-Check-for-return-of-stat-function.patch | 34 +++ .../0006-Fix-function-prototypes.patch| 93 +++ ...{nfs-utils_2.6.1.bb => nfs-utils_2.6.2.bb} | 11 ++- 3 fi

[OE-core] [PATCH 5/7] apt: Do not use std::binary_function

2022-08-16 Thread Khem Raj
This feature is removed from c++17 Signed-off-by: Khem Raj --- ...-init-tables-from-dpkg-configuration.patch | 4 +- ...001-Remove-using-std-binary_function.patch | 87 +++ ...n-dpkg-configure-a-at-the-end-of-our.patch | 4 +- meta/recipes-devtools/apt/apt_2.4.5.bb| 1

[OE-core] [PATCH 3/7] rpm: Remove -Wimplicit-function-declaration warnings

2022-08-16 Thread Khem Raj
Signed-off-by: Khem Raj --- ...ude-lib-rpmchroot.h-for-rpmChrootOut.patch | 26 +++ meta/recipes-devtools/rpm/rpm_4.17.1.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta/recipes-devtools/rpm/files/0001-rpmscript-Include-lib-rpmchroot.h

[OE-core] [PATCH 2/7] vulkan-samples: Qualify move as std::move

2022-08-16 Thread Khem Raj
Fixes build with clang Signed-off-by: Khem Raj --- .../0001-Qualify-move-as-std-move.patch | 405 ++ .../vulkan/vulkan-samples_git.bb | 1 + 2 files changed, 406 insertions(+) create mode 100644 meta/recipes-graphics/vulkan/vulkan-samples/0001-Qualify-move

[OE-core] [PATCH 1/7] boost: Compile out stdlib unary/binary_functions for c++11 and newer

2022-08-16 Thread Khem Raj
These base classes are deprecated/removed from libcpp15 Signed-off-by: Khem Raj --- ...y-binary_function-base-classes-are-d.patch | 34 +++ meta/recipes-support/boost/boost_1.79.0.bb| 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-support/boost

Re: [OE-core] [PATCH 5/6] spirv-tools,spirv-headers: Update to 1.3.224.0

2022-08-16 Thread Khem Raj
to rename it. > > Akex > > On Tue, 16 Aug 2022 at 05:30, Khem Raj wrote: > > > > Signed-off-by: Khem Raj > > --- > > .../{spirv-headers_1.3.216.0.bb => spirv-headers_1.3.224.0.bb} | 0 > > .../spir/{spirv-tools_1.3.216.0.bb => spirv-tools_1.3

[OE-core] [PATCH v2 5/5] systemd: Upgrade to 251.4 and fix build with binutils 2.39

2022-08-15 Thread Khem Raj
The mount.h conflict patch is now upstream so drop it. Additionally this version fixes build with binutils-2.39 [1] [1] https://github.com/systemd/systemd-stable/commit/8a6f966be404897b5333c218701965ac3b5a0806 Signed-off-by: Khem Raj --- ...md-boot_251.3.bb => systemd-boot_251.4.bb} |

[OE-core] [PATCH v2 4/5] binutils: Disable gprofng when using clang

2022-08-15 Thread Khem Raj
It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported formatted output of built-in functions check is failing with clang somehow it seems to be compiler limitation. Therefore disable building this component with clang for now Signed-off-by: Khem Raj --- meta

[OE-core] [PATCH v2 3/5] binutils: Package up gprofng

2022-08-15 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils_2.39.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/binutils/binutils_2.39.bb b/meta/recipes-devtools/binutils/binutils_2.39.bb index 12a6fb55776..8eab78c3301 100644

[OE-core] [PATCH v2 2/5] binutils-cross: Disable gprofng for when building cross binutils

2022-08-15 Thread Khem Raj
This does not work in cross settings yet Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-cross.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc index 02ec891606d

[OE-core] [PATCH 5/6] spirv-tools,spirv-headers: Update to 1.3.224.0

2022-08-15 Thread Khem Raj
Signed-off-by: Khem Raj --- .../{spirv-headers_1.3.216.0.bb => spirv-headers_1.3.224.0.bb} | 0 .../spir/{spirv-tools_1.3.216.0.bb => spirv-tools_1.3.224.0.bb} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-graphics/spir/{spirv-headers_1.3.216.0.bb =&g

[OE-core] [PATCH v2 6/6] xmlto: Update to use upstream tip of trunk

2022-08-15 Thread Khem Raj
uot;1" Signed-off-by: Khem Raj --- v2: - Update patch status - Add UPSTREAM_CHECK_COMMITS .../0001-Skip-validating-xmlto-output.patch | 29 +++ ...rop-the-test-of-xmllint-and-xsltproc.patch | 6 ++-- meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 16 +++--- 3 files c

[OE-core] [PATCH 4/6] expect: Fix implicit-function-declaration warnings

2022-08-15 Thread Khem Raj
Signed-off-by: Khem Raj --- ...dd-prototype-to-function-definitions.patch | 113 ++ meta/recipes-devtools/expect/expect_5.45.4.bb | 3 +- 2 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/expect/expect/0001-Add-prototype-to-function

[OE-core] [PATCH 3/6] setserial: Fix build with clang

2022-08-15 Thread Khem Raj
Signed-off-by: Khem Raj --- ...needed-system-headers-for-ioctl-and-.patch | 41 +++ meta/recipes-bsp/setserial/setserial_2.17.bb | 3 +- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-bsp/setserial/setserial/0001-setserial.c-Add-needed-system

[OE-core] [PATCH 2/6] screen: Add missing include files in configure checks

2022-08-15 Thread Khem Raj
Fixes builds with -Werror Signed-off-by: Khem Raj --- ...-Add-needed-system-headers-in-checks.patch | 151 ++ meta/recipes-extended/screen/screen_4.9.0.bb | 3 +- 2 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/screen/screen/0001

[OE-core] [PATCH 1/6] time: Add missing include for memset

2022-08-15 Thread Khem Raj
Signed-off-by: Khem Raj --- .../0001-include-string.h-for-memset.patch| 27 +++ meta/recipes-extended/time/time_1.9.bb| 4 ++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/time/time/0001-include-string.h-for-memset.patch

Re: [OE-core][PATCH] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-15 Thread Khem Raj
On Mon, Aug 15, 2022 at 11:30 AM Drew Moseley wrote: > > Hi Khem, > > It looks like you recently removed both the dependency on hwrng and > systemd-udev-settle. Do you think this change will be useful? Depending on udev-settle certainly seems an overkill so that should go. the change you have

[OE-core] [PATCH] perf: Add packageconfig for libbfd support and use disabled as default

2022-08-14 Thread Khem Raj
Disable it by default, libbfd changes with binutils major releases and sometimes it creates a dependency to fix it. See [1] This will help building with binutils 2.39 [1] https://lore.kernel.org/lkml/20210910225756.729087-1-irog...@google.com/T/ Signed-off-by: Khem Raj Cc: Bruce Ashfield

[OE-core] [PATCH v2] zlib: Resolve CVE-2022-37434

2022-08-14 Thread Khem Raj
Backport needed fixes CVE: CVE-2022-37434 Signed-off-by: Khem Raj Cc: Paul Eggleton --- v2: Patches are needed and backported thusly ...etting-a-gzip-header-extra-field-wit.patch | 38 +++ ...processing-bug-that-dereferences-NUL.patch | 36 ++ meta/recipes

Re: [OE-core] [PATCH 03/10] zlib: Resolve CVE-2022-37434

2022-08-14 Thread Khem Raj
On Sun, Aug 14, 2022 at 7:32 PM Paul Eggleton < bluelightn...@bluelightning.org> wrote: > On Monday, 15 August 2022 10:20:30 NZST Khem Raj wrote: > > This is only seen in development branch as per [1] > > > > [1] > > > https://github.com/madler/zlib/commit/e

[OE-core] [PATCH 4/4] vulkan-samples: Qualify move as std::move

2022-08-14 Thread Khem Raj
Fixes build with clang Signed-off-by: Khem Raj --- .../0001-Qualify-move-as-std-move.patch | 405 ++ .../vulkan/vulkan-samples_git.bb | 1 + 2 files changed, 406 insertions(+) create mode 100644 meta/recipes-graphics/vulkan/vulkan-samples/0001-Qualify-move

[OE-core] [PATCH 3/4] boost: Compile out stdlib unary/binary_functions for c++11 and newer

2022-08-14 Thread Khem Raj
These base classes are deprecated/removed from libcpp15 Signed-off-by: Khem Raj --- ...y-binary_function-base-classes-are-d.patch | 34 +++ meta/recipes-support/boost/boost_1.79.0.bb| 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-support/boost

[OE-core] [PATCH 2/4] xmlto: Update to use upstream tip of trunk

2022-08-14 Thread Khem Raj
There are several fixes which are done to fix builds with newer compilers after 0.0.28 was releases in 2015 a long time ago. Add a patch to fix manpages builds not trying to access network during build Regenerate xmlif from lex files, before configuring the build Signed-off-by: Khem Raj

[OE-core] [PATCH 1/4] json-c: Fix function prototypes

2022-08-14 Thread Khem Raj
This is flagged with clang 15 Signed-off-by: Khem Raj --- .../json-c/0001-Fix-build-with-clang-15.patch | 34 +++ meta/recipes-devtools/json-c/json-c_0.16.bb | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/json-c/json-c/0001

[OE-core] [PATCH v2 4/8] connman: Backports for security fixes

2022-08-14 Thread Khem Raj
Fixes CVE: CVE-2022-32292, CVE-2022-32293 Signed-off-by: Khem Raj --- v2: Fix the order of patch apply .../connman/connman/CVE-2022-32292.patch | 37 .../connman/connman/CVE-2022-32293_p1.patch | 141 ++ .../connman/connman/CVE-2022-32293_p2.patch | 174

[OE-core] [PATCH 10/10] libtirpc: Upgrade to 1.3.3

2022-08-14 Thread Khem Raj
-by: Khem Raj --- .../libtirpc/libtirpc/CVE-2021-46828.patch| 565 -- .../{libtirpc_1.3.2.bb => libtirpc_1.3.3.bb} | 6 +- 2 files changed, 2 insertions(+), 569 deletions(-) delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/CVE-2021-46828.patch rename meta/reci

[OE-core] [PATCH 09/10] tiff: Backport a patch for CVE-2022-34526

2022-08-14 Thread Khem Raj
Signed-off-by: Khem Raj --- .../libtiff/files/CVE-2022-34526.patch| 32 +++ meta/recipes-multimedia/libtiff/tiff_4.4.0.bb | 4 ++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2022-34526.patch diff --git

[OE-core] [PATCH 08/10] libxml2: Ignore CVE-2016-3709

2022-08-14 Thread Khem Raj
This is fixed via a revert in 2.9.11 [1] [1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/c1ba6f54d32b707ca6d91cb3257ce9de82876b6f Signed-off-by: Khem Raj --- meta/recipes-core/libxml/libxml2_2.9.14.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-core/libxml

[OE-core] [PATCH 07/10] libtirpc: Backport fix for CVE-2021-46828

2022-08-14 Thread Khem Raj
CVE: CVE-2021-46828 Signed-off-by: Khem Raj --- .../libtirpc/libtirpc/CVE-2021-46828.patch| 565 ++ .../libtirpc/libtirpc_1.3.2.bb| 4 +- 2 files changed, 568 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/libtirpc/libtirpc/CVE-2021

[OE-core] [PATCH 06/10] connman: Backports for security fixes

2022-08-14 Thread Khem Raj
Fixes CVE: CVE-2022-32292, CVE-2022-32293 Signed-off-by: Khem Raj --- .../connman/connman/CVE-2022-32292.patch | 37 .../connman/connman/CVE-2022-32293_p1.patch | 174 ++ .../connman/connman/CVE-2022-32293_p2.patch | 141 ++ .../connman/connman_1.41.bb

[OE-core] [PATCH 05/10] rsync: Upgrade to 3.2.5

2022-08-14 Thread Khem Raj
Changlog is here [1] [1] https://download.samba.org/pub/rsync/NEWS#3.2.5 Signed-off-by: Khem Raj --- .../rsync/files/CVE-2022-29154.patch | 372 -- .../rsync/{rsync_3.2.4.bb => rsync_3.2.5.bb} | 4 +- 2 files changed, 1 insertion(+), 375 deletions(-) delete m

[OE-core] [PATCH 04/10] rsync: Backport fix to address CVE-2022-29154

2022-08-14 Thread Khem Raj
CVE: CVE-2022-29154 Signed-off-by: Khem Raj --- .../rsync/files/CVE-2022-29154.patch | 372 ++ meta/recipes-devtools/rsync/rsync_3.2.4.bb| 1 + 2 files changed, 373 insertions(+) create mode 100644 meta/recipes-devtools/rsync/files/CVE-2022-29154.patch diff

[OE-core] [PATCH 03/10] zlib: Resolve CVE-2022-37434

2022-08-14 Thread Khem Raj
This is only seen in development branch as per [1] [1] https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1#commitcomment-80753451 CVE: CVE-2022-37434 Signed-off-by: Khem Raj --- meta/recipes-core/zlib/zlib_1.2.12.bb | 4 1 file changed, 4 insertions(+) diff

[OE-core] [PATCH 02/10] xmlto: Update to use upstream tip of trunk

2022-08-14 Thread Khem Raj
There are several fixes which are done to fix builds with newer compilers after 0.0.28 was releases in 2015 a long time ago. Add a patch to fix manpages builds not trying to access network during build Regenerate xmlif from lex files, before configuring the build Signed-off-by: Khem Raj

[OE-core] [PATCH 01/10] json-c: Fix function prototypes

2022-08-14 Thread Khem Raj
This is flagged with clang 15 Signed-off-by: Khem Raj --- .../json-c/0001-Fix-build-with-clang-15.patch | 34 +++ meta/recipes-devtools/json-c/json-c_0.16.bb | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/json-c/json-c/0001

Re: [OE-core] [PATCH] packagegroup-self-hosted: update for strace

2022-08-14 Thread Khem Raj
On Sun, Aug 14, 2022 at 8:39 AM Alexander Kanavin wrote: > > Some information or links about how it is incompatible would be > appreciated. Can it be made compatible instead? > rv32 port is not implemented yet. there are patches available to add support for rv32, however they. are not upstream

[OE-core] [PATCH v2] musl: Upgrade to latest tip of trunk

2022-08-13 Thread Khem Raj
-by: Khem Raj --- v2: Rebase and forward patches ...ic-linker-a-relative-symlink-to-libc.patch | 18 +++-- ...ir-and-libdir-as-default-pathes-to-l.patch | 20 +-- meta/recipes-core/musl/musl_git.bb| 2 +- 3 files changed, 27 insertions(+), 13 deletions

[OE-core] [PATCH 3/3] musl: Upgrade to latest tip of trunk

2022-08-13 Thread Khem Raj
ensure distinct query id for parallel A and queries in resolver * 8974ef21 mntent: fix potential mishandling of extremely long lines * 751bee0e mntent: fix parsing lines with optional fields * dcb31f6b fix constraint violation in qsort wrapper around qsort_r Signed-off-by: Khem Raj --- meta

[OE-core] [PATCH 2/3] gstreamer1.0-plugins-base: Include required system headers for isspace() and sscanf()

2022-08-13 Thread Khem Raj
Signed-off-by: Khem Raj --- ...-system-headers-for-isspace-and-ssca.patch | 35 +++ .../gstreamer1.0-plugins-base_1.20.3.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-include-required

[OE-core] [PATCH 1/3] rng-tools: Remove disabling DefaultDependencies

2022-08-13 Thread Khem Raj
and daemon using it is not seen often. do not run if included in a container image Signed-off-by: Khem Raj --- meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-support/rng-tools/rng-tools/rng

[OE-core] [PATCH 5/5] default-distrovars: Remove largefile from defualt DISTRO_FEATURES

2022-08-12 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/conf/distro/include/default-distrovars.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 230bab84dd4..abf48f79f08 100644 --- a/meta/conf

[OE-core] [PATCH 4/5] local.conf.sample.extended: Remove largefile from DISTRO_FEATURES

2022-08-12 Thread Khem Raj
This feature is removed therefore lets remove it from samples and templates Signed-off-by: Khem Raj --- meta/conf/local.conf.sample.extended | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index

[OE-core] [PATCH 3/5] unzip: Always enable largefile support

2022-08-12 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-extended/unzip/unzip_6.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index 96068eefdd2..a4d10c30aa2 100644 --- a/meta/recipes-extended/unzip

[OE-core] [PATCH 1/5] zip: Always enable LARGE_FILE_SUPPORT

2022-08-12 Thread Khem Raj
largefile distro feature is deprecated Signed-off-by: Khem Raj --- meta/recipes-extended/zip/zip_3.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb index 65d9b0995bf..1930a40140b 100644

[OE-core] [PATCH 2/5] libmicrohttpd: Enable largefile support unconditionally

2022-08-12 Thread Khem Raj
the distro feature knob is deprecated Signed-off-by: Khem Raj --- meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.75.bb | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.75.bb b/meta/recipes-support

Re: [OE-core][PATCH] uninative: Upgrade to 3.7 with glibc 2.36

2022-08-12 Thread Khem Raj
Thanks this works well on my Archlinux which really needed it bad. On Fri, Aug 12, 2022 at 2:58 PM Michael Halstead wrote: > > Signed-off-by: Michael Halstead > --- > meta/conf/distro/include/yocto-uninative.inc | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git

Re: [OE-core] [PATCH 1/5] zip: Enable largefile support based on distro feature

2022-08-12 Thread Khem Raj
On Fri, Aug 12, 2022 at 1:25 PM Andre McCurdy wrote: > > On Wed, Aug 10, 2022 at 10:54 PM Khem Raj wrote: > > > > The configure test tries to run a binary during build to determine > > largefile support, which wont work in cross-compile mode, therefore >

[OE-core] [PATCH] glibc: Bump to latest 2.36 branch

2022-08-12 Thread Khem Raj
Drop upstreamed patches Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc-version.inc | 2 +- ...define-STRCPY-guard-in-strcpy-sse2.S.patch | 28 ...ace-strcpy-call-with-memcpy-BZ-29454.patch | 32 --- meta/recipes-core/glibc/glibc_2.36.bb

[OE-core] [PATCH v4] glibc: Bump to 2.36

2022-08-11 Thread Khem Raj
fix new upstream build issue with DEBUG_BUILD build Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- v3: Rebased, no code changes v4: Update to latest on branch drop applied patches meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.35.bb => cross-localedef-native_2.36

Re: [OE-core] [PATCH] glibc: Update patch status

2022-08-11 Thread Khem Raj
then we > can drop these 2 changes. (I'll try to do another build tests with > DEBUG_BUILD, but probably next week or so). I think, I might do, if Alex reports issues as he is already testing it out. > > On Tue, Aug 9, 2022 at 4:50 PM Khem Raj wrote: >> >> These patch

[OE-core] [PATCH 5/5] iproute2: Fix netns check during configure

2022-08-10 Thread Khem Raj
Check would fail with compilers using -Werror since _GNU_SOURCE is needed for this function. Signed-off-by: Khem Raj --- ...-_GNU_SOURCE-when-checking-for-setns.patch | 28 +++ .../iproute2/iproute2_5.19.0.bb | 1 + 2 files changed, 29 insertions(+) create mode

[OE-core] [PATCH 4/5] unzip: Enable largefile support when enabled in distro

2022-08-10 Thread Khem Raj
The test to determine largefile support is a runtime test which wont work during cross-compile, therefore override the test result from recipe Signed-off-by: Khem Raj --- meta/recipes-extended/unzip/unzip_6.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/unzip

[OE-core] [PATCH 3/5] unzip: Fix configure tests to use modern C

2022-08-10 Thread Khem Raj
Newer compilers end up with errors while compiling these test snippets and build results in failures. Signed-off-by: Khem Raj --- ...rrect-system-headers-and-prototypes-.patch | 112 ++ meta/recipes-extended/unzip/unzip_6.0.bb | 1 + 2 files changed, 113 insertions

[OE-core] [PATCH 1/5] zip: Enable largefile support based on distro feature

2022-08-10 Thread Khem Raj
The configure test tries to run a binary during build to determine largefile support, which wont work in cross-compile mode, therefore specify it when largefile DISTRO_FEATURE is on. Signed-off-by: Khem Raj --- meta/recipes-extended/zip/zip_3.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff

[OE-core] [PATCH 2/5] zip: Make configure checks to be more robust

2022-08-10 Thread Khem Raj
Newer compilers are strict and have turned some warnings into hard errors which results in subtle configure check failures. Therefore fix these tests and also enable largefile support via cflags when its desired Signed-off-by: Khem Raj --- ...y-correct-function-signatures-and-de.patch | 134

[OE-core] [PATCH v2] binutils: Disable gprofng when using clang

2022-08-10 Thread Khem Raj
It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported formatted output of built-in functions check is failing with clang somehow it seems to be compiler limitation. Therefore disable building this component with clang for now Signed-off-by: Khem Raj --- v2

[OE-core] [PATCH] binutils: Disable gprofng when using clang

2022-08-10 Thread Khem Raj
It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported formatted output of built-in functions check is failing with clang somehow it seems to be compiler limitation. Therefore disable building this component with clang for now Signed-off-by: Khem Raj --- meta

[OE-core] [PATCH] binutils: Package up gprofng

2022-08-09 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils_2.39.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/binutils/binutils_2.39.bb b/meta/recipes-devtools/binutils/binutils_2.39.bb index 12a6fb55776..8eab78c3301 100644

[OE-core] [PATCH] systemd: Upgrade to 251.4 and fix build with binutils 2.39

2022-08-09 Thread Khem Raj
The mount.h conflict patch is now upstream so drop it. Additionally this version fixes build with binutils-2.39 [1] [1] https://github.com/systemd/systemd-stable/commit/8a6f966be404897b5333c218701965ac3b5a0806 Signed-off-by: Khem Raj --- ...md-boot_251.3.bb => systemd-boot_251.4.bb} |

[OE-core] [PATCH] glibc: Update patch status

2022-08-09 Thread Khem Raj
These patches were appplied in master Signed-off-by: Khem Raj --- .../0026-x86-Fix-define-STRCPY-guard-in-strcpy-sse2.S.patch | 2 +- .../0027-elf-Replace-strcpy-call-with-memcpy-BZ-29454.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core

[OE-core] [PATCH] sysvinit: Fix mount.h conflicts seen with glibc 2.36+

2022-08-09 Thread Khem Raj
Signed-off-by: Khem Raj --- .../sysvinit/sysvinit_remove_linux_fs.patch | 17 + meta/recipes-core/sysvinit/sysvinit_3.04.bb | 1 + 2 files changed, 18 insertions(+) create mode 100644 meta/recipes-core/sysvinit/sysvinit/sysvinit_remove_linux_fs.patch diff --git a/meta

[OE-core] [PATCH V3 2/2] glibc: fix new upstream build issue with DEBUG_BUILD build

2022-08-08 Thread Khem Raj
: error: ld returned 1 exit status introduced in 2.36 version, with: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6b9006bfb0 upstream report with this fix proposed: https://sourceware.org/bugzilla/show_bug.cgi?id=29454 Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- v3

[OE-core] [PATCH V3 1/2] glibc: Bump to 2.36

2022-08-08 Thread Khem Raj
Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- v2: Add DEBUG_BUILD fixes v3: Update SRCREV to latest on 2.36 branch meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.35.bb => cross-localedef-native_2.36.bb} | 4 +- meta/recipes-core/glibc/glibc-common.inc |

[OE-core] [PATCH 2/2] perl: Pass additional flags to enable lfs and gnu source

2022-08-08 Thread Khem Raj
These defines are needed to enable some GNU APIs and large file support is default in OE anyway Signed-off-by: Khem Raj --- meta/recipes-devtools/perl/perl_5.36.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/perl/perl_5.36.0.bb b/meta/recipes-devtools/perl

[OE-core] [PATCH 1/2] perl-cross: Correct function signatures in configure_func.sh

2022-08-08 Thread Khem Raj
prototypes known during compilation Signed-off-by: Khem Raj --- ...h-Add-_GNU_SOURCE-define-and-functio.patch | 485 ++ .../perl-cross/perlcross_1.4.bb | 1 + 2 files changed, 486 insertions(+) create mode 100644 meta/recipes-devtools/perl-cross/files/0001

Re: [OE-core] [PATCH 00/13] kernel-yocto: consolidated pull request

2022-08-08 Thread Khem Raj
On Mon, Aug 8, 2022 at 11:07 AM Bruce Ashfield wrote: > > On Mon, Aug 8, 2022 at 12:14 PM Khem Raj wrote: > > > > Hi Bruce > > > > 5.19 has issues with zfs see [1], it seem zfs is not yet working well > > with 5.19 I see this message > > > > | c

Re: [OE-core] [PATCH v2 44/44] weston: upgrade 10.0.1 -> 10.0.2

2022-08-08 Thread Khem Raj
ecipes-graphics/wayland/weston/dont-use-plane-add-prop.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ece4c3d261aeec230869c0304ed1011ff6837c16 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 12 Sep 2020 14:04:04 -0700 -Subject: [PATCH] Fix atomic modesetting with musl - -atomic modesetting seems t

Re: [OE-core] [PATCH 00/13] kernel-yocto: consolidated pull request

2022-08-08 Thread Khem Raj
On 8/8/22 10:21 AM, Bruce Ashfield wrote: On Mon, Aug 8, 2022 at 1:11 PM Bruce Ashfield via lists.openembedded.org wrote: On Mon, Aug 8, 2022 at 12:14 PM Khem Raj wrote: Hi Bruce 5.19 has issues with zfs see [1], it seem zfs is not yet working well with 5.19 I see this message Indeed

Re: [OE-core] [PATCH v2 14/44] libwpe: upgrade 1.12.0 -> 1.12.2

2022-08-08 Thread Khem Raj
On 8/7/22 11:42 PM, Alexander Kanavin wrote: Signed-off-by: Alexander Kanavin --- ...ure-due-to-libc-using-libc-functions.patch | 42 +++ .../{libwpe_1.12.0.bb => libwpe_1.12.2.bb}| 6 ++- 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644

Re: [OE-core] [PATCH v2 13/44] harfbuzz: upgrade 4.4.1 -> 5.1.0

2022-08-08 Thread Khem Raj
On 8/7/22 11:42 PM, Alexander Kanavin wrote: Signed-off-by: Alexander Kanavin --- ...0001-fix-signedness-of-char-in-tests.patch | 27 +++ .../{harfbuzz_4.4.1.bb => harfbuzz_5.1.0.bb} | 6 +++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644

Re: [OE-core] [PATCH v2 08/44] patchelf: update 0.14.5 -> 0.15.0

2022-08-08 Thread Khem Raj
On 8/7/22 11:42 PM, Alexander Kanavin wrote: Drop handle-read-only-files.patch: read only files should be handled by making them writeable explicitly. See the upstream discussion: https://github.com/NixOS/patchelf/pull/89 I agree with this. However, we have been carrying this for a while and

<    8   9   10   11   12   13   14   15   16   17   >