Re: [yocto] Yocto Project Status WW18`21

2021-05-04 Thread Alexander Kanavin
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 desired in the next LTS, now is the time to get them submitted and > stabilized ready

[yocto] [PATCH yocto-autobuilder-helper] config.json: do not add separate gdk-pixbuf jpg/png modules to images

2021-05-05 Thread Alexander Kanavin
JPG/PNG have become builtin in gdk-pixbuf 2.42.x (other formats are still external). Signed-off-by: Alexander Kanavin --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 52f39ef..3e12d3f 100644 --- a/config.json +++ b

[yocto] [PATCH yocto-autobuilder-helper 1/4] config.json: transition ptests to weston-based images

2021-05-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index 6533dab..c122412 100644 --- a/config.json +++ b/config.json @@ -93,16 +93,16 @@ }, "ptest

[yocto] [PATCH yocto-autobuilder-helper 2/4] config.json: replace core-image-sato with core-image-weston

2021-05-10 Thread Alexander Kanavin
. Weston is built with x11 support enabled via xwayland, so x11 bits continue do be built and exercised in tests and SDKs; for testing core-image-sato as a whole a separate target will be added next. Signed-off-by: Alexander Kanavin --- config.json | 176

[yocto] [PATCH yocto-autobuilder-helper 3/4] config.json: pam is required when weston starts under systemd

2021-05-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index ef1637e..72b7af2 100644 --- a/config.json +++ b/config.json @@ -998,7 +998,7 @@ "BBTARGETS" : "co

[yocto] [PATCH yocto-autobuilder-helper 4/4] config.json: add a target to test standalone X11 image

2021-05-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 14 ++ 1 file changed, 14 insertions(+) diff --git a/config.json b/config.json index 72b7af2..8a98c30 100644 --- a/config.json +++ b/config.json @@ -752,6 +752,20 @@ ] } }, +"onl

[yocto] [PATCH yocto-autobuilder-helper] config.json: transition ptests to minimal-based images

2021-05-26 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index cf62815..a850dd6 100644 --- a/config.json +++ b/config.json @@ -95,16 +95,16 @@ }, "ptest

[yocto] [PATCH yocto-autobuilder-helper] config.json: transition ptests to minimal-based images

2021-05-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- config.json | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index cf62815..2ccd24a 100644 --- a/config.json +++ b/config.json @@ -95,16 +95,16 @@ }, "ptest

Re: [yocto][poky][master][PATCH} VirGL: depends on virtual/gbm

2021-05-28 Thread Alexander Kanavin
Thanks, it took me a moment to understand that this still does not mean that nvidia supports gbm somehow, somewhere, but rather that virgl needs to be explicit about needing gbm. The patch should be going to the oe-core list. Alex On Fri, 28 May 2021 at 21:16, Joel Winarske wrote: > > This add

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

2021-06-10 Thread Alexander Kanavin
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. Suggestions? Alex On Tue, 8 Jun 2021 at 08:10, wrote: > Hello, > > > I am trying to build something that relies on meta-java, but it fails on > do_fetch

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

2021-06-11 Thread Alexander Kanavin
I have reconfigured our build system to use an internal server via bbappend: ICEDTEA_HG_URL = "https://internal.artifact.server/icedtea/"; placed all the tarballs there according to expected locations, and it works just fine. Alex On Fri, 11 Jun 2021 at 12:44, wrote: > I have also the tarball

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

2021-06-14 Thread Alexander Kanavin
On Mon, 14 Jun 2021 at 23:31, Richard Leitner - SKIDATA < richard.leit...@skidata.com> wrote: > Thank you very much Richard! > The openjdk8 tarballs are now hosted at > https://downloads.yoctoproject.org/mirror/sources/ > with their local download names. > > Unfortunately I currently don't have th

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

2021-06-15 Thread Alexander Kanavin
On Tue, 15 Jun 2021 at 10:55, Alexander Kanavin wrote: > On Tue, 15 Jun 2021 at 10:48, Richard Purdie < > richard.pur...@linuxfoundation.org> wrote: > >> I appreciate the desire simply to delete/disable anything that causes >> issues >> but in this case I draw

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

2021-06-16 Thread Alexander Kanavin
On Wed, 16 Jun 2021 at 11:11, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > What makes me sad is that this is an embedded focused feature which > the project should be caring about, i.e. memory footprint and speed. > I don't know why the numbers don't show it, Mark and I have theor

Re: [yocto] [meta-intel]: support for NUC11

2021-06-16 Thread Alexander Kanavin
On Wed, 16 Jun 2021 at 16:58, simon wrote: > - There's a warning about not finding the IRIS driver: > MESA_LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open > shared object file: No such file or directory > failed to load driver: iris > > But from what I was able to understand, I

Re: [yocto] the downside of parallelism

2021-06-20 Thread Alexander Kanavin
This is hardly Yocto's fault: putting a 6 core CPU into a laptop should be validated by saturating all cores for several hours and ensuring the cooling and frequency throttling can handle it. Laptop OEM is trying to be cheap I'd say. Alex On Sun, 20 Jun 2021 at 11:55, Robert P. J. Day wrote: >

Re: [yocto] [yocto-autobuilder-helper][PATCH] config.json: track system load with PARALLEL_MAKE

2021-07-12 Thread Alexander Kanavin
I seem to vaguely remember that -l is not actually taking a percentage, but an absolute value that is specific to the amount of CPU cores a system has. Have you verified your assumption? Alex On Mon, 12 Jul 2021 at 14:11, Trevor Gamblin wrote: > This adds the "-l" option to PARALLEL_MAKE in con

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

2021-07-22 Thread Alexander Kanavin
PIE is nowadays more or less the only available option and is expected for improved security; Yocto does not even test non-PIE builds or provide an off the shelf way to turn it off. I also have to note that prelink does show higher RAM consumption in your tests as well (MemFree column). On the con

[yocto] [PATCH yocto-autobuilder-helper] auh-config: enable systemd only for glibc

2021-07-25 Thread Alexander Kanavin
It is not guaranteed to build or work otherwise, and causes update failures in unrelated recipes when building for musl for instance. Signed-off-by: Alexander Kanavin --- scripts/auh-config/local.conf.append | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/auh

Re: [yocto] Auto upgrade helper Verification requirements #gstreamer #iso #yocto

2021-08-03 Thread Alexander Kanavin
I think it is better if you start with devtool (which is the utility that AUH is using to perform the updates). The workflow is as follows: $ devtool upgrade recipe-name additional-options (fix any issues) $ devtool finish python3 path/to/layer/ additional-options Please check the available optio

Re: [yocto] Hardknott support level

2021-08-03 Thread Alexander Kanavin
Hardknott will not become an LTS version, and will be maintained for 7 months, per https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS (all of it worth reading). The current plan is that Kirkstone will be the next LTS release (there's an LTS release every two years). My recommendation is to

Re: [yocto] Unable to add gdbserver to the Yocto build #yocto

2021-08-12 Thread Alexander Kanavin
What happens when you 'bitbake gdb'? Alex On Thu, 12 Aug 2021 at 16:28, wrote: > > I added the following to EXTRA_IMAGE_FEATURES inside my local.conf, > > > EXTRA_IMAGE_FEATURES = "debug-tweaks tools-debug" > PACKAGECONFIG_remove_pn-gdb = "readline" > > > I also tried to add the gdbserver packa

Re: [yocto] Unable to add gdbserver to the Yocto build #yocto

2021-08-12 Thread Alexander Kanavin
Aug 2021 at 17:24, Ashutosh Naik wrote: > HI Alexander, > > Thanks for your email. > > The 'bitbake gdb' runs through successfully. However, I still get the > error for gdbserver when running 'bitbake machine-image' > > Thanks > Ash > > On Th

Re: [yocto] Unable to add gdbserver to the Yocto build #yocto

2021-08-13 Thread Alexander Kanavin
Thud has not been supported for a very long time actually. To really find out what is happening, it would help if you make an archive of tmp/work/../gdb/ and put it somewhere for inspection. Alex On Fri, 13 Aug 2021 at 13:32, Ashutosh Naik wrote: > > > On Fri, Aug 13, 2021 at 2:16 AM Khem Raj

[yocto] [PATCH yocto-autobuilder-helper 1/2] auh-config: enable systemd only for glibc

2021-08-14 Thread Alexander Kanavin
It is not guaranteed to build or work otherwise, and causes update failures in unrelated recipes when building for musl for instance. Signed-off-by: Alexander Kanavin --- scripts/auh-config/local.conf.append | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/auh

[yocto] [PATCH yocto-autobuilder-helper 2/2] auh-config: adjust to new override syntax

2021-08-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- scripts/auh-config/local.conf.append | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/auh-config/local.conf.append b/scripts/auh-config/local.conf.append index 417d228..25c062b 100644 --- a/scripts/auh-config/local.conf.append

Re: [yocto] [PATCH yocto-autobuilder-helper 1/2] auh-config: enable systemd only for glibc

2021-08-15 Thread Alexander Kanavin
On Sun, 15 Aug 2021 at 03:30, Khem Raj wrote: > > Please report the problems to mailing list and we can try to help if > they do not work with musl. We do support systemd/musl combination and > try to keep it working > this will limit testing this combination. > This change is prompted by the re

Re: [yocto] downgrade openssl libraryes

2021-08-30 Thread Alexander Kanavin
openssl 1.0.2 went out of support at the end of 2019 and you should not be using it. What is the problem you need to solve? Alex On Mon, 30 Aug 2021 at 15:33, Ivan Riabtsov wrote: > hello i am trying to rollback openssl version from 1.1.1i to 1.0.2j. > Copied the recipe openssl_1.1.1i.bb to ope

Re: [yocto] task do_patch does not exist

2021-09-02 Thread Alexander Kanavin
I think you need to move the recipe from a workspace to the layer first with 'devtool finish'. When the recipe is in a workspace, it's taking the source code from the workspace as well, and additional patches aren't used. Alex On Thu, 2 Sept 2021 at 10:10, Ivan Riabtsov wrote: > Hello. I create

Re: [yocto] Building Yocto on AWS container getting ERROR: The postinstall intercept hook 'update_icon_cache' failed, #yocto

2021-09-07 Thread Alexander Kanavin
It's right there at the very end: NOTE: Exit code 127. Output: /home/wlsom/YoctoCode/poky/build-microchip/tmp/work/sama5d27_wlsom1_ek_sd-poky-linux-gnueabi/utec-mcdgrill-image/1.0-r0/intercept_scripts-7f1ca27092c337bb8d06dfe7837dad99a9fb3e5e5ff266e8ce34762c23025acb/update_icon_cache: 9: /home/wlsom

[yocto] [ptest-runner] tests/utils.c: fix a memory corruption in find_word

2021-09-15 Thread Alexander Kanavin
I also took the opportunity to correct a weird API that returns a result (or not), depending on some internal condition. Signed-off-by: Alexander Kanavin --- tests/utils.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/tests/utils.c b

[yocto] [ptest-runner][PATCH 1/3] tests/utils.c: fix a memory corruption in find_word

2021-09-16 Thread Alexander Kanavin
I also took the opportunity to correct a weird API that returns a result (or not), depending on some internal condition. Signed-off-by: Alexander Kanavin --- tests/utils.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/tests/utils.c b

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

2021-09-16 Thread Alexander Kanavin
in it are welcome. Signed-off-by: Alexander Kanavin --- Makefile | 2 +- ptest-runner-collect-system-data | 5 + utils.c | 24 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100755 ptest-runner-collect-s

[yocto] [ptest-runner][PATCH 2/3] utils.c: handle test timeouts directly with poll()

2021-09-16 Thread Alexander Kanavin
all system data). Signed-off-by: Alexander Kanavin --- utils.c | 34 ++ 1 file changed, 10 insertions(+), 24 deletions(-) diff --git a/utils.c b/utils.c index 128ff61..58c3aa1 100644 --- a/utils.c +++ b/utils.c @@ -51,7 +51,6 @@ #include "util

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

2021-09-16 Thread Alexander Kanavin
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/commit/?h=contrib/akanavin/misc-fixes&id=19b88d68cf556cf5f9af50f5f3bacbd8b4180b4f Alex On Thu, 16 Sept 2021 at 18:18, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Thu, 2021-09-16 at 14:46 +0200,

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

2021-09-17 Thread Alexander Kanavin
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 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/collect

[yocto] [ptest-runner][PATCH 2/3] utils.c: handle test timeouts directly with poll()

2021-09-17 Thread Alexander Kanavin
all system data). Signed-off-by: Alexander Kanavin --- utils.c | 34 ++ 1 file changed, 10 insertions(+), 24 deletions(-) diff --git a/utils.c b/utils.c index 128ff61..58c3aa1 100644 --- a/utils.c +++ b/utils.c @@ -51,7 +51,6 @@ #include "util

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

2021-09-17 Thread Alexander Kanavin
in it are welcome. Signed-off-by: Alexander Kanavin --- Makefile | 2 +- ptest-runner-collect-system-data | 6 ++ utils.c | 24 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100755 ptest-runner-collect-s

[yocto] [ptest-runner][PATCH 1/3] tests/utils.c: fix a memory corruption in find_word

2021-09-17 Thread Alexander Kanavin
I also took the opportunity to correct a weird API that returns a result (or not), depending on some internal condition. Signed-off-by: Alexander Kanavin --- tests/utils.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/tests/utils.c b

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

2021-09-19 Thread Alexander Kanavin
irectories would simply show up e.g. here: https://autobuilder.yocto.io/pub/non-release/20210614-15/testresults/no-x11/ Alex On Sun, 19 Sept 2021 at 12:37, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2021-09-17 at 15:38 +0200, Alexander Kanavin wrote: > >

Re: [yocto] [PATCH v2 ptest-runner 2/2] main: Do not return number of failed tests when calling ptest-runner

2021-09-20 Thread Alexander Kanavin
I think we might be having an 'unresponsive maintainer' situation? How can Anibal be reached? Alex On Mon, 20 Sept 2021 at 11:19, ?ukasz Majewski wrote: > Hi Anibal, > > > Hi Anibal, > > > > > Up till now ptest-runner2 returns number of failed tests with its > > > exit status code. Such use cas

Re: [yocto] Switch to a different Python3 version

2021-09-21 Thread Alexander Kanavin
The best way is to fix the app. Such major downgrades are firmly uncharted territory, and aren't supported. If you have errors, you need to figure out yourself how to fix them - but if you provide the logs, we can try to help. Alex On Tue, 21 Sept 2021 at 22:00, Lijun Chen wrote: > Hi, > > > Cu

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

2021-09-22 Thread Alexander Kanavin
From: Alexander Kanavin In addition to the testresult json, testimage class now also provides task logs and qemu console output (splitted into folders by image name to avoid clutter), which can be useful for debugging test failures or even checking qemu test runs when failures did not happen

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

2021-09-23 Thread Alexander Kanavin
quot;. > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am --abort". > ... > > Regards, > Anibal > > On Thu, 16 Sept 2021 at 07:46, Alexander Kanavin > wrote: > >> Currentl

Re: [yocto] Cross-compiling or compiling on target VM?

2021-09-24 Thread Alexander Kanavin
Yocto has built-in qemu targets for this purpose, and associated infrastructure to start qemu VMs and run tests in them. But to make it practical, these qemu images need to be started on a baremetal Linux machine. So I'd suggest you start by giving all your developers Linux laptops. Alex On Fri,

Re: [yocto] Gtk+3 applications are missing icons.

2021-09-26 Thread Alexander Kanavin
The icons are typically provided by adwaita-icon-theme, so you need to check whether that package is installed, and then whether it's missing something. strace may help so you see what files are the demos trying to open. Alex On Sun, 26 Sept 2021 at 00:58, Manuel Wagesreither wrote: > Hello all

Re: [yocto] [PATCH v2 ptest-runner 2/2] main: Do not return number of failed tests when calling ptest-runner

2021-09-27 Thread Alexander Kanavin
I think they're already in git? Alex On Mon, 27 Sept 2021 at 10:09, Lukasz Majewski wrote: > Hi Alexander, > > > I think we might be having an 'unresponsive maintainer' situation? > > How can Anibal be reached? > > I saw recenlty your patches on this topic. Is there a chance that > Anibal will

Re: [yocto] Both x86 and ARM binaries in building phase

2021-09-30 Thread Alexander Kanavin
The SDKs are designed around having a single toolchain and sysroot, so the answer is no. You need to make two SDKs from two build trees. Alex On Thu, 30 Sept 2021 at 14:59, wrote: > Hi, > > I'm quite new with yocto project and i did not find the answer from > manual. Currently I have project, w

Re: [yocto] How to enable graphics acceleration on qemux86-64?

2021-10-08 Thread Alexander Kanavin
Something in your custom setup disables opengl in qemu-system-native. Can you try core-image-weston with plain poky only? This is the test we use to ensure it does work, it lists all the settings that have to be in place (but in poky they are enabled by default, except the gtk frontend): http://g

Re: [yocto] How to submit/create a new repository in http://git.yoctoproject.org/

2021-10-08 Thread Alexander Kanavin
Hello Tien, I have to ask first: is there a reason you'd like to have it there? Alex On Fri, 8 Oct 2021 at 06:02, wrote: > Hi all, > > I'm from StarFive and am working on distro for our risc-v based processor. > We currently have a repository ( > https://github.com/starfive-tech/meta-starfive)

Re: [yocto] How to submit/create a new repository in http://git.yoctoproject.org/

2021-10-08 Thread Alexander Kanavin
There's also a more specific thing you'd need to resolve: I believe you'd need to pass all of the requirements listed here: https://www.yoctoproject.org/ecosystem/branding/compatible-registration/ Alex On Fri, 8 Oct 2021 at 11:58, wrote: > Hi Alex, > > Actually we'd like to have it up and get e

Re: [yocto] How to submit/create a new repository in http://git.yoctoproject.org/

2021-10-08 Thread Alexander Kanavin
On Fri, 8 Oct 2021 at 14:05, Nicolas Dechesne wrote: > hey, > > On Fri, Oct 8, 2021 at 1:53 PM Alexander Kanavin > wrote: > >> There's also a more specific thing you'd need to resolve: I believe you'd >> need to pass all of the requirements listed here:

Re: [yocto] Yocto build error

2021-10-11 Thread Alexander Kanavin
You need to show the full command line that produces the error. Alex On Mon, 11 Oct 2021 at 03:45, JH wrote: > Hi, > > I have following errors: > > No GNU_HASH in the ELF binary > > /build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/solar/1.0.0-0/packages-split/wifi_signal, > didn't pass

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

2021-10-13 Thread Alexander Kanavin
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 when failures did not happen. Rather than duplicate specific file

Re: [yocto] How to enable graphics acceleration on qemux86-64?

2021-10-13 Thread Alexander Kanavin
Wagesreither wrote: > Hi Alex, > > Am Fr, 8. Okt 2021, um 11:00, schrieb Alexander Kanavin: > > Something in your custom setup disables opengl in qemu-system-native. > > Can you try core-image-weston with plain poky only? > > This is the test we use to ensure it does work

Re: [yocto] How to enable graphics acceleration on qemux86-64?

2021-10-13 Thread Alexander Kanavin
If you switch to master, it's best if you make a new build directory and dont reuse the one you have. Alex On Wed, 13 Oct 2021 at 22:09, Manuel Wagesreither wrote: > `export DISPLAY=:0` did the trick. > > The following shows when still on poky dunfell: > > * I can now boot `runqmu kvm slirp sdl

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

