Re: [OE-core] systemd service@ bug

2023-07-19 Thread Yuta Hayama
Hi, On 2023/07/19 16:47, Vyacheslav Yurkov wrote: > Hey, > Usually Steve Sakoman cherry-picks patches from master. If it's not the case, > it was probably not applied clearly or simply overlooked. You can submit a > backport with the branch tag. Thank you! I understood. I checked git log and

Re: [OE-core] [PATCH v3] qemu: Add qemu-common package

2023-07-19 Thread Yu, Mingli
Hi Richard, On 7/19/23 18:08, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, 2023-07-19 at 17:39 +0800, Yu, Mingli wrote: On 7/19/23 17:24,

Re: [OE-core] [PATCH] python3-jsonschema: upgrade 4.17.3 -> 4.18.3

2023-07-19 Thread Alexandre Belloni via lists.openembedded.org
This fails: https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5489/steps/14/logs/stdio 2023-07-19 16:59:12,999 - oe-selftest - INFO - bblayers.BitbakeLayers.test_bitbakelayers_setup (subunit.RemotedTestCase) 2023-07-19 16:59:13,001 - oe-selftest - INFO - ... FAIL Stderr:

[OE-core] OpenEmbedded Happy Hour July 26 5pm/1700 UTC

2023-07-19 Thread Denys Dmytriyenko
All, A friendly reminder - our regular monthly OpenEmbedded Happy Hour is 1 week away, on July 26 for Europe/Americas timezones @ 1700/5pm UTC (1pm ET/10am PT) https://www.openembedded.org/wiki/Calendar https://www.openembedded.org/wiki/Happy_Hours

Re: [OE-core] make-mod-scripts doesn't know KERNEL_LOCALVERSION

2023-07-19 Thread Bruce Ashfield
On Wed, Jul 19, 2023 at 4:10 PM Petr Gotthard wrote: > > Thanks Bruce, > > > -Original Message- > > From: Bruce Ashfield > > Sent: Wednesday, July 19, 2023 7:44 PM > > To: Petr Gotthard > > Cc: openembedded-core@lists.openembedded.org > > Subject: Re: [OE-core] make-mod-scripts doesn't

Re: [oe-core][RFC PATCH 0/3] Add packagefeed recipe class

2023-07-19 Thread Charlie Johnston
Sure! Currently to create a feed, users build the packages they want in the feed and then bitbake package-index. That workflow unfortunately has a number of limitations, the mains ones being: - The index creation methods ONLY work on the package deploy directory. If there are packages that are

Re: [oe-core][RFC PATCH 0/3] Add packagefeed recipe class

2023-07-19 Thread Alexander Kanavin
Specifically please take a look at, ./recipes-core/meta/package-index.bb and generate_index_files() in lib/oe/package_manager/__init__.py I think we should rather extend these instead of adding overlapping code which works differently. Alex On Wed, 19 Jul 2023 at 22:39, Alexander Kanavin via

Re: [OE-core] [PATCH] ptest-runner: Pull in parallel test fixes

2023-07-19 Thread Alexander Kanavin
No, indeed they're all obsolete. They were added to the ticket today, so I assumed they're fresh failures. Ignore the revert then, sorry for hasty blaming. Alex On Wed, 19 Jul 2023 at 22:44, Joshua Watt wrote: > > Do you have a recent log of a failure? All the ones in the ticket > buildbot says

Re: [OE-core] [PATCH] ptest-runner: Pull in parallel test fixes

