[OE-core] [PATCH] wic: Use os.rename instead of bb.utils.rename

2021-11-09 Thread Khem Raj
This is not invoked with bitbake context as a result bb.utils is not visible when this function is called during image creation and builds fail e.g. NameError: name 'bb' is not defined Signed-off-by: Khem Raj Cc: Joshua Watt Cc: Devendra Tewari --- scripts/lib/wic/plugins/imager/direct.py |

[OE-core] [PATCH] vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875

2021-11-09 Thread Ross Burton
Backport patches from upstream to fix these CVEs. Signed-off-by: Ross Burton --- ...28-using-freed-memory-when-replacing.patch | 83 ...llegal-memory-access-if-buffer-name-.patch | 86 ...ml_get-error-after-search-with-range.patch | 72 ++

Re: [OE-core] [PATCH] kexec-tools: upgrade 2.0.22 -> 2.0.23

2021-11-09 Thread Richard Purdie
On Tue, 2021-11-09 at 23:03 +0800, wangmy wrote: > Signed-off-by: Wang Mingyu > --- > .../kexec/{kexec-tools_2.0.22.bb => kexec-tools_2.0.23.bb} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta/recipes-kernel/kexec/{kexec-tools_2.0.22.bb => > kexec-tools_2.0.23.bb}

Re: [OE-core] [PATCH] gdb-cross: add dependency on gmp-native

2021-11-09 Thread Khem Raj
On 11/9/21 2:29 AM, Martin Jansa wrote: * it was already added for target and cross-canadian gdb in: commit 4643d1eb222151384f77d13a936537aae5ca3fe6 Author: Khem Raj Date: Fri Nov 5 17:37:33 2021 -0700 gdb: Add dependency on libgmp gdb 11 has added this library as must

