[OE-core] [PATCH] sanity.bbclass: Add ftps to accepted URI protocols for mirrors sanity

2022-06-22 Thread David Bagonyi
Signed-off-by: David Bagonyi --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index eb0ca05804..b1fac107d5 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@

Re: [OE-core] [PATCH] xcb-proto: upgrade 1.15 -> 1.15.2

2022-06-22 Thread wangmy
Sorry, this patch failed the test and I forgot to handle it before sending. Please ignore this patch.   -- Best Regards --- Wang Mingyu Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012,

Re: [oe-core][PATCH 1/2] llvm: make LLVM_HAVE_OPT_VIEWER_MODULES optional

2022-06-22 Thread Markus Volk
Hi Luca, your commit message is way better than mine. One suggestion on your patch. I guess to be working on the target it would be needed to add python3-pygment and python3-pyyaml as runtime dependencies as well. PACKAGECONFIG[optviewer] = ",-DPY_PYGMENTS_FOUND=OFF

[OE-core] [PATCH] llvm: add PACKAGECONFIG[optviewer]

2022-06-22 Thread Luca Ceresoli via lists.openembedded.org
Currently the CMake configuration for llvm finds the python pygments and pyyaml if they are installed on the host. This makes builds non-reproducible across different machines, some having those modules installed and some others not. This has been causing a 'reproducible' failure on one of the

Re: [oe-core][PATCH 1/2] llvm: make LLVM_HAVE_OPT_VIEWER_MODULES optional

2022-06-22 Thread Luca Ceresoli via lists.openembedded.org
Hi Markus, On Wed, 22 Jun 2022 19:32:50 +0200 "Markus Volk" wrote: > Make it a PACKAGECONFIG option and thus avoid automagic to improve > reproducibility > > Signed-off-by: Markus Volk > --- > meta/recipes-devtools/llvm/llvm_git.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

[OE-core] [PATCH 2/3] pybootchartgui: render cpu and io pressure

2022-06-22 Thread Aryaman Gupta
Add two new, separate charts showing the avg10 and delta total pressure over time for the CPU and IO resources. The height of the avg10 data in each chart represents the percentage of time "some" task was delayed over the specific resource during the last 10 seconds of the build. The height of the

[OE-core] [PATCH 3/3] buildstats.bbclass: correct sampling of system stats

2022-06-22 Thread Aryaman Gupta
The last time of sampling would be updated within the SystemStats class but not re-recorded into the datastore, leading to multiple samples being collected in the same second in the sample function of buildstats.py. Fix this to collect and store only one sample per second within a certain

[OE-core] [PATCH 0/3] V3 /proc/pressure buildstats

2022-06-22 Thread Aryaman Gupta
Changes in V3: - In V2, it was assumed that heartbeat events arrived once per second but on the Autobuilder, the BB_HEARTBEAT_EVENT is set to 60 seconds. Hence, revert the requirement to restrict sampling only to heartbeat events. - Make sample return a bool indicating that a new sample

[OE-core] [PATCH 1/3] buildstats.py: enable collection of /proc/pressure data

2022-06-22 Thread Aryaman Gupta
The Linux pressure monitoring system helps determine when system resources are being overutilized by measuring how contended the CPU, IO and memory are. This information can be found under /proc/pressure/ which contains 3 files - cpu, memory and io. In each of the files, the format is as follows:

[OE-core] [PATCH 3/3] valgrind: Drop redundant oe_runmake parameter

2022-06-22 Thread niko.ma...@vaisala.com via lists.openembedded.org
PARALLEL_MAKE is now honored in ptest.bbclass, so drop redundant parameter from oe_runmake call. Signed-off-by: Niko Mauno --- meta/recipes-devtools/valgrind/valgrind_3.19.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.19.0.bb

[OE-core] [PATCH 2/3] strace: Drop redundant oe_runmake parameter

2022-06-22 Thread niko.ma...@vaisala.com via lists.openembedded.org
PARALLEL_MAKE is now honored in ptest.bbclass, so drop redundant parameter from oe_runmake call. Signed-off-by: Niko Mauno --- meta/recipes-devtools/strace/strace_5.17.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/strace/strace_5.17.bb