2021-10-14 Thread Alexander Kanavin
On Thu, 14 Oct 2021 at 18:08, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Since that build directory contains symlinks, we may need something like > cp -L > here? I didn't test but I think we might run into an issue? > That's right, -L is needed. Alex -=-=-=-=-=-=-=-=-=-=-=- L

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

2021-10-14 Thread Alexander Kanavin
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 when failures did not happen. Rather than duplicate specific file

Re: [yocto] How to enable graphics acceleration on qemux86-64?

2021-10-17 Thread Alexander Kanavin
On Sat, 16 Oct 2021 at 14:08, Manuel Wagesreither wrote: > Here are some updates: > > Building core-image-weston on hardknott succeeded. Couldn't `runqmu kvm > slirp sdl core-image-weston` first because I got an error message about > 'dri.pc' being missing. Debian package search told me it's part

Re: [yocto] How to enable graphics acceleration on qemux86-64?

2021-10-25 Thread Alexander Kanavin
On Sun, 24 Oct 2021 at 23:29, Manuel Wagesreither wrote: > Hi all, > hi Alexander, > > I solved my problems. Things work fine now. Below I'm summing things up as > documentation for myself and also others in case this pops up in someones > search query. > Cheers :) you should also try this on bl

Re: [yocto] bbappend usage

2021-10-25 Thread Alexander Kanavin
There is no one-size-fits-all answer to this. It helps if you provide specifics: what components and what portions of them and why. Alex On Mon, 25 Oct 2021 at 15:26, Monsees, Steven C (US) via lists.yoctoproject.org wrote: > > I am looking to selectively remove portions of 1or 2 components I w

Re: [yocto] How to iherit class based on a conditional variable? #sysvinit #systemd

2021-10-25 Thread Alexander Kanavin
It's fine to inherit both classes and install both files without even checking DISTRO_FEATURES. There's behind the scenes magic that will do the right thing depending on what init manager is chosen in the distro config. Alex On Mon, 25 Oct 2021 at 14:38, Bel Hadj Salem Talel wrote: > Hello, > >

Re: [yocto] Yocto Unauthenticated git Protocol No Longer Supported

2021-11-02 Thread Alexander Kanavin
There are patches in master-next for this. You can backport them, but you really shouldn't be using rocko. Alex On Tue, 2 Nov 2021 at 20:50, Jay Foster wrote: > My yocto builds started failing today (November 2, 2021) due to this > ( > https://github.blog/2021-09-01-improving-git-protocol-secur

Re: [yocto] Yocto Unauthenticated git Protocol No Longer Supported

2021-11-02 Thread Alexander Kanavin
ailure was in the do_packagedata task, where it is issuing > a 'git -c core.fsyncobjectfiles=0 ls-remote ' command. I am using > a source premirror so it has not (yet) shown up in do_fetch. > > Jay > > On 11/2/2021 1:03 PM, Alexander Kanavin wrote: > > There are pa

