Re: [OE-core] [PATCH] ffmpeg: fix CVE-2021-38114

2021-10-08 Thread Kiran Surendran
Ah yes sorry, tried to use the same patch I made for hardknott, I'll send the correct one for 4.4 Regards, Kiran On 10/8/21 5:12 PM, Richard Purdie wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On Fri, 2021-10-08 at 09:48 -0700, Kiran Surendran wrote: backport from

[OE-core] [PATCH] ptest-runner: install -collect-system-data script

2021-10-08 Thread Tim Orling
When ptest-runner times out or otherwise fails, it tries to call ptest-runner-collect-system-data, so install the script. The script currently calls dmesg, df, free (which are provided by busybox, etc.) and pstree (which is a sub-package of psmisc). Add pstree as an RDEPENDS. Signed-off-by: Tim

Re: [OE-core] [PATCH] ffmpeg: fix CVE-2021-38114

2021-10-08 Thread Richard Purdie
On Fri, 2021-10-08 at 09:48 -0700, Kiran Surendran wrote: > backport from upstream > > Signed-off-by: Kiran Surendran > --- > .../ffmpeg/ffmpeg/fix-CVE-2021-38114.patch| 67 +++ > .../recipes-multimedia/ffmpeg/ffmpeg_4.3.2.bb | 3 +- > 2 files changed, 69 insertions(+), 1

[OE-Core][dunfell][PATCH] binutils: Fix a missing break in case statement

2021-10-08 Thread Christian Eggers
This was missed during patch forward porting its only effective when printing options Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- ...-system-directories-when-cross-linki.patch | 26 +-- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[OE-core] [PATCH] ffmpeg: fix CVE-2021-38114

2021-10-08 Thread Kiran Surendran
backport from upstream Signed-off-by: Kiran Surendran --- .../ffmpeg/ffmpeg/fix-CVE-2021-38114.patch| 67 +++ .../recipes-multimedia/ffmpeg/ffmpeg_4.3.2.bb | 3 +- 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644

Re: [OE-core] [PATCH] oeqa/selftest/reproducibile: Include rust packages

2021-10-08 Thread Richard Purdie
On Fri, 2021-10-08 at 17:29 +0530, pgowda cve wrote: > Hi Richard, > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/118/builds/764 > > Thanks very much for sharing your inputs and comments on the issue. > > I could see some more builds where rust exclusions were unused:- > Some

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

2021-10-08 Thread Richard Purdie
On Fri, 2021-10-08 at 09:45 +0200, Konrad Weihmann wrote: > > On 08.10.21 09:42, Stefan Herbrechtsmeier wrote: > > From: Stefan Herbrechtsmeier > > > > Signed-off-by: Stefan Herbrechtsmeier > > > > --- > > > > (no changes since v1) > > > > scripts/lib/recipetool/create.py | 2 ++ > > 1

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

2021-10-08 Thread Michael Opdenacker
On 10/7/21 5:06 PM, Jon Mason wrote: > 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

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

2021-10-08 Thread Michael Opdenacker
Hi Jon On 10/7/21 5:06 PM, Jon Mason wrote: > 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

Re: [OE-core] [PATCH] oeqa/selftest/reproducibile: Include rust packages

2021-10-08 Thread Pgowda
Hi Richard, >> https://autobuilder.yoctoproject.org/typhoon/#/builders/118/builds/764 Thanks very much for sharing your inputs and comments on the issue. I could see some more builds where rust exclusions were unused:- Some of the example builds are:-

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

2021-10-08 Thread Richard Purdie
On Thu, 2021-10-07 at 11:06 -0400, 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 > --- > bitbake/README

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

2021-10-08 Thread Michael Opdenacker
Hi Jon, Thanks for the patch! On 10/7/21 5:06 PM, 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 > --- >

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

2021-10-08 Thread Michael Opdenacker
Hi Jon, Many thanks for the patches! On 10/7/21 5:06 PM, Jon Mason wrote: > --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.rst > +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.rst > @@ -60,11 +60,11 @@ member Chris Larson split the project into two distinct >

Re: [OE-core] [PATCH] oeqa/selftest/reproducibile: Include rust packages

2021-10-08 Thread Richard Purdie
On Fri, 2021-10-08 at 01:37 -0700, Pgowda wrote: > rust-llvm-liblto and rust-llvm-staticdev have been tested and generates > same ipk, rpm and deb files for reproducibleA and reproducibleB in > debain environment. > > Signed-off-by: Pgowda > --- > meta/lib/oeqa/selftest/cases/reproducible.py |

