[OE-core] [PATCH] qemu: Fix DHCP broken in libslirp

2021-08-03 Thread Zhang, Qiang
From: Zqiang 

Fix issue 48
Reference to upstream patch:
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/c9f314f6e315a5518432761fea864196a290f799

Signed-off-by: Zqiang 
---
 meta/recipes-devtools/qemu/qemu.inc   |  1 +
 ...1-Fix-DHCP-broken-in-libslirp-v4.6.0.patch | 32 +++
 2 files changed, 33 insertions(+)
 create mode 100644 
meta/recipes-devtools/qemu/qemu/0001-Fix-DHCP-broken-in-libslirp-v4.6.0.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 3921546df7..bed175e59d 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -57,6 +57,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2020-27821.patch \
file://CVE-2021-20263.patch \
file://CVE-2021-3392.patch \
+   file://0001-Fix-DHCP-broken-in-libslirp-v4.6.0.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git 
a/meta/recipes-devtools/qemu/qemu/0001-Fix-DHCP-broken-in-libslirp-v4.6.0.patch 
b/meta/recipes-devtools/qemu/qemu/0001-Fix-DHCP-broken-in-libslirp-v4.6.0.patch
new file mode 100644
index 00..480dcee05e
--- /dev/null
+++ 
b/meta/recipes-devtools/qemu/qemu/0001-Fix-DHCP-broken-in-libslirp-v4.6.0.patch
@@ -0,0 +1,32 @@
+From c9f314f6e315a5518432761fea864196a290f799 Mon Sep 17 00:00:00 2001
+From: Akihiro Suda 
+Date: Thu, 17 Jun 2021 18:01:32 +0900
+Subject: [PATCH] Fix "DHCP broken in libslirp v4.6.0"
+
+Fix issue 48
+Reference to upstream patch:
+https://gitlab.freedesktop.org/slirp/libslirp/-/commit/c9f314f6e315a5518432761fea864196a290f799
+
+Signed-off-by: Akihiro Suda 
+---
+ src/bootp.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/bootp.c b/src/bootp.c
+index cafa1eb..0a35873 100644
+--- a/slirp/src/bootp.c
 b/slirp/src/bootp.c
+@@ -359,7 +359,9 @@ static void bootp_reply(Slirp *slirp,
+ 
+ daddr.sin_addr.s_addr = 0xu;
+ 
+-m->m_len = sizeof(struct bootp_t) - sizeof(struct ip) - sizeof(struct 
udphdr);
++assert ((q - rbp->bp_vend + 1) <= DHCP_OPT_LEN);
++
++m->m_len = sizeof(struct bootp_t) + (q - rbp->bp_vend + 1) - 
sizeof(struct ip) - sizeof(struct udphdr);
+ udp_output(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY);
+ }
+ 
+-- 
+2.17.1
+
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154408): 
https://lists.openembedded.org/g/openembedded-core/message/154408
Mute This Topic: https://lists.openembedded.org/mt/84656330/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [hardknott][PATCH] curl: fix CVES

2021-08-03 Thread Yu, Mingli
From: Mingli Yu 

Backport patches to fix below CVEs:
CVE-2021-22901
CVE-2021-22924
CVE-2021-22926

Signed-off-by: Mingli Yu 
---
 .../curl/curl/CVE-2021-22901.patch| 453 ++
 .../curl/curl/CVE-2021-22924.patch| 298 
 .../curl/curl/CVE-2021-22926.patch|  79 +++
 meta/recipes-support/curl/curl_7.75.0.bb  |   3 +
 4 files changed, 833 insertions(+)
 create mode 100644 meta/recipes-support/curl/curl/CVE-2021-22901.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2021-22924.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2021-22926.patch

diff --git a/meta/recipes-support/curl/curl/CVE-2021-22901.patch 
b/meta/recipes-support/curl/curl/CVE-2021-22901.patch
new file mode 100644
index 00..c5775c6306
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2021-22901.patch
@@ -0,0 +1,453 @@
+From a801ebdc2b1c008fa72c31f1bf7773d99e6e2a2d Mon Sep 17 00:00:00 2001
+From: Harry Sintonen 
+Date: Tue, 3 Aug 2021 08:41:45 +
+Subject: [PATCH] openssl: associate/detach the transfer from connection
+
+CVE-2021-22901
+
+Bug: https://curl.se/docs/CVE-2021-22901.html
+
+CVE: CVE-2021-22901
+
+Upstream-Status: Backport 
[https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479]
+
+Signed-off-by: Mingli Yu 
+---
+ lib/multi.c  |   5 +-
+ lib/vtls/gskit.c |   4 +-
+ lib/vtls/gtls.c  |   4 +-
+ lib/vtls/mbedtls.c   |   4 +-
+ lib/vtls/mesalink.c  |   4 +-
+ lib/vtls/nss.c   |   4 +-
+ lib/vtls/openssl.c   | 146 +++
+ lib/vtls/schannel.c  |   6 +-
+ lib/vtls/sectransp.c |   4 +-
+ lib/vtls/vtls.c  |  23 ++-
+ lib/vtls/vtls.h  |  12 
+ lib/vtls/wolfssl.c   |   4 +-
+ 12 files changed, 170 insertions(+), 50 deletions(-)
+
+diff --git a/lib/multi.c b/lib/multi.c
+index 85707a1..a4ff9ac 100644
+--- a/lib/multi.c
 b/lib/multi.c