[OE-core] [PATCH 1/3] ptest.bbclass: Honor PARALLEL_MAKE, PARALLEL_MAKEINST

2022-06-22 Thread niko.ma...@vaisala.com via lists.openembedded.org
Since oe_runmake wrapper doesn't by default involve PARALLEL_MAKE outside do_compile() nor PARALLEL_MAKEINST outside do_install(), enable parallellized make by default when oe_runmake is invoked from do_compile_ptest() or do_install_ptest() by declaring wrapper task specific EXTRA_OEMAKE overrides

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Markus Volk
Hi Jose, as far as I can see, it works like this. With an empty PACKAGECONFIG it is disabled: ~/build/poky/build-intel/tmp/work/corei7-64-poky-linux/llvm/14.0.4-r0/build$ grep -r LLVM_HAVE_OPT_VIEWER_MODULES . ./lib/cmake/llvm/LLVMConfig.cmake:set(LLVM_HAVE_OPT_VIEWER_MODULES 0)

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Jose Quaresma
Hi Markus, Markus Volk escreveu no dia quarta, 22/06/2022 à(s) 16:28: > I had not tried it, but in the meantime I did and it works with > > PACKAGECONFIG ?= "" > PACKAGECONFIG[optviewer] = "-DPY_PYGMENTS_FOUND=ON > -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=ON >

[oe-core][PATCH 1/2] llvm: make LLVM_HAVE_OPT_VIEWER_MODULES optional

2022-06-22 Thread Markus Volk
Make it a PACKAGECONFIG option and thus avoid automagic to improve reproducibility Signed-off-by: Markus Volk --- meta/recipes-devtools/llvm/llvm_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index

[oe-core][PATCH 2/2] llvm: dont use host python

2022-06-22 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-devtools/llvm/llvm_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index b86605cbce..292f295cf3 100644 ---

Re: [OE-core] [AUH] rust-llvm: upgrading to 1.61.0 FAILED

2022-06-22 Thread Sundeep KOKKONDA
On 22/06/22 14:02, Alexander Kanavin wrote: Can you publish your work somewhere on git so I can reproduce the nativesdk issue locally? Hello, As I do not have permission to create my own remote repo, I attached my changes here in /mypatch.patch/ file. If libstdc++.a is available in

[OE-core] [PATCH] insane.bbclass: host-user-contaminated: Correct per package home path