[OE-core] [PATCH] license: Allow treating missing license as error

2021-10-08 Thread Mike Crowe via lists.openembedded.org
Use mechanism inspired by insane.bbclass to allow individual recipes or other configuration to determine whether a missing licence should be treated as a warning (as it is now) or as an error. This is controlled by whether the error class is in WARN_LICENSE or ERROR_LICENSE. Use bb.fatal in the

[OE-core] [PATCH] oeqa/selftest/reproducibile: Include rust packages

2021-10-08 Thread Pgowda
rust-llvm-liblto and rust-llvm-staticdev have been tested and generates same ipk, rpm and deb files for reproducibleA and reproducibleB in debain environment. Signed-off-by: Pgowda --- meta/lib/oeqa/selftest/cases/reproducible.py | 4 1 file changed, 4 deletions(-) diff --git

[OE-core] [PATCH] lttng-ust: fix do_compile failure for arm32 with DEBUG_BUILD enabled

2021-10-08 Thread Changqing Li
From: Changqing Li After upgrade to 2.13.0, for arm32, with DEBUG_BUILD enabled, lttng-ust build failed with error: |

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

2021-10-08 Thread Stefan Herbrechtsmeier
Am 08.10.2021 um 09:45 schrieb Konrad Weihmann: On 08.10.21 09:42, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1)   scripts/lib/recipetool/create.py | 2 ++   1 file changed, 2 insertions(+) diff --git

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) scripts/lib/recipetool/create.py | 121 +-- 1 file changed, 97 insertions(+), 24 deletions(-) diff --git a/scripts/lib/recipetool/create.py

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

2021-10-08 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 --- (no changes since v1) meta/classes/npm.bbclass | 14 ++

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

2021-10-08 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 --- (no changes since v1) scripts/lib/recipetool/create_npm.py | 10 -- 1 file

[OE-core] [PATCH v2 07/12] recipetool: Add support for linenumbers to licenses.csv

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add support for linenumbers (begin and end lines) to licenses.csv. Add an optional linenumbers parameter to get_license_md5sums to support different use cases. Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) scripts/lib/recipetool/create.py | 12

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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 e88a4253da..83cf25d9b7 100644 ---

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

2021-10-08 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 --- (no changes since v1) meta/classes/npm.bbclass | 8 +++- 1 file changed, 3 insertions(+), 5

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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 87b25ebc7e..a8c4cdef4a 100644 ---

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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

[OE-core] [PATCH v2 09/12] recipetool: npm: Use README as license fallback

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Use the README as license fallback if a license file is missing. Use the linenumbers parameter of get_license_md5sums function to determine the license text inside the README. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Rework to add licenses to

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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 83cf25d9b7..893980a5ce

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

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

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

2021-10-08 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 --- (no changes since v1) meta/classes/npm.bbclass |

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

2021-10-08 Thread Konrad Weihmann
On 08.10.21 09:42, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) scripts/lib/recipetool/create.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/lib/recipetool/create.py

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

2021-10-08 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 --- (no changes since v1) meta/classes/npm.bbclass | 14 ++

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) scripts/lib/recipetool/create.py | 121 +-- 1 file changed, 97 insertions(+), 24 deletions(-) diff --git a/scripts/lib/recipetool/create.py

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

2021-10-08 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 --- (no changes since v1) meta/classes/npm.bbclass | 8 +++- 1 file changed, 3 insertions(+), 5

[OE-core] [PATCH 09/12] recipetool: npm: Use README as license fallback

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Use the README as license fallback if a license file is missing. Use the linenumbers parameter of get_license_md5sums function to determine the license text inside the README. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Rework to add licenses to

[OE-core] [PATCH 07/12] recipetool: Add support for linenumbers to licenses.csv

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add support for linenumbers (begin and end lines) to licenses.csv. Add an optional linenumbers parameter to get_license_md5sums to support different use cases. Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) scripts/lib/recipetool/create.py | 12

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

2021-10-08 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 --- (no changes since v1) scripts/lib/recipetool/create_npm.py | 10 -- 1 file

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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 87b25ebc7e..a8c4cdef4a 100644 ---

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

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

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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

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

2021-10-08 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 --- (no changes since v1) meta/classes/npm.bbclass |

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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 83cf25d9b7..893980a5ce

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

2021-10-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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 e88a4253da..83cf25d9b7 100644 ---

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

2021-10-08 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