[OE-core] [kirkstone][PATCHv2] libtiff: fix CVE-2023-26966 Buffer Overflow

2023-07-27 Thread Hitendra Prajapati
Upstream-Status: Backport from https://gitlab.com/libtiff/libtiff/-/commit/b0e1c25dd1d065200c8d8f59ad0afe014861a1b9 Signed-off-by: Hitendra Prajapati --- .../libtiff/tiff/CVE-2023-26966.patch | 35 +++ meta/recipes-multimedia/libtiff/tiff_4.3.0.bb | 1 + 2 files

[OE-core] [kirkstone][PATCH] libtiff: fix CVE-2023-26966 libtiff: Buffer Overflow

2023-07-27 Thread Hitendra Prajapati
Upstream-Status: Backport from https://gitlab.com/libtiff/libtiff/-/commit/b0e1c25dd1d065200c8d8f59ad0afe014861a1b9 Signed-off-by: Hitendra Prajapati --- .../libtiff/tiff/CVE-2023-26966.patch | 35 +++ meta/recipes-multimedia/libtiff/tiff_4.3.0.bb | 1 + 2 files

[OE-core] [mickledore][PATCH] go: update 1.20.5 -> 1.20.6

2023-07-27 Thread Sakib Sajal via lists.openembedded.org
From: Jose Quaresma Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.5..go1.20.6 origin/release-branch.go1.20 2c358ffe97 (tag: go1.20.6, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.6 312920c00a [release-branch.go1.20] net/http: validate Host header before

[OE-core] [PATCH 2/4] autoconf: Backport upstreamed patches

2023-07-27 Thread Khem Raj
These patches improve the Y2038 support on top of 2.72c release Signed-off-by: Khem Raj --- ...-prototypes-more-prominently-in-NEWS.patch | 36 ++ ...d-run-make-fetch-which-updated-these.patch | 123 ++ .../0003-NEWS-Tighten-up-wording.patch| 29 ++

[OE-core] [PATCH 4/4] x32-linux: Do not cache ac_cv_sys_file_offset_bits

2023-07-27 Thread Khem Raj
This variable is used on some packages e.g. gpgme/libimobiledevice [1] but with new autoconf, its better to let autconf detect it than cache it here [1] https://github.com/gpg/gpgme/blob/master/configure.ac#L659-L670 Signed-off-by: Khem Raj --- meta/site/x32-linux | 1 - 1 file changed, 1

[OE-core] [PATCH 1/4] autoconf: Upgrade to 2.72c

2023-07-27 Thread Khem Raj
From: Richard Purdie Signed-off-by: Richard Purdie Signed-off-by: Khem Raj --- .../gettext-0.21.1/autoconf-2.73.patch| 41 ++ meta/recipes-core/gettext/gettext_0.21.1.bb | 1 + ...ilers-that-moan-about-K-R-func-decls.patch | 138 -- .../{autoconf_2.71.bb =>

[OE-core] [PATCH 3/4] Revert "site: merged common-glibc from OE"

2023-07-27 Thread Khem Raj
This reverts commit a2f942c22e31fe15fef1b44a0e5cc548a60d43a6. AC_TYPE_UID_T autoconf macro caches its result in ac_cv_type_uid_t for defining uid_t and gid_t to suitable types if system headers do not define them back in 2008 autoconf did not evaluate it correctly [1] however it works fine now

[OE-core] [PATCH 0/4] Upgrade autoconf to 2.72c

2023-07-27 Thread Khem Raj
Khem Raj (3): autoconf: Backport upstreamed patches Revert "site: merged common-glibc from OE" x32-linux: Do not cache ac_cv_sys_file_offset_bits Richard Purdie (1): autoconf: Upgrade to 2.72c .../gettext-0.21.1/autoconf-2.73.patch| 41 ++

Re: [OE-core] [kirkstone][dunfell][PATCH] cve-update-nvd2-native: always pass str for json.loads()

2023-07-27 Thread Yuta Hayama
Hi Steve, On 2023/07/28 4:01, Steve Sakoman wrote: > Will this change also work on master and mickledore? If so, please submit > for master and I will cherry-pick to the other branches. > > I've been trying to keep the cve checking in the stable branches in sync > with master as much as

[OE-core] [PATCH] linux-firmware: split platform-specific Adreno shaders to separate packages

2023-07-27 Thread Dmitry Baryshkov
For newest Qualcomm platforms the firmware for the Adreno GPU consists of two parts: platform-independent SQE/GMU/GPMU/PFP/PM4 and platform-specific ZAP shader, which is used during the boot process. As the platform-independent parts can be shared between different platforms, split the

[OE-core] [PATCH] createrepo-c: Update patch status

2023-07-27 Thread Richard Purdie
The patch was submitted upstream, thanks Khem. Signed-off-by: Richard Purdie --- meta/recipes-devtools/createrepo-c/createrepo-c/time64fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/time64fix.patch

[OE-core] [PATCH] ltp: Use bfd linker for KVM_LD as well when ld-is-lld

2023-07-27 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-extended/ltp/ltp_20230516.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/ltp/ltp_20230516.bb b/meta/recipes-extended/ltp/ltp_20230516.bb index e4ba3c68724..9c9acc6c145 100644 ---

[OE-core][mickledore 27/27] util-linux: add alternative links for ipcs,ipcrm

2023-07-27 Thread Steve Sakoman
From: Benjamin Bouvier When enabling ipcs and ipcrm configuration into busybox, both tools are built and then deployed during do_rootfs. These operation lead to below issue (similar behavior happens for ipcs): do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to

[OE-core][mickledore 26/27] openssl: use a glob on the PERLEXTERNAL to track updates on the path

2023-07-27 Thread Steve Sakoman
From: Jose Quaresma The Text-Template was updated from 1.46 to 1.56 | ERROR: openssl-native-3.1.1-r0 do_configure: PERLEXTERNAL '/build/tmp/work/x86_64-linux/openssl-native/3.1.1-r0/openssl-3.1.1/external/perl/Text-Template-1.46/lib' not found! Signed-off-by: Jose Quaresma Signed-off-by:

[OE-core][mickledore 25/27] openssl: add PERLEXTERNAL path to test its existence

2023-07-27 Thread Steve Sakoman
From: Jose Quaresma When upstream change is better to fail or removing the PERL5LIB if they are not need anymore. Signed-off-by: Jose Quaresma Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 337ac1159644678508990927923ef8af30f34cd7) Signed-off-by:

[OE-core][mickledore 24/27] oeqa/selftest/devtool: add unit test for "devtool add -b"

2023-07-27 Thread Steve Sakoman
From: Yoann Congal Fix [Yocto #15085] Co-authored-by: Fawzi KHABER Signed-off-by: Yoann Congal Signed-off-by: Richard Purdie (cherry picked from commit d5eedf8ca689ccb433c2f5d0b324378f966dd627) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/selftest/cases/devtool.py | 32

[OE-core][mickledore 23/27] rootfs_rpm: don't depend on opkg-native for update-alternatives

2023-07-27 Thread Steve Sakoman
From: Ross Burton opkg-native hasn't provided update-alternatives since 2014[1] so this is the wrong dependency, and image.bbclass depends on the virtual provider virtual/update-alternatives-native already. [1] oe-core 1e2c38ce13f8e4b25d8656d237343380cbc970aa Signed-off-by: Ross Burton

[OE-core][mickledore 22/27] oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case

2023-07-27 Thread Steve Sakoman
From: Ross Burton str.format() doesn't use % notation, update the formatting to work. assertTrue() is a member of self not a global, and assertTrue(True) will always pass. Change this to just self.fail() as this is the failure case. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie

[OE-core][mickledore 18/27] mdadm: re-add mdadm-ptest to PTESTS_SLOW

2023-07-27 Thread Steve Sakoman
From: Ovidiu Panait The ptest problems reported in e21021dc00ec ("mdadm: drop from PTESTS_SLOW") should now be fixed, so mdadm can be added back to PTESTS_SLOW (a qemux86-64 test run takes about ~12 minutes to execute with kvm). root@qemux86-64:~# ptest-runner mdadm START: ptest-runner

[OE-core][mickledore 21/27] systemd-systemctl: fix errors in instance name expansion

2023-07-27 Thread Steve Sakoman
From: Yuta Hayama If the instance name indicated by %i begins with a number, the meaning of the replacement string "\\1{}".format(instance) is ambiguous. To indicate group number 1 regardless of the instance name, use "\g<1>". Signed-off-by: Yuta Hayama Signed-off-by: Richard Purdie (cherry

[OE-core][mickledore 20/27] meson.bbclass: Point to llvm-config from native sysroot

2023-07-27 Thread Steve Sakoman
From: Khem Raj Default search in meson would grok /usr/bin for llvm-config and if found will use it, which might add wrong paths into cflags/ldflags, since we depend on llvm-native when building gallium support ( thats when llvm-config is effective), its better to point llvm-config into native

[OE-core][mickledore 19/27] python3: fix missing comma in get_module_deps3.py

2023-07-27 Thread Steve Sakoman
From: Ross Burton Wes Tarro noticed a missing comma in a preplace() call, add it. That said, calling replace() with one argument results in a TypeError, so this is obviously dead code. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][mickledore 17/27] mdadm: skip running known broken ptests

2023-07-27 Thread Steve Sakoman
From: Ovidiu Panait Upstream marked some testcases as "KNOWN BROKEN" and introduced the "--skip-broken" flag to ignore them when running the testsuite (commits [1] and [2]). Backport these two commits to get rid of the last remaining ptest failures. Also, add the "--skip-broken" option to the

[OE-core][mickledore 15/27] mdadm: fix 07revert-inplace ptest

2023-07-27 Thread Steve Sakoman
From: Ovidiu Panait Testcase 07revert-inplace fails if strace is not installed: ... strace -o /tmp/str ./mdadm -A /dev/md0 --update=revert-reshape /dev/<...> tests/07revert-inplace: line 40: strace: command not found Add strace to mdadm-ptest RDEPENDS to make sure the testcase passes even with

[OE-core][mickledore 16/27] mdadm: fix segfaults when running ptests

2023-07-27 Thread Steve Sakoman
From: Ovidiu Panait Currently, some segfaults are reported when running ptest: mdadm[12333]: segfault at 0 ip 7fe855924060 sp 7ffc4d6caf88 error 4 in libc.so.6[7f) Code: d2 0f 84 b7 0f 00 00 48 83 fa 01 0f 84 b9 0f 00 00 49 89 d3 89 f1 89 f8 48 83 e1 3f 4f Backport the following

[OE-core][mickledore 14/27] mdadm: fix util-linux ptest dependency

2023-07-27 Thread Steve Sakoman
From: Ovidiu Panait Trying to run mdadm-ptest in a core-image-minimal build will result in: root@qemux86-64:~# ptest-runner mdadm START: ptest-runner BEGIN: /usr/lib/mdadm/ptest which: no lsblk in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) lsblk command not found! DURATION:

[OE-core][mickledore 13/27] uboot-extlinux-config.bbclass: fix old override syntax in comment

2023-07-27 Thread Steve Sakoman
From: Quentin Schulz The comment specifies how to use the variables but uses the older and now unsupported override syntax. Let's update to match the newer syntax. Cc: Quentin Schulz (From OE-Core rev: 0a381eea4d50ff1c6e7c7d0d4df62eb581454b48) Signed-off-by: Quentin Schulz Signed-off-by:

[OE-core][mickledore 12/27] kernel-module-split add systemd modulesloaddir and modprobedir config

2023-07-27 Thread Steve Sakoman
From: Jose Quaresma Because busybox doesn't support other path than /etc [1] we can't change the default path unconditionally so change it only for systemd. The modules-load.d [2] - Configure kernel modules to load at boot should install their configuration files in /usr/lib/modules-load.d.

[OE-core][mickledore 11/27] pkgconf: update SRC_URI

2023-07-27 Thread Steve Sakoman
From: Ross Burton dereferenced.org is now longer controlled by the pkgconf maintainers[1], so use the the new hosting location. [1] https://github.com/pkgconf/pkgconf/commit/437c2a3218bfcb1cae7fa38a4ccd0cb29575ff07 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from

[OE-core][mickledore 10/27] scripts/oe-setup-builddir: copy conf-notes.txt to build dir

2023-07-27 Thread Steve Sakoman
From: Stéphane Veyret Since commit 569d4cd325, if one is using a custom template directory containing a conf-notes.txt, this file is only displayed when creating a new environment. When entering an already existing environment, only the default poky conf-notes.txt is displayed. This patch

[OE-core][mickledore 08/27] taglib: upgrade 1.13 -> 1.13.1

2023-07-27 Thread Steve Sakoman
From: Wang Mingyu Changelog: === * Fixed parsing of TXXX frames without description. * Detect MP4 atoms with invalid length or type. * Do not miss ID3v2 frames when an extended header is present. * Use property "DISCSUBTITLE" for ID3v2 "TSST" frame. * Build system improvements: Use

[OE-core][mickledore 09/27] libwebp: upgrade 1.3.0 -> 1.3.1

2023-07-27 Thread Steve Sakoman
From: Wang Mingyu CVE-2023-1999.patch removed since it's included in 1.3.1 Changelog: == This is a binary compatible release. * security fixes for lossless encoder (#603, chromium: #1420107, #1455619, CVE-2023-1999) * improve error reporting through WebPPicture error codes *

[OE-core][mickledore 07/27] linux-yocto/6.1: update to v6.1.38

2023-07-27 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 61fd484b2cf6 Linux 6.1.38 c50065a39279 drm/amd/display: Ensure vmin and vmax adjust for DCE 9d0b2afadfd7 drm/amdgpu: Validate VM ioctl flags. fe56f507a11a docs: Set minimal

[OE-core][mickledore 06/27] linux-yocto/6.1: update to v6.1.37

2023-07-27 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 0f4ac6b4c5f0 Linux 6.1.37 323846590c55 xtensa: fix NOMMU build with lock_mm_and_find_vma() conversion c2d89256de75 csky: fix up lock_mm_and_find_vma() conversion 4a1db15878aa

[OE-core][mickledore 05/27] linux-yocto/6.1: update to v6.1.36

2023-07-27 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: a1c449d00ff8 Linux 6.1.36 29429a1f5871 smb: move client and server files to common directory fs/smb 9d3e4bca4b92 i2c: imx-lpi2c: fix type char overflow issue when calculating the

[OE-core][mickledore 04/27] ruby: Fix CVE-2023-36617

2023-07-27 Thread Steve Sakoman
From: Mingli Yu Backport two patches [1] [2] to fix CVE-2023-36617 [3]. [1] https://github.com/ruby/uri/commit/9010ee2536adda10a0555ae1ed6fe2f5808e6bf1 [2] https://github.com/ruby/uri/commit/9d7bcef1e6ad23c9c6e4932f297fb737888144c8 [3]

[OE-core][mickledore 03/27] cups: Fix CVE-2023-34241

2023-07-27 Thread Steve Sakoman
From: Mingli Yu Backport patch [1] to fix CVE-2023-34241. [1] https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2 Signed-off-by: Mingli Yu Signed-off-by: Steve Sakoman --- meta/recipes-extended/cups/cups.inc | 1 +

[OE-core][mickledore 02/27] python3: ignore CVE-2023-36632

2023-07-27 Thread Steve Sakoman
From: Peter Marko This CVE shouldn't have been filed as the "exploit" is described in the documentation as how the library behaves. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit c652f094d86c4efb7ff99accba63b8169493ab18)

[OE-core][mickledore 01/27] libjpeg-turbo: patch CVE-2023-2804

2023-07-27 Thread Steve Sakoman
From: Peter Marko Relevant links: * linked fronm NVD: * https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118 * follow-up analysis: * https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1496473989 * picked commits fix all issues mentioned in

[OE-core][mickledore 00/27] Patch review

2023-07-27 Thread Steve Sakoman
Please review this set of changes for mickledore and have comments back by end of day Monday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5657 The following changes since commit 4724b382d183a2b3b8426c77c23b368f509411e7: acpica: Update

Re: [OE-core] [PATCH v2] oeqa/selftest/rust: Add failed test cases to exclude list for Rust Oe-selftest

2023-07-27 Thread Alexandre Belloni via lists.openembedded.org
On 27/07/2023 07:32:52-0700, Shinde, Yash via lists.openembedded.org wrote: > I already posted the other needed patch here, > https://lists.openembedded.org/g/openembedded-core/topic/100373873#184890 ( > https://lists.openembedded.org/g/openembedded-core/topic/100373873#184890 ) > to be patched

[OE-core] [PATCH] linux-firmware : Add firmware of RTL8822 serie

2023-07-27 Thread belouargamohamed
From: BELOUARGA Mohamed RTL8822 is a serie of wireless modules that need firmwares to function correctly. The linux firmware recipe does not have a package of these firmwares, and this commit add them. Signed-off-by: BELOUARGA Mohamed --- .../linux-firmware/linux-firmware_20230625.bb

Re: [OE-core] [mickledore][kirkstone][dunfell][PATCH] systemd-systemctl: fix errors in instance name expansion

2023-07-27 Thread Steve Sakoman
On Wed, Jul 26, 2023 at 10:22 PM Yuta Hayama wrote: > Hi Steve, > > Sorry for rushing you. > If the patch obviously needs to be backported to stable branch, could I > post > a backport request email right away? This issue is not listed in bugzilla, > so > I was worried that the patch might have

Re: [OE-core] [kirkstone][dunfell][PATCH] cve-update-nvd2-native: always pass str for json.loads()

2023-07-27 Thread Steve Sakoman
Will this change also work on master and mickledore? If so, please submit for master and I will cherry-pick to the other branches. I've been trying to keep the cve checking in the stable branches in sync with master as much as possible. Thanks! Steve On Wed, Jul 26, 2023 at 10:56 PM Yuta

[OE-core] [PATCH 2/2] oeqa/runtime/ltp: Increase ltp test output timeout

2023-07-27 Thread Richard Purdie
On our slower arm server, the tests currently timeout leading to inconsistent test results. Increase the timeout to avoid this and aim to make the test results consistent. Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/ltp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OE-core] [PATCH 1/2] oeqa/target/ssh: Ensure EAGAIN doesn't truncate output

2023-07-27 Thread Richard Purdie
We have a suspicion that the read() call may return EAGAIN on the non-blocking fd and this may truncate test output leading to some of our intermittent failures. Tweak the code to avoid this potential issue. Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/target/ssh.py | 3 +++ 1 file

Re: [OE-core] [kirkstone][PATCH] gcc : upgrade to v11.4

2023-07-27 Thread Khem Raj
On 7/27/23 4:01 AM, Sundeep KOKKONDA via lists.openembedded.org wrote: Regression testing is done and below are the results. * gcc test summary:      v11.3v11.4* # of expected passes                            126552126842 # of unexpected failures                        24295               

Re: [OE-core] [PATCH 16/21] libadwaita: add recipe from meta-gnome

2023-07-27 Thread Khem Raj
On 7/27/23 7:36 AM, Alexander Kanavin wrote: This is a requirement of latest epiphany 44.x. This import breaks layer check tests for meta-oe job because now we have this recipe in two places. Would be good to send a removal to meta-gnome simultaneously. Signed-off-by: Alexander Kanavin

Re: [OE-core] [PATCH 08/21] gnu-efi: upgrade 3.0.15 -> 3.0.17

2023-07-27 Thread Khem Raj
On 7/27/23 7:36 AM, Alexander Kanavin wrote: Unset LDFLAGS as the standard ones do not work when linking EFI binaries (the new version of gnu-efi adds various apps). curious about which ldflags are problematic from OE env. Signed-off-by: Alexander Kanavin ---

[OE-core] [PATCH v3] ltp: Use bfd linker when lld is distro linker default

2023-07-27 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Also fix KVM_LD and remove -fuse-ld=lld v3: Drop remove operation, its not needed meta/recipes-extended/ltp/ltp_20230516.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/ltp/ltp_20230516.bb

[OE-core] [PATCH] package: always sort the conffiles

2023-07-27 Thread Jean-Marie Lemetayer via lists.openembedded.org
To improve package reproducibility, the conffiles order should not be directly linked to the file system. Sorting the conffiles solves this issue. --- meta/lib/oe/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index

ODP: ODP: [OE-Core][PATCH v11][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-27 Thread Piotr Łobacz
Hi Alexandre, > Hello, > > I sent this to the autobuilders and I got the same reproducibility > failure as earlier: > >

Re: [OE-core] [PATCH v2] ltp: Use bfd linker when lld is distro linker default

2023-07-27 Thread Khem Raj
On Thu, Jul 27, 2023 at 1:38 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Thu, 2023-07-27 at 00:56 -0700, Khem Raj wrote: > > Signed-off-by: Khem Raj > > --- > > v2: Also fix KVM_LD and remove -fuse-ld=lld > > > > meta/recipes-extended/ltp/ltp_20230516.bb | 4 +++- > > 1

[OE-core] [PATCH 10/21] kbd: upgrade 2.6.0 -> 2.6.1

2023-07-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-core/kbd/{kbd_2.6.0.bb => kbd_2.6.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/kbd/{kbd_2.6.0.bb => kbd_2.6.1.bb} (94%) diff --git a/meta/recipes-core/kbd/kbd_2.6.0.bb

[OE-core] [PATCH 08/21] gnu-efi: upgrade 3.0.15 -> 3.0.17

2023-07-27 Thread Alexander Kanavin
Unset LDFLAGS as the standard ones do not work when linking EFI binaries (the new version of gnu-efi adds various apps). Signed-off-by: Alexander Kanavin --- .../gnu-efi/{gnu-efi_3.0.15.bb => gnu-efi_3.0.17.bb} | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename

[OE-core] [PATCH 04/21] insane.bbclass: add a SUMMARY/HOMEPAGE check (oe-core recipes only)

2023-07-27 Thread Alexander Kanavin
This was done in a selftest, but that is too late and creates friction in integration as errors are not seen until autobuilder fails. Bonus fix: SUMMARY check wasn't even working, as in the absence of one set in the recipe there is a default value set from bitbake.conf. I left DESCRIPTION check

[OE-core] [PATCH 21/21] procps: address failure with gettext 0.22

2023-07-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...o-address-failures-with-gettext-0.22.patch | 37 +++ meta/recipes-extended/procps/procps_4.0.3.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644

[OE-core] [PATCH 17/21] epiphany: upgrade 43.1 -> 44.5

2023-07-27 Thread Alexander Kanavin
With this version, epiphany has transitioned to gtk4, and requires webkit built with gtk4 support (there is no choice, it's a hard break). Adjust the webkit recipe accordingly. There's also a new requirement for gcr 4.x and libadwaita. Signed-off-by: Alexander Kanavin ---

[OE-core] [PATCH 19/21] uninative-tarball: install the full set of gconv modules

2023-07-27 Thread Alexander Kanavin
msgfmt from gettext-native 0.22 is using iconv() to convert data to utf-8 from arbitrary source encodings (previous versions of gettext did not do this conversion): https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commit;h=5412a4f79929004cb6db15d545e07dc953330e8d As this is happening at build

[OE-core] [PATCH 20/21] buildtools-extended-tarball: install the full set of gconv modules

2023-07-27 Thread Alexander Kanavin
The specific set was written to ensure vim builds reproducibly; this is however prone to silent regressions (if vim adds more usage of iconv with different encodings). Installing the full set also matches what standard desktop distributions do, and thus meets expectations of upstream projects in

[OE-core] [PATCH 18/21] glibc-locale: use stricter matching for metapackages' runtime dependencies

2023-07-27 Thread Alexander Kanavin
This resolves two issues: 1. metapackages were depending on themselves (except -binaries which wouldn't match against 'glibc-binary'). 2. for the nativesdk variant, due to a non-empty dependency list at parsing time caused by issue 1, map_depends_variable() from meta/lib/oe/classextend.py was

[OE-core] [PATCH 14/21] strace: upgrade 6.3 -> 6.4

2023-07-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...e1392f5bd289239b755458dcdeeed69af1da.patch | 303 -- ...b541b258baec9eba674b5d8dc30007a61542.patch | 50 --- ...2f4494779e5c5f170ad10539bfc2dfafe967.patch | 50 --- .../strace/{strace_6.3.bb => strace_6.4.bb} | 5 +- 4 files changed,

[OE-core] [PATCH 16/21] libadwaita: add recipe from meta-gnome

2023-07-27 Thread Alexander Kanavin
This is a requirement of latest epiphany 44.x. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/maintainers.inc | 1 + .../libadwaita/libadwaita_1.3.3.bb| 25 +++ 2 files changed, 26 insertions(+) create mode 100644

[OE-core] [PATCH 15/21] sudo: update 1.9.13p3 -> 1.9.14p2

2023-07-27 Thread Alexander Kanavin
License-update: file removed upstream Drop patch as issue fixed upstream. Signed-off-by: Alexander Kanavin --- ...me.c-correctly-include-header-for-ou.patch | 25 --- meta/recipes-extended/sudo/sudo.inc | 5 ++-- .../{sudo_1.9.13p3.bb => sudo_1.9.14p2.bb}| 3 +--

[OE-core] [PATCH 13/21] jquery: upgrade 3.6.3 -> 3.7.0

2023-07-27 Thread Alexander Kanavin
License-Update: needed lines shifted upwards Signed-off-by: Alexander Kanavin --- .../jquery/{jquery_3.6.3.bb => jquery_3.7.0.bb} | 8 1 file changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/jquery/{jquery_3.6.3.bb => jquery_3.7.0.bb} (75%) diff --git

[OE-core] [PATCH 12/21] util-linux: upgrade 2.38.1 -> 2.39.1

2023-07-27 Thread Alexander Kanavin
License-update: added bsd-2-clause https://github.com/util-linux/util-linux/commit/faeb1b64b36ededd1a0b62555cad65f002d47ac6 Signed-off-by: Alexander Kanavin --- ...2.38.1.bb => util-linux-libuuid_2.39.1.bb} | 0 meta/recipes-core/util-linux/util-linux.inc | 10 ++--

[OE-core] [PATCH 01/21] meta: add missing summaries for image recipes

2023-07-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-core/images/core-image-minimal-initramfs.bb| 1 + meta/recipes-core/images/core-image-tiny-initramfs.bb | 1 + meta/recipes-core/ovmf/ovmf-shell-image.bb | 2 +-

[OE-core] [PATCH 11/21] systemd: upgrade 253.3 -> 253.7

2023-07-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../systemd/{systemd-boot_253.3.bb => systemd-boot_253.7.bb}| 0 meta/recipes-core/systemd/systemd.inc | 2 +- .../recipes-core/systemd/{systemd_253.3.bb => systemd_253.7.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-)

[OE-core] [PATCH 06/21] librsvg: fix upstream version check

2023-07-27 Thread Alexander Kanavin
- upstream no longer uses odd-even scheme https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.55.1 - x.y.9z versions are pre-releases and need to be excluded Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/librsvg/librsvg_2.56.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1

[OE-core] [PATCH 07/21] acpica: tarball and homepage relocated to intel.com

2023-07-27 Thread Alexander Kanavin
Sadly the tarball link is hidden behind html button trickery: while the link seems stable, determining what it is is too much for our upstream version checker, and so new versions will have to be checked by hand every sometimes. Switching to git won't help either: the tags are in MMDDYY format,

[OE-core] [PATCH 03/21] devtool: do not run recipe_qa task when extracting source

2023-07-27 Thread Alexander Kanavin
The immediate reason is that the task is sstate enabled, and due to the way devtool sets up source extraction this causes bogus values to appear in tmp/sstate-control/index-* files. Also, recipe_qa may contain hard failures in the future, and it would be counterproductive for the failures to

[OE-core] [PATCH 05/21] insane.bbclass: add a RECIPE_MAINTAINER check (oe-core recipes only)

2023-07-27 Thread Alexander Kanavin
Absent maintainer entries are as well a frequent source of friction, as they are checked only in selftest, and so aren't revealed until autobuilder runs. The selftest is retained as it also checks for obsolete entries in maintainers.inc (not possible to do in insane class). Signed-off-by:

[OE-core] [PATCH 02/21] insane.bbclass: add do_recipe_qa task

2023-07-27 Thread Alexander Kanavin
There is a need to run QA checks that can operate entirely from recipe metadata and do not need any of the build artefacts or source code. After some deliberation it was concluded that such checks are best collected in their own task that runs as early as possible, and so this commit adds the

Re: [OE-core] [PATCH v2] oeqa/selftest/rust: Add failed test cases to exclude list for Rust Oe-selftest

2023-07-27 Thread Shinde, Yash via lists.openembedded.org
I already posted the other needed patch here, https://lists.openembedded.org/g/openembedded-core/topic/100373873#184890 ( https://lists.openembedded.org/g/openembedded-core/topic/100373873#184890 ) to be patched before this one. Regards, Yash -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [OE-core] [RFC v2 0/2] Add bblock helper script

2023-07-27 Thread Alexander Kanavin
Sure; if you can write a script and show it here, we can figure out where to place the test officially. Alex On Thu, 27 Jul 2023 at 16:15, Julien Stephan wrote: > > On Mon, Jul 24, 2023 at 10:36:28AM +0200, Alexander Kanavin wrote: > > On Mon, 24 Jul 2023 at 10:25, Julien Stephan wrote: > > >

Re: ODP: [OE-Core][PATCH v11][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-27 Thread Alexandre Belloni via lists.openembedded.org
Hello, I sent this to the autobuilders and I got the same reproducibility failure as earlier: https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/3263/steps/13/logs/stdio I'm not sure why you wouldn't see those. On 26/07/2023 09:27:53+, Piotr Łobacz wrote: > > Hi Alexandre,

Re: [OE-core] [RFC v2 0/2] Add bblock helper script

2023-07-27 Thread Julien Stephan
On Mon, Jul 24, 2023 at 10:36:28AM +0200, Alexander Kanavin wrote: > On Mon, 24 Jul 2023 at 10:25, Julien Stephan wrote: > > > Thanks for working on this. Should we think about how this could be > > > tested? > > Do you mean we should consider addind self test for bblock? or you want > > to

Re: [OE-core] [PATCH v2] oeqa/selftest/rust: Add failed test cases to exclude list for Rust Oe-selftest

2023-07-27 Thread Alexandre Belloni via lists.openembedded.org
Hello, Is this patch self sufficient? If this needs another patch applied, please send them as a series. On 27/07/2023 02:48:04-0700, Shinde, Yash via lists.openembedded.org wrote: > * Add the failing test cases in exclude_list to exclude them from testing > during the Rust Oe-selftest. > > *

[OE-core] [PATCH v3 0/3] Add bblock helper scripts

2023-07-27 Thread Julien Stephan
Hi all, This is v3 from bblock script. Improvement from v2: * Add a function in bb.cooker to compute task signatures * Replace the findSigInfo function by the new created one. This has the following advantages: * findSigInfo needs the task to be already built to get the siginfo file,

[OE-core] [PATCH v3 3/3] scripts/bblock: add a script to lock/unlock recipes

2023-07-27 Thread Julien Stephan
bblock script allows to lock/unlock recipes to latest task signatures. The idea is to prevent some recipes to be rebuilt during development. For example when working on rust recipe, one may not want rust-native to be rebuilt. This tool can be used, with proper environment set up, using the

[OE-core] [PATCH v3 1/3] bitbake.conf: include bblock.conf

2023-07-27 Thread Julien Stephan
include conf/bblock.conf. This file is generated by the bblock tool. It locks some package tasks by fixing their signatures. See bblock -h for more details Signed-off-by: Julien Stephan --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/bitbake.conf

[OE-core] [PATCH v3 2/3] bitbake: cooker: add a new function to retrieve task signatures

2023-07-27 Thread Julien Stephan
adding a new command in cooker to compute and get task signatures this commit also add the associated command and event needed to get the signatures using tinfoil Signed-off-by: Julien Stephan --- bitbake/lib/bb/command.py | 6 ++ bitbake/lib/bb/cooker.py | 16

Re: [OE-core] [PATCH] rust: Add failed test cases to exclude list for Rust Oe-selftest

2023-07-27 Thread Shinde, Yash via lists.openembedded.org
On Thu, Jul 27, 2023 at 05:45 AM, Randy MacLeod wrote: > > I don't see this in master or master-next yet so see comments below and > send a slightly updated v2. > > On 2023-07-26 12:25, Yash Shinde wrote: > >> Failed test cases are added to exclude list. >> Drop >>

Re: [oe-core][PATCH] gcr3: remove recipe

2023-07-27 Thread Alexander Kanavin
Note that this needs to be applied on top of my upcoming patchset which is coming shortly :) Alex On Thu, 27 Jul 2023 at 13:38, Markus Volk wrote: > > It will be added to meta-gnome > > Signed-off-by: Markus Volk > --- > meta/conf/distro/include/maintainers.inc | 1 - >

[oe-core][PATCH] gcr3: remove recipe

2023-07-27 Thread Markus Volk
It will be added to meta-gnome Signed-off-by: Markus Volk --- meta/conf/distro/include/maintainers.inc | 1 - ...ectly-handle-disabled-ssh_agent-opti.patch | 36 --- meta/recipes-gnome/gcr/gcr3_3.41.1.bb | 59 --- 3 files changed, 96 deletions(-) delete

Re: [OE-core] [kirkstone][PATCH] gcc : upgrade to v11.4

2023-07-27 Thread Sundeep KOKKONDA via lists.openembedded.org
Regression testing is done and below are the results. * gcc test summary: v11.3 v11.4* # of expected passes                            126552 126842 # of unexpected failures                        24295                24383 # of unexpected successes                   77                      77 #

[OE-core] [kirkstone][PATCH] gcc : upgrade to v11.4

2023-07-27 Thread Sundeep KOKKONDA via lists.openembedded.org
gcc stable version upgraded from v11.3 to v11.4 For changes in v11.4 see - https://gcc.gnu.org/gcc-11/changes.html Below is the bug fix list for v11.4

[OE-core] [PATCH v2] oeqa/selftest/rust: Add failed test cases to exclude list for Rust Oe-selftest

2023-07-27 Thread Shinde, Yash via lists.openembedded.org
* Add the failing test cases in exclude_list to exclude them from testing during the Rust Oe-selftest. * Drop meta/recipes-devtools/rust/files/rust-oe-selftest.patch file as the failing tests are moved from being a patch to exclude_list in meta/lib/oeqa/selftest/cases/rust.py. * When

[OE-core] [PATCH] systemd: sysusersd: change how the root home directory is set

2023-07-27 Thread Louis Rannou
Modifying the sources brings troubles in the devtool command. Therefore it is better to patch the source with a custom variable, and later replace it with the correct root path. Suggestion from :

[OE-core] [kirkstone][dunfell][PATCH] cve-update-nvd2-native: always pass str for json.loads()

2023-07-27 Thread Yuta Hayama
Currently json.loads() accepts one of the types str, bytes, or bytearray as an argument, but bytes and bytearrays have only been allowed since python 3.6. The version of Python3 provided by default on Ubuntu 16.04 and Debian 9.x is 3.5, so make raw_data type str to work correctly on these build

Re: [OE-core] [PATCH] rpm: Allow setting platform macro settings externally

2023-07-27 Thread Zoltan Boszormenyi
2023. 07. 27. 10:30 keltezéssel, Alexander Kanavin írta: I was hoping to get a reaction from Panu (who's the maintainer; Neal is a contributor), but then I remembered he's a Finn, and this time of the year all Finns disappear into summer cabins - temperatures above +20 are still rare in that

Re: [OE-core] [PATCH v2] ltp: Use bfd linker when lld is distro linker default

2023-07-27 Thread Richard Purdie
On Thu, 2023-07-27 at 00:56 -0700, Khem Raj wrote: > Signed-off-by: Khem Raj > --- > v2: Also fix KVM_LD and remove -fuse-ld=lld > > meta/recipes-extended/ltp/ltp_20230516.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-extended/ltp/ltp_20230516.bb

Re: [OE-core] [PATCH] rpm: Allow setting platform macro settings externally

2023-07-27 Thread Alexander Kanavin
I was hoping to get a reaction from Panu (who's the maintainer; Neal is a contributor), but then I remembered he's a Finn, and this time of the year all Finns disappear into summer cabins - temperatures above +20 are still rare in that country, and actual sun in the sky is even more precious :)

[OE-core] [mickledore][PATCH] ruby: Fix CVE-2023-36617

2023-07-27 Thread Yu, Mingli
From: Mingli Yu Backport two patches [1] [2] to fix CVE-2023-36617 [3]. [1] https://github.com/ruby/uri/commit/9010ee2536adda10a0555ae1ed6fe2f5808e6bf1 [2] https://github.com/ruby/uri/commit/9d7bcef1e6ad23c9c6e4932f297fb737888144c8 [3]

Re: [OE-core] [mickledore][kirkstone][dunfell][PATCH] systemd-systemctl: fix errors in instance name expansion

2023-07-27 Thread Yuta Hayama
Hi Steve, Sorry for rushing you. If the patch obviously needs to be backported to stable branch, could I post a backport request email right away? This issue is not listed in bugzilla, so I was worried that the patch might have been missed. Regards, Yuta Hayama On 2023/07/27 17:19, Yuta

[OE-core] [mickledore][kirkstone][dunfell][PATCH] systemd-systemctl: fix errors in instance name expansion

2023-07-27 Thread Yuta Hayama
If the instance name indicated by %i begins with a number, the meaning of the replacement string "\\1{}".format(instance) is ambiguous. To indicate group number 1 regardless of the instance name, use "\g<1>". (From OE-Core rev: d18b939fb08b37380ce95934da38e6522392621c) Signed-off-by: Yuta

[OE-core] [PATCH v2] ltp: Use bfd linker when lld is distro linker default

2023-07-27 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Also fix KVM_LD and remove -fuse-ld=lld meta/recipes-extended/ltp/ltp_20230516.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/ltp/ltp_20230516.bb b/meta/recipes-extended/ltp/ltp_20230516.bb index

[OE-core] [PATCH v3] rpm: Allow setting platform macro settings externally

2023-07-27 Thread Zoltan Boszormenyi
Feed platform settings to installplatform externally. Based on the patch submitted under https://github.com/rpm-software-management/rpm/pull/2585 Patch against INSTALL was backported for rpm 4.18.1 Signed-off-by: Zoltán Böszörményi --- ...g-platform-macro-settings-externally.patch | 107

Re: [OE-core] [PATCH] rpm: Allow setting platform macro settings externally

2023-07-27 Thread Zoltan Boszormenyi
Patch approved with the requested changes. I sent a v2 with using the approved patch and adding the exports only to do_install:class-target because that's where it's needed. 2023. 07. 26. 15:05 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta: 2023. 07. 25. 18:30 keltezéssel,

[OE-core] [PATCH v2] rpm: Allow setting platform macro settings externally

2023-07-27 Thread Zoltan Boszormenyi
Feed platform settings to installplatform externally. Based on the patch submitted under https://github.com/rpm-software-management/rpm/pull/2585 Signed-off-by: Zoltán Böszörményi --- ...g-platform-macro-settings-externally.patch | 107 ++ meta/recipes-devtools/rpm/rpm_4.18.1.bb

  1   2   >