2022-06-22 Thread Ahmed Hossam
The current home path that is compared against is incorrect as it is missing the package name, this patch adds it. [YOCTO #14553] Signed-off-by: Ahmed Hossam --- meta/classes/insane.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/insane.bbclass

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Markus Volk
I had not tried it, but in the meantime I did and it works with PACKAGECONFIG ?= "" PACKAGECONFIG[optviewer] = "-DPY_PYGMENTS_FOUND=ON -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=ON -DPY_YAML_FOUND=ON,-DPY_PYGMENTS_FOUND=OFF,,python3-pygments python3-pyyaml" Markus Am 22.06.22 um 17:06 schrieb Stefan

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Stefan Herbrechtsmeier
Hi Markus, Am 22.06.2022 um 16:18 schrieb Markus Volk via lists.openembedded.org: Hi, couldn't we just do it like this? PACKAGECONFIG ?= "" PACKAGECONFIG[optviewer] = "-DLLVM_HAVE_OPT_VIEWER_MODULES=ON,-DLLVM_HAVE_OPT_VIEWER_MODULES=OFF,,python3-pygments python3-pyyaml" Depending on

Re: [OE-core] [oecore][PATCH] bc: add missing bison-native dependency

2022-06-22 Thread Markus Volk
Am 22.06.22 um 15:29 schrieb Richard Purdie: The problem occurred after I updated the oe-core master and started an image rebuild. Built the  image successfully for intel and aarch64 but got the above error for raspberrypi4.I ran 'bitbake -c cleansstate bc-native bc' but the problem persisted

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Markus Volk
Hi, couldn't we just do it like this? PACKAGECONFIG ?= "" PACKAGECONFIG[optviewer] = "-DLLVM_HAVE_OPT_VIEWER_MODULES=ON,-DLLVM_HAVE_OPT_VIEWER_MODULES=OFF,,python3-pygments python3-pyyaml" Depending on wether the PACKAGECONFIG option is taken it looks like this in CMakeCache.txt: //No

Re: [OE-core] [PATCH] xcb-proto: upgrade 1.15 -> 1.15.2

2022-06-22 Thread Luca Ceresoli via lists.openembedded.org
Hello wangmy, On Wed, 22 Jun 2022 15:48:50 +0800 "wangmy" wrote: > Signed-off-by: Wang Mingyu This patch triggers autobuilder failures in libxcb-native do_configure: | checking for check >= 0.9.6... no | checking for xcb-proto >= 1.14... no | configure: error: Package requirements (xcb-proto

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Stefan Herbrechtsmeier
Hi Richard, Am 22.06.2022 um 15:10 schrieb Richard Purdie via lists.openembedded.org: There is a reproducibility issue which shouldn't be too hard to fix if someone had a few minutes to help out: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14845 It is in llvm and is a cmake

Re: [OE-core] [oecore][PATCH] bc: add missing bison-native dependency

2022-06-22 Thread Richard Purdie
On Wed, 2022-06-22 at 09:50 +0200, Markus Volk wrote: > Am 21.06.22 um 19:32 schrieb Richard Purdie: > > On Sat, 2022-06-18 at 19:52 +0200, Markus Volk wrote: > > > this fixes an error i encountered building for raspberrypi4 32bit: > > > > > >

Re: [OE-core] [AUH] rust-llvm: upgrading to 1.61.0 FAILED

2022-06-22 Thread Richard Purdie
On Wed, 2022-06-22 at 11:54 +0530, Sundeep KOKKONDA wrote: > Hi, >   > > > >  In Yocto, the Rust upgrade from 1.60.0 -> 1.61.0 enables a dependency on the > libstdc++-static library for rust-llvm. With this upgrade build is aborted > for 'bitbake core-image-minimal -cpopulate_sdk' with below

[OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Richard Purdie
There is a reproducibility issue which shouldn't be too hard to fix if someone had a few minutes to help out: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14845 It is in llvm and is a cmake configuration issue. Rather than setting that option based on the presence of python modules (with

[OE-core][PATCH v2] kernel-uboot.bbclass: Use vmlinux.initramfs when INITRAMFS_IMAGE_BUNDLE set

2022-06-22 Thread Raju Kumar Pothuraju
vmlinux file doesnot have the initramfs image when INITRAMFS_IMAGE_BUNDLE was set. Use vmlinux.initramfs in uboot_prep_kimage when INITRAMFS_IMAGE_BUNDLE set based on the implementation in kernel.bbclass do_bundle_initramfs function,

[OE-core] [RFC PATCH 6/6] oeqa/sdk: drop the nativesdk-python 2.x test

2022-06-22 Thread Alexander Kanavin
Python 2.x has been EOL for a while, and so this test never runs. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/sdk/cases/python.py | 11 --- 1 file changed, 11 deletions(-) diff --git a/meta/lib/oeqa/sdk/cases/python.py b/meta/lib/oeqa/sdk/cases/python.py index

[OE-core] [RFC PATCH 5/6] oeqa/sdk: allow epoxy/galculator tests to run in esdk and direct yocto builds

2022-06-22 Thread Alexander Kanavin
Other tests already have similar tweaks. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/sdk/cases/buildepoxy.py | 3 ++- meta/lib/oeqa/sdk/cases/buildgalculator.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py

[OE-core] [RFC PATCH 4/6] selftest/meta_ide: add a test for running SDK tests

2022-06-22 Thread Alexander Kanavin
This also shows how the SDK workflow inside a Yocto build works: bitbake meta-ide-support bitbake -c populate_sysroot gtk+3 (or any other needed target/native item for development) bitbake build-sysroots . tmp/deploy/images/qemux86-64/environment-setup-core2-64-poky-linux And voila: just the

[OE-core] [RFC PATCH 3/6] oeqa/sdk: add a test class for running SDK tests directly in a Yocto build

2022-06-22 Thread Alexander Kanavin
This is a simpler version of the same class in testsdk.py, as it does not need to unpack and set up the SDK, and can proceed to the tests straight away. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/sdk/testmetaidesupport.py | 43 + 1 file changed, 43 insertions(+)

[OE-core] [RFC PATCH 1/6] toolchain-scripts.bbclass: adjust toolchain_create_tree_env_script to better replicate (e)SDK

2022-06-22 Thread Alexander Kanavin
Specifically: 1. Place the environment setup file into $B and not into $TMPDIR, so that the recipe using the class can itself better decide what to do with the file. 2. Use global, unified sysroots (provided through build-sysroots recipe) and not recipe-specific ones, as this allows flexible

[OE-core] [RFC PATCH 0/6] (e)SDK workflow directly in a Yocto build

2022-06-22 Thread Alexander Kanavin
There's been a recent discussion about how we can make the Yocto SDK experience better [1]. One of the ideas was to eliminate the SDK as a separate artefact altogether and simply provide everything that the SDK and eSDKs do directly in a yocto build. This does not mean that people have to 'learn

[OE-core] [RFC PATCH 2/6] meta-ide-support: adjust to provide (e)SDK experience directly in a yocto build

2022-06-22 Thread Alexander Kanavin
Specifically: 1. Add a few more toolchain items to DEPENDS so they're available in the recipe sysroot. 2. Use deploy mechanism to place the SDK environment setup file and testdata for testing it into the image deploy directory. 3. Add ability to run SDK tests via the testsdk class and task. This

[OE-core] [PATCH] systemd: update upstream status of merged patches

2022-06-22 Thread Pavel Zhukov
Signed-off-by: Pavel Zhukov --- .../systemd/systemd/0001-Add-sys-file.h-for-LOCK_.patch | 2 +- .../systemd/systemd/0002-Add-sys-stat.h-for-S_IFDIR.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [OE-core] [AUH] rust-llvm: upgrading to 1.61.0 FAILED

2022-06-22 Thread Alexander Kanavin
I quickly checked: libstdc++.a is built by nativesdk-gcc-runtime recipe and goes into nativesdk-libstdc++-staticdev package. Does this answer the issue you have? Alex On Wed, 22 Jun 2022 at 10:32, Alexander Kanavin via lists.openembedded.org wrote: > > Can you publish your work somewhere on git

Re: [OE-core] [AUH] rust-llvm: upgrading to 1.61.0 FAILED

2022-06-22 Thread Alexander Kanavin
Can you publish your work somewhere on git so I can reproduce the nativesdk issue locally? Khem, can you help us out please with it? :) Also I'm starting to wonder if we should patch rust with a workaround from the ticket instead? Alex On Wed, 22 Jun 2022 at 08:24, Sundeep KOKKONDA wrote: >

Re: [OE-core] [oecore][PATCH] bc: add missing bison-native dependency

2022-06-22 Thread Markus Volk
Am 21.06.22 um 19:32 schrieb Richard Purdie: On Sat, 2022-06-18 at 19:52 +0200, Markus Volk wrote: this fixes an error i encountered building for raspberrypi4 32bit:

[OE-core] [PATCH] xcb-proto: upgrade 1.15 -> 1.15.2

2022-06-22 Thread wangmy
Signed-off-by: Wang Mingyu --- .../xorg-proto/{xcb-proto_1.15.bb => xcb-proto_1.15.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-graphics/xorg-proto/{xcb-proto_1.15.bb => xcb-proto_1.15.2.bb} (92%) diff --git

[OE-core] [PATCH] strace: upgrade 5.17 -> 5.18

2022-06-22 Thread wangmy
0001-landlock-update-expected-string.patch removed since it's not available in 5.18. skip-load.patch refreshed for new version. Signed-off-by: Wang Mingyu --- ...0001-landlock-update-expected-string.patch | 67 --- .../strace/strace/skip-load.patch | 40 +--

[OE-core] [PATCH] sbc: upgrade 1.5 -> 2.0

2022-06-22 Thread wangmy
0001-sbc_primitives-Fix-build-on-non-x86.patch revmoed since it's included in 2.0 Signed-off-by: Wang Mingyu --- ...-sbc_primitives-Fix-build-on-non-x86.patch | 45 --- .../sbc/{sbc_1.5.bb => sbc_2.0.bb}| 6 +-- 2 files changed, 2 insertions(+), 49 deletions(-)

[OE-core] [PATCH] python3-dbusmock: upgrade 0.27.5 -> 0.28.0

2022-06-22 Thread wangmy
Changelog: === Drop unmaintained and broken accountsservice template testcase: Throw an error when spawning a well-known name that exists mockobject: Allow sending signals with extra details Signed-off-by: Wang Mingyu --- .../{python3-dbusmock_0.27.5.bb =>

[OE-core] [PATCH] libproxy: upgrade 0.4.17 -> 0.4.18

2022-06-22 Thread wangmy
determinism.patch removed since it's included in 0.4.18. Changelog: = build: Allow configuration of sysconfig module config_envvar: Add environment variable for pacrunner debugging build: disable mozjs by default python: Support Python 3.10 and above Add Duktape

[OE-core] [PATCH] kbd: upgrade 2.5.0 -> 2.5.1

2022-06-22 Thread wangmy
Changelog: == keymaps: --- Fix pt-latin1 failing to load due to euro2 include. tests: The tests do not depend on the data in srcdir/data. Signed-off-by: Wang Mingyu --- meta/recipes-core/kbd/{kbd_2.5.0.bb => kbd_2.5.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH] bind: upgrade 9.18.3 -> 9.18.4

2022-06-22 Thread wangmy
Changelog: == [func] Don't try to process DNSSEC-related and ZONEMD records in catz. [GL #3380] [func] Add some more dnssec-policy checks to detect weird policies. [GL #1611] [test] Add new set of unit test macros and move the

[OE-core] [PATCH] alsa-ucm-conf: upgrade 1.2.7 -> 1.2.7.1

2022-06-22 Thread wangmy
Configuration - mt8195_demo: fix the HDMI device name - USB-Audio: ALC1220 - add support for Gigabyte TRX40 Aorus Pro WiFi Rev 1.2 - ucm2: MediaTek: mt8195-demo: Add Initial support - ucm2: rk3399-gru-sound: Add missing symlink from conf.d tree - USB-Audio: Optimize regex for realtek-alc4080

[OE-core] [PATCH] alsa-plugins: upgrade 1.2.6 -> 1.2.7.1

2022-06-22 Thread wangmy
Changelog: == Jack PCM plugin - jack: use program_invocation_short_name - jack: implement pcm operation sw_params Signed-off-by: Wang Mingyu --- .../alsa/{alsa-plugins_1.2.6.bb => alsa-plugins_1.2.7.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

[OE-core] [PATCH] alsa-lib: upgrade 1.2.7 -> 1.2.7.1

2022-06-22 Thread wangmy
Changelog: = Core - Release v1.2.7.1 - conf: Use ino64_t to save and compare inode numbers Control API - control: eld - fix the decoding for older hw I/O API - output: include stdarg.h PCM API - pcm: dmix - Add error handler for `fgets` Use Case Manager API - ucm: list also hardware

Re: [OE-core] [AUH] rust-llvm: upgrading to 1.61.0 FAILED

2022-06-22 Thread Sundeep KOKKONDA
Hi, In Yocto, the Rust upgrade from 1.60.0 -> 1.61.0 enables a dependency on the libstdc++-static library for rust-llvm. With this upgrade build is aborted for 'bitbake core-image-minimal -cpopulate_sdk' with below error. === Error Text === | error: could not compile `rustc_llvm` due