2023-07-19 Thread Joshua Watt
Do you have a recent log of a failure? All the ones in the ticket buildbot says are from a month ago (or, maybe that's just a quirk of buildbot?) On Wed, Jul 19, 2023 at 2:35 PM Alexander Kanavin wrote: > > Which newer commit, in which repo? I believe the latest SRCREV update > in oe-core master

Re: [oe-core][RFC PATCH 0/3] Add packagefeed recipe class

2023-07-19 Thread Alexander Kanavin
You need to start by describing the use case. What problem does the code solve that existing packagefeed code does not? Can we rather extend the already existing code, its tests, and its documentation, to support that use case? Alex On Wed, 19 Jul 2023 at 22:03, Charlie Johnston wrote: > >

Re: [OE-core] [PATCH] ptest-runner: Pull in parallel test fixes

2023-07-19 Thread Alexander Kanavin
Which newer commit, in which repo? I believe the latest SRCREV update in oe-core master that landed 12 hours ago or so is what broke things. Alex On Wed, 19 Jul 2023 at 22:32, Joshua Watt wrote: > > There is a newer commit that was merged to master just today; please > see if that fixes it. > >

Re: [OE-core] [PATCH] ptest-runner: Pull in parallel test fixes

2023-07-19 Thread Joshua Watt
There is a newer commit that was merged to master just today; please see if that fixes it. On Wed, Jul 19, 2023 at 2:26 PM Alexander Kanavin wrote: > > Unfortunately this seems to once again have regressed glib/codegen > ptest (the test writes large amounts to stdout): >

[OE-core] [PATCH] Revert "ptest-runner: Pull in parallel test fixes and output handling"

2023-07-19 Thread Alexander Kanavin
This has once again regressed glib/codegen test (which writes large amounts to stdout). Further fixing is needed. Signed-off-by: Alexander Kanavin --- meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH] ptest-runner: Pull in parallel test fixes

2023-07-19 Thread Alexander Kanavin
Unfortunately this seems to once again have regressed glib/codegen ptest (the test writes large amounts to stdout): https://bugzilla.yoctoproject.org/show_bug.cgi?id=15154 I'll send a revert. Alex On Mon, 17 Jul 2023 at 16:36, Richard Purdie wrote: > > Pull in the commits: > > Change test

Re: [OE-core] make-mod-scripts doesn't know KERNEL_LOCALVERSION

2023-07-19 Thread Petr Gotthard
Thanks Bruce, > -Original Message- > From: Bruce Ashfield > Sent: Wednesday, July 19, 2023 7:44 PM > To: Petr Gotthard > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] make-mod-scripts doesn't know KERNEL_LOCALVERSION > > Hmm. > > I explicitly tested this

ODP: [OE-Core][PATCH v6 1/6] bitbake.conf: add acl and xattr distro native features support

2023-07-19 Thread Piotr Łobacz
Dear Richard, Alexandre, Alex and all, this patchset fixes has additional patch which actually fixes these warning message: [log_check] Warning when reading ar archive header: Pathname can't be converted from UTF-8 to current locale. (errno=84) I do not know if it fixes this error: opkg-build

[oe-core][RFC PATCH 3/3] packagefeed.bbclass: Add new bbclass for building feeds.

2023-07-19 Thread Charlie Johnston
Add a new bbclass that allows building a feed using the new oe.packagefeed class. This new bbclass inherits from packagegroup so that there is also a package in the feed that represents all packages in the feed. The variable FEED_DEPENDS can be used to specify a feed that the packagefeed depends

[oe-core][RFC PATCH 2/3] bitbake.conf: Add new DEPLOY_DIR_FEED variable.

2023-07-19 Thread Charlie Johnston
This change adds a new variable that defines where feeds should be created when building a packagefeed. For now, the location is ${DEPLOY_DIR}/feeds Signed-off-by: Charlie Johnston --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/bitbake.conf

[oe-core][RFC PATCH 1/3] packagefeed: Add new oe.packagefeed classes

2023-07-19 Thread Charlie Johnston
This change adds the infrastructure to build a packagefeed to oe. Specifically, packagefeed.py adds an abstract class and the logic to create a hardlinked feed directory while the package type specific classes allow the proper package indexer, deploy directory, etc to be selected for a build. The

[oe-core][RFC PATCH 0/3] Add packagefeed recipe class

2023-07-19 Thread Charlie Johnston
Hello, I've been working on a packagefeed.bbclass to allow recipes that define a feed. I have a working prototype which has been tested against poky using all 3 package types. This is my first time submitting this type of change, so I'm looking for some feedback to cover the gaps in my

Re: [OE-Core][PATCH] eudev: Add group sgx to eudev package

2023-07-19 Thread Alex Kiernan
On Wed, Jul 19, 2023 at 7:48 PM Alex Kiernan via lists.openembedded.org wrote: > > On Wed, Jul 19, 2023 at 1:30 PM Alexandre Belloni > wrote: > > > > Hello, > > > > I had a bit of trouble to find this but this causes the following > > oe-selftest failure: > > > >

[OE-Core][PATCH v6 6/6] opkg: set locale from system environment variables

2023-07-19 Thread Piotr Łobacz
A C program inherits its locale environment variables when it starts up. This happens automatically. However, these variables do not automatically control the locale used by the library functions, because ISO C says that all programs start by default in the standard ‘C’ locale. Fixes warnings:

[OE-Core][PATCH v6 3/6] package.bbclass: add support for ACLs and xattr

2023-07-19 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

[OE-Core][PATCH v6 4/6] opkg-utils: add acl and xattr support

2023-07-19 Thread Piotr Łobacz
Add support for tar archives created with --acls and/or --xattrs options, PAX header format. GNU tar and libarchive already supports ACLs and extended attributes. We can now add this support as well to opkg-build script in order to use fsetattr or setcap inside do_install command and end up with

[OE-Core][PATCH v6 5/6] opkg: add options to enable support for acl and xattr

2023-07-19 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++

[OE-Core][PATCH v6 2/6] package_ipk.bbclass: add support for ACLs and xattr

2023-07-19 Thread Piotr Łobacz
Extend OPKGBUILDCMD variable, with additional parameters, depending on target distro features, in order to support ACLs and xattr. With fix pushed to the opkg-devel: https://groups.google.com/g/opkg-devel/c/dYNHrLjDwg8 opkg-build is able to create tar archives with ACLs and xattr. Signed-off-by:

[OE-Core][PATCH v6 1/6] bitbake.conf: add acl and xattr distro native features support

2023-07-19 Thread Piotr Łobacz
Include support for ACLs and extended file attributes for native builds, by default. Signed-off-by: Piotr Łobacz --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 9625a6fef4..8dd615 100644 ---

Re: [OE-Core][PATCH] eudev: Add group sgx to eudev package

2023-07-19 Thread Alex Kiernan
On Wed, Jul 19, 2023 at 1:30 PM Alexandre Belloni wrote: > > Hello, > > I had a bit of trouble to find this but this causes the following > oe-selftest failure: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/2274/steps/14/logs/stdio > > 2023-07-18 20:56:16,128 - oe-selftest

Re: [OE-core] make-mod-scripts doesn't know KERNEL_LOCALVERSION

2023-07-19 Thread Bruce Ashfield
On Wed, Jul 19, 2023 at 1:44 PM Bruce Ashfield via lists.openembedded.org wrote: > > On Wed, Jul 19, 2023 at 1:32 PM Petr Gotthard > wrote: > > > > Hello, > > the out-of-tree kernel modules built with latest master have broken > > "vermagic" and thus cannot be loaded. > > > > The patch > >

Re: [OE-core] make-mod-scripts doesn't know KERNEL_LOCALVERSION

2023-07-19 Thread Bruce Ashfield
On Wed, Jul 19, 2023 at 1:32 PM Petr Gotthard wrote: > > Hello, > the out-of-tree kernel modules built with latest master have broken > "vermagic" and thus cannot be loaded. > > The patch > https://git.yoctoproject.org/poky/commit/?id=bb0f9e87700aa40ec8db880ede3c018c1d055786 > added to

[OE-core] make-mod-scripts doesn't know KERNEL_LOCALVERSION

2023-07-19 Thread Petr Gotthard
Hello, the out-of-tree kernel modules built with latest master have broken "vermagic" and thus cannot be loaded. The patch https://git.yoctoproject.org/poky/commit/?id=bb0f9e87700aa40ec8db880ede3c018c1d055786 added to meta/classes-recipe/kernel-arch.bbclass: export LOCALVERSION ?=

Re: [OE-core] Rust Oe-Selftest implementation V15 Testing

2023-07-19 Thread Richard Purdie
On Wed, 2023-07-19 at 12:58 +0100, Alex Kiernan wrote: > On Wed, Jul 19, 2023 at 11:49 AM Richard Purdie > wrote: > > > > On Mon, 2023-07-17 at 16:08 +0100, Richard Purdie wrote: > > > On Mon, 2023-07-17 at 16:34 +0200, Alexandre Belloni wrote: > > > > Hello, > > > > > > > > I got some feedback

[OE-core][PATCH] xeyes: upgrade 1.2.0 -> 1.3.0

2023-07-19 Thread Trevor Gamblin
Use the sha256sum for the .xz archive instead of .bz2 because of upstream commit bdd57f3. Add SRC_URI_EXT to match. Changelog: 637b948 (HEAD -> master, tag: xeyes-1.3.0, origin/master, origin/HEAD) xeyes 1.3.0 6f6c975 Implement multi-ocular support, add biblical example f30ef4e Print which