[OE-core] Yocto Project Status WW45`21

2021-11-09 Thread Stephen Jolley
Current Dev Position: YP 3.5 M1 Next Deadline: 6th Dec. 2021 YP 3.5 M1 build Next Team Meetings: * Bug Triage meeting Thursday Nov.11th at 7:30am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09) *

[OE-core] [PATCH v4] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-09 Thread ?ukasz Majewski
This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses

[OE-core] [PATCH] msmtp: upgrade 1.8.18 -> 1.8.19

2021-11-09 Thread wangmy
Signed-off-by: Wang Mingyu --- .../recipes-extended/msmtp/{msmtp_1.8.18.bb => msmtp_1.8.19.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/msmtp/{msmtp_1.8.18.bb => msmtp_1.8.19.bb} (91%) diff --git a/meta/recipes-extended/msmtp/msmtp_1.8.18.bb

[OE-core] [PATCH] libpcre2: upgrade 10.37 -> 10.39

2021-11-09 Thread wangmy
This release is mainly to fix an important JIT bug, but it also contains an update to Unicode 14.0.0 and some code and configuration tidies. License-Update: Add "Retired from" before "University of Cambridge Computing Service" Signed-off-by: Wang Mingyu --- .../libpcre/{libpcre2_10.37.bb =>

[OE-core] [PATCH] kexec-tools: upgrade 2.0.22 -> 2.0.23

2021-11-09 Thread wangmy
Signed-off-by: Wang Mingyu --- .../kexec/{kexec-tools_2.0.22.bb => kexec-tools_2.0.23.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-kernel/kexec/{kexec-tools_2.0.22.bb => kexec-tools_2.0.23.bb} (97%) diff --git

[OE-core] [PATCH] iw: upgrade 5.9 -> 5.16

2021-11-09 Thread wangmy
Signed-off-by: Wang Mingyu --- meta/recipes-connectivity/iw/{iw_5.9.bb => iw_5.16.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-connectivity/iw/{iw_5.9.bb => iw_5.16.bb} (90%) diff --git a/meta/recipes-connectivity/iw/iw_5.9.bb

[OE-core] [PATCH] harfbuzz: upgrade 3.0.0 -> 3.1.1

2021-11-09 Thread wangmy
Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod) Documentation improvements. (Matthias Clasen) Signed-off-by: Wang Mingyu --- .../harfbuzz/{harfbuzz_3.0.0.bb => harfbuzz_3.1.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

[OE-core] [PATCH] iproute2: upgrade 5.14.0 -> 5.15.0

2021-11-09 Thread wangmy
Signed-off-by: Wang Mingyu --- .../iproute2/{iproute2_5.14.0.bb => iproute2_5.15.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-connectivity/iproute2/{iproute2_5.14.0.bb => iproute2_5.15.0.bb} (75%) diff --git

[OE-core] [PATCH] iso-codes: upgrade 4.7.0 -> 4.8.0

2021-11-09 Thread wangmy
- ISO 3166-1: Add flag emoji to countries. Thanks to Pander for the suggestion. Fixes #19 - ISO 639-5: New translation for Chinese (Simplified) - ISO 3166-2: Major update of data. Thanks to the script of Kevin Kaiser, which enables the download of ISO pages and parses the data. Fixes #15,

Re: [OE-core] [PATCH] python3-nose: translate to python3 code before build

2021-11-09 Thread Yi Zhao
On 11/9/21 5:56 AM, Richard Purdie wrote: On Mon, 2021-11-08 at 14:55 +0800, Yi Zhao wrote: Setuptools has removed support for 2to3 during builds since version 58[1]. But the nose's setup.py relies on use_2to3 option in setuptools, it is failing an import and building without running 2to3 and

[OE-core] [honister][PATCH 26/26] go-helloworld/glide: Fix urls

2021-11-09 Thread Anuj Mittal
From: Richard Purdie Handle github protocol changes not covered by the script due to variable indirection. Signed-off-by: Richard Purdie (cherry picked from commit 3bb1cb476dbad1037522970af9afd69691a7033c) Signed-off-by: Anuj Mittal --- meta/recipes-devtools/glide/glide_0.13.3.bb

[OE-core] [honister][PATCH 25/26] recipes: Update github.com urls to use https

2021-11-09 Thread Anuj Mittal
From: Richard Purdie Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the

[OE-core] [honister][PATCH 24/26] scripts/convert-srcuri: Update SRC_URI conversion script to handle github url changes

2021-11-09 Thread Anuj Mittal
From: Richard Purdie Github are dropping support for git:// protocol fetching. Update the script to learn about corner cases found in the previous conversion and support remapping the github urls as needed too. Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [honister][PATCH 23/26] meta/scripts: Manual git url branch additions

2021-11-09 Thread Anuj Mittal
From: Richard Purdie Following the scripted conversion adding branches to git:// SRC_URI entries, add the remaining references, mainly in the selftests and recipetool. Signed-off-by: Richard Purdie (cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38) Signed-off-by: Anuj Mittal

[OE-core] [honister][PATCH 21/26] pseudo: Add fcntl64 wrapper

2021-11-09 Thread Anuj Mittal
From: Richard Purdie Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find command in the libtool removal code when built with LFS compile flags on Gentoo. Signed-off-by: Richard Purdie (cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082)

[OE-core] [honister][PATCH 20/26] linunistring: Add missing gperf-native dependency

2021-11-09 Thread Anuj Mittal
From: Richard Purdie Signed-off-by: Richard Purdie (cherry picked from commit 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3) Signed-off-by: Anuj Mittal --- meta/recipes-support/libunistring/libunistring_0.9.10.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [honister][PATCH 22/26] meta: Add explict branch to git SRC_URIs

2021-11-09 Thread Anuj Mittal
From: Richard Purdie There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help

[OE-core] [honister][PATCH 19/26] bitbake.conf: Use wayland distro feature for native builds

2021-11-09 Thread Anuj Mittal
From: Tom Hochstein The wayland-scanner is missing from SDKs with weston, but the weston build requires wayland-scanner. Allow the distro feature in order to include the wayland-scanner packages via nativesdk-packagegroup-sdk-host.bb. Signed-off-by: Tom Hochstein Signed-off-by: Richard Purdie

[OE-core] [honister][PATCH 18/26] nativesdk-packagegroup-sdk-host.bb: Update host tools for wayland

2021-11-09 Thread Anuj Mittal
From: Tom Hochstein The wayland-scanner host tool required to build weston is moved to the wayland-tools package, so update the SDK host tools list accordingly. Also, the weston build requires wayland-scanner.pc to find wayland-scanner, so add wayland-dev. Signed-off-by: Tom Hochstein

[OE-core] [honister][PATCH 17/26] wayland: Fix wayland-tools packaging

2021-11-09 Thread Anuj Mittal
From: Tom Hochstein There are some packaging problems due to the wayland-tools packaging implementation. The wayland-tools package currently looks like this: wayland-tools └── usr ├── bin │   └── wayland-scanner └── share └── wayland ├── wayland.dtd

[OE-core] [honister][PATCH 16/26] libx11-compose-data: Update LICENSE to better reflect reality

2021-11-09 Thread Anuj Mittal
From: Peter Kjellerstedt There are no traces of neither the BSD-2-Clause license nor the BSD-4-Clause license being used in the code. There is one occurrence of the BSD-1-Clause license. On the other hand, HPND and HPND-sell-variant are all over the place. Signed-off-by: Peter Kjellerstedt

[OE-core] [honister][PATCH 15/26] libx11: Update LICENSE to better reflect reality

2021-11-09 Thread Anuj Mittal
From: Peter Kjellerstedt There are no traces of neither the BSD-2-Clause license nor the BSD-4-Clause license being used in the code. There is one occurrence of the BSD-1-Clause license. On the other hand, HPND and HPND-sell-variant are all over the place. Signed-off-by: Peter Kjellerstedt

[OE-core] [honister][PATCH 14/26] libpcre/libpcre2: correct SRC_URI

2021-11-09 Thread Anuj Mittal
From: Alexander Kanavin http://ftp.pcre.org is down, take sources according to links on http://www.pcre.org Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 81ba0ba3e8d9c08b8dc69c24fb1d91446739229b) Signed-off-by: Anuj Mittal ---

[OE-core] [honister][PATCH 13/26] kernel-devsrc: Add vdso.lds and other build files for riscv64 as well

2021-11-09 Thread Anuj Mittal
From: Khem Raj These additional bits are needed on riscv64 as well Fixes make[1]: *** No rule to make target 'arch/riscv/kernel/vdso/vdso.lds', needed by 'arch/riscv/kernel/vdso/vdso.so.dbg'. Stop. make: *** [arch/riscv/Makefile:114: vdso_prepare] Error 2 Signed-off-by: Khem Raj Cc: Bruce

[OE-core] [honister][PATCH 11/26] create-spdx: Set the Organization field via a variable

2021-11-09 Thread Anuj Mittal
From: Andres Beltran Currently, the "Organization" field for SBOMs is hard-coded in create-spdx. Create a new variable SPDX_ORG to make this field more generic. Signed-off-by: Andres Beltran Signed-off-by: Richard Purdie (cherry picked from commit f239814f3f5d9bd54de54b0f2a5081067336e32b)

[OE-core] [honister][PATCH 12/26] meson: set objcopy in the cross and native toolchain files

2021-11-09 Thread Anuj Mittal
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 0a589998e717ae3865f0db5abe6005ab4eee86d9) Signed-off-by: Anuj Mittal --- meta/classes/meson.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/meson.bbclass

[OE-core] [honister][PATCH 09/26] strace: fix build against 5.15 kernel/kernel-headers

2021-11-09 Thread Anuj Mittal
From: Bruce Ashfield kernel 5.15 removed ipx.h from the uapi, but strace hasn't adjusted its tests to the removal. There is a WIP patch on the esyr/5.15 branch that solves the problem, so we grab it here, adjust for context and fix our build problem. When strace updates to 5.15, and we can

[OE-core] [honister][PATCH 10/26] sstate: another fix for touching files inside pseudo

2021-11-09 Thread Anuj Mittal
From: Jose Quaresma This patch is a fixup for 676757f "sstate: fix touching files inside pseudo" running the 'id' command inside the sstate_unpack_package function shows that this funcion run inside the pseudo: uid=0(root) gid=0(root) groups=0(root) The check for [ -w ${SSTATE_PKG} ] and [

[OE-core] [honister][PATCH 07/26] linux-yocto/5.10: update to v5.10.76

2021-11-09 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 378e85d1aeb5 Linux 5.10.76 cfa79faf7e1f pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume() c56c801391c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG

[OE-core] [honister][PATCH 08/26] linux-yocto-rt/5.10: update to -rt54

2021-11-09 Thread Anuj Mittal
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto-rt/5.10: f01089784fd6 Linux 5.10.73-rt54 f34df8f3c666 Linux 5.10.65-rt53 271c5e6e4064 Linux 5.10.59-rt52 1a4bba4bc32c locking/rwsem-rt: Remove might_sleep() in __up_read() ff591a2bdcfb Linux 5.10.59-rt51

[OE-core] [honister][PATCH 05/26] opkg: Fix poor operator combination choice

2021-11-09 Thread Anuj Mittal
From: Richard Purdie Combining :append with += rarely makes sense. Improve it to use the standard format (and tweak the implied spacing). Signed-off-by: Richard Purdie (cherry picked from commit 768766dc007ebe9b4bc38d425584be03fbdb98c1) Signed-off-by: Anuj Mittal ---

[OE-core] [honister][PATCH 06/26] linux-yocto/5.14: update to v5.14.15

2021-11-09 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: b46092c7497e Linux 5.14.15 96e4ea34f6d7 pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume() 4850e9e3c6a3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG

[OE-core] [honister][PATCH 04/26] linux-firmware: upgrade 20210919 -> 20211027

2021-11-09 Thread Anuj Mittal
From: Alexander Kanavin License-Update: additional firmwares listed Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 1ca3fb1c7f11e04bf8d8bf59901ddd60178cb13c) Signed-off-by: Anuj Mittal --- ...{linux-firmware_20210919.bb =>

[OE-core] [honister][PATCH 03/26] dpkg: Install dkpg-perl scripts to versioned perl directory

2021-11-09 Thread Anuj Mittal
From: Manuel Leonhardt Install dpkg-perl scripts to versioned perl directory, otherwise the following traceback happens when running, e.g. dpkg-architecture on the target: Can't locate Dpkg.pm in @INC (you may need to install the Dpkg module) (@INC contains:

[OE-core] [honister][PATCH 02/26] sstate: Account for reserved characters when shortening sstate filenames

2021-11-09 Thread Anuj Mittal
From: Manuel Leonhardt Previously, when shortening sstate filenames, the reserved characters for .siginfo were not considered, when siginfo=False, resulting in differently shortend filenames for the sstate and siginfo files. With this change, the filenames of the truncated sstate and siginfo

[OE-core] [honister][PATCH 00/26] Review request

2021-11-09 Thread Anuj Mittal
Next set of changes for honister. Please review. No issues seen while testing except for an intermittent qemu shutdown failure. Thanks, Anuj The following changes since commit 3cbe3e6f932151800793854ad5d3569dc6f36ab1: qemu.inc: Remove empty egg-info directories before running meson

[OE-core] [honister][PATCH 01/26] squashfs-tools: fix CVE-2021-41072

2021-11-09 Thread Anuj Mittal
From: Kai Kang Backport patch to fix CVE-2021-41072. And 3 more ancestor commits are backported too, otherwise it fails to compile. CVE: CVE-2021-41072 Ref: * https://nvd.nist.gov/vuln/detail/CVE-2021-41072 Signed-off-by: Kai Kang Signed-off-by: Anuj Mittal ---

Re: [OE-core] [honister][PATCH] insane.bbclass: Add a check for directories that are expected to be empty

2021-11-09 Thread Anuj Mittal
On Mon, 2021-11-08 at 18:10 +0100, Peter Kjellerstedt wrote: > From: Peter Kjellerstedt > > The empty-dirs QA check verifies that all directories specified in > QA_EMPTY_DIRS are empty. It is possible to specify why a directory is > expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:,

Re: [OE-core] [PATCH v3] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-09 Thread ?ukasz Majewski
Hi Lee Chee, > Hi, > > I think need to fix this too > Thanks for pointing out those issues. > AssertionError: > The following recipes do not have a maintainer assigned to them. > Please add an entry to meta/conf/distro/include/maintainers.inc file. > glibc-tests >

[OE-core] [PATCH] mirrors: Add uninative mirror on kernel.org

2021-11-09 Thread Richard Purdie
At the last nas outage, we realised that we don't have good mirrors of the uninative tarball if our main system can't be accessed. kernel.org mirrors some Yocto Project data so we've ensured uninative is there. Add the appropriate mirror url to make use of that. Signed-off-by: Richard Purdie ---

[OE-core] [PATCH] diffoscope: upgrade 189 -> 190

2021-11-09 Thread wangmy
Changelog: [Chris Lamb] Don't raise a traceback if we cannot de-marshal Python bytecode to support Python 3.7 loading newer .pyc files. (Closes: reproducible-builds/diffoscope#284) Fix Python tests under Python 3.7 with file 5.39+. [Vagrant Cascadian] Skip Python bytecode testing when "file" is

[OE-core] [PATCH] ell: upgrade 0.44 -> 0.45

2021-11-09 Thread wangmy
Fix issue with ICMPv6 and handling re-entrantly callbacks. Signed-off-by: Wang Mingyu --- meta/recipes-core/ell/{ell_0.44.bb => ell_0.45.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/ell/{ell_0.44.bb => ell_0.45.bb} (90%) diff --git

[OE-core] [PATCH] btrfs-tools: upgrade 5.14.2 -> 5.15

2021-11-09 Thread wangmy
Changelog v5.15 (Nov 2021) mkfs: new defaults! no-holes free-space-tree DUP for metadata unconditionally libbtrfsutil: add missing profile defines libbtrfs: minimize its impact on the other code, refactor and separate implementation where needed, cleanup afterwards, reduced header exports

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-09 Thread Jasper Orschulko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Richard, I think our implementation of the repo fetcher checks the (what I believe to be) most relevant parts of your checklist (thanks for the write-up). Martin, please corrent me if I'm missing something: > a) network access for sources is

[OE-core] [PATCH 3/3] sstate: add a function to get the sstate file name in sstate_checkhashes

2021-11-09 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- meta/classes/sstate.bbclass | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 88bd84a06c..0a78a2fb69 100644 --- a/meta/classes/sstate.bbclass +++

[OE-core] [PATCH 2/3] sstate: only search on the mirrors for the missing files

2021-11-09 Thread Jose Quaresma
The existence of missed files on the local sstate cache is the condition to search for it on the sstate mirror. The missed collection are populated when we search the files on the local sstate cache. - When we have sstate mirrors we don't need to iterate all files again because we already know

[OE-core] [PATCH 1/3] sstate: cleanup the sstate mirror progress check

2021-11-09 Thread Jose Quaresma
We only have the progress bar when there are more than 100 objects. So we can check for this and store the result to show the progress bar. Signed-off-by: Jose Quaresma --- meta/classes/sstate.bbclass | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[OE-core] [PATCH] gdb-cross: add dependency on gmp-native

2021-11-09 Thread Martin Jansa
* it was already added for target and cross-canadian gdb in: commit 4643d1eb222151384f77d13a936537aae5ca3fe6 Author: Khem Raj Date: Fri Nov 5 17:37:33 2021 -0700 gdb: Add dependency on libgmp gdb 11 has added this library as must have * but gdb-cross.inc overwrites DEPENDS from

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Richard Purdie
On Tue, 2021-11-09 at 10:56 +0100, Alexander Kanavin wrote: > On Tue, 9 Nov 2021 at 10:51, Robert Yang wrote: > > > Maybe, but once we start doing tweaks like this, where do they stop? Hey, > > I'd > > > > I think that it's not only a performance tweak, but this should be > > considered > > as

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Alexander Kanavin
On Tue, 9 Nov 2021 at 10:51, Robert Yang wrote: > > Maybe, but once we start doing tweaks like this, where do they stop? > Hey, I'd > > I think that it's not only a performance tweak, but this should be > considered as > a bug since it would be failed to build on powerful machine, which isn't >

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Robert Yang
Hi Alexander, On 11/9/21 5:44 PM, Alexander Kanavin wrote: Maybe, but once we start doing tweaks like this, where do they stop? Hey, I'd I think that it's not only a performance tweak, but this should be considered as a bug since it would be failed to build on powerful machine, which isn't

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Robert Yang
Hi Alexander, On 11/9/21 4:21 PM, Alexander Kanavin wrote: But does this mean we need to globally restrict this and make things twice slower for everyone? I'm not sure. Please see my reply to Konrad, it doesn't cause any slower, but faster in my testing. BTW, the XZ_MEMLIMIT is 50% for

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Alexander Kanavin
Maybe, but once we start doing tweaks like this, where do they stop? Hey, I'd like to limit llvm and webkit threads too, they eat disproportionally large amounts of RAM compared to everything else! I'd rather err on the side of simple, striaghtforward, universal defaults, and having better

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Robert Yang
On 11/9/21 4:41 PM, Konrad Weihmann wrote: On 09.11.21 09:48, Robert Yang wrote: The original value is very easy to cause do_packge error when cpu number is larger, for example, 128 cores and 512G mem: error: create archive failed: cpio: write failed - Cannot allocate memory" Set the

Re: [OE-core] [PATCH v3] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-09 Thread Lee Chee Yang
Hi, I think need to fix this too AssertionError: The following recipes do not have a maintainer assigned to them. Please add an entry to meta/conf/distro/include/maintainers.inc file. glibc-tests

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Jose Quaresma
Robert Yang escreveu no dia terça, 9/11/2021 à(s) 08:12: > The original value is very easy to cause do_packge error when cpu number is > larger, for example, 128 cores and 512G mem: > > error: create archive failed: cpio: write failed - Cannot allocate memory" > > Set the ZSTD_THREADS to half of

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Konrad Weihmann
On 09.11.21 09:48, Robert Yang wrote: The original value is very easy to cause do_packge error when cpu number is larger, for example, 128 cores and 512G mem: error: create archive failed: cpio: write failed - Cannot allocate memory" Set the ZSTD_THREADS to half of the CPU number can avoid

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Alexander Kanavin
But does this mean we need to globally restrict this and make things twice slower for everyone? I'm not sure. Alex On Tue, 9 Nov 2021 at 09:12, Robert Yang wrote: > The original value is very easy to cause do_packge error when cpu number is > larger, for example, 128 cores and 512G mem: > >

[OE-core] [PATCH 0/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Robert Yang
The following changes since commit afad2f09ebbfe395f8fafce8218e26056479fe39: meson: improve SDK's wrapper to make Wraps work (2021-11-08 22:01:53 +) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/zstd

[OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Robert Yang
The original value is very easy to cause do_packge error when cpu number is larger, for example, 128 cores and 512G mem: error: create archive failed: cpio: write failed - Cannot allocate memory" Set the ZSTD_THREADS to half of the CPU number can avoid the error in my testing. Signed-off-by: