Date   

[honister][PATCH 5/7] wireless-regdb: upgrade 2022.02.18 -> 2022.04.08

Anuj Mittal
 

From: zhengruoqin <zhengrq.fnst@...>

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
Signed-off-by: Richard Purdie <richard.purdie@...>
(cherry picked from commit c6ea7450a919f2b571746e7af350c1362e41f8e1)
Signed-off-by: Anuj Mittal <anuj.mittal@...>
---
...ireless-regdb_2022.02.18.bb => wireless-regdb_2022.04.08.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2022.02.18.bb => wireless-regdb_2022.04.08.bb} (94%)

diff --git a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.02.18.bb b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.04.08.bb
similarity index 94%
rename from meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.02.18.bb
rename to meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.04.08.bb
index 801a6f0584..cd42039680 100644
--- a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.02.18.bb
+++ b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.04.08.bb
@@ -5,7 +5,7 @@ LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"

SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz"
-SRC_URI[sha256sum] = "8828c25a4ee25020044004f57374bb9deac852809fad70f8d3d01770bf9ac97f"
+SRC_URI[sha256sum] = "884ba2e3c1e8b98762b6dc25ff60b5ec75c8d33a39e019b3ed4aa615491460d3"

inherit bin_package allarch

--
2.35.1


[honister][PATCH 4/7] linux-firmware: upgrade 20220310 -> 20220411

Anuj Mittal
 

From: wangmy <wangmy@...>

License-Update:
Version of driver files updated
Added files for some drivers

Signed-off-by: Wang Mingyu <wangmy@...>
Signed-off-by: Richard Purdie <richard.purdie@...>
(cherry picked from commit 01684df3a51be476081ee21eb54c24fef00acb3f)
Signed-off-by: Anuj Mittal <anuj.mittal@...>
---
...{linux-firmware_20220310.bb => linux-firmware_20220411.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-kernel/linux-firmware/{linux-firmware_20220310.bb => linux-firmware_20220411.bb} (99%)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220310.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220411.bb
similarity index 99%
rename from meta/recipes-kernel/linux-firmware/linux-firmware_20220310.bb
rename to meta/recipes-kernel/linux-firmware/linux-firmware_20220411.bb
index fa0f906db0..c7d9e1126e 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220310.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220411.bb
@@ -132,7 +132,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
- file://WHENCE;md5=45a9c4a92d152e9495db81e1192f2bdc \
+ file://WHENCE;md5=4cf67d71a21887c682c3989a4318745e \
"

# These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -205,7 +205,7 @@ PE = "1"

SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"

-SRC_URI[sha256sum] = "5938ee717b2023b48f6bfcf344b40ddc947e3e22c0bc36d4c3418f90fea68182"
+SRC_URI[sha256sum] = "020b11f6412f4956f5a6f98de7d41867d2b30ea0ce81b1e2d206ec9840363849"

inherit allarch

--
2.35.1


[honister][PATCH 3/7] u-boot: Inherit pkgconfig

Anuj Mittal
 

From: Peter Kjellerstedt <peter.kjellerstedt@...>

pkg-config is used by the Makefiles, and thus pkgconfig needs to be
inherited.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@...>
Signed-off-by: Richard Purdie <richard.purdie@...>
(cherry picked from commit 6148ac9bc5d3e0d0ffdbbd6695acd96ca1836b78)
Signed-off-by: Anuj Mittal <anuj.mittal@...>
---
meta/recipes-bsp/u-boot/u-boot-common.inc | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta/recipes-bsp/u-boot/u-boot-common.inc b/meta/recipes-bsp/u-boot/u-boot-common.inc
index 2423e9ca14..9af65e6b27 100644
--- a/meta/recipes-bsp/u-boot/u-boot-common.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-common.inc
@@ -19,4 +19,7 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master \

S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
+
+inherit pkgconfig
+
do_configure[cleandirs] = "${B}"
--
2.35.1


[honister][PATCH 2/7] alsa-tools: Ensure we install correctly

Anuj Mittal
 

From: Richard Purdie <richard.purdie@...>

With the fix for #8621, cleandirs is now applied to autotools_do_install
and this results in a lot of the install targets to be removed. Ensure
cleandirs isn't set for autotools_do_install.

Signed-off-by: Richard Purdie <richard.purdie@...>
(cherry picked from commit 72299395b06fc3fdaca5f7b8b87a6ea32a6267ad)
Signed-off-by: Anuj Mittal <anuj.mittal@...>
---
meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
index 540f4f79f4..e6fe83a186 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
@@ -71,6 +71,7 @@ python do_compile() {
}

python do_install() {
+ d.delVarFlag("autotools_do_install", "cleandirs")
for subdir in d.getVar("PACKAGECONFIG").split():
subdir = subdir.replace("--", "/")
bb.note("Installing %s" % subdir)
--
2.35.1


[honister][PATCH 1/7] gmp: add missing COPYINGv3

Anuj Mittal
 

From: Konrad Weihmann <kweihmann@...>

add COPYINGv3 license text to LIC_FILES_CHKSUM

Signed-off-by: Konrad Weihmann <kweihmann@...>
Signed-off-by: Alexandre Belloni <alexandre.belloni@...>
Signed-off-by: Richard Purdie <richard.purdie@...>
(cherry picked from commit 8e8cf07a58a6bf5412572e76e2a7ab27df8af01f)
Signed-off-by: Anuj Mittal <anuj.mittal@...>
---
meta/recipes-support/gmp/gmp_6.2.1.bb | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/gmp/gmp_6.2.1.bb b/meta/recipes-support/gmp/gmp_6.2.1.bb
index e61582afdf..091a390511 100644
--- a/meta/recipes-support/gmp/gmp_6.2.1.bb
+++ b/meta/recipes-support/gmp/gmp_6.2.1.bb
@@ -2,9 +2,11 @@ require gmp.inc

LICENSE = "GPLv2+ | LGPLv3+"

-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
- file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
- file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+LIC_FILES_CHKSUM = "\
+ file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
+ file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423 \
"

REVISION = ""
--
2.35.1


[honister][PATCH 0/7] Patch review

Anuj Mittal
 

Last set of patches for honister before 3.4.4. Please review.

No problems seen while testing:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3565

Thanks,

Anuj

The following changes since commit 4c556b4fd07a3ce9128019b51e5623e8eeeb7400:

license_image.bbclass: close package.manifest file (2022-04-19 22:22:49 +0800)

are available in the Git repository at:

git://push.openembedded.org/openembedded-core-contrib anujm/honister

Dmitry Baryshkov (1):
linux-firmware: correct license for ar3k firmware

Konrad Weihmann (1):
gmp: add missing COPYINGv3

Peter Kjellerstedt (1):
u-boot: Inherit pkgconfig

Richard Purdie (2):
alsa-tools: Ensure we install correctly
shadow-native: Simplify and fix syslog disable patch

wangmy (1):
linux-firmware: upgrade 20220310 -> 20220411

zhengruoqin (1):
wireless-regdb: upgrade 2022.02.18 -> 2022.04.08

meta/recipes-bsp/u-boot/u-boot-common.inc | 3 +
...01-Disable-use-of-syslog-for-sysroot.patch | 150 +++++-------------
...20220310.bb => linux-firmware_20220411.bb} | 8 +-
....02.18.bb => wireless-regdb_2022.04.08.bb} | 2 +-
.../alsa/alsa-tools_1.2.5.bb | 1 +
meta/recipes-support/gmp/gmp_6.2.1.bb | 8 +-
6 files changed, 53 insertions(+), 119 deletions(-)
rename meta/recipes-kernel/linux-firmware/{linux-firmware_20220310.bb => linux-firmware_20220411.bb} (99%)
rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2022.02.18.bb => wireless-regdb_2022.04.08.bb} (94%)

--
2.35.1


[PATCH] base: Avoid circular references to our own scripts

Richard Purdie
 

We'd like to intercept git calls but we don't want circular references
and HOSTTOOLS currently sets them up. Tweak to avoid them.

Signed-off-by: Richard Purdie <richard.purdie@...>
---
meta/classes/base.bbclass | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 3515720bf95..16b7c69995e 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -115,6 +115,9 @@ def setup_hosttools_dir(dest, toolsvar, d, fatal=True):
tools = d.getVar(toolsvar).split()
origbbenv = d.getVar("BB_ORIGENV", False)
path = origbbenv.getVar("PATH")
+ # Need to ignore our own scripts directory to avoid circular links
+ ourscripts = d.expand("${COREBASE}/scripts")
+ path = path.replace(ourscripts, "/ignoreme")
bb.utils.mkdirhier(dest)
notfound = []
for tool in tools:
--
2.32.0