Re: [OE-Core][PATCH v5 1/5] bitbake.conf: add acl and xattr distro native features support

2023-07-19 Thread Piotr Łobacz
Ok I have found the root cause for this warning. I will post it later on and this is another fix to opkg. BR Piotr Od: openembedded-core@lists.openembedded.org w imieniu użytkownika Piotr Łobacz via lists.openembedded.org Wysłane: Wednesday, July 19, 2023

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

2023-07-19 Thread Richard Purdie
Hi, Thanks for looking at this, I think it could become a really useful and well used extension to bitbake! On Wed, 2023-07-19 at 16:27 +0200, Julien Stephan wrote: > I am currently working on bug #13425 and I would like to post my wip > script as an RFC to get feedback on it, before going

[OE-core] [RFC 0/1] Add bblock helper script

2023-07-19 Thread Julien Stephan
Hi all, I am currently working on bug #13425 and I would like to post my wip script as an RFC to get feedback on it, before going further in the development. The script `script/bblock` can be used with the following command: bblock [list of recipes to lock] Here is a summary of what is

[OE-core] [RFC 1/1] scripts/bblock: add a script to lock/unlock recipes

2023-07-19 Thread Julien Stephan
bblock script allows to lock recipes to latest 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 following command:

ODP: [OE-Core][PATCH v5 1/5] bitbake.conf: add acl and xattr distro native features support

2023-07-19 Thread Piotr Łobacz
HI all, Hi Richard thx for quick response. Generally this patch for tar has been already applied to the upstream http://git.savannah.gnu.org/cgit/tar.git/commit/?id=5461025569c2d946fb31b79f16f60e923bbd79f9 Additionally a new version 1.35 has been released which has this fix applied as well. >

Re: [OE-core] Rust Oe-Selftest implementation V15 Testing

2023-07-19 Thread Sundeep KOKKONDA via lists.openembedded.org
From: Alex Kiernan Sent: 19 July 2023 17:28 To: Richard Purdie Cc: Alexandre Belloni ; Shinde, Yash ; openembedded-core ; MacLeod, Randy ; Kokkonda, Sundeep ; Gowda, Naveen Subject: Re: [OE-core] Rust Oe-Selftest implementation V15 Testing CAUTION: This

Re: [OE-Core][PATCH] eudev: Add group sgx to eudev package

2023-07-19 Thread Alexandre Belloni via lists.openembedded.org
Hello, I had a bit of trouble to find this but this causes the following oe-selftest failure: https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/2274/steps/14/logs/stdio 2023-07-18 20:56:16,128 - oe-selftest - INFO - gdbserver.GdbServerTest.test_gdb_server

Re: [OE-core][PATCH v9 0/3] CVE-check handling

2023-07-19 Thread Andrej Valek via lists.openembedded.org
Even better, So I will make one more rebase, just for "[OE-core][PATCH v9 3/3] cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS" Regards, Andrej On Wed, 2023-07-19 at 11:16 +, Ross Burton wrote: > On 19 Jul 2023, at 11:54, Richard Purdie > wrote: > > > > On Wed, 2023-07-19 at 10:26

Re: [OE-core] Rust Oe-Selftest implementation V15 Testing

2023-07-19 Thread Alex Kiernan
On Wed, Jul 19, 2023 at 11:49 AM Richard Purdie wrote: > > On Mon, 2023-07-17 at 16:08 +0100, Richard Purdie wrote: > > On Mon, 2023-07-17 at 16:34 +0200, Alexandre Belloni wrote: > > > Hello, > > > > > > I got some feedback from RP: > > > > > >

Re: [OE-core][PATCH v9 0/3] CVE-check handling

2023-07-19 Thread Ross Burton
On 19 Jul 2023, at 11:54, Richard Purdie wrote: > > On Wed, 2023-07-19 at 10:26 +, Valek, Andrej wrote: >> Hello, >> >> I would like to ask, what's the status here? > > I've asked for some people to help review it and I'm waiting on their > feedback. FWIW they did promise "this morning"

Re: [OE-core][PATCH v9 0/3] CVE-check handling