Re: [yocto] Bitbake build fails because of a python function

2021-11-03 Thread Alexander Kanavin
It's hard to say if we can't replicate the issue. Check /srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/log.do_package_write_rpm, it might have useful debugging info. Alex On Wed, 3 Nov 2021 at 21:45, Maksym Iliev via lists.yoctoproject.org wrote: > Hello guys. I am brand n

Re: [yocto] Bitbake build fails because of a python function

2021-11-04 Thread Alexander Kanavin
NG: exit code 1 from a shell command. > > > > > > > > Thanks in advance, > > Maksym > > *From: *Alexander Kanavin > *Sent: *November 3, 2021 4:48 PM > *To: *Maksym Iliev > *Cc: *Yocto-mailing-list > *Subject: *Re: [yocto] Bitbake build fails becaus

Re: [yocto] [PATCH yocto-autobuilder-helper] config.json: set ZSTD_THREADS like XZ_THREADS

2021-11-23 Thread Alexander Kanavin
Is there a particular reason? Alex On Tue, 23 Nov 2021 at 16:03, Ross Burton wrote: > Signed-off-by: Ross Burton > --- > config.json | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/config.json b/config.json > index 7203783..c0543d9 100644 > --- a/config.json > +++ b/config.json > @@

Re: [yocto] [PATCH yocto-autobuilder-helper] config.json: set ZSTD_THREADS like XZ_THREADS