+@@ -875,8 +875,10 @@ bool Curl_multiplex_wanted(const struct Curl_multi *multi)
+ void Curl_detach_connnection(struct Curl_easy *data)
+ {
+   struct connectdata *conn = data->conn;
+-  if(conn)
++  if(conn) {
+ Curl_llist_remove(&conn->easyq, &data->conn_queue, NULL);
++Curl_ssl_detach_conn(data, conn);
++  }
+   data->conn = NULL;
+ }
+ 
+@@ -893,6 +895,7 @@ void Curl_attach_connnection(struct Curl_easy *data,
+   data->conn = conn;
+   Curl_llist_insert_next(&conn->easyq, conn->easyq.tail, data,
+  &data->conn_queue);
++  Curl_ssl_associate_conn(data, conn);
+ }
+ 
+ static int waitconnect_getsock(struct connectdata *conn,
+diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c
+index 9b5f649..bd9c602 100644
+--- a/lib/vtls/gskit.c
 b/lib/vtls/gskit.c
+@@ -1282,7 +1282,9 @@ const struct Curl_ssl Curl_ssl_gskit = {
+   Curl_none_set_engine_default,   /* set_engine_default */
+   Curl_none_engines_list, /* engines_list */
+   Curl_none_false_start,  /* false_start */
+-  NULL/* sha256sum */
++  NULL,   /* sha256sum */
++  NULL,   /* associate_connection */
++  NULL/* disassociate_connection */
+ };
+ 
+ #endif /* USE_GSKIT */
+diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c
+index 28ca528..24e036b 100644
+--- a/lib/vtls/gtls.c
 b/lib/vtls/gtls.c
+@@ -1683,7 +1683,9 @@ const struct Curl_ssl Curl_ssl_gnutls = {
+   Curl_none_set_engine_default,  /* set_engine_default */
+   Curl_none_engines_list,/* engines_list */
+   Curl_none_false_start, /* false_start */
+-  gtls_sha256sum /* sha256sum */
++  gtls_sha256sum,/* sha256sum */
++  NULL,  /* associate_connection */
++  NULL   /* disassociate_connection */
+ };
+ 
+ #endif /* USE_GNUTLS */
+diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c
+index bd0e080..fc973c7 100644
+--- a/lib/vtls/mbedtls.c
 b/lib/vtls/mbedtls.c
+@@ -1112,7 +1112,9 @@ const struct Curl_ssl Curl_ssl_mbedtls = {
+   Curl_none_set_engine_default, /* set_engine_default */
+   Curl_none_engines_list,   /* engines_list */
+   Curl_none_false_start,/* false_start */
+-  mbedtls_sha256sum /* sha256sum */
++  mbedtls_sha256sumi,   /* sha256sum */
++  NULL, /* associate_connection */
++  NULL  /* disassociate_connection */
+ };
+ 
+ #endif /* USE_MBEDTLS */
+diff --git a/lib/vtls/mesalink.c b/lib/vtls/mesalink.c
+index ad807d3..8a91487 100644
+--- a/lib/vtls/mesalink.c
 b/lib/vtls/mesalink.c
+@@ -666,7 +666,9 @@ const struct Curl_ssl Curl_ssl_mesalink = {
+   Curl_none_set_engine_default,  /* set_engine_default */
+   Curl_none_engines_list,/* engines_list */
+   Curl_none_false_start, /* false_start */
+-  NULL   /* sha256sum */
++  NULL,  /* sha256sum */
++  NULL,  

[OE-core][PATCH] libxft: Fix bad PKG value

2021-08-03 Thread Joshua Watt
The PKG value should only be munged for DEBIAN_NAMES during
populate_packages. Otherwise, native packages can have the wrong value.

Signed-off-by: Joshua Watt 
---
 meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb 
b/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb
index a6fb5642da..9695afd625 100644
--- a/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb
@@ -27,7 +27,7 @@ XORG_PN = "libXft"
 
 BBCLASSEXTEND = "native nativesdk"
 
-python () {
-if d.getVar('DEBIAN_NAMES'):
-d.setVar('PKG:${PN}', '${MLPREFIX}libxft2')
+python populate_packages:prepend () {
+if d.getVar('DEBIAN_NAMES'):
+d.setVar('PKG:${PN}', '${MLPREFIX}libxft2')
 }
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154406): 
https://lists.openembedded.org/g/openembedded-core/message/154406
Mute This Topic: https://lists.openembedded.org/mt/84654577/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 0/4] yocto-check-layer: add support to check for dependencies

2021-08-03 Thread Denys Dmytriyenko
On Mon, Aug 02, 2021 at 05:07:41AM -1000, Steve Sakoman wrote:
> On Mon, Aug 2, 2021 at 5:04 AM Richard Purdie
>  wrote:
> >
> > On Mon, 2021-08-02 at 04:57 -1000, Steve Sakoman wrote:
> > > On Mon, Aug 2, 2021 at 12:35 AM Nicolas Dechesne
> > >  wrote:
> > > >
> > > > These patches are now merged in master, and I believe they should be 
> > > > merged in
> > > > dunfell and hardknott too. The 4 patches apply as-is in both branches. 
> > > > Let me
> > > > know if you need anything from me!
> > >
> > > Done.  I assume I also need a version of the autobuilder-helper patch:
> > >
> > > https://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-
> > > helper/commit/?id=fe72e222961d69dcd4d638e7e05b437a65e8f34c
> > >
> > > It seems that dunfell is checking a much more limited set of layers
> > > (only meta-intel for check-layer-nightly)  Should I expand this list?
> >
> > There has been work to get some of them working, so yes, I think it would
> > be good to test and see where we stand.
> 
> OK, will do.

Steve,

Would you be able to publish results of your testing on dunfell?

I'm interested in some expanded compat checks in master, but they were blocked 
by known limitations in dunfell - was wondering if those got resolved yet. 
Thanks!

-- 
Regards,
Denys Dmytriyenko 
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154405): 
https://lists.openembedded.org/g/openembedded-core/message/154405
Mute This Topic: https://lists.openembedded.org/mt/84377963/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libwpe: remove rpi-specific custom code

2021-08-03 Thread Denys Dmytriyenko
This recipe was ported from another layer, which had special handling for rpi.

OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' 
DISTRO_FEATURES
and overall, BSP-specifics should be handled in downstream layers, not in 
OE-Core.

Signed-off-by: Denys Dmytriyenko 
---
 meta/recipes-sato/webkit/libwpe_1.10.1.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-sato/webkit/libwpe_1.10.1.bb 
b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
index 22fff93..6f2fe1d 100644
--- a/meta/recipes-sato/webkit/libwpe_1.10.1.bb
+++ b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
@@ -6,9 +6,6 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=371a616eb4903c6cb79e9893a5f615cc"
 DEPENDS = "virtual/egl libxkbcommon"
 
-# Workaround build issue with RPi userland EGL libraries.
-CFLAGS:append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 
'', '-D_GNU_SOURCE', d)}"
-
 inherit cmake features_check
 
 REQUIRED_DISTRO_FEATURES = "opengl"
