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

2021-10-05 Thread Chuck Wolber
On Tue, Oct 5, 2021 at 12:29 PM Konrad Weihmann wrote: > > While personally I think in the long run, every npm dependency has to be > provided as a recipe of its own (even I know the costs of that pretty > well)... esp when CVE checking and basic packaging hygiene should be > enforced. >

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

2021-10-05 Thread Randy MacLeod
On 2021-09-29 9:20 a.m., Pgowda wrote: When DEBUG_BUILD is set for building rust-native, it generated error as follows:- = Building : rustdoc, rustdoc-json-types error[E0463]: can't find crate for `rustc_llvm` which `rustc_driver` depends

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

2021-10-05 Thread Bruce Ashfield
On Tue, Oct 5, 2021 at 10:07 AM Ross Burton wrote: > > 5.14 changed how the GCC plugins are built, which means they now > depend on both GMP and MPC to be built. We already depend on gmp-native, > so add libmpc-native aswell. What's the symptom when the native dependency isn't around ? I'm just

[OE-core] [PATCH 2/2][dunfell] linux-yocto/5.4: update to v5.4.150

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 3a7dc5b4cfbd Linux 5.4.150 27f8c4402c4a qnx4: work around gcc false positive warning bug 3a0f951e3725 xen/balloon: fix balloon kthread freezing f80b6793811d

[OE-core] [PATCH 1/2][dunfell] linux-yocto/5.4: update to v5.4.149

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: e74e2950a0d6 Linux 5.4.149 382526348612 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV 409cb0b3d45a rtc: rx8010: select REGMAP_I2C 43832bf76363 blk-throttle:

[OE-core] [PATCH 7/7] kernel-yocto: don't apply config metadata patches twice

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Signed-off-by: Bruce Ashfield --- meta/classes/kernel-yocto.bbclass | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 549dfd97a4..1d5a8cdf29 100644 ---

[OE-core] [PATCH 6/7] linux-yocto/5.14: update to v5.14.9

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: 70248e7b378b Linux 5.14.9 f6fceb4e9ce6 usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval 007574d6ac26 usb: gadget: f_uac2: Add missing companion

[OE-core] [PATCH 1/7] linux-yocto/5.14: scripts/gcc-plugins: consistently use HOSTCC

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/5.14: 724df5812165 scripts/gcc-plugins: consistently use HOSTCC Signed-off-by: Bruce Ashfield --- .../linux/linux-yocto-rt_5.14.bb | 4 ++-- .../linux/linux-yocto-tiny_5.14.bb| 6 ++---

[OE-core] [PATCH 4/7] linux-yocto/5.10: update to v5.10.69

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 5f4196eaa90c Linux 5.10.69 7c09505e9e6b drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV 83a3cb200eff sched/idle: Make the idle timer expire in hard interrupt

[OE-core] [PATCH 5/7] linux-yocto/5.10: update to v5.10.70

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: f93026b28e2a Linux 5.10.70 59094296058d qnx4: work around gcc false positive warning bug 35c0dfbbd344 xen/balloon: fix balloon kthread freezing 8373d58c89be

[OE-core] [PATCH 3/7] linux-yocto/5.14: bsp/qemuarm*-gfx: use virtio graphics

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Integrating the following configuration change: Author: Jon Mason Date: Thu Sep 16 18:22:33 2021 -0400 bsp/qemuarm*-gfx: use virtio graphics Remove Bochs and start using virtio graphics Signed-off-by: Jon Mason Signed-off-by: Bruce Ashfield

[OE-core] [PATCH 2/7] linux-yocto/5.14: update to v5.14.8

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: c34892e1995d Linux 5.14.8 1236431c8531 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV bef2b32a1490 selinux,smack: fix subjective/objective credential use mixups

[OE-core] [PATCH 0/7] kernel-yocto: consolidated pull request

2021-10-05 Thread Bruce Ashfield
From: Bruce Ashfield Richard, Here's the next round of -stable and bug fixes. I didn't detect any issues, and everything is pretty routine (famous last words). I assume the release builds are underway now, so these are for post release, and any stable releases. But if you wanted to grab any of

[OE-core][PATCH 2/2] kernel-fitimage: use correct kernel image