[PATCH v3] musl-locales: Add package

Khem Raj
 

This package will provide a limited set of localedata for musl based
systems. It will fill in into images when IMAGE_LINGUAS variable is set
however the choice is limited to the given 13 locales as of now.

e.g.
IMAGE_LINGUAS ?= "de-de fr-fr en-gb"

would work fine

Default locale can be set by exporting LANG=<locale> in /etc/profile or some
such file e.g.

export LANG=de_DE.UTF-8

This will also help in ptest coverage with musl where some test packages
expect locales e.g. pango to name one.

Do not empty out IMAGE_LINGUAS forcibly for musl anymore

Signed-off-by: Khem Raj <raj.khem@...>
---
v2:
- Fix typo in LICENSE for musl-locales output package
- Do not reset IMAGE_LINGUAS for musl
v3:
- Skip parsing recipe when TCLIBC != musl

meta/conf/distro/include/maintainers.inc | 1 +
meta/conf/distro/include/tclibc-musl.inc | 3 +-
meta/recipes-core/musl/musl-locales_git.bb | 76 ++++++++++++++++++++++
3 files changed, 78 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-core/musl/musl-locales_git.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 8bbcf071603..8efa27324f3 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -519,6 +519,7 @@ RECIPE_MAINTAINER:pn-mtd-utils = "Denys Dmytriyenko <denis@...>"
RECIPE_MAINTAINER:pn-mtdev = "Anuj Mittal <anuj.mittal@...>"
RECIPE_MAINTAINER:pn-mtools = "Anuj Mittal <anuj.mittal@...>"
RECIPE_MAINTAINER:pn-musl = "Khem Raj <raj.khem@...>"
+RECIPE_MAINTAINER:pn-musl-locales = "Khem Raj <raj.khem@...>"
RECIPE_MAINTAINER:pn-musl-obstack = "Khem Raj <raj.khem@...>"
RECIPE_MAINTAINER:pn-musl-utils = "Khem Raj <raj.khem@...>"
RECIPE_MAINTAINER:pn-nasm = "Richard Purdie <richard.purdie@...>"
diff --git a/meta/conf/distro/include/tclibc-musl.inc b/meta/conf/distro/include/tclibc-musl.inc
index 8badbbb40a6..98d7a801ac8 100644
--- a/meta/conf/distro/include/tclibc-musl.inc
+++ b/meta/conf/distro/include/tclibc-musl.inc
@@ -10,6 +10,7 @@ PREFERRED_PROVIDER_virtual/libc ?= "musl"
PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
PREFERRED_PROVIDER_virtual/libintl ?= "musl"
PREFERRED_PROVIDER_virtual/crypt ?= "musl"
+PREFERRED_PROVIDER_virtual/libc-locale ?= "musl-locales"
PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"

@@ -19,8 +20,6 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"

CXXFLAGS += "-fvisibility-inlines-hidden"