-- 
2.7.4


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154404): 
https://lists.openembedded.org/g/openembedded-core/message/154404
Mute This Topic: https://lists.openembedded.org/mt/84653556/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/2] meta: convert nested overrides leftovers to new syntax

2021-08-03 Thread Denys Dmytriyenko
Those were missed in previous rounds of automated and manual conversion.

Signed-off-by: Denys Dmytriyenko 
---
 meta/classes/manpages.bbclass  | 4 ++--
 meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 +-
 meta/recipes-devtools/gcc/gcc-cross-canadian.inc   | 8 
 meta/recipes-devtools/gcc/gcc-runtime.inc  | 2 +-
 meta/recipes-devtools/gdb/gdb-common.inc   | 8 
 meta/recipes-kernel/perf/perf.bb   | 2 +-
 6 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/meta/classes/manpages.bbclass b/meta/classes/manpages.bbclass
index 3a96659..64b7d8c 100644
--- a/meta/classes/manpages.bbclass
+++ b/meta/classes/manpages.bbclass
@@ -12,7 +12,7 @@ MAN_PKG ?= "${PN}-doc"
 # only add man-db to RDEPENDS when manual files are built and installed
 RDEPENDS:${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 
'man-db', '', d)}"
 
-pkg_postinst:append_${MAN_PKG} () {
+pkg_postinst:append:${MAN_PKG} () {
# only update manual page index caches when manual files are built and 
installed
if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', 
d)}; then
if test -n "$D"; then
@@ -36,7 +36,7 @@ pkg_postinst:append_${MAN_PKG} () {
fi
 }
 
-pkg_postrm:append_${MAN_PKG} () {
+pkg_postrm:append:${MAN_PKG} () {
# only update manual page index caches when manual files are built and 
installed
if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', 
d)}; then
mandb -q
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc 
b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index e9bc8e4..e4cdb73 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -56,7 +56,7 @@ export gcc_cv_collect2_libs = 'none required'
 # in the config.log files (which might not get generated until do_compile
 # hence being missed by the insane do_configure check).
 
-EXTRA_OECONF:append_linux = " --enable-__cxa_atexit"
+EXTRA_OECONF:append:linux = " --enable-__cxa_atexit"
 
 EXTRA_OECONF:append:mips64 = " --with-abi=64 --with-arch-64=mips64 
--with-tune-64=mips64"
 EXTRA_OECONF:append:mips64el = " --with-abi=64 --with-arch-64=mips64 
--with-tune-64=mips64"
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc 
b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 92fb1f3..495dd90 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -180,9 +180,9 @@ SYSTEMLIBS = "${target_base_libdir}/"
 SYSTEMLIBS1 = "${target_libdir}/"
 
 EXTRA_OECONF += "--enable-poison-system-directories"
-EXTRA_OECONF:remove_elf = "--with-sysroot=/not/exist"
-EXTRA_OECONF:remove_eabi = "--with-sysroot=/not/exist"
-EXTRA_OECONF:append_elf = " --without-headers --with-newlib"
-EXTRA_OECONF:append_eabi = " --without-headers --with-newlib"
+EXTRA_OECONF:remove:elf = "--with-sysroot=/not/exist"
+EXTRA_OECONF:remove:eabi = "--with-sysroot=/not/exist"
+EXTRA_OECONF:append:elf = " --without-headers --with-newlib"
+EXTRA_OECONF:append:eabi = " --without-headers --with-newlib"
 # gcc 4.7 needs -isystem
 export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} 
-isystem=${target_includedir}"
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc 
b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 9e39d49..4839a66 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -281,7 +281,7 @@ SUMMARY:libitm-staticdev = "GNU transactional memory 
support library - static de
 
 require gcc-testsuite.inc
 
-EXTRA_OEMAKE:prepend_task-check = "${PARALLEL_MAKE} "
+EXTRA_OEMAKE:prepend:task-check = "${PARALLEL_MAKE} "
 
 MAKE_CHECK_TARGETS ??= "check-gcc ${@" ".join("check-target-" + i for i in 
d.getVar("RUNTIMETARGET").split())}"
 # prettyprinters and xmethods require gdb tooling
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc 
b/meta/recipes-devtools/gdb/gdb-common.inc
index 01cca12..0fe7b4e 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -59,7 +59,7 @@ do_install:append() {
rm -f ${D}${infodir}/bfd.info
 }
 
-RRECOMMENDS:gdb:append_linux = " glibc-thread-db "
-RRECOMMENDS:gdb:append_linux-gnueabi = " glibc-thread-db "
-RRECOMMENDS:gdbserver:append_linux = " glibc-thread-db "
-RRECOMMENDS:gdbserver:append_linux-gnueabi = " glibc-thread-db "
+RRECOMMENDS:gdb:append:linux = " glibc-thread-db "
+RRECOMMENDS:gdb:append:linux-gnueabi = " glibc-thread-db "
+RRECOMMENDS:gdbserver:append:linux = " glibc-thread-db "
+RRECOMMENDS:gdbserver:append:linux-gnueabi = " glibc-thread-db "
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 8ebd7d7..f473272 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -110,7 +110,7 @@ EXTRA_OEMAKE += "\
 # that it has to be done this way rather than b

[OE-core] [PATCH 2/2] convert-overrides.py: handle few more cases of overrides

2021-08-03 Thread Denys Dmytriyenko
Add task-configure and few more supported values of TARGET_OS override.

Signed-off-by: Denys Dmytriyenko 
---
 scripts/contrib/convert-overrides.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/contrib/convert-overrides.py 
