Re: [OE-core] Improve npm support to run build scripts

2021-10-07 Thread Stefan Herbrechtsmeier
Hi Tim, Am 08.10.2021 um 07:27 schrieb Tim Orling: We have discussed the severe impact on parsing time with 100k recipes. I personally worked on a node.js project with that many dependencies (but not an OE/Yocto deployment). Parsing time is already a pain point for 1000s of recipes. How do y

Re: [OE-core] Improve npm support to run build scripts

2021-10-07 Thread Tim Orling
On Wed, Oct 6, 2021 at 2:48 AM Alexander Kanavin wrote: > The OE landscape is littered with unmaintained or barely maintained > layers. By the looks of things, no one wants to maintain this proposed > meta-nodejs layer either, which involves thousands of recipes, (so far) > non-existent tooling t

Re: [OE-core] [PATCH] Fix rust-native build issue when debug is enabled

2021-10-07 Thread Randy MacLeod
On 2021-10-07 4:56 a.m., pgowda cve wrote: Hi Randy, check this problem still happens with Alex's 1.55 upgrade: I checked the issue with latest version upgrade branch from Alexander:- http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/package-version-updates It builds as

Re: [OE-core] [docs] [PATCH 4/8] yocto-bsp/poky: replace http with https for URLs

2021-10-07 Thread Quentin Schulz
Hi Jon, On October 7, 2021 5:06:26 PM GMT+02:00, Jon Mason wrote: >https has been the preferred way to access websites for many years now. >Change all of the URLs with a _working_ https server/certificate to use >that URL. > >Signed-off-by: Jon Mason >--- Reviewed-by: Quentin Schulz Thanks, Q

Re: [OE-core] [docs] [PATCH 3/8] meta: replace http with https for URLs

2021-10-07 Thread Quentin Schulz
Hi Jon, On October 7, 2021 5:06:25 PM GMT+02:00, Jon Mason wrote: >https has been the preferred way to access websites for many years now. >Change all of the URLs with a _working_ https server/certificate to use >that URL. > >Signed-off-by: Jon Mason >--- > README.OE-Core.md

Re: [OE-core] [docs] [PATCH 1/8] oeqa/manual: Fix no longer valid URLs

2021-10-07 Thread Quentin Schulz
Hi Jon, On October 7, 2021 5:06:23 PM GMT+02:00, Jon Mason wrote: >autobuilder.yoctoproject.org URLS no longer work. Update them to a >working location. > >Signed-off-by: Jon Mason >--- > meta/lib/oeqa/manual/eclipse-plugin.json | 6 +++--- We don't support the eclipse plugin anymore, I guess t

Re: [OE-core] [PATCH 03/12] recipetool: Add optional licfiles parameter to guess_license

2021-10-07 Thread Stefan Herbrechtsmeier
Am 07.10.2021 um 12:13 schrieb Stefan Herbrechtsmeier via lists.openembedded.org: From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/lib/recipetool/create.p

Re: [OE-core] [PATCH 09/12] recipetool: npm: Pass README as fallback to guess_license if a license is missing

2021-10-07 Thread Stefan Herbrechtsmeier
Am 07.10.2021 um 12:13 schrieb Stefan Herbrechtsmeier via lists.openembedded.org: From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_npm.py | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/scripts/li

[OE-core] [PATCH 8/8] dev-manual: remove errant /

2021-10-07 Thread Jon Mason
Signed-off-by: Jon Mason --- documentation/dev-manual/start.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/dev-manual/start.rst b/documentation/dev-manual/start.rst index fc1b7c30752e..1ca25318cd53 100644 --- a/documentation/dev-manual/start.rst +++ b/d

[OE-core] [PATCH 7/8] documentation: use YOCTO_DL_URL

2021-10-07 Thread Jon Mason
Signed-off-by: Jon Mason --- documentation/profile-manual/usage.rst | 28 +- documentation/ref-manual/faq.rst | 16 +++ documentation/ref-manual/variables.rst | 8 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/documentation/pr

[OE-core] [PATCH 6/8] documentation: replace http with https for URLs

2021-10-07 Thread Jon Mason
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. Signed-off-by: Jon Mason --- documentation/profile-manual/usage.rst | 28 +++--- documentation/ref-manual/faq.rst

[OE-core] [PATCH 5/8] bitbake: replace http with https for URLs

