[yocto] [yocto-autobuilder-helper] [PATCH] ab-janitor: Avoid spamming the logs when files are really new

2024-10-15 Thread Richard Purdie
Signed-off-by: Richard Purdie --- janitor/ab-janitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/janitor/ab-janitor b/janitor/ab-janitor index 659817e..bb58390 100755 --- a/janitor/ab-janitor +++ b/janitor/ab-janitor @@ -54,8 +54,8 @@ def trash_processor(trashdir

[yocto] [yocto-autobuilder-helper] [PATCH 4/4] config.json: Use BASE_SHAREDIR in index job command

2024-10-09 Thread Richard Purdie
Signed-off-by: Richard Purdie --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 6c9b04e..6881452 100644 --- a/config.json +++ b/config.json @@ -1340,11 +1340,11 @@ "indexing" : {

[yocto] [yocto-autobuilder-helper] [PATCH 1/4] scripts/utils: Use a consistent 'cluster-downloads-cache' location for cache files

2024-10-09 Thread Richard Purdie
Cache files were getting spread all over. Use a more consistent directory name to make it clear they are cache files. Signed-off-by: Richard Purdie --- scripts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.py b/scripts/utils.py index 370a755..8e6463d

[yocto] [yocto-autobuilder-helper] [PATCH 3/4] config.json: Use 5.0.4 release tarballs or download urls for all artefacts

2024-10-09 Thread Richard Purdie
We should be pointing at released artefacts where at all possible. Signed-off-by: Richard Purdie --- config.json | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/config.json b/config.json index 13977d9..6c9b04e 100644 --- a/config.json +++ b/config.json

[yocto] [yocto-autobuilder-helper] [PATCH 2/4] scripts/run-docs-build: Use the 'cluster-downloads-cache' location for cache files

2024-10-09 Thread Richard Purdie
The docs build uses some cached tarballs, use the standarised location for these. Signed-off-by: Richard Purdie --- scripts/run-docs-build | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/scripts/run-docs-build b/scripts/run-docs-build index 718467f

Re: [yocto] sstate cache and task hash changing with constant base hash

2024-10-04 Thread Richard Purdie
On Fri, 2024-10-04 at 01:49 -0700, philip.dawson via lists.yoctoproject.org wrote: > I'm trying to set up a network sstate cache server for yocto builds > run on developer machines and CI systems. >   > One of my recipes is not using the sstate cache objects from the > network server only when run

[yocto] [yocto-autobuilder2] [PATCH] builders: Allow partial matching of helper branches

2024-10-07 Thread Richard Purdie
Helper branches with names like contrib/kirkstone-nut don't work with worker restrictions currently. Try and fix this. Signed-off-by: Richard Purdie --- builders.py | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/builders.py b/builders.py index b46

Re: [yocto] sstate cache and task hash changing with constant base hash

2024-10-04 Thread Richard Purdie
On Fri, 2024-10-04 at 04:59 -0700, philip.dawson via Lists.Yoctoproject.Org wrote: > > Now I think about it, there was a bug recently fixed: > > > > https://git.yoctoproject.org/poky/commit/bitbake?id=c6b883106bc414312e58fe8c682b3ccc1257f114 > > > > it could be that. Do you have that fix in your

Re: [yocto] sstate cache and task hash changing with constant base hash

2024-10-04 Thread Richard Purdie
On Fri, 2024-10-04 at 04:11 -0700, philip.dawson via Lists.Yoctoproject.Org wrote: > > It sounds like you're on the right track but there is a piece of > > information which I can highlight: do_fetch is not an sstate > > accelerated task. > > > > As such, I'd not expect a do_fetch task to come fr

Re: [yocto][meta-mingw][PATCH] oeqa: Set LANG in wine tests

2024-10-30 Thread Richard Purdie
On Wed, 2024-10-30 at 10:02 -0600, Joshua Watt wrote: > On Wed, Oct 30, 2024 at 9:18 AM Steve Sakoman > wrote: > > > > Would it be possible to cherry-pick this commit to the styhead > > branch? > >  I'm seeing the same issue there. > > Yes, that would be a good idea. It's based on the build host

[yocto] [yocto-autobuilder-helper] [PATCH] scripts/run-docs-build: Add support for installing texlive for pdf generation

2024-10-30 Thread Richard Purdie
compromise. Signed-off-by: Richard Purdie --- scripts/run-docs-build | 14 ++ 1 file changed, 14 insertions(+) diff --git a/scripts/run-docs-build b/scripts/run-docs-build index 2e7298e..ad8fece 100755 --- a/scripts/run-docs-build +++ b/scripts/run-docs-build @@ -42,6 +42,20 @@ mkdir

Re: [yocto] Date in version number

2024-10-25 Thread Richard Purdie
On Fri, 2024-10-25 at 08:00 -0700, Daniel Squires via lists.yoctoproject.org wrote: > We have many internal projects that we build as part of our platform. > These are all managed in git repositories. Our recipes therefore all > point at git repositories. > After some internal discussions we have

[yocto] [[styhead] ] config.json: Drop meta-ti, it doesn't support styhead

2024-10-28 Thread Richard Purdie
meta-ti doesn't support styhead so stop testing it there. Signed-off-by: Richard Purdie --- config.json | 6 -- 1 file changed, 6 deletions(-) diff --git a/config.json b/config.json index 6881452..97268b9 100644 --- a/config.json +++ b/config.json @@ -1908,12 +1

[yocto] [yocto-autobuilder2] [PATCH] schedulers: Fix styhead for meta-ti

2024-10-28 Thread Richard Purdie
meta-ti will never have a styhead branch. Have the scheduler point to a valid branch. Signed-off-by: Richard Purdie --- schedulers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedulers.py b/schedulers.py index c678c1d1..b9847c06 100644 --- a/schedulers.py +++ b

Re: [yocto] qemu-system-native fails to build with buildtools and certain host packages installed

2024-11-01 Thread Richard Purdie
On Fri, 2024-11-01 at 00:41 -0700, email via lists.yoctoproject.org wrote: > On Thu, Oct 31, 2024 at 11:44 PM, Richard Purdie wrote: > > > > > On Thu, 2024-10-31 at 15:13 -0700, email via lists.yoctoproject.org > > wrote: > > > Should the recipe for qemu-syste

Re: [yocto] qemu-system-native fails to build with buildtools and certain host packages installed

2024-10-31 Thread Richard Purdie
On Thu, 2024-10-31 at 15:13 -0700, email via lists.yoctoproject.org wrote: > Hi everyone, > > I have stumbled upon a build error when trying to build qemu-system- > native when using buildtools. > I first saw it on an Arch Linux (I know, not supported architecture), > but I have also been able to

Re: [yocto] A very unhelpful message

2024-10-02 Thread Richard Purdie
On Wed, 2024-10-02 at 03:32 +, Duane Ellis via lists.yoctoproject.org wrote: > It’s been reported before: >   > > https://lists.yoctoproject.org/g/yocto/topic/warning_image_fstypes_remove/103013050 >   > The gripe I have is this: >   > It occurs – but bitbake does *NOT* tell or give you a

Re: [OE-core] [yocto] Yocto Project Status WW18`21

2021-05-04 Thread Richard Purdie
On Tue, 2021-05-04 at 18:38 +0200, Alexander Kanavin wrote: > On Tue, 4 May 2021 at 16:46, Stephen Jolley wrote: > > We are pleased to announce that our April 2022 release (potentially 3.5) > > will  > > be the next LTS as per our original two year schedule. If there are > > features  > > desire

Re: [yocto] SSH_AUTH_SOCK unavailable when pulling modules #golang

2021-05-05 Thread Richard Purdie
On Mon, 2021-05-03 at 11:25 -0700, Sven via lists.yoctoproject.org wrote: Hi, I have put together a recipe inheriting from go-mod. This project depends on  > out-of-repo modules that sit in private repos. As long as the SSH key > required  > to pull the requirements is present as a file (under $H

Re: [yocto] Hardknott - pseudo excluded from intercept_scripts

2021-05-06 Thread Richard Purdie
On Wed, 2021-05-05 at 00:56 -0700, Chuck Wolber wrote: > The following code is an effective workaround. It must be added after the > core-image is inherited. > > python () { >      pseudo_ignore_paths = d.getVar('PSEUDO_IGNORE_PATHS') >      result = ','.join([x for x in pseudo_ignore_paths.split

[yocto] [PATCH] config.json: Remove -j option for reproducibility as live output is useful

2021-05-06 Thread Richard Purdie
The -j option has the side effect that the output is cached. For a long running single threaded target, the live output is more useful so switch to it. Signed-off-by: Richard Purdie --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json

[yocto] Next Yocto Project LTS - April 2022

2021-05-06 Thread Richard Purdie
I'm pleased to be able to announce that the project is planning to have the April 2022 release next year be our next LTS release. This fits in with our original announced plan of 2 year cycles and  recognises that the LTS has been well received by members and our  community. It also aligns well wi

Re: [yocto] KeyError: 'getpwuid(): uid not found: 1000' in do_package phase

2021-05-07 Thread Richard Purdie
On Fri, 2021-05-07 at 10:10 +0300, Thomas Hill via lists.yoctoproject.org wrote: > On Thu, 6 May 2021, 13:44 Martin Jansa wrote: > > On Thu, May 6, 2021 at 10:57 AM Thomas Hill via lists.yoctoproject.org > > wrote: > > > Hi Martin! > > > > > On Mon, Nov 16, 2020 at 02:28 PM, Martin Jansa wrote:

[yocto] Open Source Maintainers - An open letter/request

2021-05-10 Thread Richard Purdie
TLDR: The project is seen as mature, employers don't prioritise maintaining things and we're struggling for maintainers and help with day to day work Open source projects survive, not just through development work and  contributions of new features but through a whole load of "unglamorous"  day t

Re: [yocto] [Openembedded-architecture] Open Source Maintainers - An open letter/request

2021-05-10 Thread Richard Purdie
On Mon, 2021-05-10 at 13:52 -0700, akuster808 wrote: > > On 5/10/21 8:14 AM, Richard Purdie wrote: > > I appreciate these are difficult times, both for individuals and for  > > businesses. I'd like to conclude by thanking everyone who does participate > > and contrib

Re: [yocto] esdk issue using hardknott sources #yocto

2021-05-11 Thread Richard Purdie
On Mon, 2021-05-10 at 21:13 -0700, sateesh m wrote: > Hi Guys, > >              I have successfully built core-image-base image using hardknott > sources.  I am trying to build  > sdk & populate_sdk_ext. I have built successfully.but when I running > ./oecore-x86_64-riscv64-toolchain-ext- > nodi

Re: [yocto] FW: Yocto Distro Testing Plan

2021-05-12 Thread Richard Purdie
On Wed, 2021-05-12 at 18:48 +, Kraft, George wrote: > Could someone point me to a wiki on how yocto testing/QA/conformance is done? > The Distro Testing Plan wiki seems outdated, and my inquiry to Jose bounced. The wiki is a bit out of date, sorry. We have been working on  documenting our test

[yocto] [yocto-autobuilder-helper] [PATCH] config.json: Set XZ limits to more reasonable values on autobuilder

2021-05-16 Thread Richard Purdie
The autobuilders have 128GB memory, we don't want them using 50% which is the default, 5% should be enough. Also limit the number of threads down from 48 to something reasonable. This may be partly causing some of our performance issues? Signed-off-by: Richard Purdie --- config.json | 2

Re: [yocto] meta-selinux issues. Depending on what I put in my local.conf, I get boot loops or can't log in.

2021-05-16 Thread Richard Purdie
On Sat, 2021-05-15 at 22:15 -0400, Brian Hutchinson wrote: > > > On Fri, May 14, 2021 at 12:35 AM Yi Zhao wrote: > > > > On 5/14/21 9:40 AM, Brian Hutchinson wrote: > >   > > > Hi, > > > > > > Pretty new to selinux.  I've worked through a lot of issues to get this > > > far but am stumped at

Re: [yocto] Opencv build generates Pseudo Abort

2021-05-17 Thread Richard Purdie
On Mon, 2021-05-17 at 13:25 +0200, Morten Bruun wrote: > Hi, > > When building on the new hardknott branch I often get the error below, so far > the solution is to delete the > tmp directory. Any suggestions? > > debug_logfile: fd 2 > pid 6668 [parent 6667], doing new pid setup and server start

Re: [yocto] Make do_image_complete wait for an earlier task

2021-05-17 Thread Richard Purdie
On Tue, 2021-05-18 at 06:15 +, Mikko Murto wrote: > Hi, > > I've created a task do_create_spdx that gets some data from packages after  > do_package. The task is currently added with `addtask do_create_spdx after  > do_package before do_packagedata` The data is then enriched and combined in  >

Re: VS: [yocto] Make do_image_complete wait for an earlier task

2021-05-18 Thread Richard Purdie
On Tue, 2021-05-18 at 07:09 +, Mikko Murto wrote: > > Lähettäjä: Richard Purdie > > Lähetetty: tiistai 18. toukokuuta 2021 9.57 > > > > On Tue, 2021-05-18 at 06:15 +, Mikko Murto wrote: > > > Hi, > > > > > > I've created

Re: [yocto] [ANNOUNCEMENT] Yocto Project 3.3.1 (hardknott-25.0.1) is Released

2021-05-25 Thread Richard Purdie
On Tue, 2021-05-25 at 12:13 +, Peter Kjellerstedt wrote: > It seems the ”hardknott-25.0.1” tag is missing for meta-gplv2.  > The “yoccto-3.3.1” tag is present. This was deliberate since we've been trying to step away from the  "poky" version numbers, I'm not sure they add much to anything. Is

Re: [yocto] Extensible SDK of core-image-minimal fails to install

2021-06-12 Thread Richard Purdie
On Fri, 2021-06-11 at 22:30 +0200, Hendrik wrote: > I was able to reproduce the error even with plain poky (without kas): > > ```bash > git clone -b dunfell https://git.yoctoproject.org/git/poky > cd poky > source oe-init-build-env > bitbake -c populate_sdk_ext core-image-minimal > ``` > > After

Re: [yocto] [meta-java] icedtea7 fetching error

2021-06-14 Thread Richard Purdie
On Mon, 2021-06-14 at 20:20 +, Richard Leitner - SKIDATA wrote: > On Thu, Jun 10, 2021 at 10:57:46AM +0200, Alexander Kanavin wrote: > > I have the tarball. I think we should toss it somewhere safe and update the > > recipe, as it is unlikely the old mercurial repo is coming back. > > > > Sugg

Re: [yocto] [meta-java] icedtea7 fetching error

2021-06-14 Thread Richard Purdie
On Mon, 2021-06-14 at 21:31 +, Richard Leitner - SKIDATA wrote: > On Mon, Jun 14, 2021 at 09:29:05PM +0100, Richard Purdie wrote: > > On Mon, 2021-06-14 at 20:20 +, Richard Leitner - SKIDATA wrote: > > > On Thu, Jun 10, 2021 at 10:57:46AM +0200, Alexander Kanavin wrote:

Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-06-16 Thread Richard Purdie
On Tue, 2021-06-15 at 17:21 +0200, Alexander Kanavin wrote: > So the memory usage is actually *better* without prelink. And any timing  > benefits are lost in statistical noise, in these tests at least. The numbers certainly don't look convincing, thanks for running the tests. > So I do not thin

Re: [yocto] [PATCH yocto-autobuilder-helper] summarize_top_output.py: add script, use it and publish summary

2021-06-16 Thread Richard Purdie
On Wed, 2021-06-16 at 04:43 -0400, sakib.sa...@windriver.com wrote: > summarize_top_output.py is used to summarize the top > output that is captured during autobuilder intermittent > failures. > > Use the script to summarize the host top output and > publish the summary that is created instead of

Re: [yocto] what's the state of things with pushing the bounds on ASSUME_PROVIDED?

2021-06-25 Thread Richard Purdie
On Thu, 2021-06-24 at 07:50 -0400, Robert P. J. Day wrote: >   i asked about this once upon a time, so i thought i'd follow up ... > given the fairly stable state of recent linux distros, is there any > standard for taking advantage of what *should* be robust native tools > rather than building the

Re: [yocto] The do_populate_sdk is finishing OK even when there are errors present in the build

2021-06-25 Thread Richard Purdie
On Thu, 2021-06-24 at 17:40 -0300, Fabio Berton wrote: > Hi all! > > I'm running some test with do_populate_sdk task and I'm seeing this  > on the log: > > check_data_file_clashes: Package kmsxx-dbg wants to install file > /home/builder/build/tmp/work/foo-poky- > linux/core-image-minimal/1.0-r0/

Re: [yocto] [OE-core] Hardknott (GCC10) Compiler Issues

2021-06-28 Thread Richard Purdie
On Thu, 2021-06-24 at 21:48 -0700, Chuck Wolber wrote: > All, > > Please accept my apologies in advance for the detailed submission. I think  > it is warranted in this case. > > There is something... "odd" about the GCC 10 compiler that is delivered with  > Hardknott. I am still chasing it down,

Re: [Yocto] Launching script at the very end of the image process

2021-06-30 Thread Richard Purdie
On Wed, 2021-06-30 at 09:33 +, Cardaillac, Yann wrote: > I’m switching from buildroot to yocto and trying to figure out how to do the > equivalent of a > POST_BUILD_SCRIPT. >   > Indeed I want to format the images built in a specific format for latter use > and CI needs. In OE, the equivalen

Re: [Yocto] Launching script at the very end of the image process

2021-06-30 Thread Richard Purdie
On Wed, 2021-06-30 at 10:41 +, Cardaillac, Yann wrote: > Hi Richard, > > Many thanks for the fast answer. > > > > I’m switching from buildroot to yocto and trying to figure out how to > > > do the equivalent of a POST_BUILD_SCRIPT. > > > > > > Indeed I want to format the images built in a s

Re: [yocto] [error-report-web][PATCH] report-error.bbclass: Add layer and bitbake version info to error report

2021-07-09 Thread Richard Purdie
On Fri, 2021-07-09 at 10:51 +0530, Milan Shah wrote: > Hello All, > > My Patch has not been reviewed for the past 7 months. Looking forward  > to see some updates on this. > > Please find related links below. > https://lists.yoctoproject.org/g/yocto/message/51891 > https://bugzilla.yoctoproject.o

Re: [yocto] [error-report-web][PATCH] report-error.bbclass: Add layer and bitbake version info to error report

2021-07-09 Thread Richard Purdie
On Fri, 2021-07-09 at 14:07 +0530, Milan Shah wrote: > Well, there was no update on the bug as well as on the patch so I was  > not aware of it. > > Thanks, Richard for responding. I'll definitely follow your suggestion  > next time. We'd normally expect the bug owner to update the status of the

[yocto] [yocto-autobuilder-helper] [PATCH] config.json: Use pregen-hostkeys on all qemu targets

2021-07-13 Thread Richard Purdie
Rather than just ppc/mips, use the pregen-hostkeys on all the qemu targets since this is using a lot of time on the autobuilders when we don't really need to. This should avoid some of the testing failures seen on qemuarm recently. Signed-off-by: Richard Purdie --- config.json

Re: [yocto] Exception: NotADirectoryError building Hardknott

2021-07-18 Thread Richard Purdie
On Sun, 2021-07-18 at 14:01 +1000, Simon Haines wrote: > I can't seem to find any information about this error, but I keep getting > variations of this when building > hardknott: > > Exception: NotADirectoryError: [Errno 20] Not a directory: > '/home/yocto/rpi64/build/tmp/sysroots- > components/

Re: [yocto] [layerindex-web][PATCH 00/15] Upgrade to Django 3.2.5 LTS and Celery 5

2021-07-20 Thread Richard Purdie
On Sun, 2021-07-18 at 16:07 -0700, Tim Orling wrote: > The current code base uses Django 2.2.x which will go out of extended > support in April 2022, but also holds us back from updating a number of > dependencies. > > Update to the current Django 3.2.5 LTS and also the latest Celery 5.1.2. > Cele

[yocto] QA notification for completed autobuilder build (yocto-3.4_M2.rc1)

2021-07-21 Thread Richard Purdie
A build flagged for QA (yocto-3.4_M2.rc1) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.4_M2.rc1 Build hash information: bitbake: 13e2855bff6a6ead6dbd33c5be4b988aafcd4afa meta-arm: 9efa3b5683a5dd7ebbf63ff31b889ed589ff7a9a meta-gpl

Re: [yocto] [PATCH yocto-autobuilder-helper] Enable canary builds for meta-aws[aws-iot-device-sdk-cpp-v2] on x86-64 and arm64.

2021-07-22 Thread Richard Purdie
On Thu, 2021-07-22 at 16:05 -0400, elberger via lists.yoctoproject.org wrote: > Hello, > > What can I do to move this patch along - or did I miss anything?  > Apologies for my ignorance, it's my first time submitting a patch to YP. I can't see the patch in the mailing list archives: https://lis

Re: [yocto] [PATCH yocto-autobuilder-helper] Enable canary builds for meta-aws[aws-iot-device-sdk-cpp-v2] on x86-64 and arm64.

2021-07-25 Thread Richard Purdie
On Thu, 2021-07-22 at 17:29 -0400, elberger via lists.yoctoproject.org wrote: > From: Richard Elberger > > This patch provides the buildbot system to make the aws-iot-device-sdk-cpp-v2. > - build on poky > - meta-openembedded and meta-aws are additional repo dependencies > - build for the two dom

[yocto] [yocto-autobuilder-helper] [PATCH] config.json: Update to use new overrides syntax

2021-07-27 Thread Richard Purdie
To help with the conversion, switch the core configurations to use the new syntax since this allows testing with the new syntax only. Signed-off-by: Richard Purdie --- config.json | 94 ++--- 1 file changed, 47 insertions(+), 47 deletions(-) diff

[yocto] QA notification for completed autobuilder build (yocto-3.3.2.rc2)

2021-07-27 Thread Richard Purdie
A build flagged for QA (yocto-3.3.2.rc2) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.3.2.rc2 Build hash information: bitbake: 731fb52eb03338c0bdb2a2256c22c64c22bcbace meta-agl: ee397d099bf5db91f14f357f874a0fb074208fbe meta-arm:

[yocto] QA notification for completed autobuilder build (yocto-3.1.10.rc1)

2021-07-27 Thread Richard Purdie
A build flagged for QA (yocto-3.1.10.rc1) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.1.10.rc1 Build hash information: bitbake: 0e0af15b84e07e6763300dcd092b980086b9b9c4 meta-agl: 68c0029602e539d005c33b6c36baa32e34bf67bf meta-arm

[yocto] [meta-mingw] [PATCH 3/3] layer.conf: Mark the layer as compatible with honister

2021-07-29 Thread Richard Purdie
Signed-off-by: Richard Purdie --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 194a55d..5fefa73 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -10,4 +10,4 @@ BBFILE_PRIORITY_meta-mingw = &q

[yocto] [meta-mingw] [PATCH 2/3] meta-mingw: Override syntax conversion manual fixes

2021-07-29 Thread Richard Purdie
Fix a coupld of mis-converted lines from the automated override conversion script. Signed-off-by: Richard Purdie --- recipes-devtools/gcc/gcc-runtime_%.bbappend | 4 ++-- recipes-graphics/wayland/wayland_%.bbappend | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes

[yocto] [meta-mingw] [PATCH 1/3] meta-mingw: Convert to new override syntax

2021-07-29 Thread Richard Purdie
This converts the two layers to the new override syntax. This was done using /scripts/contrib/convert-overrides.py Signed-off-by: Richard Purdie --- classes/toolchain-scripts-mingw32.bbclass | 8 +++--- conf/machine-sdk/include/mingw32-common.inc | 26 +-- recipes-core

[yocto] [meta-gplv2] [PATCH 2/3] meta-gplv2: Convert to new override syntax

2021-07-29 Thread Richard Purdie
This converts the layer to the new override syntax. This was done using /scripts/contrib/convert-overrides.py with no manual fixes. Signed-off-by: Richard Purdie --- conf/distro/include/disable-gplv3.inc | 4 +-- recipes-bsp/grub/grub_0.97.bb | 4 +-- recipes-core

[yocto] [meta-gplv2] [PATCH 3/3] layer.conf: Update to honister

2021-07-29 Thread Richard Purdie
This marks the layers as compatible with honister now they use the new override syntax. Signed-off-by: Richard Purdie --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 9fc797a..3abe6b5 100644 --- a/conf/layer.conf

[yocto] [meta-gplv2] [PATCH 1/3] recipes: Drop libc-uclibc overrides and patch

2021-07-29 Thread Richard Purdie
These haven't been used for a long time and can therefore be removed. Signed-off-by: Richard Purdie --- recipes-core/gettext/gettext_0.16.1.bb| 8 -- .../uclibc-support-for-elfutils-0.148.patch | 91 --- recipes-devtools/elfutils/elfutils_0.148.bb | 9 +- re

Re: [yocto] New Override Syntax

2021-08-10 Thread Richard Purdie
On Tue, 2021-08-10 at 17:51 +, Darcy Watkins wrote: > My apologies. I don't think I made my question clear. I am asking about the  > compatibility of old style override syntax moving forward (and new style > syntax > in old versions). > > So if I continue using the old style override syntax

Re: [yocto] New Override Syntax

2021-08-11 Thread Richard Purdie
On Wed, 2021-08-11 at 10:18 +0200, Michael Opdenacker wrote: > Hi Richard, > > On 8/10/21 10:21 PM, Richard Purdie wrote: > > On Tue, 2021-08-10 at 17:51 +, Darcy Watkins wrote: > > > My apologies. I don't think I made my question clear. I am asking about >

Re: [yocto] Weird bitbake generation behavior

2021-08-18 Thread Richard Purdie
On Wed, 2021-08-18 at 06:23 +, Frans Meulenbroeks via lists.yoctoproject.org wrote: > Hi, > > I share an sstate-cache with my fellow developers and I was assessing why > sometimes things got rebuild even > though I did not expect this. > One of the things I discovered was that we had two ver

[yocto] [meta-gplv2] [PATCH 1/2] layer.conf: Set elfutils version correctly

2021-08-19 Thread Richard Purdie
We need to set PREFERRED_VERSION for elfutils or the wrong one will be used. Signed-off-by: Richard Purdie --- conf/layer.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/layer.conf b/conf/layer.conf index 3abe6b5..b0915d4 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,5

[yocto] [meta-gplv2] [PATCH 2/2] elfutils: Work around reproducibility issue

2021-08-19 Thread Richard Purdie
The version in this layer doesn't reproduce, so disable the warnings/errors and allow it to build. Signed-off-by: Richard Purdie --- recipes-devtools/elfutils/elfutils_0.148.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-devtools/elfutils/elfutils_0.148.bb b/recipes-dev

Re: [yocto] [meta-mingw] [PATCH] grpc: remove nl2 requirement since it is optional

2021-08-21 Thread Richard Purdie
On Fri, 2021-08-20 at 20:46 +, Sinan Kaya wrote: > Signed-off-by: Sinan Kaya > --- > .../openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git > a/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend > b/dyn

[yocto] QA notification for completed autobuilder build (yocto-3.4_M3.rc1)

2021-09-04 Thread Richard Purdie
A build flagged for QA (yocto-3.4_M3.rc1) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.4_M3.rc1 Build hash information: bitbake: 0a11696e0898c3c5108e6d7c5ad28da50e00ea66 meta-agl: 60344efa7a50dc2548fc4b5d68b5ad4d60c4023a meta-arm:

[yocto] QA notification for completed autobuilder build (yocto-3.3.3.rc1)

2021-09-04 Thread Richard Purdie
A build flagged for QA (yocto-3.3.3.rc1) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.3.3.rc1 Build hash information: bitbake: 9b2d96b27f550da0fa68ba9ea96be98eb3a832a6 meta-agl: 60344efa7a50dc2548fc4b5d68b5ad4d60c4023a meta-arm: b

Re: [yocto] [PATCH v2] bitbake/fetch2: Add a new variable 'BB_FETCH_ENV' to export Fetcher env

2021-09-06 Thread Richard Purdie
Hi, Thanks for the patch. This isn't ready to be merged yet though as there are some issues. On Mon, 2021-08-23 at 15:18 +0800, jiladahe1...@gmail.com wrote: > From 1b0d7b4bb4a5b39f7ae0ce7d7ae5897a33637972 Mon Sep 17 00:00:00 2001 > From: Mingrui Ren > Date: Mon, 23 Aug 2021 14:49:03 +0800 > Sub

Re: [yocto] [poky] Poky:dunfell: SDK install issue (sed: -e expression #1, char 0: no previous regular expression)

2021-09-07 Thread Richard Purdie
On Tue, 2021-09-07 at 06:10 +, Groeting, Claus wrote: > Hi all! > > I have a problem with this commit, applied in poky:dunfell on file toolchain- > shar-relocate.sh. > sha1: d6f40be29bf56a835f5825692a22365f04aeb6c3 > > Author: hongxu  2021-08-10 15:33:56 > Committe

[yocto] QA notification for completed autobuilder build (yocto-3.3.3.rc2)

2021-09-09 Thread Richard Purdie
A build flagged for QA (yocto-3.3.3.rc2) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.3.3.rc2 Build hash information: bitbake: c7b506d11df78cfc4610db6578745eaa6220b13a meta-agl: 60344efa7a50dc2548fc4b5d68b5ad4d60c4023a meta-arm: b

Re: [yocto] Sharing sstate cache across build nodes

2021-09-11 Thread Richard Purdie
On Fri, 2021-09-10 at 11:16 -0600, Rusty Howell wrote: > We are having a problem with the PR server resetting the PR number it is > returning for a given package/arch/checksum.  Our setup is as follows:  We > have multiple linux servers being used as build nodes. Each node can build any > one of fo

Re: [yocto] [yocto-autobuilder2][PATCH] add prioritizeBuilders

2021-09-11 Thread Richard Purdie
On Thu, 2021-09-09 at 09:10 -0400, Trevor Gamblin wrote: > This prioritizeBuilders function sorts builders by the length of their > associated worker lists, so that builders that can only be assigned to a > small number of workers are assigned to those workers before other > builds that don't have

Re: [yocto] [yocto-autobuilder2][PATCH] add prioritizeBuilders

2021-09-11 Thread Richard Purdie
On Sat, 2021-09-11 at 14:07 +0100, Richard Purdie via lists.yoctoproject.org wrote: > On Thu, 2021-09-09 at 09:10 -0400, Trevor Gamblin wrote: > > This prioritizeBuilders function sorts builders by the length of their > > associated worker lists, so that builders that can only b

[yocto] QA notification for completed autobuilder build (yocto-3.1.11.rc1)

2021-09-15 Thread Richard Purdie
A build flagged for QA (yocto-3.1.11.rc1) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.1.11.rc1 Build hash information: bitbake: c2a3bda3a29e12472ef7862e424ea1552fab2959 meta-agl: 60344efa7a50dc2548fc4b5d68b5ad4d60c4023a meta-arm:

[yocto] QA notification for completed autobuilder build (yocto-3.1.11.rc2)

2021-09-15 Thread Richard Purdie
A build flagged for QA (yocto-3.1.11.rc2) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.1.11.rc2 Build hash information: bitbake: c2a3bda3a29e12472ef7862e424ea1552fab2959 meta-agl: 60344efa7a50dc2548fc4b5d68b5ad4d60c4023a meta-arm:

Re: [yocto] [ptest-runner][PATCH 3/3] utils.c: add system data collection when a test gets stuck.

2021-09-16 Thread Richard Purdie
On Thu, 2021-09-16 at 14:46 +0200, Alexander Kanavin wrote: > Currently, ptest-runner simply kills the offending test without further ado, > which is not at all helpful when trying to figure out why it happens > (especially if such hangs are intermittent and rare). There's now a script > that gets

Re: [yocto] [PATCH yocto-autobuilder-helper] scripts/collect-results: copy everything out of tmp/log/oeqa

2021-09-19 Thread Richard Purdie
On Fri, 2021-09-17 at 15:38 +0200, Alexander Kanavin wrote: > There are additional logs there (such as task log or qemu > console output), which can be useful for debugging test failures. > > [YOCTO #14518] > > Signed-off-by: Alexander Kanavin > --- > scripts/collect-results | 8 +++- > 1 f

Re: [yocto] Switch to a different Python3 version

2021-09-21 Thread Richard Purdie
On Tue, 2021-09-21 at 20:00 +, Lijun Chen wrote: > Hi, > > Currently we are building a Yocto image based on Hardknott release, which > includes python 3.9.4. Due to a App constraint, we have to downgrade Python3 > to 3.8. I tried copying over 3.8.5 bb file andassociated poky/meta/recipes- > de

Re: [yocto] Permission denied with NFS shared download and sstate-cache

2021-09-22 Thread Richard Purdie
On Wed, 2021-09-22 at 09:51 -0700, Khem Raj wrote: > On Wed, Sep 22, 2021 at 9:47 AM Bel Hadj Salem Talel > wrote: > > > > Hi All, > > > > I have a server that's holding downloads and sstate-cache. > > > > I have a docker-compose file with nfs server that exposes the > > dowloads/sstate-cache

Re: [yocto] Minutes: Yocto Project Weekly Triage Meeting 9/23/2021

2021-09-23 Thread Richard Purdie
On Thu, 2021-09-23 at 11:40 -0400, Trevor Gamblin wrote: > Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage > Attendees: Alex, Bruce, Kiran, Randy, Richard, Ross, Saul, Stephen, Steve, > Trevor > ARs: > - Steve to review failure logs for 14557 and post any that might be useful > - Richard to hav

Re: [yocto] Shared lib symlinks in target image

2021-10-04 Thread Richard Purdie
On Sun, 2021-10-03 at 01:55 +, Lijun Chen wrote: > Hi, > > When I build a yocto image, I added some packages into IMAGE_INSTALL, such as > boost, thrift, etc. I notice in the target OS image, the shared libs don't the > symlinks. But in the SDK image, the symlinks are there. For example, > lrw

[yocto] QA notification for completed autobuilder build (yocto-3.4.rc1)

2021-10-11 Thread Richard Purdie
A build flagged for QA (yocto-3.4.rc1) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.4.rc1 Build hash information: bitbake: c78ebac71ec976fdf27ea24767057882870f5c60 meta-agl: 228ecc1dec390138c44299d1c244acda9ad75ce1 meta-arm: 9819

Re: [yocto] [PATCH yocto-autobuilder-helper] scripts/collect-results: publish everything in tmp/log/oeqa/

2021-10-14 Thread Richard Purdie
On Wed, 2021-10-13 at 18:18 +0200, Alexander Kanavin wrote: > From: Alexander Kanavin > > In addition to the testresult json, testimage class now also > provides the testimage task log and qemu console output log > which can be useful for debugging test failures or > even checking qemu test runs

Re: [yocto] SRC_URI Directory Change

2021-10-15 Thread Richard Purdie
On Fri, 2021-10-15 at 03:03 -0700, Chuck Wolber wrote: > Is there a recommended strategy to get do_fetch to invalidate on directory > path changes in paths pointed to by file:// URLs in SRC_URI? > > Example: > > SRC_URI += "file://src;subdir=${S}" > > A file at src/foo/bar/baz is recognized just

[yocto] Yocto Project Status WW42`21

2021-10-19 Thread Richard Purdie
Current Dev Position: YP 3.4 M4 Next Deadline: 29th Oct. 2021 YP 3.4 M4 release Next Team Meetings: * Bug Triage meeting Thursday Oct. 21st at 7:30am PDT (https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09) * Monthly Project Meeting Tuesday Nov. 2nd at 8am PDT (https://zoom.u

Re: [yocto] dunfell: pkgconfig-native build fails in existing Yocto BSP

2021-10-25 Thread Richard Purdie
On Mon, 2021-10-25 at 06:50 +, Matthias Klein wrote: > Hello, > > our dunfell based yocto no longer builds in the pkgconfig-native section. I > tried it in an Ubuntu 18.04 and Debian 10 Docker container. > The build always aborts as follows: > > checking thread related cflags... -D_REENTRANT

Re: [yocto] [Automated-testing] BusyBox pTest failure

2021-10-27 Thread Richard Purdie
On Wed, 2021-10-27 at 16:22 +0530, rpal...@codeaurora.org wrote: > Hi, > We are executing busybox pTests and we see that the test case execution > stops at md5sum test case. > We analyzed and see that the execution gets stuck here at Line no 29. >   > Below are the relevant code lines: > Line

Re: [yocto] Minutes: Yocto Project Weekly Triage Meeting 10/28/2021

2021-10-29 Thread Richard Purdie
On Thu, 2021-10-28 at 11:32 -0400, Trevor Gamblin wrote: > Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage > Attendees: Alexandre, Anuj, Armin, Joshua, Kiran, Randy, Richard, Saul, > Stephen, Steve, Tim, Trevor > ARs: > - Everyone to review Old Milestone bugs and move to 3.5 milestones as > nec

Re: [yocto] [yocto-autobuilder2][PATCH] builders.py: Add canStartBuild disk space check

2021-10-30 Thread Richard Purdie
On Fri, 2021-10-29 at 09:22 -0400, Trevor Gamblin wrote: > We need a way to limit the builds for when a given worker has less than > a certain amount of disk space available. This implements a > canStartBuild method based on the example in the Buildbot docs and > blocks a build if the worker has le

Re: [yocto] [yocto-autobuilder2][PATCH] builders.py: subtract builder weight instead of add

2021-10-30 Thread Richard Purdie
On Fri, 2021-10-29 at 11:39 -0400, Trevor Gamblin wrote: > Signed-off-by: Trevor Gamblin > --- > builders.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/builders.py b/builders.py > index f94d1dd..fc92e36 100644 > --- a/builders.py > +++ b/builders.py > @@ -168,7 +168

[yocto] [yocto-autobuilder2] [PATCH] builders: Fix quarantine handling

2021-10-30 Thread Richard Purdie
The way the canStartBuild code was written, it inserted a delay between each build starting of 2 minutes unconditionally. We only want to do this if the worker had run out of space so tweak the code accordingly. Signed-off-by: Richard Purdie --- builders.py | 15 --- 1 file changed

[yocto] [yocto-autobuilder-helper] [PATCH 3/4] prepare-shared-repo/utils: Limit HEAD clones to shallow depth to save time/space

2021-10-31 Thread Richard Purdie
n non-HEAD revision case but that isn't a commonly used situation. Signed-off-by: Richard Purdie --- scripts/prepare-shared-repos | 2 +- scripts/utils.py | 18 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/scripts/prepare-shared-repos b/scrip

[yocto] [yocto-autobuilder-helper] [PATCH 2/4] prepare-shared-repos: Make it clear when rsync starts in logs

2021-10-31 Thread Richard Purdie
Signed-off-by: Richard Purdie --- scripts/prepare-shared-repos | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/prepare-shared-repos b/scripts/prepare-shared-repos index 1573f85..c221e69 100755 --- a/scripts/prepare-shared-repos +++ b/scripts/prepare-shared-repos @@ -39,4 +39,5

[yocto] [yocto-autobuilder-helper] [PATCH 1/4] scripts/prepare-shared-repos: Use tmpfs for speed

2021-10-31 Thread Richard Purdie
Signed-off-by: Richard Purdie --- scripts/prepare-shared-repos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare-shared-repos b/scripts/prepare-shared-repos index 8400d09..1573f85 100755 --- a/scripts/prepare-shared-repos +++ b/scripts/prepare-shared-repos

[yocto] [yocto-autobuilder-helper] [PATCH 4/4] shared-repos: Use tar instead of rsync for speed

2021-10-31 Thread Richard Purdie
, it takes 2.49s. Other compression methods were much slower but zstd seems 'accptable' and speeds things up too. Signed-off-by: Richard Purdie --- scripts/prepare-shared-repos | 4 ++-- scripts/send-qa-email| 6 -- scripts/shared-repo-unpack | 5 ++--- 3 files changed, 8

Re: [yocto] Specified SDKMACHINE value is not valid

2021-11-01 Thread Richard Purdie
On Mon, 2021-11-01 at 21:50 +0100, Josef Holzmayr wrote: > (re-adding list as I messed up) > > Am Mo., 1. Nov. 2021 um 21:45 Uhr schrieb jchludzinski > : > > > > I want to build this image for a Raspberry Pi, which means ARM. > > MACHINE = "raspberrypi3" > (for example, pick your specific one li

[yocto] QA notification for completed autobuilder build (yocto-3.3.4.rc1)

2021-11-05 Thread Richard Purdie
A build flagged for QA (yocto-3.3.4.rc1) was completed on the autobuilder and is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.3.4.rc1 Build hash information: bitbake: 0fe1a9e2d2e33f80d807cefc7a23df4a5f760c74 meta-agl: d997986f27e239400cf01e0cdef942cee278ea66 meta-arm: 7

Re: [yocto] SRC_URI Directory Change

2021-11-08 Thread Richard Purdie
On Sun, 2021-10-17 at 14:59 -0700, Chuck Wolber wrote: > > > On Fri, Oct 15, 2021 at 6:58 AM Richard Purdie > wrote: > > > > I have a bit of a horrible idea to do this in master-next which does solve > > the > > problem. We probably need a new bitbake selfte

Re: [yocto] Yocto suddenly creating directories with 700 instead 755.

2021-11-11 Thread Richard Purdie
On Thu, 2021-11-11 at 17:10 +0100, Manuel Wagesreither wrote: > tl;dr: > If recipes install directories with `install -d path/to/dir`, how is the > default > mode determined? What can cause it suddenly (that is, without updating > metalayers or similar) to change from 755 to 700? You don't mentio

  1   2   3   4   5   6   7   8   >