2021-10-05 Thread Andrej Valek
Even if initramfs_bundle_path was used, kernel compression was not reflected in output its image. Use linux.bin as kernel compressed output image. File is correctly created from vmlinux which includes a right initramfs image. Signed-off-by: Andrej Valek Signed-off-by: Walter Schweizer ---

[OE-core][PATCH 1/2] featimage: refactor style

2021-10-05 Thread Andrej Valek
- use bash variable notation without {} where possible - just to make sure it looks like bash variable not bitbake variable one - fix indent style in "cat" commands - replace "! -z" -> "-n" Signed-off-by: Andrej Valek --- meta/classes/kernel-fitimage.bbclass | 292 +--

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

2021-10-05 Thread Konrad Weihmann
On 05.10.21 21:17, Alexander Kanavin wrote: On Tue, 5 Oct 2021 at 19:44, Stefan Herbrechtsmeier > wrote: > A layer with thousands of recipes seems totally intractable. What is your concern? The high number of dependencies or to

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

2021-10-05 Thread Alexander Kanavin
On Tue, 5 Oct 2021 at 19:44, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > > > A layer with thousands of recipes seems totally intractable. > > What is your concern? The high number of dependencies or to handle it > via OE? > Generating recipes with a tool means

Re: [OE-core] [PATCH v2 1/3] Rust oe-selftest script

2021-10-05 Thread Alexandre Belloni
Hello, I got the following (cryptic) failures today: https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/4100/steps/18/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/4094/steps/18/logs/stdio On 29/09/2021 01:04:46-0700, Pgowda wrote: > The file

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

2021-10-05 Thread Robert Berger
Hi Stefan, On 05/10/2021 15:48, Stefan Herbrechtsmeier wrote: Is a layer with more more than 1000 recipes thinkable? Did you have a look at this[1]? It says: "For instance I currently am using around 10 NPM-packages, those culminated into (currently) 937 recipes that are required to build

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

2021-10-05 Thread Stefan Herbrechtsmeier
Hi Alex, Am 05.10.2021 um 15:10 schrieb Alexander Kanavin: I think the supposed workflow with the new npm.class was to use 'devtool create' which would run some npm magic to to create a single recipe that has all of the npm-fetched dependencies inside SRC_URI. There is no magic inside npm.

[OE-core] machine/qemuarm*: Fix UBOOT_MACHINE value

2021-10-05 Thread Daiane Angolini
Signed-off-by: Daiane Angolini --- meta/conf/machine/qemuarm.conf | 2 +- meta/conf/machine/qemuarm64.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf index d71a793edf..1bd4e3e154 100644 ---

Re: [OE-core] [PATCH v2 3/3] Rust oe-selftest file

2021-10-05 Thread Alexandre Belloni
On 05/10/2021 12:13:56-0400, Randy MacLeod wrote: > On 2021-09-30 12:31 a.m., Pgowda wrote: > > Hi Alexandre, > > > > Thanks for mentioning it. > > > > It's already been taken care of as the following patch:- > >

Re: [OE-core] [PATCH v2 3/3] Rust oe-selftest file

2021-10-05 Thread Randy MacLeod
On 2021-09-30 12:31 a.m., Pgowda wrote: Hi Alexandre, Thanks for mentioning it. It's already been taken care of as the following patch:- http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next=50f7a13e69e8987b3629d455f9f56720c376e89b Hi Naveen, That link is for a commit in