2021-11-24 Thread Alexander Kanavin
and the AB has had problems with xz due > to overload so I was being proactive and ensuring zstd is limited on > the AB the same way xz is. > > Ross > > On Tue, 23 Nov 2021 at 17:11, Alexander Kanavin > wrote: > > > > Is there a particular reason? > > &

Re: [yocto] [yocto-infrastructure] push.yoctoproject.org downtime Wednesday November 24th

2021-11-25 Thread Alexander Kanavin
Thanks! A few repositories became uncategorized, and clutter the page at the top: https://git.yoctoproject.org/ Alex On Wed, 24 Nov 2021 at 23:18, Michael Halstead < mhalst...@linuxfoundation.org> wrote: > The migration is complete. git.yoctoproject.org now serves from a pair of > load balanced

[yocto] [meta-mingw] [PATCH] mingw32-common.inc: remove qemu-usermode from MACHINE_FEATURES

2021-12-01 Thread Alexander Kanavin
This is prompted by upcoming exe_wrapper setting in meson, which is using qemu, subject to qemu-usermode, and so won't work for mingw executables. Signed-off-by: Alexander Kanavin --- conf/machine-sdk/include/mingw32-common.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/ma

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

2021-12-01 Thread Alexander Kanavin
product at the same time, the time for upstreaming may simply not be there. So please keep these numbers in mind and try to avoid making them bigger. 109 Khem Raj 29 Richard Purdie 24 Alexander Kanavin 15 unknown 15 Ross Burton 15 Robert Yang 11 Hongxu Jia 10 Martin Jansa 8 Joe Slater 8 Chen Qi Anothe