2023-07-19 Thread Richard Purdie
On Wed, 2023-07-19 at 10:26 +, Valek, Andrej wrote: > Hello, > > I would like to ask, what's the status here? I've asked for some people to help review it and I'm waiting on their feedback. FWIW they did promise "this morning" yesterday so they have around 6 minutes! Cheers, Richard

Re: [OE-core] Rust Oe-Selftest implementation V15 Testing

2023-07-19 Thread Richard Purdie
On Mon, 2023-07-17 at 16:08 +0100, Richard Purdie wrote: > On Mon, 2023-07-17 at 16:34 +0200, Alexandre Belloni wrote: > > Hello, > > > > I got some feedback from RP: > > > > http://autobuilder.yocto.io/pub/non-release/20230716-18/testresults/testresult-report.txt > > > > This shows warnings

Re: [OE-core][PATCH v9 0/3] CVE-check handling

2023-07-19 Thread Andrej Valek via lists.openembedded.org
Hello, I would like to ask, what's the status here? Regards, Andrej On Fri, 2023-06-23 at 13:14 +0200, Andrej Valek wrote: > After discussion in all parallel threads we proposed following variant which > covers both expressed requirements to have very small number of different cve > statuses

Re: [OE-core] [PATCH v3] qemu: Add qemu-common package

2023-07-19 Thread Richard Purdie
On Wed, 2023-07-19 at 17:39 +0800, Yu, Mingli wrote: > On 7/19/23 17:24, Richard Purdie wrote: > > > > > > It is relevant, this is because of the dependency that this gets built > > > and fails. I've seen v4 but didn't have the time to test it yet. > > > > I've still not seen an answer to Ross'

Re: [OE-core] [PATCH v3] qemu: Add qemu-common package

2023-07-19 Thread Yu, Mingli
Hi Richard and Ross, On 7/19/23 17:24, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, 2023-07-19 at 11:20 +0200, Alexandre Belloni via

Re: [OE-core] [PATCH v3] qemu: Add qemu-common package

2023-07-19 Thread Richard Purdie
On Wed, 2023-07-19 at 11:20 +0200, Alexandre Belloni via lists.openembedded.org wrote: > On 19/07/2023 17:10:37+0800, Yu, Mingli wrote: > > Hi Alex, > > > > On 7/17/23 20:46, Alexandre Belloni wrote: > > > CAUTION: This email comes from a non Wind River email account! > > > Do not click links or

Re: [OE-core] [PATCH v3] qemu: Add qemu-common package

2023-07-19 Thread Alexandre Belloni via lists.openembedded.org
On 19/07/2023 17:10:37+0800, Yu, Mingli wrote: > Hi Alex, > > On 7/17/23 20:46, Alexandre Belloni wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the sender and > > know the content is safe. > > > > On

Re: [OE-core] [PATCH v3] qemu: Add qemu-common package

2023-07-19 Thread Yu, Mingli
Hi Alex, On 7/17/23 20:46, Alexandre Belloni wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 17/07/2023 15:10:35+0800, Yu, Mingli wrote: Hi Alex, On 7/16/23 19:47,

Re: [OE-Core][PATCH v5 1/5] bitbake.conf: add acl and xattr distro native features support

2023-07-19 Thread Richard Purdie
On Wed, 2023-07-19 at 07:53 +, Piotr Łobacz wrote: > I'm running this on docker with ubuntu 22.04 LTS and I have patched > tar 1.34 with the patch I have given to you. I know that it contains > these parameters, but they are faulty - meaning the ACLs do not > preserve uid/gid in tar archive.

Re: [OE-Core][PATCH v5 1/5] bitbake.conf: add acl and xattr distro native features support

2023-07-19 Thread Piotr Łobacz
Hi Alexandre, I'm running this on docker with ubuntu 22.04 LTS and I have patched tar 1.34 with the patch I have given to you. I know that it contains these parameters, but they are faulty - meaning the ACLs do not preserve uid/gid in tar archive. Nevertheless this concerns me that opkg-build

Re: [OE-core] systemd service@ bug

2023-07-19 Thread Vyacheslav Yurkov
Hey, Usually Steve Sakoman cherry-picks patches from master. If it's not the case, it was probably not applied clearly or simply overlooked. You can submit a backport with the branch tag. Vyacheslav On 19.07.2023 03:48, Yuta Hayama wrote: Hi, This issue has been fixed in master.