-IMAGE_LINGUAS = ""
-
LIBC_DEPENDENCIES = "\
musl \
musl-dbg \
diff --git a/meta/recipes-core/musl/musl-locales_git.bb b/meta/recipes-core/musl/musl-locales_git.bb
new file mode 100644
index 00000000000..36377d27113
--- /dev/null
+++ b/meta/recipes-core/musl/musl-locales_git.bb
@@ -0,0 +1,76 @@
+# Copyright (C) 2022 Khem Raj <raj.khem@...>
+# Released under the MIT license (see COPYING.MIT for the terms)
+#
+SUMMARY = "Locales support for musl"
+HOMEPAGE = "https://gitlab.com/rilian-la-te/musl-locales"
+LICENSE = "MIT & LGPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cf5713fba707073020b1db2acaa73e78 \
+ file://LICENSE.MIT;md5=a4f1c6864a83ddf4b754cdab7d593523"
+
+SRC_URI = "git://gitlab.com/rilian-la-te/musl-locales;protocol=https;branch=master"
+
+PV = "1.0+git${SRCPV}"
+SRCREV = "1101fb2bcdd189cd9415b8bd1c775eb43527d25c"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "virtual/libintl"
+
+PROVIDES = "virtual/libc-locale"
+
+inherit cmake gettext
+
+EXTRA_OECMAKE = ""
+#
+# We will skip parsing for non-musl systems
+#:wq
+python () {
+ if d.getVar('TCLIBC') == "musl":
+ raise bb.parse.SkipRecipe("Only use it with Musl C library")
+}
+
+# only locale binaries are under GPL-3.0-or-later others are MIT
+LICENSE:${PN} = "LGPL-3.0-or-later"
+LICENSE:locale-base-ch-de = "MIT"
+LICENSE:locale-base-de-ch = "MIT"
+LICENSE:locale-base-de-de = "MIT"
+LICENSE:locale-base-en-gb = "MIT"
+LICENSE:locale-base-en-us = "MIT"
+LICENSE:locale-base-es-es = "MIT"
+LICENSE:locale-base-fr-fr = "MIT"
+LICENSE:locale-base-it-it = "MIT"
+LICENSE:locale-base-nb-no = "MIT"
+LICENSE:locale-base-nl-nl = "MIT"
+LICENSE:locale-base-pt-br = "MIT"
+LICENSE:locale-base-ru-ru = "MIT"
+LICENSE:locale-base-sv-se = "MIT"
+
+PACKAGES =+ "locale-base-ch-de \
+ locale-base-de-ch \
+ locale-base-de-de \
+ locale-base-en-gb \
+ locale-base-en-us \
+ locale-base-es-es \
+ locale-base-fr-fr \
+ locale-base-it-it \
+ locale-base-nb-no \
+ locale-base-nl-nl \
+ locale-base-pt-br \
+ locale-base-ru-ru \
+ locale-base-sv-se \
+ "
+FILES:locale-base-ch-de += "${datadir}/i18n/locales/musl/ch_DE.UTF-8"
+FILES:locale-base-de-ch += "${datadir}/i18n/locales/musl/de_CH.UTF-8"
+FILES:locale-base-de-de += "${datadir}/i18n/locales/musl/de_DE.UTF-8"
+FILES:locale-base-en-gb += "${datadir}/i18n/locales/musl/en_GB.UTF-8"
+FILES:locale-base-en-us += "${datadir}/i18n/locales/musl/en_US.UTF-8"
+FILES:locale-base-es-es += "${datadir}/i18n/locales/musl/es_ES.UTF-8"
+FILES:locale-base-fr-fr += "${datadir}/i18n/locales/musl/fr_FR.UTF-8"
+FILES:locale-base-it-it += "${datadir}/i18n/locales/musl/it_IT.UTF-8"
+FILES:locale-base-nb-no += "${datadir}/i18n/locales/musl/nb_NO.UTF-8"
+FILES:locale-base-nl-nl += "${datadir}/i18n/locales/musl/nl_NL.UTF-8"
+FILES:locale-base-pt-br += "${datadir}/i18n/locales/musl/pt_BR.UTF-8"
+FILES:locale-base-ru-ru += "${datadir}/i18n/locales/musl/ru_RU.UTF-8"
+FILES:locale-base-sv-se += "${datadir}/i18n/locales/musl/sv_SE.UTF-8"
+
+UPSTREAM_CHECK_COMMITS = "1"
--
2.36.0


[master][kirkstone][PATCHv2] devshell.bbclass: Allow devshell & pydevshell to use the network

Peter Kjellerstedt
 

Otherwise it will fail if using OE_TERMINAL = "xterm" with the not so
helpful error:

xterm: Xt error: Can't open display: localhost:0.0

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@...>
---

PATCHv2: Correct a typo in "do_pydevshell[network]".

meta/classes/devshell.bbclass | 2 ++
1 file changed, 2 insertions(+)

diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
index 75604d0c07..247d04478c 100644
--- a/meta/classes/devshell.bbclass
+++ b/meta/classes/devshell.bbclass
@@ -23,6 +23,7 @@ addtask devshell after do_patch do_prepare_recipe_sysroot
DEVSHELL_STARTDIR ?= "${S}"
do_devshell[dirs] = "${DEVSHELL_STARTDIR}"
do_devshell[nostamp] = "1"
+do_devshell[network] = "1"