Re: [yocto] [OE-core] [PATCH] libva: move wayland PACKAGECONFIG to libva.inc

2021-12-10 Thread Alexander Kanavin
Please send the patch to openembedded-core list. Also I wonder about this: | Run-time dependency wayland-client found: YES 1.19.0 How does it happen? Is something else building wayland items? Alex On Fri, 10 Dec 2021 at 06:40, Markus Volk wrote: > I encountered an error while trying to build

[yocto] [PATCH yocto-autobuilder-helper] run-auh: do not clean up build directory

2021-12-12 Thread Alexander Kanavin
This is done regularly by the overall AB maintenance tooling, and erasing build artifacts makes it difficult to find out what went wrong when it does. Signed-off-by: Alexander Kanavin --- scripts/run-auh | 5 - 1 file changed, 5 deletions(-) diff --git a/scripts/run-auh b/scripts/run-auh

Re: [yocto] echo and read shell script functions in post install script doesn't display messages

2021-12-14 Thread Alexander Kanavin
The postinst scriptlets are script fragments and not standalone scripts. Putting an interpreter to their first line will not work. Also, they are not running on an interactive console, but by a helper executor, so they have to be entirely automated. What is the problem that you would like to solve

[yocto] [auto-upgrade-helper][PATCH] bitbake: consider both stdout and stderr when checking or logging output

2021-12-23 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- modules/buildhistory.py | 2 +- modules/steps.py | 4 ++-- modules/testimage.py | 4 ++-- modules/utils/bitbake.py | 2 +- upgrade-helper.py| 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/buildhistory.py b

Re: [yocto] Fetch of shared-mime-info and shared-mime-info-native never finishes.

2021-12-28 Thread Alexander Kanavin
I think it's just holiday season and freedesktop infra went down with no one to fix it. Give it a few days, it'll come back. Alex On Mon, 27 Dec 2021 at 23:04, Howard wrote: > Ok so for some reason the repo for shared-mime-info is offline. > > I just ran a simple git clone of: > > > git clone g

[yocto] [auto-upgrade-helper][PATCH] devtool: return both stdout and stderr

2022-01-02 Thread Alexander Kanavin
At some point devtool started printing to stderr, which means patch rebase issues weren't anymore correctly caught, and bogus updates were being sent out. Signed-off-by: Alexander Kanavin --- modules/utils/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mo

Re: [yocto] BBLAYERS

2022-01-04 Thread Alexander Kanavin
You need to set up a separate build directory for each of the layer configurations: the point of the build directory is to actually specify which layers you want. Just make sure they all share sstate cache dir, and downloads dir, and bitbake will reuse what it can. Alex On Tue, 4 Jan 2022 at 20:3

Re: [yocto] rebuilding images

2022-01-10 Thread Alexander Kanavin
Do not remove sstate cache, it is there specifically so that you do not have to rebuild all the packages. Alex On Mon, 10 Jan 2022 at 14:13, Ivan Riabtsov wrote: > I build the image with the command > > #bitbake phytec-headless-image > > then I need to add something to the image and I do it lik

Re: [yocto] [OE-core] Question of Yocto dunfell LTS period