b/scripts/contrib/convert-overrides.py
index 6505b18..23f63a2 100755
--- a/scripts/contrib/convert-overrides.py
+++ b/scripts/contrib/convert-overrides.py
@@ -36,9 +36,10 @@ vars = vars + ["mipsarch", "x86-x32", "mips16e", 
"microblaze", "e5500-64b", "mip
 vars = vars + ["class-native", "class-target", "class-cross-canadian", 
"class-cross", "class-devupstream"]
 vars = vars + ["tune-",  "pn-", "forcevariable"]
 vars = vars + ["libc-musl", "libc-glibc", "libc-newlib","libc-baremetal"]
-vars = vars + ["task-compile", "task-install", "task-clean", "task-image-qa", 
"task-rm_work", "task-image-complete", "task-populate-sdk"]
+vars = vars + ["task-configure", "task-compile", "task-install", "task-clean", 
"task-image-qa", "task-rm_work", "task-image-complete", "task-populate-sdk"]
 vars = vars + ["toolchain-clang", "mydistro", "nios2", "sdkmingw32", 
"overrideone", "overridetwo"]
 vars = vars + ["linux-gnux32", "linux-muslx32", "linux-gnun32", "mingw32", 
"poky", "darwin", "linuxstdbase"]
+vars = vars + ["linux", "linux-gnueabi", "elf", "eabi"]
 vars = vars + ["virtclass-multilib", "virtclass-mcextend"]
 
 # List of strings to treat as overrides but only with whitespace following or 
another override (more restricted matching).
@@ -121,7 +122,7 @@ def processfile(fn):
 pass
 
 ourname = os.path.basename(sys.argv[0])
-ourversion = "0.9.1"
+ourversion = "0.9.2"
 
 if os.path.isfile(sys.argv[1]):
 processfile(sys.argv[1])
-- 
2.7.4


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154402): 
https://lists.openembedded.org/g/openembedded-core/message/154402
Mute This Topic: https://lists.openembedded.org/mt/84653465/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] MAINTAINERS: Saul will cover devtool and eSDK

2021-08-03 Thread Saul Wold
Signed-off-by: Saul Wold 
---
 MAINTAINERS.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MAINTAINERS.md b/MAINTAINERS.md
index 604d800f63..2ddcde6878 100644
--- a/MAINTAINERS.md
+++ b/MAINTAINERS.md
@@ -38,6 +38,8 @@ Component/Subsystem Maintainers
 * Toolchain: Khem Raj
 * ptest-runner: Aníbal Limón
 * opkg: Alex Stewart
+* devtool: Saul Wold
+* eSDK: Saul Wold
 
 Maintainers needed
 --
@@ -53,8 +55,6 @@ Maintainers needed
 * Prelink-cross
 * Matchbox
 * Sato
-* devtool
-* eSDK
 * Autobuilder
 
 Layer Maintainers needed
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154401): 
https://lists.openembedded.org/g/openembedded-core/message/154401
Mute This Topic: https://lists.openembedded.org/mt/84650612/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 4/9] iputils: update 20210202 -> 20210722

2021-08-03 Thread Martin Jansa
This upgrade causes iputils to fail building on hosts without ip:

../git/ping/meson.build:38:0: ERROR: Program or command 'ip' not found or
not executable

It would need
https://github.com/iputils/iputils/commit/3163c49f9f4ad473a00d8a345ee334a028376011
and -DSKIP_TESTS=true

On Fri, Jul 30, 2021 at 1:45 PM Alexander Kanavin 
wrote:

> Drop rdisc part from 0001-rarpd-rdisc-Drop-PrivateUsers.patch
> as it's been fixed upstream; rarpd still isn't.
>
> Signed-off-by: Alexander Kanavin 
> ---
>  .../0001-rarpd-rdisc-Drop-PrivateUsers.patch  | 31 ---
>  ...putils_20210202.bb => iputils_20210722.bb} |  2 +-
>  2 files changed, 7 insertions(+), 26 deletions(-)
>  rename meta/recipes-extended/iputils/{iputils_20210202.bb =>
> iputils_20210722.bb} (98%)
>
> diff --git
> a/meta/recipes-extended/iputils/iputils/0001-rarpd-rdisc-Drop-PrivateUsers.patch
> b/meta/recipes-extended/iputils/iputils/0001-rarpd-rdisc-Drop-PrivateUsers.patch
> index d7367caf78..c61e39dc80 100644
> ---
> a/meta/recipes-extended/iputils/iputils/0001-rarpd-rdisc-Drop-PrivateUsers.patch
> +++
> b/meta/recipes-extended/iputils/iputils/0001-rarpd-rdisc-Drop-PrivateUsers.patch
> @@ -1,20 +1,20 @@
> -From 6e51d529988cfc0bb357751fd767e9f1478e2b81 Mon Sep 17 00:00:00 2001
> +From dfeeb3f1328d09f516edeb6349bd63e3c87f9397 Mon Sep 17 00:00:00 2001
>  From: Alex Kiernan 
>  Date: Thu, 13 Feb 2020 06:08:45 +
> -Subject: [PATCH] rarpd: rdisc: Drop PrivateUsers
> +Subject: [PATCH] rarpd:Drop PrivateUsers
>
> -Neither rarpd nor rdisc can gain the necessary capabilities with
> +rarpd cannot gain the necessary capabilities with
>  PrivateUsers enabled.
>
>  Upstream-Status: Pending
>  Signed-off-by: Alex Kiernan 
> +
>  ---
>   systemd/rarpd.service.in | 1 -
> - systemd/rdisc.service.in | 3 ++-
> - 2 files changed, 2 insertions(+), 2 deletions(-)
> + 1 file changed, 1 deletion(-)
>
>  diff --git a/systemd/rarpd.service.in b/systemd/rarpd.service.in
> -index e600c10c93e6..f5d7621a7ce8 100644
> +index e600c10..f5d7621 100644
>  --- a/systemd/rarpd.service.in
>  +++ b/systemd/rarpd.service.in
>  @@ -12,7 +12,6 @@ AmbientCapabilities=CAP_NET_RAW
> @@ -25,22 +25,3 @@ index e600c10c93e6..f5d7621a7ce8 100644
>   ProtectSystem=strict
>   ProtectHome=yes
>   ProtectControlGroups=yes
> -diff --git a/systemd/rdisc.service.in b/systemd/rdisc.service.in
> -index 4e2a1ec9d0e5..a71b87d36b37 100644
>  a/systemd/rdisc.service.in
> -+++ b/systemd/rdisc.service.in
> -@@ -8,9 +8,10 @@ After=network.target
> - EnvironmentFile=-/etc/sysconfig/rdisc
> - ExecStart=@sbindir@/rdisc -f -t $OPTIONS $SEND_ADDRESS $RECEIVE_ADDRESS
> -
> -+CapabilityBoundingSet=CAP_NET_RAW
> - AmbientCapabilities=CAP_NET_RAW
> - PrivateTmp=yes
> --PrivateUsers=yes
> -+DynamicUser=yes
> - ProtectSystem=strict
> - ProtectHome=yes
> - ProtectControlGroups=yes
> ---
> -2.17.1
> -
> diff --git a/meta/recipes-extended/iputils/iputils_20210202.bb
> b/meta/recipes-extended/iputils/iputils_20210722.bb
> similarity index 98%
> rename from meta/recipes-extended/iputils/iputils_20210202.bb
> rename to meta/recipes-extended/iputils/iputils_20210722.bb
> index 02a303782e..b5a774073e 100644
> --- a/meta/recipes-extended/iputils/iputils_20210202.bb
> +++ b/meta/recipes-extended/iputils/iputils_20210722.bb
> @@ -13,7 +13,7 @@ DEPENDS = "gnutls"
>  SRC_URI = "git://github.com/iputils/iputils \
> file://0001-rarpd-rdisc-Drop-PrivateUsers.patch \
> "
> -SRCREV = "cc16da6b574ce6637f3e6e9ab3c1a728663006ff"
> +SRCREV = "71bb2a6c72e9f658e90ac618c73d873a76bbaa81"
>
>  S = "${WORKDIR}/git"
>
> --
> 2.31.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154400): 
https://lists.openembedded.org/g/openembedded-core/message/154400
Mute This Topic: https://lists.openembedded.org/mt/84548196/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] systemd-boot: use ld.bfd as efi-ld when gold is being used by default with ld-is-gold