# devshell and fakeroot/pseudo need careful handling since only the final
# command should run under fakeroot emulation, any X connection should
@@ -156,3 +157,4 @@ python do_pydevshell() {
addtask pydevshell after do_patch

do_pydevshell[nostamp] = "1"
+do_pydevshell[network] = "1"


[master][kirkstone][PATCH] devshell.bbclass: Allow devshell & pydevshell to use the network

Peter Kjellerstedt
 

Otherwise it will fail if using OE_TERMINAL = "xterm" with the not so
helpful error:

xterm: Xt error: Can't open display: localhost:0.0

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@...>
---
meta/classes/devshell.bbclass | 2 ++
1 file changed, 2 insertions(+)

diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
index 75604d0c07..f3cabe45e2 100644
--- a/meta/classes/devshell.bbclass
+++ b/meta/classes/devshell.bbclass
@@ -23,6 +23,7 @@ addtask devshell after do_patch do_prepare_recipe_sysroot
DEVSHELL_STARTDIR ?= "${S}"
do_devshell[dirs] = "${DEVSHELL_STARTDIR}"
do_devshell[nostamp] = "1"
+do_devshell[network] = "1"

# devshell and fakeroot/pseudo need careful handling since only the final
# command should run under fakeroot emulation, any X connection should
@@ -156,3 +157,4 @@ python do_pydevshell() {
addtask pydevshell after do_patch

do_pydevshell[nostamp] = "1"
+do_pydevshell[network = "1"


[master][kirkstone][PATCH] terminal.py: Restore error output from Terminal

Peter Kjellerstedt
 

In bitbake commit 1ecc1d94 (process: Do not mix stderr with stdout),
bb.process.Popen() was changed to no longer combine stdout and stderr by
default. However, the Terminal class was not updated to reflect this and
subsequently only output stdout in case of failures.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@...>
---
meta/lib/oe/terminal.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 53186c4a3e..de8dcebf94 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -30,9 +30,10 @@ class Registry(oe.classutils.ClassRegistry):

class Terminal(Popen, metaclass=Registry):
def __init__(self, sh_cmd, title=None, env=None, d=None):
+ from subprocess import STDOUT
fmt_sh_cmd = self.format_command(sh_cmd, title)
try:
- Popen.__init__(self, fmt_sh_cmd, env=env)
+ Popen.__init__(self, fmt_sh_cmd, env=env, stderr=STDOUT)
except OSError as exc:
import errno
if exc.errno == errno.ENOENT:


Re: [hardknott][PATCH] bind: Upgrade to 9.16.28

Randy MacLeod
 

On 2022-04-25 04:36, Yu, Mingli wrote:
From: Mingli Yu<mingli.yu@...>
* The 9.16 branch will be limited to bug fixes [1] now and upgrade to the
latest 9.16.x release to fix some security fixes.
- CVE-2021-25219
- CVE-2021-25220
* License-Update: copyright years
[1]https://bind9.readthedocs.io/en/v9_16/notes.html#notes-for-bind-9-16-28
Signed-off-by: Mingli Yu<mingli.yu@...>
Hi Grace,

hardknott final release (3.3.6) has been through testing now (1) and
no issues were found, so new commits are not being taken.
It's EOL.

We'll have to handle this locally in WR Linux / LTS21.



--
# Randy MacLeod
# Wind River Linux


1)

https://lists.yoctoproject.org/g/yocto/message/56878?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2C3.3.6%2C20%2C2%2C0%2C90578883


Re: [pseudo][PATCH] do not abort on hard link path mismatch

Seebs
 

On Mon, 25 Apr 2022 14:01:58 -0400
"C. Andy Martin" <cam@...> wrote:

I agree this is not the ideal solution. However, I was basing this
compromise on this commit:
Yeah. Come to think of it, directory mismatches are already probably
blowing up differently because we're more concerned about that.

Probably okay.

-s


Re: [pseudo][PATCH] do not abort on hard link path mismatch

C. Andy Martin
 

On Mon, Apr 25, 2022, at 11:44 AM, Seebs wrote:
On Mon, 25 Apr 2022 10:49:24 -0400
"C. Andy Martin" <cam@...> wrote:

- msg->result = RESULT_ABORT;
- goto op_exit;
+ if (msg->nlink == 1) {
+ msg->result =
RESULT_ABORT;
+ goto op_exit;
+ }
I'm distrustful of this because I feel like, in the case where we have
apparently-stale information in the database, we really should be coming
back with "we don't have valid database information", not yielding
what's probably incorrect/old data.

I'm also concerned a bit because nlink is never 1 for a directory...

-s
I agree this is not the ideal solution. However, I was basing this compromise on this commit:

commit 691a2304c8c29a3b7d5977908ef82aaf188f5ba0
Author: Seebs <seebs@...>
Date: Fri Apr 13 14:37:34 2018 -0500

Less chatty debugging

Stop producing the path mismatch messages for things with multiple
links. We could probably make this smarter, but for now this is
sufficient to reduce the spam.

pseudo_debug(0, ...) now produces a message, as a special case.

Signed-off-by: Seebs <seebs@...>

The issue is w/out the change, my builds occasionally abort due to races
-Andy


Yocto Project Newcomer & Unassigned Bugs - Help Needed

Stephen Jolley
 

All,

 

The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs  Also please review: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and how to create a bugzilla account at: https://bugzilla.yoctoproject.org/createaccount.cgi

The idea is these bugs should be straight forward for a person to help work on who doesn't have deep experience with the project.  If anyone can help, please take ownership of the bug and send patches!  If anyone needs help/advice there are people on irc who can likely do so, or some of the more experienced contributors will likely be happy to help too.

 

Also, the triage team meets weekly and does its best to handle the bugs reported into the Bugzilla. The number of people attending that meeting has fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the triage team) are therefore going to start reporting out the currently 421 unassigned or newcomer bugs.

 

We're hoping people may be able to spare some time now and again to help out with these.  Bugs are split into two types, "true bugs" where things don't work as they should and "enhancements" which are features we'd want to add to the system.  There are also roughly four different "priority" classes right now,  “3.5, “3.6”, "3.99" and "Future", the more pressing/urgent issues being in "4.1" and then “4.2”.

 

Please review this link and if a bug is something you would be able to help with either take ownership of the bug, or send me (sjolley.yp.pm@...) an e-mail with the bug number you would like and I will assign it to you (please make sure you have a Bugzilla account).  The list is at: https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Re: [PATCH] scripts: Make git intercept global

Khem Raj
 

I see git describe hung during bitbake parse stage in few of meta-oe
recipe and also kernel recipe with this patch.

On Mon, Apr 25, 2022 at 7:01 AM Richard Purdie
<richard.purdie@...> wrote:

The previous minimially invasive git intercept simply isn't enough. For example,
meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure
step so at install time, changing PATH has no effect.

There are lots of interesting things we could do to try and avoid problems but
making the git intercept and dropping fakeroot privs for git global is probably
the least worst solution at this point. It will add slight overhead to git calls
but we don't make many so the overall impact is likely minimal.

Signed-off-by: Richard Purdie <richard.purdie@...>
---
meta/classes/base.bbclass | 1 -
meta/classes/devshell.bbclass | 2 --
scripts/{git-intercept => }/git | 0
3 files changed, 3 deletions(-)
rename scripts/{git-intercept => }/git (100%)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index b54b56d6248..3515720bf95 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -367,7 +367,6 @@ addtask install after do_compile
do_install[dirs] = "${B}"
# Remove and re-create ${D} so that is it guaranteed to be empty
do_install[cleandirs] = "${D}"
-PATH:prepend:task-install = "${COREBASE}/scripts/git-intercept:"

base_do_install() {
:
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
index 75604d0c076..62dc958d9a4 100644
--- a/meta/classes/devshell.bbclass
+++ b/meta/classes/devshell.bbclass
@@ -2,8 +2,6 @@ inherit terminal

DEVSHELL = "${SHELL}"

-PATH:prepend:task-devshell = "${COREBASE}/scripts/git-intercept:"
-
python do_devshell () {
if d.getVarFlag("do_devshell", "manualfakeroot"):
d.prependVar("DEVSHELL", "pseudo ")
diff --git a/scripts/git-intercept/git b/scripts/git
similarity index 100%
rename from scripts/git-intercept/git
rename to scripts/git
--
2.32.0




Re: [PATCH] rust: update 1.59.0 -> 1.60.0

Khem Raj
 

On Mon, Apr 25, 2022 at 8:52 AM Alexander Kanavin
<alex.kanavin@...> wrote:

On Mon, 25 Apr 2022 at 17:33, Khem Raj <raj.khem@...> wrote:
--- a/meta/recipes-devtools/rust/rust-snapshot.inc
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -2,21 +2,21 @@
## snapshot info is taken from rust/src/stage0.txt
## TODO: find a way to add additional SRC_URIs based on the contents of an
## earlier SRC_URI.
-RS_VERSION = "1.58.0"
-CARGO_VERSION = "1.58.0"
+RS_VERSION = "1.59.0"
+CARGO_VERSION = "1.59.0"
why 1.59.0 ? its a bit counter-intuitive.
Rust is self-hosting and bootstraps itself with a pre-built previous
version of itself. Just like gcc. The exact (previous) version that
has been used is specified in the source tarball, here we just
replicate that info.
right, this might be good to have as comment on top of that assignment
for future reference


Alex


Re: [master][kirkstone][PATCH] gstreamer1.0-plugins-good: Fix libsoup dependency

Khem Raj
 

On Mon, Apr 25, 2022 at 9:19 AM Carlos Rafael Giani via
lists.openembedded.org <crg7475=mailbox.org@...>
wrote:

According to https://gstreamer.freedesktop.org/releases/1.20/ , libsoup 3 support isn't stable:

Runtime compatibility support for libsoup2 and libsoup3 (libsoup3 support experimental)
So I wouldn't add it just yet.
fair enough.


On 25.04.22 17:39, Khem Raj wrote:



On 4/25/22 8:01 AM, Carlos Rafael Giani via lists.openembedded.org wrote:

Signed-off-by: Carlos Rafael Giani <crg7475@...>
---
.../gstreamer/gstreamer1.0-plugins-good_1.20.1.bb | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
index 08ff5a0bb5..1f61d9a10e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
@@ -49,7 +49,12 @@ PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-
PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
-PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4"
+# Starting with version 1.20, the GStreamer soup plugin loads libsoup with dlopen()
+# instead of linking to it. And instead of using the default libsoup C headers, it
+# uses its own stub header. Consequently, objdump will not show the libsoup .so as
+# a dependency, and libsoup won't be added to an image. Fix this by setting libsoup
+# as RDEPEND instead of DEPEND.
+PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,,libsoup-2.4"


We have soup3 as well. I wonder if that should also be an option ?

PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex"
PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib"








Re: [master][kirkstone][PATCH] gstreamer1.0-plugins-good: Fix libsoup dependency

Carlos Rafael Giani
 

According to https://gstreamer.freedesktop.org/releases/1.20/ , libsoup 3 support isn't stable:

> Runtime compatibility support for libsoup2 and libsoup3 (libsoup3 support experimental)

So I wouldn't add it just yet.


On 25.04.22 17:39, Khem Raj wrote:



On 4/25/22 8:01 AM, Carlos Rafael Giani via lists.openembedded.org wrote:
Signed-off-by: Carlos Rafael Giani <crg7475@...>
---
  .../gstreamer/gstreamer1.0-plugins-good_1.20.1.bb          | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
index 08ff5a0bb5..1f61d9a10e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
@@ -49,7 +49,12 @@ PACKAGECONFIG[libv4l2]    = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-
  PACKAGECONFIG[mpg123]     = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
  PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
  PACKAGECONFIG[qt5]        = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
-PACKAGECONFIG[soup]       = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4"
+# Starting with version 1.20, the GStreamer soup plugin loads libsoup with dlopen()
+# instead of linking to it. And instead of using the default libsoup C headers, it
+# uses its own stub header. Consequently, objdump will not show the libsoup .so as
+# a dependency, and libsoup won't be added to an image. Fix this by setting libsoup
+# as RDEPEND instead of DEPEND.
+PACKAGECONFIG[soup]       = "-Dsoup=enabled,-Dsoup=disabled,,libsoup-2.4"

We have soup3 as well. I wonder if that should also be an option ?

  PACKAGECONFIG[speex]      = "-Dspeex=enabled,-Dspeex=disabled,speex"
  PACKAGECONFIG[rpi]        = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
  PACKAGECONFIG[taglib]     = "-Dtaglib=enabled,-Dtaglib=disabled,taglib"






Re: [PATCH] rust: update 1.59.0 -> 1.60.0

Alexander Kanavin
 

On Mon, 25 Apr 2022 at 17:33, Khem Raj <raj.khem@...> wrote:
--- a/meta/recipes-devtools/rust/rust-snapshot.inc
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -2,21 +2,21 @@
## snapshot info is taken from rust/src/stage0.txt
## TODO: find a way to add additional SRC_URIs based on the contents of an
## earlier SRC_URI.
-RS_VERSION = "1.58.0"
-CARGO_VERSION = "1.58.0"
+RS_VERSION = "1.59.0"
+CARGO_VERSION = "1.59.0"
why 1.59.0 ? its a bit counter-intuitive.
Rust is self-hosting and bootstraps itself with a pre-built previous
version of itself. Just like gcc. The exact (previous) version that
has been used is specified in the source tarball, here we just
replicate that info.

Alex