2022-01-14 Thread Alexander Kanavin
Actually, I think this was some kind of missed PR opportunity. Regular distros, such as RHEL, Debian and everyone else, are constantly trotting out their support windows as the reason to hand them the job of making products, so we could counter that better perhaps. Alex On Fri, 14 Jan 2022 at 06:

Re: [yocto] non-existent task do_package_write_rpm error

2022-01-21 Thread Alexander Kanavin
You need to drop the -native suffix when installing to target image or SDK. -native is only for the bitbake build itself. Alex On Fri, 21 Jan 2022 at 20:07, W. Dobbe wrote: > Hi, > > I'm writing a recipe for package hardening-check >

Re: [yocto] non-existent task do_package_write_rpm error

2022-01-21 Thread Alexander Kanavin
target sysroot of the SDK. I would > like to have it in the native (x86_64-pokysdk-linux) sysroot as it is a > tool to use on the build server. > > Any idea how to achieve that ? > > Thanks, > Winfried > > Op 21-01-2022 20:09 schreef Alexander Kanavin : > > > You ne

Re: [yocto] non-existent task do_package_write_rpm error

2022-01-22 Thread Alexander Kanavin
ages/dynniq-image-flownode-acu-default.bb:do_populate_sdk) > failed with exit code '1' > > > Bitbake builds package hardening-check for the target architecture ( > cortexa9hf_neon) i.s.o for x86_64 (or noarch). > > Any ideas how to fix that ? > > regar

[yocto] [yocto-autobuilder2][PATCH] schedulers.py: run AUH twice a month

2022-01-25 Thread Alexander Kanavin
Once a week has proven a bit too hectic: it's better to have more time to test, submit, review and integrate the updates before AUH runs again. Signed-off-by: Alexander Kanavin --- schedulers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schedulers

Re: [yocto] build yocto 2.6 on Ubuntu 20.04

2022-01-26 Thread Alexander Kanavin
I think the best way out for you is to set up a container with a supported older distribution. Usually you need an older gcc version from the host machine, so the container will have that. Alex On Wed, 26 Jan 2022 at 17:43, Jacob Avraham wrote: > Hi, > Has anyone tried to build yocto 2.6 on Ubu

Re: [yocto] Additional hardening options

2022-01-26 Thread Alexander Kanavin
I guess you can submit a patch, and it can be taken for a spin on the autobuilder? Alex On Wed, 26 Jan 2022 at 22:17, Paul Eggleton wrote: > On Wednesday, 26 January 2022 14:39:39 NZDT Paul Eggleton wrote: > > Hi folks > > > > I've been looking into a couple of compiler flags for hardening that

[yocto] [meta-lts-mixins][dunfell/go PATCH 1/4] Initial commit: add license, readme and layer config.

2022-01-27 Thread Alexander Kanavin
Reviewed-by: Martin Kaistra Signed-off-by: Alexander Kanavin --- COPYING.MIT | 17 + README | 23 +++ conf/layer.conf | 19 +++ 3 files changed, 59 insertions(+) create mode 100644 COPYING.MIT create mode 100644 README create

[yocto] [meta-lts-mixins][dunfell/go PATCH 4/4] go-helloworld: add from openembedded-core master

2022-01-27 Thread Alexander Kanavin
: 278cb0fc0725fbfdcafd3b3afcfb7c7c6a4eee14 copy: meta/recipes-extended/go-examples --> recipes-devtools/go-examples/) Acked-by: Martin Kaistra Signed-off-by: Alexander Kanavin --- .../go-examples/go-helloworld_0.1.bb | 22 +++ 1 file changed, 22 insertions(+) create mode 100

[yocto] [meta-lts-mixins][dunfell/go PATCH 2/4] go-1.16: import recipes from openembedded-core

2022-01-27 Thread Alexander Kanavin
: 6f092174b338066e5ac767312a914d00310690a1 copy: meta/recipes-devtools/go --> recipes-devtools/go-1.16) Acked-by: Martin Kaistra Signed-off-by: Alexander Kanavin --- recipes-devtools/go-1.16/go-1.16.10.inc | 25 ++ ...ow-CC-and-CXX-to-have-multiple-words.patch | 33 +++ ...ent-based-h

[yocto] [meta-lts-mixins][dunfell/go PATCH 3/4] go-1.17: import recipes from openembedded-core

2022-01-27 Thread Alexander Kanavin
.17) Acked-by: Martin Kaistra Signed-off-by: Alexander Kanavin --- recipes-devtools/go-1.17/go-1.17.4.inc| 23 ++ ...ow-CC-and-CXX-to-have-multiple-words.patch | 33 ++ ...ent-based-hash-generation-less-pedan.patch | 237 +++ ...-to-be-overridden-in-the-environment.patch |

[yocto] [meta-lts-mixins][dunfell/docker PATCH 1/2] Initial commit: add license, readme, layer configuration.