[OE-core] Yocto Project Status WW40`21

2021-10-05 Thread Stephen Jolley
Current Dev Position: YP 3.4 M4 Next Deadline: 4th Oct. 2021 YP 3.4 M4 build Next Team Meetings: * Bug Triage meeting Thursday Oct. 7th at 7:30am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09) *

[OE-core] [poky][dunfell][PATCH] ffmpeg: Add fix for CVEs

2021-10-05 Thread Saloni Jain
From: Saloni Add fix for below CVE: CVE-2021-3566 Link: [http://git.videolan.org/?p=ffmpeg.git;a=patch;h=3bce9e9b3ea35c54ba793d7da99ea5157532] CVE-2021-38291 Link: [http://git.videolan.org/?p=ffmpeg.git;a=patch;h=e01d306c647b5827102260b885faa223b646d2d1] Signed-off-by: Saloni Jain ---

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

2021-10-05 Thread Alexander Kanavin
'devtool add' of course. Test case is in meta/lib/oeqa/selftest/cases/devtool.py Alex On Tue, 5 Oct 2021 at 15:10, Alexander Kanavin via lists.openembedded.org wrote: > I think the supposed workflow with the new npm.class was to use 'devtool > create' which would run some npm magic to to

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

2021-10-05 Thread Alexander Kanavin
I think the supposed workflow with the new npm.class was to use 'devtool create' which would run some npm magic to to create a single recipe that has all of the npm-fetched dependencies inside SRC_URI. Have you tried that? A layer with thousands of recipes seems totally intractable. Alex On

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

2021-10-05 Thread Ross Burton
5.14 changed how the GCC plugins are built, which means they now depend on both GMP and MPC to be built. We already depend on gmp-native, so add libmpc-native aswell. Signed-off-by: Ross Burton --- meta/recipes-kernel/linux/linux-yocto_5.14.bb | 2 +- 1 file changed, 1 insertion(+), 1

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

2021-10-05 Thread Stefan Herbrechtsmeier
Hi Richard, Am 05.10.2021 um 13:09 schrieb Richard Purdie: Thanks for bring this up, I've been wondering on the status of our npm support. Do you know any npm users? On Tue, 2021-10-05 at 12:04 +0200, Stefan Herbrechtsmeier wrote: I must improve the npm support for our use cases but need

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

2021-10-05 Thread Richard Purdie
Hi Stefan, Thanks for bring this up, I've been wondering on the status of our npm support. On Tue, 2021-10-05 at 12:04 +0200, Stefan Herbrechtsmeier wrote: > I must improve the npm support for our use cases but need some > fundamental decisions to proceed. I need to build express and angular >

Re: [OE-core] [PATCH v3 1/2] kernel, kernel-module-split: Add runtime dependency to subpackages on main package

2021-10-05 Thread Zoltan Boszormenyi via lists.openembedded.org
On 2021. 10. 05. 12:18, Alexandre Belloni wrote: Hello, On 30/09/2021 16:14:43+0200, Zoltan Boszormenyi via lists.openembedded.org wrote: From: Zoltán Böszörményi This creates a circular dependency between the main kernel package and its subpackages. It helps package managers to

Re: [OE-core] [PATCH v3 1/2] kernel, kernel-module-split: Add runtime dependency to subpackages on main package

2021-10-05 Thread Alexandre Belloni
Hello, On 30/09/2021 16:14:43+0200, Zoltan Boszormenyi via lists.openembedded.org wrote: > From: Zoltán Böszörményi > > This creates a circular dependency between the main kernel package > and its subpackages. It helps package managers to automatically > remove all kernel packages of the same

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

2021-10-05 Thread Stefan Herbrechtsmeier
Hi Jean-Marie and Richard, I must improve the npm support for our use cases but need some fundamental decisions to proceed. I need to build express and angular applications from git repositories. I have the following changes in my pipeline until now: - Support npm packages with missing

Re: [OE-core] [PATCH] libevent,btrfs-tools: fix Upstream-Status tag

2021-10-05 Thread Alexander Kanavin
The first two should say Backport and Inappropriate [oe-core specific ...explanation] Definitions here: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status Alex On Tue, 5 Oct 2021 at 10:41, Alexandre Belloni <

[OE-core] [PATCH] libevent,btrfs-tools: fix Upstream-Status tag

2021-10-05 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- ...1-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch | 2 +- ...003-test-mark-util-monotonic_prc_fallback-as-retriable.patch | 2 +- ...test-retriable-tests-are-marked-failed-only-when-all-a.patch | 2 +- 3 files changed, 3 insertions(+), 3

[OE-core] [PATCH] devpyshell: rename to pydevshell

2021-10-05 Thread Michael Opdenacker
For consistency with "pydevshell" which is also used. This addresses [YOCTO #14531] Signed-off-by: Michael Opdenacker --- meta/classes/devshell.bbclass| 10 +- meta/conf/documentation.conf | 2 +- scripts/oepydevshell-internal.py | 2 +- 3 files changed, 7 insertions(+), 7