2021-10-07 Thread Jon Mason
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. Signed-off-by: Jon Mason --- bitbake/README| 8 ++--- bitbake/doc/README| 2 +-

[OE-core] [PATCH 3/8] meta: replace http with https for URLs

2021-10-07 Thread Jon Mason
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. Signed-off-by: Jon Mason --- README.OE-Core.md | 10 - .../devtool/devtool-test-local_6.03.bb| 2

[OE-core] [PATCH 4/8] yocto-bsp/poky: replace http with https for URLs

2021-10-07 Thread Jon Mason
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. Signed-off-by: Jon Mason --- meta-poky/README.poky.md | 12 ++-- meta-poky/conf/distro/poky.conf | 16 met

[OE-core] [PATCH 2/8] bitbake:toaster:test: Update SSTATE URL

2021-10-07 Thread Jon Mason
Signed-off-by: Jon Mason --- bitbake/lib/toaster/tests/builds/buildtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/toaster/tests/builds/buildtest.py b/bitbake/lib/toaster/tests/builds/buildtest.py index 872bbd377510..13b51fb0d8e4 100644 --- a/bitbake/lib/t

[OE-core] [PATCH 1/8] oeqa/manual: Fix no longer valid URLs

2021-10-07 Thread Jon Mason
autobuilder.yoctoproject.org URLS no longer work. Update them to a working location. Signed-off-by: Jon Mason --- meta/lib/oeqa/manual/eclipse-plugin.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/lib/oeqa/manual/eclipse-plugin.json b/meta/lib/oeqa/manual/e

[OE-core] [PATCH 0/8] replace http with https for URLs

2021-10-07 Thread Jon Mason
This started off with a simple request to change http to https in the documentation. It quickly went off the rails when I decided to change all of the http to https, and then found broken links and a myriad of other things. I broke up the patches so they can be applied to their respective git rep

[OE-core] [PATCH] multilib: Avoid sysroot race issues when multilib enabled