2021-08-03 Thread Martin Jansa
Probably as lld isn't supported as well:
https://github.com/systemd/systemd/commit/e39288193fcdf3a36dbc49b78e6c9bf86a764e31

On Tue, Aug 3, 2021 at 9:19 PM Andre McCurdy  wrote:

> On Tue, Aug 3, 2021 at 12:04 PM Martin Jansa 
> wrote:
> >
> > * since the upgrade to 249.1 in:
> >
> https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c
> >   the builds with ld-is-gold are failing with:
> >
> >   [17/21] Generating linuxx64.elf.stub with a custom command
> >   FAILED: src/boot/efi/linuxx64.elf.stub
> >
>  
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld
> -o src/boot/efi/linuxx64.elf.stub -T
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds
> -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o
> src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o
> src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o
> src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o
> src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a
> >
>  
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld:
> internal error in segment_precedes, at ../../gold/layout.cc:3721
> >   [18/21] Generating boot.c.o with a custom command
> >   ninja: build stopped: subcommand failed.
> >   WARNING: exit code 1 from a shell command.
> >
> >   as reported in:
> >   https://lists.openembedded.org/g/openembedded-core/message/154246
> >
> >   work around this by using ld.bfd when ld-is-gold is in DISTRO_FEATURES
> >
> > Signed-off-by: Martin Jansa 
> > ---
> >  meta/recipes-core/systemd/systemd-boot_249.1.bb | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-core/systemd/systemd-boot_249.1.bb
> b/meta/recipes-core/systemd/systemd-boot_249.1.bb
> > index d767b5bf8d..18f4fe55ce 100644
> > --- a/meta/recipes-core/systemd/systemd-boot_249.1.bb
> > +++ b/meta/recipes-core/systemd/systemd-boot_249.1.bb
> > @@ -19,11 +19,13 @@ objcopy = ${@meson_array('OBJCOPY', d)}
> >  EOF
> >  }
> >
> > +EFI_LD = "${@d.getVar('LD').split()[0]}"
> > +
> >  EXTRA_OEMESON += "-Defi=true \
> >-Dgnu-efi=true \
> >-Defi-includedir=${STAGING_INCDIR}/efi \
> >-Defi-libdir=${STAGING_LIBDIR} \
> > -  -Defi-ld=${@ d.getVar('LD').split()[0]} \
> > +  -Defi-ld=${@bb.utils.contains('DISTRO_FEATURES',
> 'ld-is-gold', 'ld.bfd', '${EFI_LD}', d)} \
>
> Could this just be set to ld.bfd in all cases?
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154399): 
https://lists.openembedded.org/g/openembedded-core/message/154399
Mute This Topic: https://lists.openembedded.org/mt/84646246/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] systemd-boot: use ld.bfd as efi-ld when gold is being used by default with ld-is-gold

2021-08-03 Thread Andre McCurdy
On Tue, Aug 3, 2021 at 12:04 PM Martin Jansa  wrote:
>
> * since the upgrade to 249.1 in:
>   
> https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c
>   the builds with ld-is-gold are failing with:
>
>   [17/21] Generating linuxx64.elf.stub with a custom command
>   FAILED: src/boot/efi/linuxx64.elf.stub
>   
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld
>  -o src/boot/efi/linuxx64.elf.stub -T 
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds
>  -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L 
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib
>  
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o
>  src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o 
> src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o 
> src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o 
> src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi 
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a
>   
> /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld:
>  internal error in segment_precedes, at ../../gold/layout.cc:3721
>   [18/21] Generating boot.c.o with a custom command
>   ninja: build stopped: subcommand failed.
>   WARNING: exit code 1 from a shell command.
>
>   as reported in:
>   https://lists.openembedded.org/g/openembedded-core/message/154246
>
>   work around this by using ld.bfd when ld-is-gold is in DISTRO_FEATURES
>
> Signed-off-by: Martin Jansa 
> ---
>  meta/recipes-core/systemd/systemd-boot_249.1.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd-boot_249.1.bb 
> b/meta/recipes-core/systemd/systemd-boot_249.1.bb
> index d767b5bf8d..18f4fe55ce 100644
> --- a/meta/recipes-core/systemd/systemd-boot_249.1.bb
> +++ b/meta/recipes-core/systemd/systemd-boot_249.1.bb
> @@ -19,11 +19,13 @@ objcopy = ${@meson_array('OBJCOPY', d)}
>  EOF
>  }
>
> +EFI_LD = "${@d.getVar('LD').split()[0]}"
> +
>  EXTRA_OEMESON += "-Defi=true \
>-Dgnu-efi=true \
>-Defi-includedir=${STAGING_INCDIR}/efi \
>-Defi-libdir=${STAGING_LIBDIR} \
> -  -Defi-ld=${@ d.getVar('LD').split()[0]} \
> +  -Defi-ld=${@bb.utils.contains('DISTRO_FEATURES', 
> 'ld-is-gold', 'ld.bfd', '${EFI_LD}', d)} \