2022-01-27 Thread Alexander Kanavin
Reviewed-by: Martin Kaistra Signed-off-by: Alexander Kanavin --- COPYING.MIT | 17 + README | 10 ++ conf/layer.conf | 23 +++ 3 files changed, 50 insertions(+) create mode 100644 COPYING.MIT create mode 100644 README create mode

[yocto] [meta-lts-mixins][dunfell/docker PATCH 2/2] docker-ce: add the recipes and its dependencies from meta-virtualization

2022-01-27 Thread Alexander Kanavin
-containers/ --> recipes-containers/ copy: recipes-devtools/go/ --> recipes-devtools/go/ ) Acked-by: Martin Kaistra Signed-off-by: Alexander Kanavin --- .../cgroup-lite/cgroup-lite_1.15.bb | 34 .../cgroup-lite/files/cgroups-init| 27 +++ recipes-containers/cont

Re: [yocto] [meta-lts-mixins][dunfell/go PATCH 1/4] Initial commit: add license, readme and layer config.

2022-01-27 Thread Alexander Kanavin
On Thu, 27 Jan 2022 at 15:48, Konrad Weihmann wrote: > > +GOVERSION ?= "1.17%" > > +PREFERRED_PROVIDER_go-native = "go-binary-native" > > Just out of curiosity: I thought the agreement was that neither > PREFERRED_PROVIDER_* nor recipe/provider specific settings should be > part of a layer.conf >

Re: [yocto] [meta-lts-mixins][dunfell/go PATCH 1/4] Initial commit: add license, readme and layer config.

2022-01-27 Thread Alexander Kanavin
A question specifically to Denys, how can I actually get this into the mixin repo, and have commit rights to the branch? We've tested this quite well in private, and there are further enhancements coming up. Alex On Thu, 27 Jan 2022 at 15:43, Alexander Kanavin via lists.yoctoproject.org

Re: [yocto] [meta-lts-mixins][dunfell/go PATCH 1/4] Initial commit: add license, readme and layer config.

2022-01-27 Thread Alexander Kanavin
On Thu, 27 Jan 2022 at 22:04, Khem Raj wrote: > > > On Thu, Jan 27, 2022 at 12:06 PM Denys Dmytriyenko > wrote: > >> On Thu, Jan 27, 2022 at 06:07:06PM +0100, Alexander Kanavin wrote: >> > A question specifically to Denys, how can I actually get this into the &g

Re: [yocto] How to prevent auto start of matchbox-terminal at boot?

2022-01-30 Thread Alexander Kanavin
Please share the log.do_rootfs for your image, otherwise it's difficult to say why the terminal ends up being there and gets autostarted. Alex On Sun, 30 Jan 2022 at 22:01, Dave Beal via lists.yoctoproject.org wrote: > Hello Yocto Community - > > I am using Yocto to build a core-image-minimal i

Re: [yocto] How to prevent auto start of matchbox-terminal at boot?

2022-01-31 Thread Alexander Kanavin
The logs reveal that 'packagegroup-core-x11 packagegroup-core-x11-base packagegroup-core-x11-xserver' are all installed. x11-base pulls in recipes-graphics/mini-x-session/mini-x-session_0.1.bb which starts a minimal session with a terminal. You should either drop x11-base, or tweak mini-x-session s

Re: [yocto] [meta-lts-mixins][dunfell/go PATCH 1/4] Initial commit: add license, readme and layer config.

2022-02-01 Thread Alexander Kanavin
On Thu, 27 Jan 2022 at 21:06, Denys Dmytriyenko wrote: > On Thu, Jan 27, 2022 at 06:07:06PM +0100, Alexander Kanavin wrote: > > A question specifically to Denys, how can I actually get this into the > > mixin repo, and have commit rights to the branch? We've tested this quite

Re: [yocto] [meta-lts-mixins][dunfell/go PATCH 1/4] Initial commit: add license, readme and layer config.

2022-02-03 Thread Alexander Kanavin
3 Feb 2022 at 00:50, Michael Halstead wrote: > Thank you for the ping. These branches are ready for you. > > On Tue, Feb 1, 2022 at 6:23 AM Alexander Kanavin > wrote: > >> On Thu, 27 Jan 2022 at 21:06, Denys Dmytriyenko wrote: >> >>> On Thu, Jan 27, 202

[yocto] [meta-lts-mixins][dunfell/go PATCH 1/2] go: update 1.17.4 -> 1.17.6

2022-02-04 Thread Alexander Kanavin
(copy from external source: git: https://git.yoctoproject.org/poky/ archive: 472a99447fe0f89bbdb959c1d9b7f67f8a122935 copy: meta/recipes-devtools/go --> recipes-devtools/go-1.17) Signed-off-by: Alexander Kanavin --- .../go-1.17/{go-1.17.4.inc => go-1.17.6.inc}

  1   2   3   4   5   6   7   8   >