2021-10-07 Thread Richard Purdie
Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS incorrect. Add the correct value, which fixes races over files in the sysroot. [YOCTO #14581] Signed-off-by: Richard Purdie --- meta/conf/multilib.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf

[OE-core] [PATCH 2/2] rpm: Deterministically set vendor macro entry

2021-10-07 Thread Richard Purdie
On an aarch64 build host, vendor is found to be "unknown", on x86 systems it is "pc". This filters through to the PLATFORM tag in target rpms. We saw reproducibility test failures where the PLATFORM tags in noarch rpms were changing depending upon which host built them. Forcing the vendor value to

[OE-core] [PATCH 1/2] sstatesig: Only apply group/other permissions to pseudo files

2021-10-07 Thread Richard Purdie
We hardlink some files into the build, such as licence files in do_populate_lic tasks. Depending on the umask that the source tree was checked out with, the group permissions would vary. This results in inconsistent task outhashes. Avoid this by ignoring the group/other bits unless we're under pse

[OE-core] [meta-oe][dunfell][PATCH 3/3] dovecot: Fix CVE-2020-12674

2021-10-07 Thread sana kazi
Added patch for CVE-2020-12674 Link: http://archive.ubuntu.com/ubuntu/pool/main/d/dovecot/dovecot_2.2.33.2-1ubuntu4.7.debian.tar.xz Signed-off-by: Sana Kazi Signed-off-by: Sana Kazi --- ...uth-mech-rpa-Fail-on-zero-len-buffer.patch | 30 +++ .../dovecot/dovecot_2.2.36.4.bb

[OE-core] [meta-oe][dunfell][PATCH 2/3] dovecot: Fix CVE-2020-12673

2021-10-07 Thread sana kazi
Added patch for CVE-2020-12673 Link: http://archive.ubuntu.com/ubuntu/pool/main/d/dovecot/dovecot_2.2.33.2-1ubuntu4.7.debian.tar.xz Signed-off-by: Sana Kazi Signed-off-by: Sana Kazi --- ...tlm-Check-buffer-length-on-responses.patch | 37 +++ .../dovecot/dovecot_2.2.36.4.bb

[OE-core] [meta-oe][dunfell][PATCH 1/3] dovecot: Fix CVE-2020-12100

2021-10-07 Thread sana kazi
Added patches to fix CVE-2020-12100 Link: http://archive.ubuntu.com/ubuntu/pool/main/d/dovecot/dovecot_2.2.33.2-1ubuntu4.7.debian.tar.xz Signed-off-by: Sana Kazi Signed-off-by: Sana Kazi --- ...-parser-Add-a-message_part_finish-he.patch | 76 +++ ...-parser-Change-message_part_append-t.p

[OE-core] [PATCH] [RFC] kernel: improve transformation from KERNEL_IMAGETYPE_FOR_MAKE

2021-10-07 Thread Mike Crowe via lists.openembedded.org
In 526bdd88ccd758204452579333ba188e29270bde the imageType loop in kernel_do_deploy was changed to use KERNEL_IMAGETYPE_FOR_MAKE rather than KERNEL_IMAGETYPES. This broke the special handling for fitImage immediately below because KERNEL_IMAGETYPE_FOR_MAKE never contains fitImage. It has always bee

[OE-core] [PATCH 08/12] recipetool: npm: Do not add package.json files to LIC_FILES_CHKSUM

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The package.json files doesn't contain any licenses. The name of the license doesn't comply the license requirements of most liceneses. Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_npm.py | 10 -- 1 file changed, 10 deletions(-)

[OE-core] [PATCH 11/12] npm: Use configs for npm environment and args for npm run command

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Use parameter configs of class NpmEnvironment and parameter args of function run to support a common npmrc for all run calls of a single NpmEnvironment. Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm.bbclass | 14 ++ 1 file changed, 6 inser

[OE-core] [PATCH 12/12] recipetool: Rework crunch_license to recognize more variants

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 121 +-- 1 file changed, 97 insertions(+), 24 deletions(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 047462d389..5

[OE-core] [PATCH 09/12] recipetool: npm: Pass README as fallback to guess_license if a license is missing

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_npm.py | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index c939780931..2

[OE-core] [PATCH 06/12] recipetool: ignore empty license files

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index d86b98ff1e..071c845ed4 100644 --- a/scripts

[OE-core] [PATCH 10/12] npm: Add variable NPM_NODEDIR with default value

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Replace the variable NPM_NODEDIR fallback to a default value inside the code with a variable NPM_NODEDIR with default value. Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm.bbclass | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --gi

[OE-core] [PATCH 07/12] recipetool: Add logger info for missing license entries

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 071c845ed4..047462d389 100644 --- a/scripts/lib/recipetool/cr

[OE-core] [PATCH 02/12] recipetool: Move license md5sums into CSV files

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py| 52 + scripts/lib/recipetool/licenses.csv | 37 2 files changed, 52 insertions(+), 37 deletions(-) create mode 100644 scripts/lib/recip

[OE-core] [PATCH 05/12] recipetool: Change default paramter fallback_licenses of function split_pkg_licenses from None to []

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index b1c8d32852..d86b98ff1e 100644 --- a/scripts/lib/

[OE-core] [PATCH 03/12] recipetool: Add optional licfiles parameter to guess_license

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index e88a4253da..3bcae962a8 100644 --- a/scripts/li

[OE-core] [PATCH 04/12] recipetool: Skip common source files in guess_license

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 3bcae962a8..b1c8d32852 100644 --- a/scripts/lib/recipetool/cre

[OE-core] [PATCH 01/12] npm: Add support for EXTRA_OENPM arguments

2021-10-07 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add support for EXTRA_OENPM arguments to set node-gyp variables for example. This allows use of shared librariess, avoid download of external sources or build from source. Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm.bbclass | 5 - 1 file changed

Re: [OE-core] [PATCH] linux-yocto: add libmpc-native to DEPENDS

2021-10-07 Thread Ross Burton
On Wed, 6 Oct 2021 at 18:59, Khem Raj wrote: > Does it have to be native or target dependency ? Native, as it builds compiler plugins for the host. Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156708): https://lists.openembedded.org/g/ope

Re: [OE-core] [PATCH] Fix rust-native build issue when debug is enabled

2021-10-07 Thread Pgowda
Hi Randy, >> check this problem still happens with Alex's 1.55 upgrade: I checked the issue with latest version upgrade branch from Alexander:- http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/package-version-updates It builds as expected without any errors for rust-native

[OE-core] [PATCH] baremetal-image: Fix do_image dependencies

2021-10-07 Thread Alejandro Hernandez Samaniego
Commit 282d596b8 added a fix for image.bbclass related to QEMU dependencies, such fix made the older logic borrowed from image.bbclass incompatible. Update the dependency logic to reflect new changes, we no longer need to add the do_addto_recipe_sysroot dependency specifically. Signed-off-by: Ale