Could this just be set to ld.bfd in all cases?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154398): 
https://lists.openembedded.org/g/openembedded-core/message/154398
Mute This Topic: https://lists.openembedded.org/mt/84646246/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] systemd-boot: use ld.bfd as efi-ld when gold is being used by default with ld-is-gold

2021-08-03 Thread Martin Jansa
* since the upgrade to 249.1 in:
  
https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c
  the builds with ld-is-gold are failing with:

  [17/21] Generating linuxx64.elf.stub with a custom command
  FAILED: src/boot/efi/linuxx64.elf.stub
  
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld
 -o src/boot/efi/linuxx64.elf.stub -T 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds
 -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib
 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o
 src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o 
src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o 
src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o 
src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a
  
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld:
 internal error in segment_precedes, at ../../gold/layout.cc:3721
  [18/21] Generating boot.c.o with a custom command
  ninja: build stopped: subcommand failed.
  WARNING: exit code 1 from a shell command.

  as reported in:
  https://lists.openembedded.org/g/openembedded-core/message/154246

  work around this by using ld.bfd when ld-is-gold is in DISTRO_FEATURES

Signed-off-by: Martin Jansa 
---
 meta/recipes-core/systemd/systemd-boot_249.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd-boot_249.1.bb 
b/meta/recipes-core/systemd/systemd-boot_249.1.bb
index d767b5bf8d..18f4fe55ce 100644
--- a/meta/recipes-core/systemd/systemd-boot_249.1.bb
+++ b/meta/recipes-core/systemd/systemd-boot_249.1.bb
@@ -19,11 +19,13 @@ objcopy = ${@meson_array('OBJCOPY', d)}
 EOF
 }
 
+EFI_LD = "${@d.getVar('LD').split()[0]}"
+
 EXTRA_OEMESON += "-Defi=true \
   -Dgnu-efi=true \
   -Defi-includedir=${STAGING_INCDIR}/efi \
   -Defi-libdir=${STAGING_LIBDIR} \
-  -Defi-ld=${@ d.getVar('LD').split()[0]} \
+  -Defi-ld=${@bb.utils.contains('DISTRO_FEATURES', 
'ld-is-gold', 'ld.bfd', '${EFI_LD}', d)} \
   -Dman=false \
   --cross-file ${WORKDIR}/meson-${PN}.cross \
   "
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154397): 
https://lists.openembedded.org/g/openembedded-core/message/154397
Mute This Topic: https://lists.openembedded.org/mt/84646246/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] Yocto Project Status WW31`21

2021-08-03 Thread Stephen Jolley
Current Dev Position: YP 3.4 M3

Next Deadline: 23rd Aug. 2021 YP 3.4 M3 build (Feature Freeze)

 

Next Team Meetings:

*   Bug Triage meeting Thursday Aug. 5th at 7:30am PDT (

https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09)
*   Monthly Project Meeting Tuesday Aug. 3rd at 8am PDT (

https://zoom.us/j/990892712?pwd=cHU1MjhoM2x6ck81bkcrYjRrcmJsUT09
 )
*   Weekly Engineering Sync Tuesday Aug. 10th at 8am PDT (

https://zoom.us/j/990892712?pwd=cHU1MjhoM2x6ck81bkcrYjRrcmJsUT09
 )
*   Twitch -  See https://www.twitch.tv/theyoctojester

 

Key Status/Updates:

*   YP 3.4 M2 was released
*   YP 3.3.2 has been through QA and is pending release approval
*   YP 3.1.10 is in QA
*   OE-Core has moved to the new override syntax and is now only
compatible with the honister release series. Other layers will need to
migrate to the new syntax to work with it. There is documentation about
handling migration to the new syntax in the migration section of the manual:

 

http://docs.yoctoproject.org/migration-guides/migration-3.4.html#override-sy
ntax-changes

*   The new override syntax is now also supported by older releases of
bitbake on the 1.50, 1.48 and 1.46 branches, which mean this applies to
dunfell. It will be part of the 3.1.11 release.
*   There is a fix to bitbake's datastore pending which may cause a
variable only set with conditional appends to change value from "" to None.
DRIDRIVERS in the mesa recipe was the only example found in OE-Core and it
is hoped this issue is rare. The fix is important due to interaction issues
with other variables in some other use cases and this makes things
consistent.
*   The prserv rewrite is making progress but still has some issues with
python asyncio.
*   Intermittent issues are ongoing, particularly ptest ones. Help is
very much welcome on these issues. You can see the list of failures we're
continuing to see by searching for the "AB-INT" tag in bugzilla:

https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=AB-INT
*   The multiconfig changes in bitbake continue to cause problems, we
still need simpler test cases to reproduce issues rather than huge builds.
The existing patches seem to fix some workloads and break others and current
test cases are very slow to work with.

 

Ways to contribute:

*   There are bugs identified as possible for newcomers to the project:

https://wiki.yoctoproject.org/wiki/Newcomers
*   There are bugs that are currently unassigned for YP 3.4. See:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Medium.2B_3.4_Unassigned_Enhan
cements.2FBugs
*   We'd welcome new maintainers for recipes in OE-Core. Please see the
list at:

http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/conf/distro/include/main
tainers.inc and discuss with the existing maintainer, or ask on the OE-Core
mailing list. We will likely move a chunk of these to "Unassigned" soon to
help facilitate this.

 

YP 3.4 Milestone Dates:

*   YP 3.4 M2 was released.
*   YP 3.4 M3 build date 2021/08/23 (Feature Freeze)
*   YP 3.4 M3 Release date 2021/09/03
*   YP 3.4 M4 build date 2021/10/04
*   YP 3.4 M4 Release date 2021/10/29

 

Planned upcoming dot releases:

*   YP 3.3.2 is out of QA
*   YP 3.1.10 is in QA
*   YP 3.1.10 release date 2021/08/06
*   YP 3.1.11 build date 2021/09/13
*   YP 3.1.11 release date 2021/9/24

 

Tracking Metrics:

*   WDD 2600 (last week 2630) (

https://wiki.yoctoproject.org/charts/combo.html)
*   OE-Core/Poky Patch Metrics

*   Total patches found: 1295 (last week 1286)
*   Patches in the Pending State: 485 (37%) [last week 486 (38%)]

 

The Yocto Project's technical governance is through its Technical Steering
Committee, more information is available at:

 
https://wiki.yoctoproject.org/wiki/TSC

 

The Status reports are now stored on the wiki at:

https://wiki.yoctoproject.org/wiki/Weekly_Status

 

[If anyone has suggestions for other information you'd like to see on this
weekly status update, let us know!]

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gm

[OE-core] [PATCH] license: Exclude COPYING.MIT from pseudo

2021-08-03 Thread Richard Purdie
Along with the other license exclusions, we need to exclude the
top level COPYING.MIT file else when:

COPY_LIC_DIRS = "1"
COPY_LIC_MANIFEST = "1"

is set, we see eSDK failures from a pseudo abort.

[YOCTO #14366]

Signed-off-by: Richard Purdie 
---
 meta/classes/license.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index fecbc494970..45d912741d2 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -31,7 +31,7 @@ python do_populate_lic() {
 f.write("%s: %s\n" % (key, info[key]))
 }
 
-PSEUDO_IGNORE_PATHS .= ",${@','.join(((d.getVar('COMMON_LICENSE_DIR') or '') + 
' ' + (d.getVar('LICENSE_PATH') or '')).split())}"
+PSEUDO_IGNORE_PATHS .= ",${@','.join(((d.getVar('COMMON_LICENSE_DIR') or '') + 
' ' + (d.getVar('LICENSE_PATH') or '') + ' ' + d.getVar('COREBASE') + 
'/meta/COPYING').split())}"
 # it would be better to copy them in do_install:append, but 
find_license_filesa is python
 python perform_packagecopy:prepend () {
 enabled = oe.data.typed_value('LICENSE_CREATE_PACKAGE', d)
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154395): 
https://lists.openembedded.org/g/openembedded-core/message/154395
Mute This Topic: https://lists.openembedded.org/mt/84636231/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH] gobject-introspection: fix default search path for girdir

2021-08-03 Thread Alexander Kanavin
Can you please provide the steps needed to reproduce the error? Can they be
automated and added to the AB? Otherwise, I cannot meaningfully review the
patch.

Also, the second concern is still not addressed: please submit upstream
first, and include the link to the oe-core submission. It's only a merge
request on gnome gitlab.

Alex

On Tue, 3 Aug 2021 at 06:51, Chen, Qi  wrote:

> I didn't notice the previous email.
> The reason that it's not seen on autobuilder is that it's runtime error.
> At build time, it uses a wrapper which adds extra parameters including the
> correct path. That's why we didn't see any error at build time.
>
> Regards,
> Qi
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, August 2, 2021 20:57
> *To:* Chen, Qi 
> *Cc:* OE-core 
> *Subject:* Re: [OE-core][PATCH] gobject-introspection: fix default search
> path for girdir
>
> The concerns are the same as the previous time this patch was submitted:
>
> This is not seen in the autobuilder, how can it be reproduced?
>
> Also, please submit upstream first.
>
>
> Alex
>
> On Mon, 2 Aug 2021 at 08:25, Chen Qi  wrote:
>
> When running g-ir-scanner, we get the following error:
>
>   Couldn't find include 'GObject-2.0.gir' (search path:
>   '['/usr/lib64', 'gir-1.0', '/usr/local/share/gir-1.0',
> '/usr/share/gir-1.0',
>   '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
>
> This is because g-ir-tool-template.in
> 
> is not setting girdir correctly.
> It's using the prefix instead of the actual girdir.
>
> Signed-off-by: Chen Qi 
> ---
>  ...-ir-tool-template.in-fix-girdir-path.patch | 33 +++
>  .../gobject-introspection_1.68.0.bb
> 
>  |  1 +
>  2 files changed, 34 insertions(+)
>  create mode 100644
> meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-g-ir-tool-template.in-fix-girdir-path.patch
>
> diff --git
> a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-g-ir-tool-template.in-fix-girdir-path.patch
> b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-g-ir-tool-template.in-fix-girdir-path.patch
> new file mode 100644
> index 00..c0d263946b
> --- /dev/null
> +++
> b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-g-ir-tool-template.in-fix-girdir-path.patch
> @@ -0,0 +1,33 @@
> +From b01b448613b76f9acefdfd89ee01686dc7a67df4 Mon Sep 17 00:00:00 2001
> +From: Chen Qi 
> +Date: Tue, 13 Jul 2021 02:05:11 -0700
> +Subject: [PATCH] g-ir-tool-template.in
> :
> fix girdir path
> +
> +In case gir_dir_prefix is set, it's possible that g-ir-scanner
> +cannot find the .gir files. This is because that the girdir
> +is set to gir_dir_prefix, which is wrong. It's not a prefix,
> +it the actual gir dir.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Chen Qi 
> +---
> + tools/g-ir-tool-template.in
> 
> | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/tools/g-ir-tool-template.in
> 
> b/tools/g-ir-tool-template.in
> 
> +index 6e98f52e..62c07c31 100755
> +--- a/tools/g-ir-tool-template.in
> 
>  b/tools/g-ir-tool-template.in
> 
> +@@ -55,7 +55,7 @@ builtins.__dict__['DATADIR'] = datadir
> +
> + # Respect gir_dir_prefix
> + girdir = ''
> +-girdir = os.path.abspath(os.path.join(filedir, '..', '@gir_dir_prefix@
> '))
> ++girdir = os.path.abspath(os.path.join(filedir, '..', '@gir_dir_prefix@',
> 'gir-1.0'))
> + builtins.__dict__['GIRDIR'] = [girdir]
> +
> + # Again, relative paths first so that the installation prefix is
> relocatable
> +--
> +2.30.2
> +
> diff --git a/meta/recipes-gnome/gobject-introspection/
> gobject-introspection_1.68.0.bb
> 
> b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.b

[OE-core][PATCH] iputils: fix do_configure failure of missing ip command

2021-08-03 Thread Chen Qi
If 'testimage' and 'testsdk' are not inherited, the 'ip'
comamnd will not be in HOSTTOOLS. This results in do_configure
failure of iputils. Backport a patch and skipping building
tests to fix the problem.

Signed-off-by: Chen Qi 
---
 .../0001-meson-Make-tests-optional.patch  | 220 ++
 .../iputils/iputils_20210722.bb   |   3 +-
 2 files changed, 222 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-extended/iputils/iputils/0001-meson-Make-tests-optional.patch

diff --git 
a/meta/recipes-extended/iputils/iputils/0001-meson-Make-tests-optional.patch 
b/meta/recipes-extended/iputils/iputils/0001-meson-Make-tests-optional.patch
new file mode 100644
index 00..9f17cbdb87
--- /dev/null
+++ b/meta/recipes-extended/iputils/iputils/0001-meson-Make-tests-optional.patch
@@ -0,0 +1,220 @@
+From d8048d60d30a2efe7883b36626123630ce69b9fc Mon Sep 17 00:00:00 2001
+From: Heiko Becker 
+Date: Fri, 23 Jul 2021 16:32:46 +0200
+Subject: [PATCH] meson: Make tests optional
+
+Now can be disabled with -DSKIP_TESTS=true.
+
+It allows to avoid meson error during build when ip isn't installed.
+
+Closes: #359
+
+Reviewed-by: Petr Vorel 
+Signed-off-by: Heiko Becker 
+[ pvorel: Rename variable TEST => SKIP_TESTS, default false, adjust
+the description ]
+Signed-off-by: Petr Vorel 
+
+Upstream-Status: Backport [3163c49f9f4ad473a00d8a345ee334a028376011]
+Signed-off-by: Chen Qi 
+---
+ meson_options.txt |  3 ++
+ ping/meson.build  | 84 ++-
+ ping/test/meson.build | 81 +
+ 3 files changed, 86 insertions(+), 82 deletions(-)
+ create mode 100644 ping/test/meson.build
+
+diff --git a/meson_options.txt b/meson_options.txt
+index ac5f5d9..517667f 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -72,3 +72,6 @@ option('INSTALL_SYSTEMD_UNITS', type: 'boolean', value: 
false,
+ 
+ option('USE_GETTEXT', type: 'boolean', value: true,
+   description: 'Enable I18N')
++
++option('SKIP_TESTS', type: 'boolean', value: false,
++  description: 'Skip tests during build')
+diff --git a/ping/meson.build b/ping/meson.build
+index 1e678ec..83ea353 100644
+--- a/ping/meson.build
 b/ping/meson.build
+@@ -27,86 +27,6 @@ if (setcap_ping)
+   )
+ endif
+ 
+-# TESTS #
+-
+-# TODO: ::1 generates DEPRECATION: ":" is not allowed in test name "ping -c1 
::1", it has been replaced with "_"
+-
+-# GitHub CI does not have working IPv6
+-# https://github.com/actions/virtual-environments/issues/668
+-ipv6_dst = []
+-ipv6_switch = []
+-r = run_command('ip', '-6', 'a')
+-if r.stdout().strip().contains('::1')
+-  message('IPv6 enabled')
+-  ipv6_dst = [ '::1' ]
+-  ipv6_switch = [ '-6' ]
+-else
+-  message('WARNING: IPv6 disabled')
++if not get_option('SKIP_TESTS')
++  subdir('test')
+ endif
+-
+-run_as_root = false
+-r = run_command('id', '-u')
+-if r.stdout().strip().to_int() == 0
+-  message('running as root')
+-  run_as_root = true
+-else
+-  message('running as normal user')
+-endif
+-
+-foreach dst : [ 'localhost', '127.0.0.1' ] + ipv6_dst
+-  foreach switch : [ '', '-4' ] + ipv6_switch
+-  args = [ '-c1', dst ]
+-  should_fail = false
+-
+-  if switch != ''
+-args = [switch] + args
+-if (switch == '-4' and dst == '::1') or (switch == '-6' and dst == 
'127.0.0.1')
+-   should_fail = true
+-endif
+-  endif
+-
+-  name = 'ping ' + ' '.join(args)
+-  test(name, ping, args : args, should_fail : should_fail)
+-  endforeach
+-endforeach
+-
+-ping_tests_opt = [
+-  [ '-c1' ],
+-  [ '-c5', '-i0.1' ],
+-  [ '-c1', '-I', 'lo' ],
+-  [ '-c1', '-w1' ],
+-  [ '-c1', '-W1' ],
+-  [ '-c1', '-W1.1' ],
+-]
+-foreach dst : [ '127.0.0.1' ] + ipv6_dst
+-  foreach args : ping_tests_opt
+-  args += [ dst ]
+-  name = 'ping ' + ' '.join(args)
+-  test(name, ping, args : args)
+-  endforeach
+-endforeach
+-
+-ping_tests_opt_fail = [
+-  [ '-c1.1' ],
+-  [ '-I', 'nonexisting' ],
+-  [ '-w0.1' ],
+-  [ '-w0,1' ],
+-]
+-foreach dst : [ '127.0.0.1' ] + ipv6_dst
+-  foreach args : ping_tests_opt_fail
+-  args += [ dst ]
+-  name = 'ping ' + ' '.join(args)
+-  test(name, ping, args : args, should_fail : true)
+-  endforeach
+-endforeach
+-
+-ping_tests_user_fail = [
+-  [ '-c1', '-i0.001' ], # -c1 required to quit ping when running as root
+-]
+-foreach dst : [ '127.0.0.1' ] + ipv6_dst
+-  foreach args : ping_tests_user_fail
+-  args += [ dst ]
+-  name = 'ping ' + ' '.join(args)
+-  test(name, ping, args : args, should_fail : not run_as_root)
+-  endforeach
+-endforeach
+diff --git a/ping/test/meson.build b/ping/test/meson.build
+new file mode 100644
+index 000..43aed75
+--- /dev/null
 b/ping/test/meson.build
+@@ -0,0 +1,81 @@
++# TODO: ::1 generates DEPRECATION: ":" is not allowed in test name "ping -c1 
::1", it has been replaced with "_"
++
++# GitHub CI does not have working IPv6
++# https://github.com/actions/virtua