[OE-core] [PATCH] rust: conditionally copy tools like rustfmt

2022-08-19 Thread Randy MacLeod
For qemuppc/mips, rustfmt isn't being built so check
that it and related tools exist before copying them.
qemuppc/mips are not well-supported in the Rust world
but will work to get the build to fixed later.

Signed-off-by: Randy MacLeod 
---
 meta/recipes-devtools/rust/rust_1.63.0.bb | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/rust/rust_1.63.0.bb 
b/meta/recipes-devtools/rust/rust_1.63.0.bb
index 3081cd5ef3..050f398794 100644
--- a/meta/recipes-devtools/rust/rust_1.63.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.63.0.bb
@@ -43,8 +43,10 @@ rust_do_install:class-nativesdk() {
 
 install -d ${D}${bindir}
 for i in cargo-clippy clippy-driver rustfmt; do
-cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i 
${D}${bindir}
-chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
+if [ -e 
build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ]; then
+cp 
build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
+chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
+fi
 done
 
 chown root:root ${D}/ -R
@@ -60,8 +62,10 @@ rust_do_install:class-target() {
 
 install -d ${D}${bindir}
 for i in cargo-clippy clippy-driver rustfmt; do
-cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i 
${D}${bindir}
-chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
+if [ -e 
build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ]; then
+cp 
build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
+chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
+fi
 done
 
 chown root:root ${D}/ -R
-- 
2.35.1


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



[OE-core] [kirkstone][PATCH] u-boot: fix CVE-2022-33967

2022-08-19 Thread Sakib Sajal
Backport patch to fix CVE-2022-33967.

Signed-off-by: Sakib Sajal 
---
 ...s-squashfs-Use-kcalloc-when-relevant.patch | 64 +++
 meta/recipes-bsp/u-boot/u-boot_2022.01.bb |  1 +
 2 files changed, 65 insertions(+)
 create mode 100644 
meta/recipes-bsp/u-boot/files/0001-fs-squashfs-Use-kcalloc-when-relevant.patch

diff --git 
a/meta/recipes-bsp/u-boot/files/0001-fs-squashfs-Use-kcalloc-when-relevant.patch
 
b/meta/recipes-bsp/u-boot/files/0001-fs-squashfs-Use-kcalloc-when-relevant.patch
new file mode 100644
index 00..70fdbb1031
--- /dev/null
+++ 
b/meta/recipes-bsp/u-boot/files/0001-fs-squashfs-Use-kcalloc-when-relevant.patch
@@ -0,0 +1,64 @@
+From 50d4b8b9effcf9dc9e5a90034de2f0003fb063f0 Mon Sep 17 00:00:00 2001
+From: Miquel Raynal 
+Date: Mon, 27 Jun 2022 12:20:03 +0200
+Subject: [PATCH] fs/squashfs: Use kcalloc when relevant
+
+A crafted squashfs image could embed a huge number of empty metadata
+blocks in order to make the amount of malloc()'d memory overflow and be
+much smaller than expected. Because of this flaw, any random code
+positioned at the right location in the squashfs image could be memcpy'd
+from the squashfs structures into U-Boot code location while trying to
+access the rearmost blocks, before being executed.
+
+In order to prevent this vulnerability from being exploited in eg. a
+secure boot environment, let's add a check over the amount of data
+that is going to be allocated. Such a check could look like:
+
+if (!elem_size || n > SIZE_MAX / elem_size)
+   return NULL;
+
+The right way to do it would be to enhance the calloc() implementation
+but this is quite an impacting change for such a small fix. Another
+solution would be to add the check before the malloc call in the
+squashfs implementation, but this does not look right. So for now, let's
+use the kcalloc() compatibility function from Linux, which has this
+check.
+
+Fixes: c5100613037 ("fs/squashfs: new filesystem")
+Reported-by: Tatsuhiko Yasumatsu 
+Signed-off-by: Miquel Raynal 
+Tested-by: Tatsuhiko Yasumatsu 
+
+Upstream-Status: Backport [7f7fb9937c6cb49dd35153bd6708872b390b0a44]
+CVE: CVE-2022-33967
+
+Signed-off-by: Sakib Sajal 
+---
+ fs/squashfs/sqfs.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
+index e2d91c654c..10e63afbce 100644
+--- a/fs/squashfs/sqfs.c
 b/fs/squashfs/sqfs.c
+@@ -13,6 +13,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -725,7 +726,8 @@ static int sqfs_read_inode_table(unsigned char 
**inode_table)
+   goto free_itb;
+   }
+ 
+-  *inode_table = malloc(metablks_count * SQFS_METADATA_BLOCK_SIZE);
++  *inode_table = kcalloc(metablks_count, SQFS_METADATA_BLOCK_SIZE,
++ GFP_KERNEL);
+   if (!*inode_table) {
+   ret = -ENOMEM;
+   goto free_itb;
+-- 
+2.33.0
+
diff --git a/meta/recipes-bsp/u-boot/u-boot_2022.01.bb 
b/meta/recipes-bsp/u-boot/u-boot_2022.01.bb
index 147f6e8183..0cb0e33282 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2022.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2022.01.bb
@@ -5,6 +5,7 @@ SRC_URI:append = " 
file://0001-riscv32-Use-double-float-ABI-for-rv32.patch \
file://0001-riscv-fix-build-with-binutils-2.38.patch \

file://0001-i2c-fix-stack-buffer-overflow-vulnerability-in-i2c-m.patch \

file://0001-net-Check-for-the-minimum-IP-fragmented-datagram-siz.patch \
+   file://0001-fs-squashfs-Use-kcalloc-when-relevant.patch \
  "
 
 DEPENDS += "bc-native dtc-native python3-setuptools-native"
-- 
2.33.0


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



[OE-core] [kirkstone][PATCH] u-boot: fix CVE-2022-30552

2022-08-19 Thread Sakib Sajal
Backport patch to fix CVE-2022-30552.

Signed-off-by: Sakib Sajal 
---
 ...e-minimum-IP-fragmented-datagram-siz.patch | 207 ++
 meta/recipes-bsp/u-boot/u-boot_2022.01.bb |   1 +
 2 files changed, 208 insertions(+)
 create mode 100644 
meta/recipes-bsp/u-boot/files/0001-net-Check-for-the-minimum-IP-fragmented-datagram-siz.patch

diff --git 
a/meta/recipes-bsp/u-boot/files/0001-net-Check-for-the-minimum-IP-fragmented-datagram-siz.patch
 
b/meta/recipes-bsp/u-boot/files/0001-net-Check-for-the-minimum-IP-fragmented-datagram-siz.patch
new file mode 100644
index 00..3f9cc7776b
--- /dev/null
+++ 
b/meta/recipes-bsp/u-boot/files/0001-net-Check-for-the-minimum-IP-fragmented-datagram-siz.patch
@@ -0,0 +1,207 @@
+From c7cab39de5e4b22620248a190b3d2ee46cff38c2 Mon Sep 17 00:00:00 2001
+From: Fabio Estevam 
+Date: Thu, 26 May 2022 11:14:37 -0300
+Subject: [PATCH] net: Check for the minimum IP fragmented datagram size
+
+Nicolas Bidron and Nicolas Guigo reported the two bugs below:
+
+"
+--BUG 1--
+
+In compiled versions of U-Boot that define CONFIG_IP_DEFRAG, a value of
+`ip->ip_len` (IP packet header's Total Length) higher than `IP_HDR_SIZE`
+and strictly lower than `IP_HDR_SIZE+8` will lead to a value for `len`
+comprised between `0` and `7`. This will ultimately result in a
+truncated division by `8` resulting value of `0` forcing the hole
+metadata and fragment to point to the same location. The subsequent
+memcopy will overwrite the hole metadata with the fragment data. Through
+a second fragment, this can be exploited to write to an arbitrary offset
+controlled by that overwritten hole metadata value.
+
+This bug is only exploitable locally as it requires crafting two packets
+the first of which would most likely be dropped through routing due to
+its unexpectedly low Total Length. However, this bug can potentially be
+exploited to root linux based embedded devices locally.
+
+```C
+static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp)
+{
+ static uchar pkt_buff[IP_PKTSIZE] __aligned(PKTALIGN);
+ static u16 first_hole, total_len;
+ struct hole *payload, *thisfrag, *h, *newh;
+ struct ip_udp_hdr *localip = (struct ip_udp_hdr *)pkt_buff;
+ uchar *indata = (uchar *)ip;
+ int offset8, start, len, done = 0;
+ u16 ip_off = ntohs(ip->ip_off);
+
+ /* payload starts after IP header, this fragment is in there */
+ payload = (struct hole *)(pkt_buff + IP_HDR_SIZE);
+ offset8 =  (ip_off & IP_OFFS);
+ thisfrag = payload + offset8;
+ start = offset8 * 8;
+ len = ntohs(ip->ip_len) - IP_HDR_SIZE;
+```
+
+The last line of the previous excerpt from `u-boot/net/net.c` shows how
+the attacker can control the value of `len` to be strictly lower than
+`8` by issuing a packet with `ip_len` between `21` and `27`
+(`IP_HDR_SIZE` has a value of `20`).
+
+Also note that `offset8` here is `0` which leads to `thisfrag = payload`.
+
+```C
+ } else if (h >= thisfrag) {
+ /* overlaps with initial part of the hole: move this hole */
+ newh = thisfrag + (len / 8);
+ *newh = *h;
+ h = newh;
+ if (h->next_hole)
+ payload[h->next_hole].prev_hole = (h - payload);
+ if (h->prev_hole)
+ payload[h->prev_hole].next_hole = (h - payload);
+ else
+ first_hole = (h - payload);
+
+ } else {
+```
+
+Lower down the same function, execution reaches the above code path.
+Here, `len / 8` evaluates to `0` leading to `newh = thisfrag`. Also note
+that `first_hole` here is `0` since `h` and `payload` point to the same
+location.
+
+```C
+ /* finally copy this fragment and possibly return whole packet */
+ memcpy((uchar *)thisfrag, indata + IP_HDR_SIZE, len);
+```
+
+Finally, in the above excerpt the `memcpy` overwrites the hole metadata
+since `thisfrag` and `h` both point to the same location. The hole
+metadata is effectively overwritten with arbitrary data from the
+fragmented IP packet data. If `len` was crafted to be `6`, `last_byte`,
+`next_hole`, and `prev_hole` of the `first_hole` can be controlled by
+the attacker.
+
+Finally the arbitrary offset write occurs through a second fragment that
+only needs to be crafted to write data in the hole pointed to by the
+previously controlled hole metadata (`next_hole`) from the first packet.
+
+ ### Recommendation
+
+Handle cases where `len` is strictly lower than 8 by preventing the
+overwrite of the hole metadata during the memcpy of the fragment. This
+could be achieved by either:
+* Moving the location where the hole metadata is stored when `len` is
+lower than `8`.
+* Or outright rejecting fragmented IP datagram with a Total Length
+(`ip_len`) lower than 28 bytes which is the minimum valid fragmented IP
+datagram size (as defined as the minimum fragment of 8 octets in the IP
+Specification Document:
+[RFC791](https://datatracker.ietf.org/doc/html/rfc791) page 25).
+
+--BUG 

[OE-core] [kirkstone][PATCH] go: update v1.17.12 -> v1.17.13

2022-08-19 Thread Sakib Sajal
Update to latest v1.17.x release.
Contains fix for CVE-2022-32189.

go.git$ git log --oneline go1.17.12^..go1.17.13
15da892a49 (tag: go1.17.13, origin/release-branch.go1.17) 
[release-branch.go1.17] go1.17.13
703c8ab7e5 [release-branch.go1.17] math/big: check buffer lengths in 
GobDecode
d9242f7a8c [release-branch.go1.17] cmd/compile: do not use special literal 
assignment if LHS is address-taken
489c148578 [release-branch.go1.17] cmd/compile: fix prove pass when upper 
condition is <= maxint
66c60f076c [release-branch.go1.17] runtime: clear timerModifiedEarliest 
when last timer is deleted
c25b12fb81 [release-branch.go1.17] runtime: use saved LR when unwinding 
through morestack
1ed3c127da (tag: go1.17.12) [release-branch.go1.17] go1.17.12

Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/go/{go-1.17.12.inc => go-1.17.13.inc}   | 2 +-
 ...o-binary-native_1.17.12.bb => go-binary-native_1.17.13.bb} | 4 ++--
 ...cross-canadian_1.17.12.bb => go-cross-canadian_1.17.13.bb} | 0
 .../go/{go-cross_1.17.12.bb => go-cross_1.17.13.bb}   | 0
 .../go/{go-crosssdk_1.17.12.bb => go-crosssdk_1.17.13.bb} | 0
 .../go/{go-native_1.17.12.bb => go-native_1.17.13.bb} | 0
 .../go/{go-runtime_1.17.12.bb => go-runtime_1.17.13.bb}   | 0
 meta/recipes-devtools/go/{go_1.17.12.bb => go_1.17.13.bb} | 0
 8 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/go/{go-1.17.12.inc => go-1.17.13.inc} (92%)
 rename meta/recipes-devtools/go/{go-binary-native_1.17.12.bb => 
go-binary-native_1.17.13.bb} (83%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.17.12.bb => 
go-cross-canadian_1.17.13.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.17.12.bb => go-cross_1.17.13.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.17.12.bb => 
go-crosssdk_1.17.13.bb} (100%)
 rename meta/recipes-devtools/go/{go-native_1.17.12.bb => go-native_1.17.13.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-runtime_1.17.12.bb => 
go-runtime_1.17.13.bb} (100%)
 rename meta/recipes-devtools/go/{go_1.17.12.bb => go_1.17.13.bb} (100%)

diff --git a/meta/recipes-devtools/go/go-1.17.12.inc 
b/meta/recipes-devtools/go/go-1.17.13.inc
similarity index 92%
rename from meta/recipes-devtools/go/go-1.17.12.inc
rename to meta/recipes-devtools/go/go-1.17.13.inc
index 77a983f9d0..95d0fb7e98 100644
--- a/meta/recipes-devtools/go/go-1.17.12.inc
+++ b/meta/recipes-devtools/go/go-1.17.13.inc
@@ -17,7 +17,7 @@ SRC_URI += "\
 file://0001-exec.go-do-not-write-linker-flags-into-buildids.patch \
 file://0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
 "
-SRC_URI[main.sha256sum] = 
"0d51b5b3f280c0f01f534598c0219db5878f337da6137a9ee698777413607209"
+SRC_URI[main.sha256sum] = 
"a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd"
 
 # Upstream don't believe it is a signifiant real world issue and will only
 # fix in 1.17 onwards where we can drop this.
diff --git a/meta/recipes-devtools/go/go-binary-native_1.17.12.bb 
b/meta/recipes-devtools/go/go-binary-native_1.17.13.bb
similarity index 83%
rename from meta/recipes-devtools/go/go-binary-native_1.17.12.bb
rename to meta/recipes-devtools/go/go-binary-native_1.17.13.bb
index b034950721..4ee0148417 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.17.12.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.17.13.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
 PROVIDES = "go-native"
 
 SRC_URI = 
"https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE};
-SRC_URI[go_linux_amd64.sha256sum] = 
"6e5203fbdcade4aa4331e441fd2e1db8444681a6a6c72886a37ddd11caa415d4"
-SRC_URI[go_linux_arm64.sha256sum] = 
"74a4832d0f150a2d768a6781553494ba84152e854ebef743c4092cd9d1f66a9f"
+SRC_URI[go_linux_amd64.sha256sum] = 
"4cdd2bc664724dc7db94ad51b503512c5ae7220951cac568120f64f8e94399fc"
+SRC_URI[go_linux_arm64.sha256sum] = 
"914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d"
 
 UPSTREAM_CHECK_URI = "https://golang.org/dl/;
 UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.17.12.bb 
b/meta/recipes-devtools/go/go-cross-canadian_1.17.13.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross-canadian_1.17.12.bb
rename to meta/recipes-devtools/go/go-cross-canadian_1.17.13.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.17.12.bb 
b/meta/recipes-devtools/go/go-cross_1.17.13.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross_1.17.12.bb
rename to meta/recipes-devtools/go/go-cross_1.17.13.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.17.12.bb 
b/meta/recipes-devtools/go/go-crosssdk_1.17.13.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-crosssdk_1.17.12.bb
rename to meta/recipes-devtools/go/go-crosssdk_1.17.13.bb
diff --git a/meta/recipes-devtools/go/go-native_1.17.12.bb 

[OE-core] [PATCH] binutils: Upgrade to latest on 2.39 release branch

2022-08-19 Thread Khem Raj
This brings in few bugfixes which we need e.g. fix elfutils ptests we
need

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e8cf73215187b0c08679d726a5cc7c019fa3ea2e

changsets in this update

* 9e855cffa1f PR29466, APP/NO_APP with .linefile
* e3b5d935247 PR29462, internal error in relocate, at powerpc.cc:10796
* e8cf7321518 gas/Dwarf: properly skip zero-size functions
* 9284b63ea39 ld: fix NEWS typos

Signed-off-by: Khem Raj 
---
 meta/recipes-devtools/binutils/binutils-2.39.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/binutils/binutils-2.39.inc 
b/meta/recipes-devtools/binutils/binutils-2.39.inc
index 0976131ddb..89612a3eae 100644
--- a/meta/recipes-devtools/binutils/binutils-2.39.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.39.inc
@@ -18,7 +18,7 @@ SRCBRANCH ?= "binutils-2_39-branch"
 
 UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)"
 
-SRCREV ?= "a58f83e8b85fa3c1564de530d68a14fc620c0027"
+SRCREV ?= "f89058434f13382c85b8729464192bc7763d88a4"
 BINUTILS_GIT_URI ?= 
"git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git"
 SRC_URI = "\
  ${BINUTILS_GIT_URI} \
-- 
2.37.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169641): 
https://lists.openembedded.org/g/openembedded-core/message/169641
Mute This Topic: https://lists.openembedded.org/mt/93132147/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] rust: Fix build failure on riscv

2022-08-19 Thread Khem Raj
Latest rust has started using ENOTSUP define, which is not available in
the older libc that current release of compiler is using therefore
backport the needed patches. Eventually when vendored version of libc
bumps to 1.33+ we should not need this patch.

Signed-off-by: Khem Raj 
---
 meta/recipes-devtools/rust/rust-source.inc|  5 +++-
 ...dd-ENOTSUP-constant-for-riscv32-musl.patch | 26 ++
 ...dd-ENOTSUP-constant-for-riscv64-musl.patch | 27 +++
 3 files changed, 57 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-devtools/rust/rust/0001-Add-ENOTSUP-constant-for-riscv32-musl.patch
 create mode 100644 
meta/recipes-devtools/rust/rust/0001-Add-ENOTSUP-constant-for-riscv64-musl.patch

diff --git a/meta/recipes-devtools/rust/rust-source.inc 
b/meta/recipes-devtools/rust/rust-source.inc
index dbcef2cbc2..77198ad038 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -1,7 +1,10 @@
 SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust;
 SRC_URI[rust.sha256sum] = 
"02066a93c2f6596cc046a897d5716c86e3607c1cd0f54db9a867ae8c8265072e"
 
-SRC_URI:append:class-target:pn-rust = " file://hardcodepaths.patch"
+SRC_URI:append:class-target:pn-rust = " \
+file://hardcodepaths.patch \
+file://0001-Add-ENOTSUP-constant-for-riscv64-musl.patch \
+file://0001-Add-ENOTSUP-constant-for-riscv32-musl.patch"
 SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " 
file://hardcodepaths.patch"
 
 RUSTSRC = "${WORKDIR}/rustc-${PV}-src"
diff --git 
a/meta/recipes-devtools/rust/rust/0001-Add-ENOTSUP-constant-for-riscv32-musl.patch
 
b/meta/recipes-devtools/rust/rust/0001-Add-ENOTSUP-constant-for-riscv32-musl.patch
new file mode 100644
index 00..f4e49a838d
--- /dev/null
+++ 
b/meta/recipes-devtools/rust/rust/0001-Add-ENOTSUP-constant-for-riscv32-musl.patch
@@ -0,0 +1,26 @@
+From e9fb036eeffaaa5cb7b1e6fc1dabb92ed6263f0f Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 19 Aug 2022 10:26:43 -0700
+Subject: [PATCH] Add ENOTSUP constant for riscv32/musl
+
+Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/2884]
+Signed-off-by: Khem Raj 
+---
+ vendor/libc/src/unix/linux_like/linux/musl/b32/riscv32/mod.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/vendor/libc/src/unix/linux_like/linux/musl/b32/riscv32/mod.rs
 b/vendor/libc/src/unix/linux_like/linux/musl/b32/riscv32/mod.rs
+@@ -271,6 +271,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
+ pub const EPROTONOSUPPORT: ::c_int = 93;
+ pub const ESOCKTNOSUPPORT: ::c_int = 94;
+ pub const EOPNOTSUPP: ::c_int = 95;
++pub const ENOTSUP: ::c_int = EOPNOTSUPP;
+ pub const EPFNOSUPPORT: ::c_int = 96;
+ pub const EAFNOSUPPORT: ::c_int = 97;
+ pub const EADDRINUSE: ::c_int = 98;
+--- a/vendor/libc/.cargo-checksum.json
 b/vendor/libc/.cargo-checksum.json
+@@ -1 +1 @@

Re: [OE-core][PATCH] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Khem Raj
On Fri, Aug 19, 2022 at 8:22 AM Alexander Kanavin
 wrote:
>
> So which recent patch? Can you link to it please?
>

https://patchwork.yoctoproject.org/project/oe-core/patch/20220813170156.4040589-1-raj.k...@gmail.com/

but this needs to remove sysinit from target, I have meant to send a
v2 but had no time to do so far.

> Alex
>
>
> On Fri, 19 Aug 2022 at 17:13, Drew Moseley  wrote:
> >
> >
> > On 8/19/22 11:07 AM, Dragos-Marian Panait wrote:
> >
> >
> > On 19.08.2022 17:34, Drew Moseley wrote:
> >
> > [Please note: This e-mail is from an EXTERNAL e-mail address]
> >
> >
> > On 8/19/22 8:50 AM, Dragos-Marian Panait wrote:
> >
> > Hi Claudius,
> >
> > On 19.08.2022 12:36, Claudius Heine wrote:
> >
> > [Please note: This e-mail is from an EXTERNAL e-mail address]
> >
> > Hi Dew.
> >
> > On 2022-08-15 20:25, drew.mose...@gmail.com wrote:
> >
> > From: Drew Moseley 
> >
> > The previous change to remove the dependency on systemd-udev-settle
> > caused boot delays at least on qemu. It seems that change required
> > a hwrng device but that's not necessarily available on all platforms.
> >
> > This changes the "Requires" to a "WantedBy" as modeled after the
> > version of this file on Ubuntu 20.04.
> >
> > Signed-off-by: Drew Moseley 
> > ---
> >   meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 3 +--
> >   1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service 
> > b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
> > index 0f50890dcb..b013d95932 100644
> > --- a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
> > +++ b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
> > @@ -3,8 +3,6 @@ Description=Hardware RNG Entropy Gatherer Daemon
> >   DefaultDependencies=no
> >   After=systemd-udev-settle.service
> >   Before=sysinit.target shutdown.target
> > -Requires=dev-hwrng.device
> > -After=dev-hwrng.device
> >   Conflicts=shutdown.target
> >
> >   [Service]
> > @@ -32,3 +30,4 @@ SystemCallFilter=@system-service
> >
> >   [Install]
> >   WantedBy=sysinit.target
> > +WantedBy=dev-hwrng.device
> >
> >
> > This looses the order. Have you tried just replacing `Requires` with
> > `Wants`. So something like this:
> >
> >
> > ```
> >
> > Before=sysinit.target shutdown.target
> > Wants=dev-hwrng.device
> > After=dev-hwrng.device
> > Conflicts=shutdown.target
> >
> > ```
> >
> > If that still would cause the long waiting time on qemu?
> >
> > I haven't investigated the qemu issue, but maybe qemu just doesn't
> > provide a hardware random source? If it doesn't provide a hardware
> > random source, then installing rng-tools on there might also not make sense.
> > Alternatively maybe just adding a start timeout might solve it?
> > regards,
> > Claudius
> >
> >
> > I've tested the patch on a NUC7, results are the same as with qemu:
> > - increased boot time
> > - timeout for rng-tools.service
> > [ TIME ] Timed out waiting for device /dev/hwrng.
> > [DEPEND] Dependency failed for Hard…e RNG Entropy Gatherer Daemon.
> >
> > Regards,
> > Dragos
> >
> >
> > Interesting. I guess this patch should definitely be ignored and the patch 
> > from Khem that removes both the dev-hwrng and systemd-udev-settle depencies 
> > is the right approach. That means that the original problem that adding 
> > systemd-udev-settle was meant to solve, is no longer solved but it seems 
> > that the proposed solutions here have adverse effects elsewhere.
> >
> > Simply removing the systemd-udev-settle dependency fixes the issue that my 
> > customer has that caused me to start investigating here.
> >
> > Drew
> >
> > --
> > mailto:d...@moseleynet.net
> >
> > Sorry for the confusion, I did not test any additional patches/changes that 
> > have been suggested in this email thread.
> > My test was performed on current Yocto master sources. No additional 
> > patches.
> > I just wanted to inform that the boot delay is also observed on real hw, 
> > not just qemu.
> > Again, sorry for the confusion.
> >
> > Dragos
> >
> >
> > Sorry for adding to the confusion. My point was intended to be that I am 
> > fairly certain the recent patch submitted by Khem will resolve the boot 
> > delay issue you are having as well as the original boot delay caused by 
> > systemd-udev-settle.
> >
> > Drew
> >
> > --
> > mailto:d...@moseleynet.net
> >
> >
> > 
> >

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



[OE-core] [pseudo][PATCH] pseudo_util: Silence symlink errors and fix resolution bug

2022-08-19 Thread Tomi Belan
readlink() failures are normal. pseudo should just set errno and let the
program decide whether to report it. E.g. /proc/$pid/{cwd,exe,fd/*,root} are
unreadable for other users' processes. The "pidof" program calls stat() on
each /proc/$pid/exe, which causes pseudo to spam stderr. "pidof" is used e.g.
by various dpkg postinst scripts.

This if branch also forgot to update *pcurrent, so "cat /proc/1/cwd/stat"
would read /proc/1/stat instead of failing as it should.

Signed-off-by: Tomi Belan 
---
Hi. I'd like to contribute this patch to 'pseudo'. I'm not familiar with
git-send-email so I hope I sent it to the right place and it looks good.
Cheers!

 pseudo_util.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pseudo_util.c b/pseudo_util.c
index f150a1b..e8e9803 100644
--- a/pseudo_util.c
+++ b/pseudo_util.c
@@ -679,7 +679,7 @@ pseudo_append_element(char *newpath, char *root, size_t 
allocated, char **pcurre
if (!leave_this && is_dir) {
int is_link = S_ISLNK(buf->st_mode);
if (link_recursion >= PSEUDO_MAX_LINK_RECURSION && is_link) {
-   pseudo_diag("link recursion too deep, not expanding 
path '%s'.\n", newpath);
+   pseudo_debug(PDBGF_PATH, "link recursion too deep, not 
expanding path '%s'.\n", newpath);
is_link = 0;
}
if (is_link) {
@@ -689,7 +689,8 @@ pseudo_append_element(char *newpath, char *root, size_t 
allocated, char **pcurre
 
linklen = readlink(newpath, linkbuf, pseudo_path_max());
if (linklen == -1) {
-   pseudo_diag("uh-oh!  '%s' seems to be a 
symlink, but I can't read it.  Ignoring.", newpath);
+   pseudo_debug(PDBGF_PATH, "uh-oh!  '%s' seems to 
be a symlink, but I can't read it.  Ignoring.\n", newpath);
+   *pcurrent = current;
return 0;
}
/* null-terminate buffer */
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169637): 
https://lists.openembedded.org/g/openembedded-core/message/169637
Mute This Topic: https://lists.openembedded.org/mt/93126613/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] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Alexander Kanavin
So which recent patch? Can you link to it please?

Alex


On Fri, 19 Aug 2022 at 17:13, Drew Moseley  wrote:
>
>
> On 8/19/22 11:07 AM, Dragos-Marian Panait wrote:
>
>
> On 19.08.2022 17:34, Drew Moseley wrote:
>
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
>
> On 8/19/22 8:50 AM, Dragos-Marian Panait wrote:
>
> Hi Claudius,
>
> On 19.08.2022 12:36, Claudius Heine wrote:
>
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
> Hi Dew.
>
> On 2022-08-15 20:25, drew.mose...@gmail.com wrote:
>
> From: Drew Moseley 
>
> The previous change to remove the dependency on systemd-udev-settle
> caused boot delays at least on qemu. It seems that change required
> a hwrng device but that's not necessarily available on all platforms.
>
> This changes the "Requires" to a "WantedBy" as modeled after the
> version of this file on Ubuntu 20.04.
>
> Signed-off-by: Drew Moseley 
> ---
>   meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service 
> b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
> index 0f50890dcb..b013d95932 100644
> --- a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
> +++ b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
> @@ -3,8 +3,6 @@ Description=Hardware RNG Entropy Gatherer Daemon
>   DefaultDependencies=no
>   After=systemd-udev-settle.service
>   Before=sysinit.target shutdown.target
> -Requires=dev-hwrng.device
> -After=dev-hwrng.device
>   Conflicts=shutdown.target
>
>   [Service]
> @@ -32,3 +30,4 @@ SystemCallFilter=@system-service
>
>   [Install]
>   WantedBy=sysinit.target
> +WantedBy=dev-hwrng.device
>
>
> This looses the order. Have you tried just replacing `Requires` with
> `Wants`. So something like this:
>
>
> ```
>
> Before=sysinit.target shutdown.target
> Wants=dev-hwrng.device
> After=dev-hwrng.device
> Conflicts=shutdown.target
>
> ```
>
> If that still would cause the long waiting time on qemu?
>
> I haven't investigated the qemu issue, but maybe qemu just doesn't
> provide a hardware random source? If it doesn't provide a hardware
> random source, then installing rng-tools on there might also not make sense.
> Alternatively maybe just adding a start timeout might solve it?
> regards,
> Claudius
>
>
> I've tested the patch on a NUC7, results are the same as with qemu:
> - increased boot time
> - timeout for rng-tools.service
> [ TIME ] Timed out waiting for device /dev/hwrng.
> [DEPEND] Dependency failed for Hard…e RNG Entropy Gatherer Daemon.
>
> Regards,
> Dragos
>
>
> Interesting. I guess this patch should definitely be ignored and the patch 
> from Khem that removes both the dev-hwrng and systemd-udev-settle depencies 
> is the right approach. That means that the original problem that adding 
> systemd-udev-settle was meant to solve, is no longer solved but it seems that 
> the proposed solutions here have adverse effects elsewhere.
>
> Simply removing the systemd-udev-settle dependency fixes the issue that my 
> customer has that caused me to start investigating here.
>
> Drew
>
> --
> mailto:d...@moseleynet.net
>
> Sorry for the confusion, I did not test any additional patches/changes that 
> have been suggested in this email thread.
> My test was performed on current Yocto master sources. No additional patches.
> I just wanted to inform that the boot delay is also observed on real hw, not 
> just qemu.
> Again, sorry for the confusion.
>
> Dragos
>
>
> Sorry for adding to the confusion. My point was intended to be that I am 
> fairly certain the recent patch submitted by Khem will resolve the boot delay 
> issue you are having as well as the original boot delay caused by 
> systemd-udev-settle.
>
> Drew
>
> --
> mailto:d...@moseleynet.net
>
>
> 
>

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



[OE-core] [pseudo][PATCH] ports/linux: Remove build dependency on libattr

2022-08-19 Thread Tomi Belan
Apparently  was only included in order to get ENOATTR.
pseudo does not use any other functions or structs from it.

More about ENOATTR:
https://git.savannah.nongnu.org/cgit/attr.git/tree/include/attributes.h
https://github.com/rust-lang/libc/issues/1356
https://github.com/golang/go/issues/753

Signed-off-by: Tomi Belan 
---
Hi. I'd like to contribute this patch to 'pseudo'. I'm not familiar with
git-send-email so I hope I sent it to the right place and it looks good.
Cheers!

 ports/linux/xattr/portdefs.h | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ports/linux/xattr/portdefs.h b/ports/linux/xattr/portdefs.h
index 068d39a..beab7d0 100644
--- a/ports/linux/xattr/portdefs.h
+++ b/ports/linux/xattr/portdefs.h
@@ -3,5 +3,8 @@
  *
  */
 #include 
-#include 
 #include 
+
+#ifndef ENOATTR
+#define ENOATTR ENODATA
+#endif
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169635): 
https://lists.openembedded.org/g/openembedded-core/message/169635
Mute This Topic: https://lists.openembedded.org/mt/93126544/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] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Drew Moseley


On 8/19/22 11:07 AM, Dragos-Marian Panait wrote:



On 19.08.2022 17:34, Drew Moseley wrote:


**[Please note: This e-mail is from an EXTERNAL e-mail address]


On 8/19/22 8:50 AM, Dragos-Marian Panait wrote:


Hi Claudius,

On 19.08.2022 12:36, Claudius Heine wrote:

[Please note: This e-mail is from an EXTERNAL e-mail address]

Hi Dew.

On 2022-08-15 20:25, drew.mose...@gmail.com wrote:

From: Drew Moseley 

The previous change to remove the dependency on systemd-udev-settle
caused boot delays at least on qemu. It seems that change required
a hwrng device but that's not necessarily available on all platforms.

This changes the "Requires" to a "WantedBy" as modeled after the
version of this file on Ubuntu 20.04.

Signed-off-by: Drew Moseley 
---
meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service 
b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service

index 0f50890dcb..b013d95932 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
@@ -3,8 +3,6 @@ Description=Hardware RNG Entropy Gatherer Daemon
  DefaultDependencies=no
  After=systemd-udev-settle.service
  Before=sysinit.target 
 
shutdown.target 
 


-Requires=dev-hwrng.device
-After=dev-hwrng.device
  Conflicts=shutdown.target 
 



  [Service]
@@ -32,3 +30,4 @@ SystemCallFilter=@system-service

  [Install]
  WantedBy=sysinit.target 
 


+WantedBy=dev-hwrng.device


This looses the order. Have you tried just replacing `Requires` with
`Wants`. So something like this:


```

Before=sysinit.target 
 
shutdown.target 
 


Wants=dev-hwrng.device
After=dev-hwrng.device
Conflicts=shutdown.target 
 



```

If that still would cause the long waiting time on qemu?

I haven't investigated the qemu issue, but maybe qemu just doesn't
provide a hardware random source? If it doesn't provide a hardware
random source, then installing rng-tools on there might also not 
make sense.

Alternatively maybe just adding a start timeout might solve it?
regards,
Claudius



I've tested the patch on a NUC7, results are the same as with qemu:
- increased boot time
- timeout for rng-tools.service
[ TIME ] Timed out waiting for device /dev/hwrng.
[DEPEND] Dependency failed for Hard…e RNG Entropy Gatherer Daemon.

Regards,
Dragos



Interesting. I guess this patch should definitely be ignored and the 
patch from Khem that removes both the dev-hwrng and 
systemd-udev-settle depencies is the right approach. That means that 
the original problem that adding systemd-udev-settle was meant to 
solve, is no longer solved but it seems that the proposed solutions 
here have adverse effects elsewhere.


Simply removing the systemd-udev-settle dependency fixes the issue 
that my customer has that caused me to start investigating here.


Drew

--
mailto:d...@moseleynet.net
Sorry for the confusion, I did not test any additional patches/changes 
that have been suggested in this email thread.
My test was performed on current Yocto master sources. No additional 
patches.
I just wanted to inform that the boot delay is also observed on real 
hw, not just qemu.

Again, sorry for the confusion.

Dragos



Sorry for adding to the confusion. My point was intended to be that I am 
fairly certain the recent patch submitted by Khem will resolve the boot 
delay issue you are having as well as the original boot delay caused by 
systemd-udev-settle.


Drew

--
mailto:d...@moseleynet.net

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169634): 
https://lists.openembedded.org/g/openembedded-core/message/169634
Mute This Topic: https://lists.openembedded.org/mt/93042904/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org

Re: [OE-core][PATCH] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Dragos-Marian Panait


On 19.08.2022 17:34, Drew Moseley wrote:


**[Please note: This e-mail is from an EXTERNAL e-mail address]


On 8/19/22 8:50 AM, Dragos-Marian Panait wrote:


Hi Claudius,

On 19.08.2022 12:36, Claudius Heine wrote:

[Please note: This e-mail is from an EXTERNAL e-mail address]

Hi Dew.

On 2022-08-15 20:25, drew.mose...@gmail.com wrote:

From: Drew Moseley 

The previous change to remove the dependency on systemd-udev-settle
caused boot delays at least on qemu. It seems that change required
a hwrng device but that's not necessarily available on all platforms.

This changes the "Requires" to a "WantedBy" as modeled after the
version of this file on Ubuntu 20.04.

Signed-off-by: Drew Moseley 
---
meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service 
b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service

index 0f50890dcb..b013d95932 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
@@ -3,8 +3,6 @@ Description=Hardware RNG Entropy Gatherer Daemon
  DefaultDependencies=no
  After=systemd-udev-settle.service
  Before=sysinit.target 
 
shutdown.target 
 


-Requires=dev-hwrng.device
-After=dev-hwrng.device
  Conflicts=shutdown.target 
 



  [Service]
@@ -32,3 +30,4 @@ SystemCallFilter=@system-service

  [Install]
  WantedBy=sysinit.target 
 


+WantedBy=dev-hwrng.device


This looses the order. Have you tried just replacing `Requires` with
`Wants`. So something like this:


```

Before=sysinit.target 
 
shutdown.target 
 


Wants=dev-hwrng.device
After=dev-hwrng.device
Conflicts=shutdown.target 
 



```

If that still would cause the long waiting time on qemu?

I haven't investigated the qemu issue, but maybe qemu just doesn't
provide a hardware random source? If it doesn't provide a hardware
random source, then installing rng-tools on there might also not 
make sense.

Alternatively maybe just adding a start timeout might solve it?
regards,
Claudius



I've tested the patch on a NUC7, results are the same as with qemu:
- increased boot time
- timeout for rng-tools.service
[ TIME ] Timed out waiting for device /dev/hwrng.
[DEPEND] Dependency failed for Hard…e RNG Entropy Gatherer Daemon.

Regards,
Dragos



Interesting. I guess this patch should definitely be ignored and the 
patch from Khem that removes both the dev-hwrng and 
systemd-udev-settle depencies is the right approach. That means that 
the original problem that adding systemd-udev-settle was meant to 
solve, is no longer solved but it seems that the proposed solutions 
here have adverse effects elsewhere.


Simply removing the systemd-udev-settle dependency fixes the issue 
that my customer has that caused me to start investigating here.


Drew

--
mailto:d...@moseleynet.net
Sorry for the confusion, I did not test any additional patches/changes 
that have been suggested in this email thread.
My test was performed on current Yocto master sources. No additional 
patches.
I just wanted to inform that the boot delay is also observed on real hw, 
not just qemu.

Again, sorry for the confusion.

Dragos

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169633): 
https://lists.openembedded.org/g/openembedded-core/message/169633
Mute This Topic: https://lists.openembedded.org/mt/93042904/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] util-linux: Remove raw flags in EXTRA_OECONF

2022-08-19 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core@lists.openembedded.org  c...@lists.openembedded.org> On Behalf Of Mateusz Marciniec
> Sent: den 19 augusti 2022 13:34
> To: openembedded-core@lists.openembedded.org
> Cc: Mateusz Marciniec ; Tomasz Dziendzielski
> 
> Subject: [OE-core] [PATCH] util-linux: Remove raw flags in EXTRA_OECONF
> 
> Having both enable and disable flags for raw is confusing.
> Raw should not be enabled so both flags can be removed.
> 
> Signed-off-by: Mateusz Marciniec 
> Signed-off-by: Tomasz Dziendzielski 
> ---
>  meta/recipes-core/util-linux/util-linux_2.38.1.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> index 8a7b47a0c6..a93ae83cd6 100644
> --- a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> +++ b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> @@ -69,12 +69,12 @@ EXTRA_OECONF = "\
>  --enable-libuuid --enable-libblkid \
>  \
>  --enable-fsck --enable-kill --enable-last --enable-mesg \
> ---enable-mount --enable-partx --enable-raw --enable-rfkill \
> +--enable-mount --enable-partx --enable-rfkill \
>  --enable-unshare --enable-write \
>  \
>  --disable-bfs --disable-login \
>  --disable-makeinstall-chown --disable-minix --disable-newgrp \
> ---disable-use-tty-group --disable-vipw --disable-raw \
> +--disable-use-tty-group --disable-vipw \

A quick look in configure.ac for util-linux indicates that it will 
start to look for linux/raw.h and enable raw support if it exists 
if you remove the --disable-raw option. So you should leave the 
--disable-raw option to maintain the current deterministic behavior.

>  \
>  --without-udev \
>  \
> --
> 2.37.1

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169632): 
https://lists.openembedded.org/g/openembedded-core/message/169632
Mute This Topic: https://lists.openembedded.org/mt/93122339/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] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Drew Moseley


On 8/19/22 8:50 AM, Dragos-Marian Panait wrote:


Hi Claudius,

On 19.08.2022 12:36, Claudius Heine wrote:

[Please note: This e-mail is from an EXTERNAL e-mail address]

Hi Dew.

On 2022-08-15 20:25, drew.mose...@gmail.com wrote:

From: Drew Moseley 

The previous change to remove the dependency on systemd-udev-settle
caused boot delays at least on qemu. It seems that change required
a hwrng device but that's not necessarily available on all platforms.

This changes the "Requires" to a "WantedBy" as modeled after the
version of this file on Ubuntu 20.04.

Signed-off-by: Drew Moseley 
---
  meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service 
b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service

index 0f50890dcb..b013d95932 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
@@ -3,8 +3,6 @@ Description=Hardware RNG Entropy Gatherer Daemon
  DefaultDependencies=no
  After=systemd-udev-settle.service
  Before=sysinit.target shutdown.target
-Requires=dev-hwrng.device
-After=dev-hwrng.device
  Conflicts=shutdown.target

  [Service]
@@ -32,3 +30,4 @@ SystemCallFilter=@system-service

  [Install]
  WantedBy=sysinit.target
+WantedBy=dev-hwrng.device


This looses the order. Have you tried just replacing `Requires` with
`Wants`. So something like this:


```

Before=sysinit.target shutdown.target
Wants=dev-hwrng.device
After=dev-hwrng.device
Conflicts=shutdown.target

```

If that still would cause the long waiting time on qemu?

I haven't investigated the qemu issue, but maybe qemu just doesn't
provide a hardware random source? If it doesn't provide a hardware
random source, then installing rng-tools on there might also not make 
sense.

Alternatively maybe just adding a start timeout might solve it?
regards,
Claudius



I've tested the patch on a NUC7, results are the same as with qemu:
- increased boot time
- timeout for rng-tools.service
[ TIME ] Timed out waiting for device /dev/hwrng.
[DEPEND] Dependency failed for Hard…e RNG Entropy Gatherer Daemon.

Regards,
Dragos



Interesting. I guess this patch should definitely be ignored and the 
patch from Khem that removes both the dev-hwrng and systemd-udev-settle 
depencies is the right approach. That means that the original problem 
that adding systemd-udev-settle was meant to solve, is no longer solved 
but it seems that the proposed solutions here have adverse effects 
elsewhere.


Simply removing the systemd-udev-settle dependency fixes the issue that 
my customer has that caused me to start investigating here.


Drew

--
mailto:d...@moseleynet.net

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169631): 
https://lists.openembedded.org/g/openembedded-core/message/169631
Mute This Topic: https://lists.openembedded.org/mt/93042904/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 2/2] selftest: Add regression test for rpm filenames

2022-08-19 Thread Pavel Zhukov

Randy MacLeod  writes:

> Hi Pavel,
>
> On 2022-08-19 05:20, Pavel Zhukov wrote:
>> Escaping globs and quoting in rpm spec files is tricky and requires a
>> bit of dancing. In addition to that it changes from time to time.
>> Adding (simple) regression test for different types of filename
>> patterns. Cover bracket in first iteration
>
> Nice.
>
>> [Yocto #13746]
>> Signed-off-by: Pavel Zhukov 
>> ---
>>   .../recipes-test/testrpm/files/testfile.txt |  6 ++
>>   .../recipes-test/testrpm/testrpm_0.0.1.bb   | 17 +
>>   meta/lib/oeqa/selftest/cases/rpmtests.py| 16 
>>   3 files changed, 39 insertions(+)
>>   create mode 100644 meta-selftest/recipes-test/testrpm/files/testfile.txt
>>   create mode 100644 meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
>>   create mode 100644 meta/lib/oeqa/selftest/cases/rpmtests.py
>> diff --git a/meta-selftest/recipes-test/testrpm/files/testfile.txt
>> b/meta-selftest/recipes-test/testrpm/files/testfile.txt
>> new file mode 100644
>> index 000..d1e50ff79a2
>> --- /dev/null
>> +++ b/meta-selftest/recipes-test/testrpm/files/testfile.txt
>> @@ -0,0 +1,6 @@
>> +  /mnt/builds/yocto/sources/meta-selftest/recipes-test/testrpm:
>> +  total used in directory 16 available 76.4 GiB
>> +  drwxr-xr-x  2 pavel pavel 4096 Aug 19 08:59 .
>> +  drwxr-xr-x 34 pavel pavel 4096 Aug 18 17:59 ..
>> +  -rw-r--r--  1 pavel pavel  408 Aug 19 08:59 testrpm_0.0.1.bb
>> +  -rw-r--r--  1 pavel pavel  355 Aug 18 21:54 testrpm_0.0.1.bb~
>
>
> I assume that you just want a testfile.txt that doesn't have any
> special characters in the name.
> If so, maybe the body of the file should be text that explains that purpose.
> If for some reason, you want the output you have, it would be nice to
> remove the backup file: testrpm_0.0.1.bb~
> because it seems out of place.
>
The file is there to serve the purposes of SRC_URI only. I didn't want to
overload workers with downloading real tarball/git_repo so I put random
file (well. it's content of Emacs's buffer which I have opened at the
moment of writing :) ) . Fixed that in v2
>
>> diff --git a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb 
>> b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
>> new file mode 100644
>> index 000..e42c7db3b39
>> --- /dev/null
>> +++ b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
>> @@ -0,0 +1,17 @@
>> +SUMMARY = "Test recipe for testing rpm generated by oe-core"
>> +LICENSE = "CLOSED"
>
> Why did you pick a CLOSED license rather than MIT ?
> Our IP group would likely complain about this! ;-)
Fixed as well (didn't know about the COMMON_LICENSE_DIR existense :) Now I do)
>
>> +
>> +SRC_URI = "file://testfile.txt"
>> +
>> +INHIBIT_DEFAULT_DEPS = "1"
>> +
>> +do_compile(){
>> +echo "testdata" > ${B}/"file with [quotes].txt"
>> +echo "testdata" > ${B}/"file with (quites).txt"
>
>
> Since I'm being picky, would you rename these files to use the terms here:
>
> https://grammar.yourdictionary.com/punctuation/what/fourteen-punctuation-marks.html
> i.e.: Brackets, and Parentheses ?
Covered in v2 too
>
>
> ../Randy
>
>
>> +}
>> +
>> +do_install(){
>> +install ${B}/* ${D}/
>> +}
>> +
>> +FILES:${PN} = "*"
>> diff --git a/meta/lib/oeqa/selftest/cases/rpmtests.py 
>> b/meta/lib/oeqa/selftest/cases/rpmtests.py
>> new file mode 100644
>> index 000..dafbbc21360
>> --- /dev/null
>> +++ b/meta/lib/oeqa/selftest/cases/rpmtests.py
>> @@ -0,0 +1,16 @@
>> +#
>> +# Copyright OpenEmbedded Contributors
>> +#
>> +# SPDX-License-Identifier: MIT
>> +#
>> +
>> +
>> +from oeqa.selftest.case import OESelftestTestCase
>> +from oeqa.utils.commands import bitbake
>> +
>> +class BitbakeTests(OESelftestTestCase):
>> +
>> +def test_rpm_filenames(self):
>> +test_recipe = "testrpm"
>> +bitbake(test_recipe)
>> +
>> 
>> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169630): 
https://lists.openembedded.org/g/openembedded-core/message/169630
Mute This Topic: https://lists.openembedded.org/mt/93121038/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 v2 2/2] selftest: Add regression test for rpm filesnames

2022-08-19 Thread Pavel Zhukov
Escaping globs and quoting in rpm spec files is tricky and requires a
bit of dancing. In addition to that it changes from time to time.
Adding (simple) regression test for different types of filename
patterns. Cover brackets and parentheses in first iteration

[Yocto #13746]

Signed-off-by: Pavel Zhukov 
---
 .../recipes-test/testrpm/files/testfile.txt|  1 +
 .../recipes-test/testrpm/testrpm_0.0.1.bb  | 18 ++
 meta/lib/oeqa/selftest/cases/rpmtests.py   | 14 ++
 3 files changed, 33 insertions(+)
 create mode 100644 meta-selftest/recipes-test/testrpm/files/testfile.txt
 create mode 100644 meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
 create mode 100644 meta/lib/oeqa/selftest/cases/rpmtests.py

diff --git a/meta-selftest/recipes-test/testrpm/files/testfile.txt 
b/meta-selftest/recipes-test/testrpm/files/testfile.txt
new file mode 100644
index 000..c4d7630c1e1
--- /dev/null
+++ b/meta-selftest/recipes-test/testrpm/files/testfile.txt
@@ -0,0 +1 @@
+== This file serves the purposes of SRC_URI only
diff --git a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb 
b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
new file mode 100644
index 000..5e8761ab554
--- /dev/null
+++ b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Test recipe for testing rpm generated by oe-core"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+LICENSE = "MIT"
+
+SRC_URI = "file://testfile.txt"
+INHIBIT_DEFAULT_DEPS = "1"
+
+do_compile(){
+   echo "testdata" > ${B}/"file with [brackets].txt"
+   echo "testdata" > ${B}/"file with (parentheses).txt"
+}
+
+do_install(){
+   install ${B}/* ${D}/
+}
+
+FILES:${PN} = "*"
diff --git a/meta/lib/oeqa/selftest/cases/rpmtests.py 
b/meta/lib/oeqa/selftest/cases/rpmtests.py
new file mode 100644
index 000..902d7dca3da
--- /dev/null
+++ b/meta/lib/oeqa/selftest/cases/rpmtests.py
@@ -0,0 +1,14 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+from oeqa.selftest.case import OESelftestTestCase
+from oeqa.utils.commands import bitbake
+
+class BitbakeTests(OESelftestTestCase):
+
+def test_rpm_filenames(self):
+test_recipe = "testrpm"
+bitbake(test_recipe)
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169629): 
https://lists.openembedded.org/g/openembedded-core/message/169629
Mute This Topic: https://lists.openembedded.org/mt/93123926/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 v2 1/2] package_rpm: Do not replace square brackets in %files

2022-08-19 Thread Pavel Zhukov
This reverts commit f95adb749619e70920c6cc6cd01c6d02cd348fd8.
At some point RPM stopped treating "[]?" characters in quoted text as a glob
This causes rpmbuild error [1] in oe-core if package contains filenames
with such characters [Yocto #13746]. Reverting commit which replaces "[]" with 
"?"
fixes the issue.
It should be safe now becuase rpm tries to use filename directly if not
found by glob [2].

[1]
| error: File not found: 
/mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42
 All-Time Classics (E) ?v1.1?.cht
| File not found: 
/mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42
 All-Time Classics (E) ?v1.1?.cht
|

[2] 
https://github.com/rpm-software-management/rpm/commit/c16c70cbd6b31cd93541d5c22d23ba98d212ad3d

Signed-off-by: Pavel Zhukov 
---
 meta/classes-global/package_rpm.bbclass | 6 --
 1 file changed, 6 deletions(-)

diff --git a/meta/classes-global/package_rpm.bbclass 
b/meta/classes-global/package_rpm.bbclass
index 63c1b077a30..81a2060b68d 100644
--- a/meta/classes-global/package_rpm.bbclass
+++ b/meta/classes-global/package_rpm.bbclass
@@ -199,8 +199,6 @@ python write_specfile () {
 if path.endswith("DEBIAN") or path.endswith("CONTROL"):
 continue
 path = path.replace("%", "")
-path = path.replace("[", "?")
-path = path.replace("]", "?")
 
 # Treat all symlinks to directories as normal files.
 # os.walk() lists them as directories.
@@ -220,8 +218,6 @@ python write_specfile () {
 if dir == "CONTROL" or dir == "DEBIAN":
 continue
 dir = dir.replace("%", "")
-dir = dir.replace("[", "?")
-dir = dir.replace("]", "?")
 # All packages own the directories their files are in...
 target.append('%dir "' + path + '/' + dir + '"')
 else:
@@ -236,8 +232,6 @@ python write_specfile () {
 if file == "CONTROL" or file == "DEBIAN":
 continue
 file = file.replace("%", "")
-file = file.replace("[", "?")
-file = file.replace("]", "?")
 if conffiles.count(path + '/' + file):
 target.append('%config "' + path + '/' + file + '"')
 else:
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169628): 
https://lists.openembedded.org/g/openembedded-core/message/169628
Mute This Topic: https://lists.openembedded.org/mt/93123921/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] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Dragos-Marian Panait

Hi Claudius,

On 19.08.2022 12:36, Claudius Heine wrote:

[Please note: This e-mail is from an EXTERNAL e-mail address]

Hi Dew.

On 2022-08-15 20:25, drew.mose...@gmail.com wrote:

From: Drew Moseley 

The previous change to remove the dependency on systemd-udev-settle
caused boot delays at least on qemu. It seems that change required
a hwrng device but that's not necessarily available on all platforms.

This changes the "Requires" to a "WantedBy" as modeled after the
version of this file on Ubuntu 20.04.

Signed-off-by: Drew Moseley 
---
  meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service 
b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service

index 0f50890dcb..b013d95932 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
@@ -3,8 +3,6 @@ Description=Hardware RNG Entropy Gatherer Daemon
  DefaultDependencies=no
  After=systemd-udev-settle.service
  Before=sysinit.target shutdown.target
-Requires=dev-hwrng.device
-After=dev-hwrng.device
  Conflicts=shutdown.target

  [Service]
@@ -32,3 +30,4 @@ SystemCallFilter=@system-service

  [Install]
  WantedBy=sysinit.target
+WantedBy=dev-hwrng.device


This looses the order. Have you tried just replacing `Requires` with
`Wants`. So something like this:


```

Before=sysinit.target shutdown.target
Wants=dev-hwrng.device
After=dev-hwrng.device
Conflicts=shutdown.target

```

If that still would cause the long waiting time on qemu?

I haven't investigated the qemu issue, but maybe qemu just doesn't
provide a hardware random source? If it doesn't provide a hardware
random source, then installing rng-tools on there might also not make 
sense.

Alternatively maybe just adding a start timeout might solve it?
regards,
Claudius



I've tested the patch on a NUC7, results are the same as with qemu:
- increased boot time
- timeout for rng-tools.service
[ TIME ] Timed out waiting for device /dev/hwrng.
[DEPEND] Dependency failed for Hard…e RNG Entropy Gatherer Daemon.

Regards,
Dragos

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169627): 
https://lists.openembedded.org/g/openembedded-core/message/169627
Mute This Topic: https://lists.openembedded.org/mt/93042904/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 2/2] selftest: Add regression test for rpm filenames

2022-08-19 Thread Randy MacLeod

Hi Pavel,

On 2022-08-19 05:20, Pavel Zhukov wrote:

Escaping globs and quoting in rpm spec files is tricky and requires a
bit of dancing. In addition to that it changes from time to time.
Adding (simple) regression test for different types of filename
patterns. Cover bracket in first iteration


Nice.



[Yocto #13746]

Signed-off-by: Pavel Zhukov 
---
  .../recipes-test/testrpm/files/testfile.txt |  6 ++
  .../recipes-test/testrpm/testrpm_0.0.1.bb   | 17 +
  meta/lib/oeqa/selftest/cases/rpmtests.py| 16 
  3 files changed, 39 insertions(+)
  create mode 100644 meta-selftest/recipes-test/testrpm/files/testfile.txt
  create mode 100644 meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
  create mode 100644 meta/lib/oeqa/selftest/cases/rpmtests.py

diff --git a/meta-selftest/recipes-test/testrpm/files/testfile.txt 
b/meta-selftest/recipes-test/testrpm/files/testfile.txt
new file mode 100644
index 000..d1e50ff79a2
--- /dev/null
+++ b/meta-selftest/recipes-test/testrpm/files/testfile.txt
@@ -0,0 +1,6 @@
+  /mnt/builds/yocto/sources/meta-selftest/recipes-test/testrpm:
+  total used in directory 16 available 76.4 GiB
+  drwxr-xr-x  2 pavel pavel 4096 Aug 19 08:59 .
+  drwxr-xr-x 34 pavel pavel 4096 Aug 18 17:59 ..
+  -rw-r--r--  1 pavel pavel  408 Aug 19 08:59 testrpm_0.0.1.bb
+  -rw-r--r--  1 pavel pavel  355 Aug 18 21:54 testrpm_0.0.1.bb~



I assume that you just want a testfile.txt that doesn't have any special 
characters in the name.

If so, maybe the body of the file should be text that explains that purpose.
If for some reason, you want the output you have, it would be nice to 
remove the backup file: testrpm_0.0.1.bb~

because it seems out of place.



diff --git a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb 
b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
new file mode 100644
index 000..e42c7db3b39
--- /dev/null
+++ b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Test recipe for testing rpm generated by oe-core"
+LICENSE = "CLOSED"


Why did you pick a CLOSED license rather than MIT ?
Our IP group would likely complain about this! ;-)


+
+SRC_URI = "file://testfile.txt"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+do_compile(){
+   echo "testdata" > ${B}/"file with [quotes].txt"
+   echo "testdata" > ${B}/"file with (quites).txt"



Since I'm being picky, would you rename these files to use the terms here:

https://grammar.yourdictionary.com/punctuation/what/fourteen-punctuation-marks.html
i.e.: Brackets, and Parentheses ?


../Randy



+}
+
+do_install(){
+   install ${B}/* ${D}/
+}
+
+FILES:${PN} = "*"
diff --git a/meta/lib/oeqa/selftest/cases/rpmtests.py 
b/meta/lib/oeqa/selftest/cases/rpmtests.py
new file mode 100644
index 000..dafbbc21360
--- /dev/null
+++ b/meta/lib/oeqa/selftest/cases/rpmtests.py
@@ -0,0 +1,16 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+
+from oeqa.selftest.case import OESelftestTestCase
+from oeqa.utils.commands import bitbake
+
+class BitbakeTests(OESelftestTestCase):
+
+def test_rpm_filenames(self):
+test_recipe = "testrpm"
+bitbake(test_recipe)
+








--
# Randy MacLeod
# Wind River Linux


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169626): 
https://lists.openembedded.org/g/openembedded-core/message/169626
Mute This Topic: https://lists.openembedded.org/mt/93121038/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 2/2] openssh: add support for config snippet includes to ssh and sshd

2022-08-19 Thread Jan Luebbe
On Fri, 2022-08-19 at 09:57 +, Peter Kjellerstedt wrote:
> > > +Include /etc/ssh/ssh_config.d/*.conf
> > > +
> > Generally looks ok.
> > I wonder if this increases security concerns with such blanket includes.
> 
> If you have the permissions to add a file to /etc/ssh/ssh_config.d or 
> /etc/ssh/sshd_config.d, you could just as well modify /etc/ssh/ssh_config 
> or /etc/ssh/sshd_config directly.

This was my thinking as well.

Thanks,
Jan
-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169625): 
https://lists.openembedded.org/g/openembedded-core/message/169625
Mute This Topic: https://lists.openembedded.org/mt/93100986/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] util-linux: Remove raw flags in EXTRA_OECONF

2022-08-19 Thread Mateusz Marciniec
Having both enable and disable flags for raw is confusing.
Raw should not be enabled so both flags can be removed.

Signed-off-by: Mateusz Marciniec 
Signed-off-by: Tomasz Dziendzielski 
---
 meta/recipes-core/util-linux/util-linux_2.38.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/util-linux/util-linux_2.38.1.bb 
b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
index 8a7b47a0c6..a93ae83cd6 100644
--- a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
@@ -69,12 +69,12 @@ EXTRA_OECONF = "\
 --enable-libuuid --enable-libblkid \
 \
 --enable-fsck --enable-kill --enable-last --enable-mesg \
---enable-mount --enable-partx --enable-raw --enable-rfkill \
+--enable-mount --enable-partx --enable-rfkill \
 --enable-unshare --enable-write \
 \
 --disable-bfs --disable-login \
 --disable-makeinstall-chown --disable-minix --disable-newgrp \
---disable-use-tty-group --disable-vipw --disable-raw \
+--disable-use-tty-group --disable-vipw \
 \
 --without-udev \
 \
-- 
2.37.1


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



[OE-core] [kirkstone][PATCH] libtiff: CVE-2022-34526 A stack overflow was discovered

2022-08-19 Thread Hitendra Prajapati
Source: https://gitlab.com/libtiff/libtiff
MR: 120544
Type: Security Fix
Disposition: Backport from 
https://gitlab.com/libtiff/libtiff/-/commit/275735d0354e39c0ac1dc3c0db2120d6f31d1990
ChangeID: 2f9df449974f5436c1690f3ace5d74b1ab4670c9
Description:
  CVE-2022-34526 libtiff: A stack overflow was discovered in the 
_TIFFVGetField function of Tiffsplit.

Signed-off-by: Hitendra Prajapati 
---
 .../libtiff/tiff/CVE-2022-34526.patch | 29 +++
 meta/recipes-multimedia/libtiff/tiff_4.3.0.bb |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 meta/recipes-multimedia/libtiff/tiff/CVE-2022-34526.patch

diff --git a/meta/recipes-multimedia/libtiff/tiff/CVE-2022-34526.patch 
b/meta/recipes-multimedia/libtiff/tiff/CVE-2022-34526.patch
new file mode 100644
index 00..48ca56982f
--- /dev/null
+++ b/meta/recipes-multimedia/libtiff/tiff/CVE-2022-34526.patch
@@ -0,0 +1,29 @@
+From 3fc1fdda0068981340cc7ae136173731275e2c5e Mon Sep 17 00:00:00 2001
+From: Hitendra Prajapati 
+Date: Thu, 18 Aug 2022 10:46:30 +0530
+Subject: [PATCH] CVE-2022-34526
+
+Upstream-Status: Backport 
[https://gitlab.com/libtiff/libtiff/-/commit/275735d0354e39c0ac1dc3c0db2120d6f31d1990]
+CVE: CVE-2022-34526
+Signed-off-by: Hitendra Prajapati 
+---
+ libtiff/tif_dirinfo.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c
+index 8565dfb..0f722a5 100644
+--- a/libtiff/tif_dirinfo.c
 b/libtiff/tif_dirinfo.c
+@@ -1157,6 +1157,9 @@ _TIFFCheckFieldIsValidForCodec(TIFF *tif, ttag_t tag)
+   default:
+   return 1;
+   }
++  if( !TIFFIsCODECConfigured(tif->tif_dir.td_compression) ) {
++  return 0;
++  }
+   /* Check if codec specific tags are allowed for the current
+* compression scheme (codec) */
+   switch (tif->tif_dir.td_compression) {
+-- 
+2.25.1
+
diff --git a/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb 
b/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb
index 149516508f..b5ccd859f3 100644
--- a/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb
+++ b/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb
@@ -21,6 +21,7 @@ SRC_URI = 
"http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz \
file://0001-fix-the-FPE-in-tiffcrop-415-427-and-428.patch \
file://CVE-2022-1354.patch \
file://CVE-2022-1355.patch \
+   file://CVE-2022-34526.patch \
"
 
 SRC_URI[sha256sum] = 
"0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169623): 
https://lists.openembedded.org/g/openembedded-core/message/169623
Mute This Topic: https://lists.openembedded.org/mt/93121981/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] [kirkstone][master][PATCH V2] apt: fix do_package_qa failure

2022-08-19 Thread Changqing Li

ping

On 8/1/22 11:34, Changqing Li wrote:

From: Changqing Li 

bitbake nativesdk-apt failed with error:
ERROR: nativesdk-apt-2.4.5-r0 do_package_qa: QA Issue: nativesdk-apt installs 
files in 
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile,
 but it is expected to be empty [empty-dirs]

an empty dir apt is installed under /var/log/, fix the failure
by removing the empty dir apt as what we have done for target.
apt will create it when it does not exist.

Signed-off-by: Changqing Li 
---
  meta/recipes-devtools/apt/apt_2.4.5.bb | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb 
b/meta/recipes-devtools/apt/apt_2.4.5.bb
index 95c25e3036..cb29c41ce0 100644
--- a/meta/recipes-devtools/apt/apt_2.4.5.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
@@ -117,6 +117,7 @@ do_install:append:class-native() {
  
  do_install:append:class-nativesdk() {

customize_apt_conf_sample
+   rm -rf ${D}${localstatedir}/log
  }
  
  do_install:append:class-target() {





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169622): 
https://lists.openembedded.org/g/openembedded-core/message/169622
Mute This Topic: https://lists.openembedded.org/mt/92740376/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 2/2] openssh: add support for config snippet includes to ssh and sshd

2022-08-19 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core@lists.openembedded.org 
>  On Behalf Of Khem Raj
> Sent: den 18 augusti 2022 19:32
> To: Jan Luebbe 
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core][PATCH 2/2] openssh: add support for config snippet 
> includes to ssh and sshd
> 
> On Thu, Aug 18, 2022 at 4:21 AM Jan Luebbe  wrote:
> >
> > This makes it simpler to set specific ssh/sshd config options by adding
> > snippet files to /etc/ssh/ssh_config.d/ or /etc/ssh/sshd_config.d/
> > instead of modifying a copy of the full configuration file. As new
> > snippets can be added from separate recipes, targeted changes can be
> > done in multiple layers.
> >
> > These specific directories are also used in Debian's default
> > configuration.
> >
> > Signed-off-by: Jan Luebbe 
> > ---
> >  meta/recipes-connectivity/openssh/openssh/ssh_config  | 2 ++
> >  meta/recipes-connectivity/openssh/openssh/sshd_config | 2 ++
> >  2 files changed, 4 insertions(+)
> >
> > diff --git a/meta/recipes-connectivity/openssh/openssh/ssh_config 
> > b/meta/recipes-connectivity/openssh/openssh/ssh_config
> > index 05eecb465ff0..ca70f3737596 100644
> > --- a/meta/recipes-connectivity/openssh/openssh/ssh_config
> > +++ b/meta/recipes-connectivity/openssh/openssh/ssh_config
> > @@ -17,6 +17,8 @@
> >  # list of available options, their meanings and defaults, please see the
> >  # ssh_config(5) man page.
> >
> > +Include /etc/ssh/ssh_config.d/*.conf
> > +
> Generally looks ok.
> I wonder if this increases security concerns with such blanket includes.

If you have the permissions to add a file to /etc/ssh/ssh_config.d or 
/etc/ssh/sshd_config.d, you could just as well modify /etc/ssh/ssh_config 
or /etc/ssh/sshd_config directly.

> >  Host *
> >ForwardAgent yes
> >ForwardX11 yes
> > diff --git a/meta/recipes-connectivity/openssh/openssh/sshd_config 
> > b/meta/recipes-connectivity/openssh/openssh/sshd_config
> > index 9c5380589013..e9eaf9315775 100644
> > --- a/meta/recipes-connectivity/openssh/openssh/sshd_config
> > +++ b/meta/recipes-connectivity/openssh/openssh/sshd_config
> > @@ -10,6 +10,8 @@
> >  # possible, but leave them commented.  Uncommented options override the
> >  # default value.
> >
> > +Include /etc/ssh/sshd_config.d/*.conf
> > +
> >  #Port 22
> >  #AddressFamily any
> >  #ListenAddress 0.0.0.0
> > --
> > 2.20.1

//Peter


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



[OE-core] [kirkstone][master][PATCH] parselogs.py: ignore systemd-logind warning message

2022-08-19 Thread Changqing Li
From: Changqing Li 

During upower.servie startup, it will send message "GetAll
org.freedesktop.DBus.Properties" to systemd-logind.service. Property
RebootToBootLoaderMenu and RebootToBootLoaderEntry will return warning
message when env SYSTEMD_REBOOT_TO_BOOT_LOADER_MENU,
SYSTEMD_REBOOT_TO_BOOT_LOADER_ENTRY are not set, and also efi boot is
not used. The message just warning and not harmful.

Since do_testimage run qemu, and use basic bios to boot, test_parselogs
failed with error:
---
Central error: Aug  8 02:53:59 qemuarm systemd-logind[383]: Failed to read 
LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported
***

So just ignore this error message so that parselogs.py test case does not
fail.

Signed-off-by: Changqing Li 
---
 meta/lib/oeqa/runtime/cases/parselogs.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py 
b/meta/lib/oeqa/runtime/cases/parselogs.py
index 15dda7947f..1b678f2ff7 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -66,6 +66,8 @@ common_errors = [
 "[pulseaudio] authkey.c: Failed to load authentication key",
 "was skipped because of a failed condition check",
 "was skipped because all trigger condition checks failed",
+"Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation 
not supported",
+"Failed to read LoaderEntryOneShot variable, ignoring: Operation not 
supported",
 ]
 
 video_related = [
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169620): 
https://lists.openembedded.org/g/openembedded-core/message/169620
Mute This Topic: https://lists.openembedded.org/mt/93121196/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] rng-tools: Change "Requires" to "WantedBy" for dev-hwrng.device

2022-08-19 Thread Claudius Heine

Hi Dew.

On 2022-08-15 20:25, drew.mose...@gmail.com wrote:

From: Drew Moseley 

The previous change to remove the dependency on systemd-udev-settle
caused boot delays at least on qemu. It seems that change required
a hwrng device but that's not necessarily available on all platforms.

This changes the "Requires" to a "WantedBy" as modeled after the
version of this file on Ubuntu 20.04.

Signed-off-by: Drew Moseley 
---
  meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service 
b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
index 0f50890dcb..b013d95932 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rng-tools.service
@@ -3,8 +3,6 @@ Description=Hardware RNG Entropy Gatherer Daemon
  DefaultDependencies=no
  After=systemd-udev-settle.service
  Before=sysinit.target shutdown.target
-Requires=dev-hwrng.device
-After=dev-hwrng.device
  Conflicts=shutdown.target
  
  [Service]

@@ -32,3 +30,4 @@ SystemCallFilter=@system-service
  
  [Install]

  WantedBy=sysinit.target
+WantedBy=dev-hwrng.device


This looses the order. Have you tried just replacing `Requires` with 
`Wants`. So something like this:



```

Before=sysinit.target shutdown.target
Wants=dev-hwrng.device
After=dev-hwrng.device
Conflicts=shutdown.target

```

If that still would cause the long waiting time on qemu?

I haven't investigated the qemu issue, but maybe qemu just doesn't 
provide a hardware random source? If it doesn't provide a hardware 
random source, then installing rng-tools on there might also not make sense.


Alternatively maybe just adding a start timeout might solve it?

regards,
Claudius

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169618): 
https://lists.openembedded.org/g/openembedded-core/message/169618
Mute This Topic: https://lists.openembedded.org/mt/93042904/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 2/2] selftest: Add regression test for rpm filenames

2022-08-19 Thread Pavel Zhukov
Escaping globs and quoting in rpm spec files is tricky and requires a
bit of dancing. In addition to that it changes from time to time.
Adding (simple) regression test for different types of filename
patterns. Cover bracket in first iteration

[Yocto #13746]

Signed-off-by: Pavel Zhukov 
---
 .../recipes-test/testrpm/files/testfile.txt |  6 ++
 .../recipes-test/testrpm/testrpm_0.0.1.bb   | 17 +
 meta/lib/oeqa/selftest/cases/rpmtests.py| 16 
 3 files changed, 39 insertions(+)
 create mode 100644 meta-selftest/recipes-test/testrpm/files/testfile.txt
 create mode 100644 meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
 create mode 100644 meta/lib/oeqa/selftest/cases/rpmtests.py

diff --git a/meta-selftest/recipes-test/testrpm/files/testfile.txt 
b/meta-selftest/recipes-test/testrpm/files/testfile.txt
new file mode 100644
index 000..d1e50ff79a2
--- /dev/null
+++ b/meta-selftest/recipes-test/testrpm/files/testfile.txt
@@ -0,0 +1,6 @@
+  /mnt/builds/yocto/sources/meta-selftest/recipes-test/testrpm:
+  total used in directory 16 available 76.4 GiB
+  drwxr-xr-x  2 pavel pavel 4096 Aug 19 08:59 .
+  drwxr-xr-x 34 pavel pavel 4096 Aug 18 17:59 ..
+  -rw-r--r--  1 pavel pavel  408 Aug 19 08:59 testrpm_0.0.1.bb
+  -rw-r--r--  1 pavel pavel  355 Aug 18 21:54 testrpm_0.0.1.bb~
diff --git a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb 
b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
new file mode 100644
index 000..e42c7db3b39
--- /dev/null
+++ b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Test recipe for testing rpm generated by oe-core"
+LICENSE = "CLOSED"
+
+SRC_URI = "file://testfile.txt"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+do_compile(){
+   echo "testdata" > ${B}/"file with [quotes].txt"
+   echo "testdata" > ${B}/"file with (quites).txt"
+}
+
+do_install(){
+   install ${B}/* ${D}/
+}
+
+FILES:${PN} = "*"
diff --git a/meta/lib/oeqa/selftest/cases/rpmtests.py 
b/meta/lib/oeqa/selftest/cases/rpmtests.py
new file mode 100644
index 000..dafbbc21360
--- /dev/null
+++ b/meta/lib/oeqa/selftest/cases/rpmtests.py
@@ -0,0 +1,16 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+
+from oeqa.selftest.case import OESelftestTestCase
+from oeqa.utils.commands import bitbake
+
+class BitbakeTests(OESelftestTestCase):
+
+def test_rpm_filenames(self):
+test_recipe = "testrpm"
+bitbake(test_recipe)
+
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169617): 
https://lists.openembedded.org/g/openembedded-core/message/169617
Mute This Topic: https://lists.openembedded.org/mt/93121038/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] package_rpm: Do not replace square brackets in %files

2022-08-19 Thread Pavel Zhukov
This reverts commit f95adb749619e70920c6cc6cd01c6d02cd348fd8.
At some point RPM stopped treating "[]?" characters in quoted text as a glob
This causes rpmbuild error [1] in oe-core if package contains filenames
with such characters [Yocto #13746]. Reverting commit which replaces "[]" with 
"?"
fixes the issue.
It should be safe now becuase rpm tries to use filename directly if not
found by glob [2].

[1]
| error: File not found: 
/mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42
 All-Time Classics (E) ?v1.1?.cht
| File not found: 
/mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42
 All-Time Classics (E) ?v1.1?.cht
|

[2] 
https://github.com/rpm-software-management/rpm/commit/c16c70cbd6b31cd93541d5c22d23ba98d212ad3d
---
 meta/classes-global/package_rpm.bbclass | 6 --
 1 file changed, 6 deletions(-)

diff --git a/meta/classes-global/package_rpm.bbclass 
b/meta/classes-global/package_rpm.bbclass
index 63c1b077a30..81a2060b68d 100644
--- a/meta/classes-global/package_rpm.bbclass
+++ b/meta/classes-global/package_rpm.bbclass
@@ -199,8 +199,6 @@ python write_specfile () {
 if path.endswith("DEBIAN") or path.endswith("CONTROL"):
 continue
 path = path.replace("%", "")
-path = path.replace("[", "?")
-path = path.replace("]", "?")
 
 # Treat all symlinks to directories as normal files.
 # os.walk() lists them as directories.
@@ -220,8 +218,6 @@ python write_specfile () {
 if dir == "CONTROL" or dir == "DEBIAN":
 continue
 dir = dir.replace("%", "")
-dir = dir.replace("[", "?")
-dir = dir.replace("]", "?")
 # All packages own the directories their files are in...
 target.append('%dir "' + path + '/' + dir + '"')
 else:
@@ -236,8 +232,6 @@ python write_specfile () {
 if file == "CONTROL" or file == "DEBIAN":
 continue
 file = file.replace("%", "")
-file = file.replace("[", "?")
-file = file.replace("]", "?")
 if conffiles.count(path + '/' + file):
 target.append('%config "' + path + '/' + file + '"')
 else:
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169616): 
https://lists.openembedded.org/g/openembedded-core/message/169616
Mute This Topic: https://lists.openembedded.org/mt/93121035/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 28/42] python3-hypothesis: upgrade 6.54.1 -> 6.54.3

2022-08-19 Thread Alexander Kanavin
Hello Qi,

no problem, this can be dropped. I'm working on a python 3.11 upgrade now:
https://git.yoctoproject.org/poky-contrib/log/?h=akanavin/python-3.11

The only issue found by AB is a couple failing tests:
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/3909/steps/12/logs/stdio

Alex

On Fri, 19 Aug 2022 at 10:09, ChenQi  wrote:
>
> Hi Alex,
>
> I sent a patch to revert this recipe's version to 6.46, because it was broken 
> since it was upgraded to 6.48.
> In short, it's trying to use some python3.11 feature and falls back to a 
> module which itself is a backport from python3.11.
> More details are in the commit message: [OE-core][PATCH] python3-hypothesis: 
> revert back to 6.46.11
>
> Regards,
> Qi
>
> On 8/19/22 15:27, Alexander Kanavin wrote:
>
> Signed-off-by: Alexander Kanavin 
> ---
>  ...ython3-hypothesis_6.54.1.bb => python3-hypothesis_6.54.3.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/python/{python3-hypothesis_6.54.1.bb => 
> python3-hypothesis_6.54.3.bb} (91%)
>
> diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb 
> b/meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
> similarity index 91%
> rename from meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb
> rename to meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
> index afcd5e64ef..7874fed296 100644
> --- a/meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb
> +++ b/meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
> @@ -13,7 +13,7 @@ SRC_URI += " \
>  file://test_rle.py \
>  "
>
> -SRC_URI[sha256sum] = 
> "de63c34309181875e71d0f5d1c1051c9320a1fe0517ea6733af8cedf818191f4"
> +SRC_URI[sha256sum] = 
> "03749f5e2cb982e54e2a11abcb367b9a260ef8e279387d437145354c080a6bdc"
>
>  RDEPENDS:${PN} += " \
>  python3-attrs \
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169615): 
https://lists.openembedded.org/g/openembedded-core/message/169615
Mute This Topic: https://lists.openembedded.org/mt/93120253/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 28/42] python3-hypothesis: upgrade 6.54.1 -> 6.54.3

2022-08-19 Thread Chen Qi

Hi Alex,

I sent a patch to revert this recipe's version to 6.46, because it was 
broken since it was upgraded to 6.48.
In short, it's trying to use some python3.11 feature and falls back to a 
module which itself is a backport from python3.11.
More details are in the commit message: [OE-core][PATCH] 
python3-hypothesis: revert back to 6.46.11


Regards,
Qi

On 8/19/22 15:27, Alexander Kanavin wrote:

Signed-off-by: Alexander Kanavin
---
  ...ython3-hypothesis_6.54.1.bb => python3-hypothesis_6.54.3.bb} | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
  rename meta/recipes-devtools/python/{python3-hypothesis_6.54.1.bb => 
python3-hypothesis_6.54.3.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
index afcd5e64ef..7874fed296 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
  file://test_rle.py  \
  "
  
-SRC_URI[sha256sum] = "de63c34309181875e71d0f5d1c1051c9320a1fe0517ea6733af8cedf818191f4"

+SRC_URI[sha256sum] = 
"03749f5e2cb982e54e2a11abcb367b9a260ef8e279387d437145354c080a6bdc"
  
  RDEPENDS:${PN} += " \

  python3-attrs \




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169614): 
https://lists.openembedded.org/g/openembedded-core/message/169614
Mute This Topic: https://lists.openembedded.org/mt/93120253/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 41/42] python3-setuptools: update 63.4.1 -> 65.0.2

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-conditionally-do-not-fetch-code-by-easy_install.patch  | 2 +-
 ...ython3-setuptools_63.4.1.bb => python3-setuptools_65.0.2.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_63.4.1.bb => 
python3-setuptools_65.0.2.bb} (95%)

diff --git 
a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
 
b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
index 2888e3d62c..c8c713c842 100644
--- 
a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ 
b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -1,4 +1,4 @@
-From a020fd90a7060f7783ef286bcdf9dbf307184978 Mon Sep 17 00:00:00 2001
+From 42d349031cd952c12620fcf02cbab70a371f4b19 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Tue, 17 Jul 2018 10:13:38 +0800
 Subject: [PATCH] conditionally do not fetch code by easy_install
diff --git a/meta/recipes-devtools/python/python3-setuptools_63.4.1.bb 
b/meta/recipes-devtools/python/python3-setuptools_65.0.2.bb
similarity index 95%
rename from meta/recipes-devtools/python/python3-setuptools_63.4.1.bb
rename to meta/recipes-devtools/python/python3-setuptools_65.0.2.bb
index e31665f3be..1a639ea333 100644
--- a/meta/recipes-devtools/python/python3-setuptools_63.4.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_65.0.2.bb
@@ -11,7 +11,7 @@ SRC_URI:append:class-native = " 
file://0001-conditionally-do-not-fetch-code-by-e
 SRC_URI += "file://0001-change-shebang-to-python3.patch \
 
file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
 
-SRC_URI[sha256sum] = 
"7c7854ee1429a240090297628dc9f75b35318d193537968e2dc14010ee2f5bca"
+SRC_URI[sha256sum] = 
"101bf15ca723beef42c8db91a761f3748d4d697e17fae904db60c0b619d8d094"
 
 DEPENDS += "${PYTHON_PN}"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169612): 
https://lists.openembedded.org/g/openembedded-core/message/169612
Mute This Topic: https://lists.openembedded.org/mt/93120267/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 42/42] devtool: do not leave behind source trees in workspace/sources

2022-08-19 Thread Alexander Kanavin
These are typically auto-extracted with modify/upgrade from recipes
and can be easily recreated. On the rare occasions where they need
to be reused, they are still available under workspace/attic (which
is already used for old recipes and appends), so nothing gets lost.

This avoids the annoyance of devtool refusing to proceed because
there is a previous source tree in workspace/sources.

For independent source trees behave as before: do nothing.

Adjust the test that previously deleted those trees by hand.

Signed-off-by: Alexander Kanavin 
---
 meta/lib/oeqa/selftest/cases/devtool.py |  2 --
 scripts/lib/devtool/standard.py | 16 +---
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py 
b/meta/lib/oeqa/selftest/cases/devtool.py
index ec08ac6d60..142932e12f 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -1957,7 +1957,6 @@ class DevtoolUpgradeTests(DevtoolBase):
 self._test_recipe_contents(newrecipefile, checkvars, [])
 # Try again - change just name this time
 result = runCmd('devtool reset -n %s' % newrecipename)
-shutil.rmtree(newsrctree)
 add_recipe()
 newrecipefile = os.path.join(self.workspacedir, 'recipes', 
newrecipename, '%s_%s.bb' % (newrecipename, recipever))
 result = runCmd('devtool rename %s %s' % (recipename, newrecipename))
@@ -1970,7 +1969,6 @@ class DevtoolUpgradeTests(DevtoolBase):
 self._test_recipe_contents(newrecipefile, checkvars, [])
 # Try again - change just version this time
 result = runCmd('devtool reset -n %s' % newrecipename)
-shutil.rmtree(newsrctree)
 add_recipe()
 newrecipefile = os.path.join(self.workspacedir, 'recipes', recipename, 
'%s_%s.bb' % (recipename, newrecipever))
 result = runCmd('devtool rename %s -V %s' % (recipename, newrecipever))
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index c98bfe8195..e3b74ab8f0 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -1975,9 +1975,19 @@ def _reset(recipes, no_clean, remove_work, config, 
basepath, workspace):
 shutil.rmtree(srctreebase)
 else:
 # We don't want to risk wiping out any work in progress
-logger.info('Leaving source tree %s as-is; if you no '
-'longer need it then please delete it 
manually'
-% srctreebase)
+if 
srctreebase.startswith(os.path.join(config.workspace_path, 'sources')):
+from datetime import datetime
+preservesrc = os.path.join(config.workspace_path, 
'attic', 'sources', "{}.{}".format(pn,datetime.now().strftime("%Y%m%d%H%M%S")))
+logger.info('Preserving source tree in %s\nIf you 
no '
+'longer need it then please delete it 
manually.\n'
+'It is also possible to reuse it via 
devtool source tree argument.'
+% preservesrc)
+bb.utils.mkdirhier(os.path.dirname(preservesrc))
+shutil.move(srctreebase, preservesrc)
+else:
+logger.info('Leaving source tree %s as-is; if you 
no '
+'longer need it then please delete it 
manually'
+% srctreebase)
 else:
 # This is unlikely, but if it's empty we can just remove it
 os.rmdir(srctreebase)
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169613): 
https://lists.openembedded.org/g/openembedded-core/message/169613
Mute This Topic: https://lists.openembedded.org/mt/93120268/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 39/42] rust: update from 1.62.1 to 1.63.0

2022-08-19 Thread Alexander Kanavin
From: Randy MacLeod 

Release notes:
   https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html

This is a standard upgrade aside from the path for the
stage2 tools binaries (clippy, et.al.) changing.

Signed-off-by: Randy MacLeod 
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 .../{cargo_1.62.1.bb => cargo_1.63.0.bb}  |  0
 ...ibstd-rs_1.62.1.bb => libstd-rs_1.63.0.bb} |  0
 62.1.bb => rust-cross-canadian_1.63.0.bb} |  0
 ...ust-llvm_1.62.1.bb => rust-llvm_1.63.0.bb} |  0
 meta/recipes-devtools/rust/rust-snapshot.inc  | 24 +--
 meta/recipes-devtools/rust/rust-source.inc|  2 +-
 .../rust/{rust_1.62.1.bb => rust_1.63.0.bb}   |  4 ++--
 8 files changed, 16 insertions(+), 16 deletions(-)
 rename meta/recipes-devtools/cargo/{cargo_1.62.1.bb => cargo_1.63.0.bb} (100%)
 rename meta/recipes-devtools/rust/{libstd-rs_1.62.1.bb => libstd-rs_1.63.0.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.62.1.bb => 
rust-cross-canadian_1.63.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.62.1.bb => rust-llvm_1.63.0.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust_1.62.1.bb => rust_1.63.0.bb} (92%)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index 31c9dd5065..52d0f7a79f 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -27,7 +27,7 @@ GOVERSION ?= "1.19%"
 # This can not use wildcards like 8.0.% since it is also used in mesa to denote
 # llvm version being used, so always bump it with llvm recipe version bump
 LLVMVERSION ?= "14.0.6"
-RUSTVERSION ?= "1.62%"
+RUSTVERSION ?= "1.63%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/cargo/cargo_1.62.1.bb 
b/meta/recipes-devtools/cargo/cargo_1.63.0.bb
similarity index 100%
rename from meta/recipes-devtools/cargo/cargo_1.62.1.bb
rename to meta/recipes-devtools/cargo/cargo_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.62.1.bb 
b/meta/recipes-devtools/rust/libstd-rs_1.63.0.bb
similarity index 100%
rename from meta/recipes-devtools/rust/libstd-rs_1.62.1.bb
rename to meta/recipes-devtools/rust/libstd-rs_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.62.1.bb 
b/meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust-cross-canadian_1.62.1.bb
rename to meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.62.1.bb 
b/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust-llvm_1.62.1.bb
rename to meta/recipes-devtools/rust/rust-llvm_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc 
b/meta/recipes-devtools/rust/rust-snapshot.inc
index 3bd7b07cef..b9d7edd672 100644
--- a/meta/recipes-devtools/rust/rust-snapshot.inc
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -1,25 +1,25 @@
 ## This is information on the rust-snapshot (binary) used to build our current 
release.
-## snapshot info is taken from rust/src/stage0.txt
+## snapshot info is taken from rust/src/stage0.json
 ## Rust is self-hosting and bootstraps itself with a pre-built previous 
version of itself.
 ## The exact (previous) version that has been used is specified in the source 
tarball.
 ## The version is replicated here.
 ## TODO: find a way to add additional SRC_URIs based on the contents of an
 ##   earlier SRC_URI.
-RS_VERSION = "1.61.0"
-CARGO_VERSION = "1.61.0"
+RS_VERSION = "1.62.0"
+CARGO_VERSION = "1.62.0"
 
 # TODO: Add hashes for other architecture toolchains as well. Make a script?
-SRC_URI[rust-std-snapshot-x86_64.sha256sum] = 
"270b07aa5f2de52255a117e1e587138d77375ce0d09a1d7fead085f29b3977e9"
-SRC_URI[rustc-snapshot-x86_64.sha256sum] = 
"21c4613f389ed130fbaaf88f1e984319f72b5fc10734569a5ba19e22ebb03abd"
-SRC_URI[cargo-snapshot-x86_64.sha256sum] = 
"9461727d754f865ef2a87479d40bbe4c5176f80963b7c50b7797bc8940d7a0a0"
+SRC_URI[rust-std-snapshot-x86_64.sha256sum] = 
"addfae87b6b1b521d98a50fdc5120990888a51bb397100062e9c558267c67c77"
+SRC_URI[rustc-snapshot-x86_64.sha256sum] = 
"e7f71f4ef09334ddc9ec8cbf2f958d654e36f580c95f8fec6d5c816ce256dbd6"
+SRC_URI[cargo-snapshot-x86_64.sha256sum] = 
"815c63119a9cf0282ff240c6444b6f867238763ee3dea182f10837ae7dbbb1d4"
 
-SRC_URI[rust-std-snapshot-aarch64.sha256sum] = 
"57d60a519dbce12146849f7e72d55f3cffe9cdcbff8d58e90bb62d3c016bb5c0"
-SRC_URI[rustc-snapshot-aarch64.sha256sum] = 
"c996de6391e3ea94629fbc09b03bce186fcde345159f43ec95a82c500adb5e94"
-SRC_URI[cargo-snapshot-aarch64.sha256sum] = 
"a055e6cfd9b5f8938780db6179d2ef92990c714ce64278337d7edf3d29c8ab62"
+SRC_URI[rust-std-snapshot-aarch64.sha256sum] = 
"dd5df8a92af3e5d49a1122b9561821ebd72a9317884a37ecddae041e652a7563"
+SRC_URI[rustc-snapshot-aarch64.sha256sum] = 

[OE-core] [PATCH 40/42] python3-hatchling: update 1.6.0 -> 1.8.0

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{python3-hatchling_1.6.0.bb => python3-hatchling_1.8.0.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hatchling_1.6.0.bb => 
python3-hatchling_1.8.0.bb} (85%)

diff --git a/meta/recipes-devtools/python/python3-hatchling_1.6.0.bb 
b/meta/recipes-devtools/python/python3-hatchling_1.8.0.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-hatchling_1.6.0.bb
rename to meta/recipes-devtools/python/python3-hatchling_1.8.0.bb
index e06bdf02ec..17a10eeb2d 100644
--- a/meta/recipes-devtools/python/python3-hatchling_1.6.0.bb
+++ b/meta/recipes-devtools/python/python3-hatchling_1.8.0.bb
@@ -8,7 +8,7 @@ inherit pypi python_hatchling
 DEPENDS += "python3-pluggy-native python3-tomli-native python3-pathspec-native 
python3-packaging-native python3-editables-native"
 DEPENDS:remove:class-native = "python3-hatchling-native"
 
-SRC_URI[sha256sum] = 
"bd6e8505de511ac4217ff50927f6d1845494608e401e63a62b830c31fb613544"
+SRC_URI[sha256sum] = 
"a4f982fdca0717d8c46bfe7b501302f90aaf2a5302845d550b49c8739681feb2"
 
 do_compile:prepend() {
 export PYTHONPATH=src
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169611): 
https://lists.openembedded.org/g/openembedded-core/message/169611
Mute This Topic: https://lists.openembedded.org/mt/93120266/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 38/42] wpebackend-fdo: upgrade 1.12.0 -> 1.12.1

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{wpebackend-fdo_1.12.0.bb => wpebackend-fdo_1.12.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-sato/webkit/{wpebackend-fdo_1.12.0.bb => 
wpebackend-fdo_1.12.1.bb} (90%)

diff --git a/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb 
b/meta/recipes-sato/webkit/wpebackend-fdo_1.12.1.bb
similarity index 90%
rename from meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb
rename to meta/recipes-sato/webkit/wpebackend-fdo_1.12.1.bb
index 4a18467ea4..5f776c13e6 100644
--- a/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb
+++ b/meta/recipes-sato/webkit/wpebackend-fdo_1.12.1.bb
@@ -13,7 +13,7 @@ inherit meson features_check pkgconfig
 REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"6239c9c15523410798d66315de6b491712ab30009ba180f3e0dd076d9b0074ac"
+SRC_URI[sha256sum] = 
"45aa833c44ec292f31fa943b01b8cc75e54eb623ad7ba6a66fc2f118fe69e629"
 
 # Especially helps compiling with clang which enable this as error when
 # using c++11
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169609): 
https://lists.openembedded.org/g/openembedded-core/message/169609
Mute This Topic: https://lists.openembedded.org/mt/93120264/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 35/42] sysklogd: upgrade 2.4.2 -> 2.4.4

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../sysklogd/{sysklogd_2.4.2.bb => sysklogd_2.4.4.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/sysklogd/{sysklogd_2.4.2.bb => sysklogd_2.4.4.bb} 
(97%)

diff --git a/meta/recipes-extended/sysklogd/sysklogd_2.4.2.bb 
b/meta/recipes-extended/sysklogd/sysklogd_2.4.4.bb
similarity index 97%
rename from meta/recipes-extended/sysklogd/sysklogd_2.4.2.bb
rename to meta/recipes-extended/sysklogd/sysklogd_2.4.4.bb
index 948acbcf59..a19b4f58eb 100644
--- a/meta/recipes-extended/sysklogd/sysklogd_2.4.2.bb
+++ b/meta/recipes-extended/sysklogd/sysklogd_2.4.4.bb
@@ -14,7 +14,7 @@ SRC_URI = 
"git://github.com/troglobit/sysklogd.git;branch=master;protocol=https
file://sysklogd \
"
 
-SRCREV = "78505913888b71b2fa2e8616636fcc430ffa30bb"
+SRCREV = "51d471543ce59eace6df6da0e42658911f1fb8c0"
 
 S = "${WORKDIR}/git"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169606): 
https://lists.openembedded.org/g/openembedded-core/message/169606
Mute This Topic: https://lists.openembedded.org/mt/93120261/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 37/42] wireless-regdb: upgrade 2022.06.06 -> 2022.08.12

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...ireless-regdb_2022.06.06.bb => wireless-regdb_2022.08.12.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2022.06.06.bb => 
wireless-regdb_2022.08.12.bb} (94%)

diff --git a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.06.06.bb 
b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.08.12.bb
similarity index 94%
rename from meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.06.06.bb
rename to meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.08.12.bb
index 2eba4f873b..357e79d7e1 100644
--- a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.06.06.bb
+++ b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2022.08.12.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] = 
"ac00f97efecce5046ed069d1d93f3365fdf994c7c7854a8fc50831e959537230"
+SRC_URI[sha256sum] = 
"59c8f7d17966db71b27f90e735ee8f5b42ca3527694a8c5e6e9b56bd379c3b84"
 
 inherit bin_package allarch
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169608): 
https://lists.openembedded.org/g/openembedded-core/message/169608
Mute This Topic: https://lists.openembedded.org/mt/93120263/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 36/42] webkitgtk: upgrade 2.36.5 -> 2.36.6

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../webkit/{webkitgtk_2.36.5.bb => webkitgtk_2.36.6.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-sato/webkit/{webkitgtk_2.36.5.bb => webkitgtk_2.36.6.bb} 
(98%)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.36.5.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.36.6.bb
similarity index 98%
rename from meta/recipes-sato/webkit/webkitgtk_2.36.5.bb
rename to meta/recipes-sato/webkit/webkitgtk_2.36.6.bb
index b3fe357010..37b977f9ba 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.36.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.36.6.bb
@@ -17,7 +17,7 @@ SRC_URI = 
"https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \

file://0001-When-building-introspection-files-do-not-quote-CFLAG.patch \
"
 
-SRC_URI[sha256sum] = 
"d5532fa884c943dc48f1911473dd663aba407a3b35caa7b04bac1419b41e5908"
+SRC_URI[sha256sum] = 
"1193bc821946336776f0dfa5e0dca5651f1e57157eda12da4721d2441f24a61a"
 
 inherit cmake pkgconfig gobject-introspection perlnative features_check 
upstream-version-is-even gtk-doc
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169607): 
https://lists.openembedded.org/g/openembedded-core/message/169607
Mute This Topic: https://lists.openembedded.org/mt/93120262/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 34/42] strace: upgrade 5.18 -> 5.19

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/strace/{strace_5.18.bb => strace_5.19.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/strace/{strace_5.18.bb => strace_5.19.bb} (96%)

diff --git a/meta/recipes-devtools/strace/strace_5.18.bb 
b/meta/recipes-devtools/strace/strace_5.19.bb
similarity index 96%
rename from meta/recipes-devtools/strace/strace_5.18.bb
rename to meta/recipes-devtools/strace/strace_5.19.bb
index 75ff58bd50..5e69cfd5f9 100644
--- a/meta/recipes-devtools/strace/strace_5.18.bb
+++ b/meta/recipes-devtools/strace/strace_5.19.bb
@@ -14,7 +14,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
file://0001-strace-fix-reproducibilty-issues.patch \
file://skip-load.patch \
"
-SRC_URI[sha256sum] = 
"60293ea79ac9253d600cdc9be077ad2988ca22284a439c9e66be5150db3d1187"
+SRC_URI[sha256sum] = 
"aa3dc1c8e60e4f6ff3d396514aa247f3c7bf719d8a8dc4dd4fa793be786beca3"
 
 inherit autotools ptest
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169605): 
https://lists.openembedded.org/g/openembedded-core/message/169605
Mute This Topic: https://lists.openembedded.org/mt/93120260/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 33/42] python3-pytz: upgrade 2022.1 -> 2022.2.1

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../python/{python3-pytz_2022.1.bb => python3-pytz_2022.2.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pytz_2022.1.bb => 
python3-pytz_2022.2.1.bb} (89%)

diff --git a/meta/recipes-devtools/python/python3-pytz_2022.1.bb 
b/meta/recipes-devtools/python/python3-pytz_2022.2.1.bb
similarity index 89%
rename from meta/recipes-devtools/python/python3-pytz_2022.1.bb
rename to meta/recipes-devtools/python/python3-pytz_2022.2.1.bb
index a4bb4f5c8f..bb7aeeec35 100644
--- a/meta/recipes-devtools/python/python3-pytz_2022.1.bb
+++ b/meta/recipes-devtools/python/python3-pytz_2022.2.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
 
 inherit pypi setuptools3 ptest
 
-SRC_URI[sha256sum] = 
"1e760e2fe6a8163bc0b3d9a19c4f84342afa0a2affebfaa84b01b978a02ecaa7"
+SRC_URI[sha256sum] = 
"cea221417204f2d1a2aa03ddae3e867921971d0d76f14d87abb4414415bbdcf5"
 
 RDEPENDS:${PN}:class-target += "\
 ${PYTHON_PN}-datetime \
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169604): 
https://lists.openembedded.org/g/openembedded-core/message/169604
Mute This Topic: https://lists.openembedded.org/mt/93120259/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 32/42] python3-pyelftools: upgrade 0.28 -> 0.29

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{python3-pyelftools_0.28.bb => python3-pyelftools_0.29.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pyelftools_0.28.bb => 
python3-pyelftools_0.29.bb} (82%)

diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.28.bb 
b/meta/recipes-devtools/python/python3-pyelftools_0.29.bb
similarity index 82%
rename from meta/recipes-devtools/python/python3-pyelftools_0.28.bb
rename to meta/recipes-devtools/python/python3-pyelftools_0.29.bb
index 0ceddcb68a..2199e9ff8e 100644
--- a/meta/recipes-devtools/python/python3-pyelftools_0.28.bb
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.29.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "PD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc"
 
-SRC_URI[sha256sum] = 
"53e5609cac016471d40bd88dc410cd90755942c25e58a61021cfdf7abdfeacff"
+SRC_URI[sha256sum] = 
"ec761596aafa16e282a31de188737e5485552469ac63b60cfcccf22263fd24ff"
 
 PYPI_PACKAGE = "pyelftools"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169603): 
https://lists.openembedded.org/g/openembedded-core/message/169603
Mute This Topic: https://lists.openembedded.org/mt/93120258/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 31/42] python3-pbr: upgrade 5.9.0 -> 5.10.0

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/python/python3-pbr_5.10.0.bb | 4 
 meta/recipes-devtools/python/python3-pbr_5.9.0.bb  | 4 
 2 files changed, 4 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python3-pbr_5.10.0.bb
 delete mode 100644 meta/recipes-devtools/python/python3-pbr_5.9.0.bb

diff --git a/meta/recipes-devtools/python/python3-pbr_5.10.0.bb 
b/meta/recipes-devtools/python/python3-pbr_5.10.0.bb
new file mode 100644
index 00..022f834901
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pbr_5.10.0.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-pbr.inc
+
+SRC_URI[sha256sum] = 
"cfcc4ff8e698256fc17ea3ff796478b050852585aa5bae79ecd05b2ab7b39b9a"
diff --git a/meta/recipes-devtools/python/python3-pbr_5.9.0.bb 
b/meta/recipes-devtools/python/python3-pbr_5.9.0.bb
deleted file mode 100644
index c93b71dbd3..00
--- a/meta/recipes-devtools/python/python3-pbr_5.9.0.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-inherit setuptools3
-require python-pbr.inc
-
-SRC_URI[sha256sum] = 
"e8dca2f4b43560edef58813969f52a56cef023146cbb8931626db80e6c1c4308"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169602): 
https://lists.openembedded.org/g/openembedded-core/message/169602
Mute This Topic: https://lists.openembedded.org/mt/93120257/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 30/42] python3-numpy: upgrade 1.23.1 -> 1.23.2

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../python/{python3-numpy_1.23.1.bb => python3-numpy_1.23.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-numpy_1.23.1.bb => 
python3-numpy_1.23.2.bb} (96%)

diff --git a/meta/recipes-devtools/python/python3-numpy_1.23.1.bb 
b/meta/recipes-devtools/python/python3-numpy_1.23.2.bb
similarity index 96%
rename from meta/recipes-devtools/python/python3-numpy_1.23.1.bb
rename to meta/recipes-devtools/python/python3-numpy_1.23.2.bb
index 67ab1d9298..960dcf9410 100644
--- a/meta/recipes-devtools/python/python3-numpy_1.23.1.bb
+++ b/meta/recipes-devtools/python/python3-numpy_1.23.2.bb
@@ -13,7 +13,7 @@ SRC_URI = 
"https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${S
file://run-ptest \

file://0001-generate_umath.py-do-not-write-full-path-to-output-f.patch \
"
-SRC_URI[sha256sum] = 
"d748ef349bfef2e1194b59da37ed5a29c19ea8d7e6342019921ba2ba4fd8b624"
+SRC_URI[sha256sum] = 
"b78d00e48261fbbd04aa0d7427cf78d18401ee0abd89c7559bbf422e5b1c7d01"
 
 UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases;
 UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.tar"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169601): 
https://lists.openembedded.org/g/openembedded-core/message/169601
Mute This Topic: https://lists.openembedded.org/mt/93120256/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 27/42] python3-dtschema: upgrade 2022.8 -> 2022.8.1

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...{python3-dtschema_2022.8.bb => python3-dtschema_2022.8.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-dtschema_2022.8.bb => 
python3-dtschema_2022.8.1.bb} (83%)

diff --git a/meta/recipes-devtools/python/python3-dtschema_2022.8.bb 
b/meta/recipes-devtools/python/python3-dtschema_2022.8.1.bb
similarity index 83%
rename from meta/recipes-devtools/python/python3-dtschema_2022.8.bb
rename to meta/recipes-devtools/python/python3-dtschema_2022.8.1.bb
index e8c8ac6f92..38f646e50a 100644
--- a/meta/recipes-devtools/python/python3-dtschema_2022.8.bb
+++ b/meta/recipes-devtools/python/python3-dtschema_2022.8.1.bb
@@ -7,7 +7,7 @@ inherit pypi setuptools3
 
 PYPI_PACKAGE = "dtschema"
 
-SRC_URI[sha256sum] = 
"1befe7c9f74cea248a8b524cf6185ac48912a5b2aae96854d77cb94584433ca4"
+SRC_URI[sha256sum] = 
"3e56a9920944223d6f93fd51ada19dd8db554ac9182ef52c1c5c9d4966ab30aa"
 
 DEPENDS += "python3-setuptools-scm-native"
 RDEPENDS:${PN} += "python3-ruamel-yaml python3-jsonschema python3-rfc3987"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169599): 
https://lists.openembedded.org/g/openembedded-core/message/169599
Mute This Topic: https://lists.openembedded.org/mt/93120254/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 28/42] python3-hypothesis: upgrade 6.54.1 -> 6.54.3

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...ython3-hypothesis_6.54.1.bb => python3-hypothesis_6.54.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.54.1.bb => 
python3-hypothesis_6.54.3.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
index afcd5e64ef..7874fed296 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.54.1.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.54.3.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
 file://test_rle.py \
 "
 
-SRC_URI[sha256sum] = 
"de63c34309181875e71d0f5d1c1051c9320a1fe0517ea6733af8cedf818191f4"
+SRC_URI[sha256sum] = 
"03749f5e2cb982e54e2a11abcb367b9a260ef8e279387d437145354c080a6bdc"
 
 RDEPENDS:${PN} += " \
 python3-attrs \
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169598): 
https://lists.openembedded.org/g/openembedded-core/message/169598
Mute This Topic: https://lists.openembedded.org/mt/93120253/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 29/42] python3-more-itertools: upgrade 8.13.0 -> 8.14.0

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...ore-itertools_8.13.0.bb => python3-more-itertools_8.14.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-more-itertools_8.13.0.bb => 
python3-more-itertools_8.14.0.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-more-itertools_8.13.0.bb 
b/meta/recipes-devtools/python/python3-more-itertools_8.14.0.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-more-itertools_8.13.0.bb
rename to meta/recipes-devtools/python/python3-more-itertools_8.14.0.bb
index 94f6f9e4d5..c955f93d9b 100644
--- a/meta/recipes-devtools/python/python3-more-itertools_8.13.0.bb
+++ b/meta/recipes-devtools/python/python3-more-itertools_8.14.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/erikrose/more-itertools;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
 
-SRC_URI[sha256sum] = 
"a42901a0a5b169d925f6f217cd5a190e32ef54360905b9c39ee7db5313bfec0f"
+SRC_URI[sha256sum] = 
"c09443cd3d5438b8dafccd867a6bc1cb0894389e90cb53d227456b0b0bccb750"
 
 inherit pypi python_flit_core ptest
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169600): 
https://lists.openembedded.org/g/openembedded-core/message/169600
Mute This Topic: https://lists.openembedded.org/mt/93120255/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 26/42] pkgconf: upgrade 1.8.0 -> 1.9.2

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../pkgconf/{pkgconf_1.8.0.bb => pkgconf_1.9.2.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/pkgconf/{pkgconf_1.8.0.bb => pkgconf_1.9.2.bb} 
(96%)

diff --git a/meta/recipes-devtools/pkgconf/pkgconf_1.8.0.bb 
b/meta/recipes-devtools/pkgconf/pkgconf_1.9.2.bb
similarity index 96%
rename from meta/recipes-devtools/pkgconf/pkgconf_1.8.0.bb
rename to meta/recipes-devtools/pkgconf/pkgconf_1.9.2.bb
index 887e15e28c..576710b8fc 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_1.8.0.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_1.9.2.bb
@@ -20,7 +20,7 @@ SRC_URI = "\
 file://pkg-config-native.in \
 file://pkg-config-esdk.in \
 "
-SRC_URI[sha256sum] = 
"ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf"
+SRC_URI[sha256sum] = 
"db6bf5426e0e9fc107042cc85fc62b1f391f1d7af46c4a3c39b7f5b5231dfa09"
 
 inherit autotools
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169597): 
https://lists.openembedded.org/g/openembedded-core/message/169597
Mute This Topic: https://lists.openembedded.org/mt/93120252/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 22/42] meson: upgrade 0.63.0 -> 0.63.1

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../recipes-devtools/meson/{meson_0.63.0.bb => meson_0.63.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/meson/{meson_0.63.0.bb => meson_0.63.1.bb} (98%)

diff --git a/meta/recipes-devtools/meson/meson_0.63.0.bb 
b/meta/recipes-devtools/meson/meson_0.63.1.bb
similarity index 98%
rename from meta/recipes-devtools/meson/meson_0.63.0.bb
rename to meta/recipes-devtools/meson/meson_0.63.1.bb
index 890f47506f..7f77a7de34 100644
--- a/meta/recipes-devtools/meson/meson_0.63.0.bb
+++ b/meta/recipes-devtools/meson/meson_0.63.1.bb
@@ -17,7 +17,7 @@ SRC_URI = 
"https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
file://0001-is_debianlike-always-return-False.patch \
file://0001-Check-for-clang-before-guessing-gcc-or-lcc.patch \
"
-SRC_URI[sha256sum] = 
"3b51d451744c2bc71838524ec8d96cd4f8c4793d5b8d5d0d0a9c8a4f7c94cd6f"
+SRC_URI[sha256sum] = 
"06fe13297213d6ff0121c5d5aab25a56ef938ffec57414ed6086fda272cb65e9"
 
 UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases;
 UPSTREAM_CHECK_REGEX = "meson-(?P\d+(\.\d+)+)\.tar"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169594): 
https://lists.openembedded.org/g/openembedded-core/message/169594
Mute This Topic: https://lists.openembedded.org/mt/93120248/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 25/42] piglit: upgrade to latest revision

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/piglit/piglit_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/piglit/piglit_git.bb 
b/meta/recipes-graphics/piglit/piglit_git.bb
index b1e948ea69..7c1bc89c22 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -14,7 +14,7 @@ SRC_URI = 
"git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma
"
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRCREV = "b95782f470ca2915b0d9b9079f9cd6d81bae092c"
+SRCREV = "6403e90dc7da02d486906cddab8d02c2552a8d46"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr${SRCPV}"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169596): 
https://lists.openembedded.org/g/openembedded-core/message/169596
Mute This Topic: https://lists.openembedded.org/mt/93120251/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 24/42] pango: upgrade 1.50.8 -> 1.50.9

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../recipes-graphics/pango/{pango_1.50.8.bb => pango_1.50.9.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/pango/{pango_1.50.8.bb => pango_1.50.9.bb} (94%)

diff --git a/meta/recipes-graphics/pango/pango_1.50.8.bb 
b/meta/recipes-graphics/pango/pango_1.50.9.bb
similarity index 94%
rename from meta/recipes-graphics/pango/pango_1.50.8.bb
rename to meta/recipes-graphics/pango/pango_1.50.9.bb
index 936526799f..03e2ca6721 100644
--- a/meta/recipes-graphics/pango/pango_1.50.8.bb
+++ b/meta/recipes-graphics/pango/pango_1.50.9.bb
@@ -24,7 +24,7 @@ SRC_URI += "file://run-ptest \
 file://0001-Skip-running-test-layout-test.patch \
 "
 
-SRC_URI[archive.sha256sum] = 
"cf626f59dd146c023174c4034920e9667f1d25ac2c1569516d63136c311255fa"
+SRC_URI[archive.sha256sum] = 
"1b636aabf905130d806372136f5e137b6a27f26d47defd9240bf444f6a4fe610"
 
 DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo 
harfbuzz fribidi"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169595): 
https://lists.openembedded.org/g/openembedded-core/message/169595
Mute This Topic: https://lists.openembedded.org/mt/93120249/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 23/42] mpg123: upgrade 1.30.1 -> 1.30.2

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../mpg123/{mpg123_1.30.1.bb => mpg123_1.30.2.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/mpg123/{mpg123_1.30.1.bb => mpg123_1.30.2.bb} 
(96%)

diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.30.1.bb 
b/meta/recipes-multimedia/mpg123/mpg123_1.30.2.bb
similarity index 96%
rename from meta/recipes-multimedia/mpg123/mpg123_1.30.1.bb
rename to meta/recipes-multimedia/mpg123/mpg123_1.30.2.bb
index 502d9d114c..f40bff1ff6 100644
--- a/meta/recipes-multimedia/mpg123/mpg123_1.30.1.bb
+++ b/meta/recipes-multimedia/mpg123/mpg123_1.30.2.bb
@@ -10,7 +10,7 @@ LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e7b9c15fcfb986abb4cc5e8400a24169"
 
 SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2;
-SRC_URI[sha256sum] = 
"1b20c9c751bea9be556749bd7f97cf580f52ed11f2540756e9af26ae036e4c59"
+SRC_URI[sha256sum] = 
"c7ea863756bb79daed7cba2942ad3b267a410f26d2dfbd9aaf84451ff28a05d7"
 
 UPSTREAM_CHECK_REGEX = "mpg123-(?P\d+(\.\d+)+)\.tar"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169593): 
https://lists.openembedded.org/g/openembedded-core/message/169593
Mute This Topic: https://lists.openembedded.org/mt/93120247/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 21/42] mesa: upgrade 22.1.5 -> 22.1.6

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../mesa/{mesa-gl_22.1.5.bb => mesa-gl_22.1.6.bb}   | 0
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 meta/recipes-graphics/mesa/{mesa_22.1.5.bb => mesa_22.1.6.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_22.1.5.bb => mesa-gl_22.1.6.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_22.1.5.bb => mesa_22.1.6.bb} (100%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_22.1.5.bb 
b/meta/recipes-graphics/mesa/mesa-gl_22.1.6.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_22.1.5.bb
rename to meta/recipes-graphics/mesa/mesa-gl_22.1.6.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index fccf14a7d1..c4efc13438 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -25,7 +25,7 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch 
\
"
 
-SRC_URI[sha256sum] = 
"6fd60d38efdd25317948c61494b5117e01d42da695278728b1faef9f5f9a47ba"
+SRC_URI[sha256sum] = 
"22ced061eb9adab8ea35368246c1995c09723f3f71653cd5050c5cec376e671a"
 
 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
 
diff --git a/meta/recipes-graphics/mesa/mesa_22.1.5.bb 
b/meta/recipes-graphics/mesa/mesa_22.1.6.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa_22.1.5.bb
rename to meta/recipes-graphics/mesa/mesa_22.1.6.bb
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169592): 
https://lists.openembedded.org/g/openembedded-core/message/169592
Mute This Topic: https://lists.openembedded.org/mt/93120246/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 20/42] lighttpd: upgrade 1.4.65 -> 1.4.66

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../lighttpd/{lighttpd_1.4.65.bb => lighttpd_1.4.66.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/lighttpd/{lighttpd_1.4.65.bb => 
lighttpd_1.4.66.bb} (97%)

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.65.bb 
b/meta/recipes-extended/lighttpd/lighttpd_1.4.66.bb
similarity index 97%
rename from meta/recipes-extended/lighttpd/lighttpd_1.4.65.bb
rename to meta/recipes-extended/lighttpd/lighttpd_1.4.66.bb
index 10aa27f072..801162867c 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.65.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.66.bb
@@ -19,7 +19,7 @@ SRC_URI = 
"http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
file://lighttpd \
"
 
-SRC_URI[sha256sum] = 
"bf0fa68a629fbc404023a912b377e70049331d6797bcbb4b3e8df4c3b42328be"
+SRC_URI[sha256sum] = 
"47ac6e60271aa0196e65472d02d019556dc7c6d09df3b65df2c1ab6866348e3b"
 
 DEPENDS = "virtual/crypt"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169591): 
https://lists.openembedded.org/g/openembedded-core/message/169591
Mute This Topic: https://lists.openembedded.org/mt/93120245/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 19/42] libwebp: upgrade 1.2.3 -> 1.2.4

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../webp/{libwebp_1.2.3.bb => libwebp_1.2.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/webp/{libwebp_1.2.3.bb => libwebp_1.2.4.bb} 
(95%)

diff --git a/meta/recipes-multimedia/webp/libwebp_1.2.3.bb 
b/meta/recipes-multimedia/webp/libwebp_1.2.4.bb
similarity index 95%
rename from meta/recipes-multimedia/webp/libwebp_1.2.3.bb
rename to meta/recipes-multimedia/webp/libwebp_1.2.4.bb
index 2d523df749..263589846a 100644
--- a/meta/recipes-multimedia/webp/libwebp_1.2.3.bb
+++ b/meta/recipes-multimedia/webp/libwebp_1.2.4.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=6e8dee932c26f2dab503abf70c96d8bb \
 file://PATENTS;md5=c6926d0cb07d296f886ab6e0cc5a85b7"
 
 SRC_URI = "http://downloads.webmproject.org/releases/webp/${BP}.tar.gz;
-SRC_URI[sha256sum] = 
"f5d7ab2390b06b8a934a4fc35784291b3885b557780d099bd32f09241f9d83f9"
+SRC_URI[sha256sum] = 
"7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df"
 
 UPSTREAM_CHECK_URI = 
"http://downloads.webmproject.org/releases/webp/index.html;
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169590): 
https://lists.openembedded.org/g/openembedded-core/message/169590
Mute This Topic: https://lists.openembedded.org/mt/93120244/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 17/42] gpgme: upgrade 1.17.1 -> 1.18.0

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../gpgme/gpgme/0001-pkgconfig.patch   | 18 --
 .../gpgme/{gpgme_1.17.1.bb => gpgme_1.18.0.bb} |  2 +-
 2 files changed, 9 insertions(+), 11 deletions(-)
 rename meta/recipes-support/gpgme/{gpgme_1.17.1.bb => gpgme_1.18.0.bb} (97%)

diff --git a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch 
b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch
index 35c6b4056c..3b2f59c2fc 100644
--- a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch
+++ b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch
@@ -1,4 +1,4 @@
-From 98ce65902b197faa8f660564613ca2e504c2f8f8 Mon Sep 17 00:00:00 2001
+From 0d7ec5b98dc6cbd35f56deaecec5ecfdaa944aee Mon Sep 17 00:00:00 2001
 From: Richard Purdie 
 Date: Fri, 10 May 2019 14:23:55 +0800
 Subject: [PATCH] pkgconfig
@@ -15,6 +15,7 @@ Rebase to 1.13.0
 Signed-off-by: Hongxu Jia 
 Rebase to 1.17.0
 Signed-off-by: Wang Mingyu 
+
 ---
  configure.ac|   1 +
  src/Makefile.am |   4 +-
@@ -25,10 +26,10 @@ Signed-off-by: Wang Mingyu 
  create mode 100644 src/gpgme-pthread.pc.in
 
 diff --git a/configure.ac b/configure.ac
-index 80ce79c..d7c0ac1 100644
+index 9d696b9..5b4e730 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -905,6 +905,7 @@ AC_CONFIG_FILES(Makefile src/Makefile
+@@ -926,6 +926,7 @@ AC_CONFIG_FILES(Makefile src/Makefile
  src/gpgme-glib.pc
  src/gpgme.h)
  AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config)
@@ -37,7 +38,7 @@ index 80ce79c..d7c0ac1 100644
  AC_CONFIG_FILES(lang/cpp/tests/Makefile)
  AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in)
 diff --git a/src/Makefile.am b/src/Makefile.am
-index 39c341f..3aca716 100644
+index 67805a8..d38ba02 100644
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
 @@ -20,11 +20,11 @@
@@ -52,8 +53,8 @@ index 39c341f..3aca716 100644
 -   gpgme.pc.in gpgme-glib.pc.in
 +   gpgme.pc.in gpgme-glib.pc.in gpgme-pthread.pc.in
  
- bin_SCRIPTS = gpgme-config
- m4datadir = $(datadir)/aclocal
+ if USE_GPGRT_CONFIG
+ noinst_SCRIPTS = gpgme-config
 diff --git a/src/gpgme-pthread.pc.in b/src/gpgme-pthread.pc.in
 new file mode 100644
 index 000..074bbf6
@@ -76,7 +77,7 @@ index 000..074bbf6
 +Cflags: -I${includedir}
 +Requires: libassuan gpg-error
 diff --git a/src/gpgme.m4 b/src/gpgme.m4
-index 71b0010..30ec151 100644
+index 71b0010..5821895 100644
 --- a/src/gpgme.m4
 +++ b/src/gpgme.m4
 @@ -79,7 +79,7 @@ dnl config script does not match the host specification the 
script
@@ -287,6 +288,3 @@ index 80d59de..932645b 100644
 +Cflags: -I${includedir}
 +Libs: -L${libdir} -lgpgme
  URL: https://www.gnupg.org/software/gpgme/index.html
--- 
-2.25.1
-
diff --git a/meta/recipes-support/gpgme/gpgme_1.17.1.bb 
b/meta/recipes-support/gpgme/gpgme_1.18.0.bb
similarity index 97%
rename from meta/recipes-support/gpgme/gpgme_1.17.1.bb
rename to meta/recipes-support/gpgme/gpgme_1.18.0.bb
index d95ed6c299..ca9c6cab14 100644
--- a/meta/recipes-support/gpgme/gpgme_1.17.1.bb
+++ b/meta/recipes-support/gpgme/gpgme_1.18.0.bb
@@ -23,7 +23,7 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
file://0001-use-closefrom-on-linux-and-glibc-2.34.patch \
"
 
-SRC_URI[sha256sum] = 
"711eabf5dd661b9b04be9edc9ace2a7bc031f6bd9d37a768d02d0efdef108f5f"
+SRC_URI[sha256sum] = 
"361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e"
 
 DEPENDS = "libgpg-error libassuan"
 RDEPENDS:${PN}-cpp += "libstdc++"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169588): 
https://lists.openembedded.org/g/openembedded-core/message/169588
Mute This Topic: https://lists.openembedded.org/mt/93120242/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 18/42] libjpeg-turbo: upgrade 2.1.3 -> 2.1.4

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../jpeg/{libjpeg-turbo_2.1.3.bb => libjpeg-turbo_2.1.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/jpeg/{libjpeg-turbo_2.1.3.bb => 
libjpeg-turbo_2.1.4.bb} (97%)

diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.3.bb 
b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.4.bb
similarity index 97%
rename from meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.3.bb
rename to meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.4.bb
index fdc035d5f7..1708fa97f0 100644
--- a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.3.bb
+++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.4.bb
@@ -14,7 +14,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
file://0001-libjpeg-turbo-fix-package_qa-error.patch \
"
 
-SRC_URI[sha256sum] = 
"467b310903832b033fe56cd37720d1b73a6a3bd0171dbf6ff0b620385f4f76d0"
+SRC_URI[sha256sum] = 
"d3ed26a1131a13686dfca4935e520eb7c90ae76fbc45d98bb50a8dc86230342b"
 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libjpeg-turbo/files/;
 UPSTREAM_CHECK_REGEX = "/libjpeg-turbo/files/(?P(\d+[\.\-_]*)+)/"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169589): 
https://lists.openembedded.org/g/openembedded-core/message/169589
Mute This Topic: https://lists.openembedded.org/mt/93120243/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 16/42] gnu-efi: upgrade 3.0.14 -> 3.0.15

2022-08-19 Thread Alexander Kanavin
Drop lib-Makefile-fix-parallel-issue.patch
as issue fixed upstream.

Signed-off-by: Alexander Kanavin 
---
 .../lib-Makefile-fix-parallel-issue.patch | 38 ---
 .../gnu-efi/parallel-make-archives.patch  | 17 +
 .../{gnu-efi_3.0.14.bb => gnu-efi_3.0.15.bb}  |  3 +-
 3 files changed, 10 insertions(+), 48 deletions(-)
 delete mode 100644 
meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch
 rename meta/recipes-bsp/gnu-efi/{gnu-efi_3.0.14.bb => gnu-efi_3.0.15.bb} (94%)

diff --git 
a/meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch 
b/meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch
deleted file mode 100644
index dc00b8fa4d..00
--- a/meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 3ec8c2a70304eabd5760937a4ec3fbc4068a77ed Mon Sep 17 00:00:00 2001
-From: Robert Yang 
-Date: Thu, 23 Apr 2015 01:49:31 -0700
-Subject: [PATCH 2/3] lib/Makefile: fix parallel issue
-
-Fixed:
-Assembler messages:
-Fatal error: can't create runtime/rtlock.o: No such file or directory
-Assembler messages:
-Fatal error: can't create runtime/rtdata.o: No such file or directory
-Assembler messages:
-Fatal error: can't create runtime/vm.o: No such file or directory
-Assembler messages:
-Fatal error: can't create runtime/efirtlib.o: No such file or directory
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang 

- lib/Makefile | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/lib/Makefile b/lib/Makefile
-index 048751a..ed39bbb 100644
 a/lib/Makefile
-+++ b/lib/Makefile
-@@ -74,6 +74,8 @@ all: libsubdirs libefi.a
- libsubdirs:
-   for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
- 
-+$(OBJS): libsubdirs
-+
- libefi.a: $(OBJS)
-   $(AR) $(ARFLAGS) $@ $(OBJS)
- 
--- 
-2.7.4
-
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make-archives.patch 
b/meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make-archives.patch
index 8a0138bbe5..63d9b6fc31 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make-archives.patch
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make-archives.patch
@@ -1,7 +1,7 @@
-From 48b2cdbcd761105e8ebad412fcbf23db1ac4ef7c Mon Sep 17 00:00:00 2001
+From f56ddb00a656af2e84f839738fad19909ac65047 Mon Sep 17 00:00:00 2001
 From: Saul Wold 
 Date: Sun, 9 Mar 2014 15:22:15 +0200
-Subject: [PATCH 1/3] Fix parallel make failure for archives
+Subject: [PATCH] Fix parallel make failure for archives
 
 Upstream-Status: Pending
 
@@ -20,12 +20,16 @@ Signed-off-by: California Sullivan 

 [Rebased for 3.0.8]
 Signed-off-by: Yi Zhao 
 
+---
+ lib/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
 diff --git a/lib/Makefile b/lib/Makefile
-index 0e6410d..048751a 100644
+index 1fc6a47..54b0ca7 100644
 --- a/lib/Makefile
 +++ b/lib/Makefile
-@@ -75,7 +75,7 @@ libsubdirs:
-   for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
+@@ -77,7 +77,7 @@ libsubdirs:
+ $(OBJS): libsubdirs
  
  libefi.a: $(OBJS)
 -  $(AR) $(ARFLAGS) $@ $^
@@ -33,6 +37,3 @@ index 0e6410d..048751a 100644
  
  clean:
rm -f libefi.a *~ $(OBJS) */*.o
--- 
-2.7.4
-
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.14.bb 
b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.15.bb
similarity index 94%
rename from meta/recipes-bsp/gnu-efi/gnu-efi_3.0.14.bb
rename to meta/recipes-bsp/gnu-efi/gnu-efi_3.0.15.bb
index 36d10354ed..5ae6f391ae 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.14.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.15.bb
@@ -14,11 +14,10 @@ LIC_FILES_CHKSUM = 
"file://gnuefi/crt0-efi-arm.S;beginline=4;endline=16;md5=e582
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/files/${BP}.tar.bz2 \
file://parallel-make-archives.patch \
-   file://lib-Makefile-fix-parallel-issue.patch \
file://gnu-efi-3.0.9-fix-clang-build.patch \
"
 
-SRC_URI[sha256sum] = 
"b73b643a0d5697d1f396d7431448e886dd805668789578e3e1a28277c9528435"
+SRC_URI[sha256sum] = 
"931a257b9c5c1ba65ff519f18373c438a26825f2db7866b163e96d1b168f20ea"
 
 COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*|riscv64.*)-linux"
 COMPATIBLE_HOST:armv4 = 'null'
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169587): 
https://lists.openembedded.org/g/openembedded-core/message/169587
Mute This Topic: https://lists.openembedded.org/mt/93120240/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 15/42] glib-networking: upgrade 2.72.1 -> 2.72.2

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{glib-networking_2.72.1.bb => glib-networking_2.72.2.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/glib-networking/{glib-networking_2.72.1.bb => 
glib-networking_2.72.2.bb} (93%)

diff --git a/meta/recipes-core/glib-networking/glib-networking_2.72.1.bb 
b/meta/recipes-core/glib-networking/glib-networking_2.72.2.bb
similarity index 93%
rename from meta/recipes-core/glib-networking/glib-networking_2.72.1.bb
rename to meta/recipes-core/glib-networking/glib-networking_2.72.2.bb
index 41f18d1c48..746d1bc39c 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.72.1.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.72.2.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 SECTION = "libs"
 DEPENDS = "glib-2.0"
 
-SRC_URI[archive.sha256sum] = 
"6fc1bedc8062484dc8a0204965995ef2367c3db5c934058ff1607e5a24d95a74"
+SRC_URI[archive.sha256sum] = 
"cd2a084c7bb91d78e849fb55d40e472f6d8f6862cddc9f12c39149359ba18268"
 
 PACKAGECONFIG ??= "openssl ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', 
'', d)}"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169586): 
https://lists.openembedded.org/g/openembedded-core/message/169586
Mute This Topic: https://lists.openembedded.org/mt/93120239/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 13/42] epiphany: upgrade 42.3 -> 42.4

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../epiphany/{epiphany_42.3.bb => epiphany_42.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/epiphany/{epiphany_42.3.bb => epiphany_42.4.bb} (94%)

diff --git a/meta/recipes-gnome/epiphany/epiphany_42.3.bb 
b/meta/recipes-gnome/epiphany/epiphany_42.4.bb
similarity index 94%
rename from meta/recipes-gnome/epiphany/epiphany_42.3.bb
rename to meta/recipes-gnome/epiphany/epiphany_42.4.bb
index f9d60ff2a9..9efd2800da 100644
--- a/meta/recipes-gnome/epiphany/epiphany_42.3.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_42.4.bb
@@ -28,7 +28,7 @@ SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 1)}/${GN
file://migrator.patch \
file://distributor.patch \
"
-SRC_URI[archive.sha256sum] = 
"7316d3c6500e825d8e57293fa58047c56727bee16cd6b6ac804ffe5d9b229560"
+SRC_URI[archive.sha256sum] = 
"370938ad2920eeb28bc2435944776b7ba55a0e2ede65836f79818cfb7e8f0860"
 
 PACKAGECONFIG_SOUP ?= "soup2"
 PACKAGECONFIG ??= "${PACKAGECONFIG_SOUP}"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169584): 
https://lists.openembedded.org/g/openembedded-core/message/169584
Mute This Topic: https://lists.openembedded.org/mt/93120237/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 14/42] git: upgrade 2.37.1 -> 2.37.2

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/git/{git_2.37.1.bb => git_2.37.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/git/{git_2.37.1.bb => git_2.37.2.bb} (98%)

diff --git a/meta/recipes-devtools/git/git_2.37.1.bb 
b/meta/recipes-devtools/git/git_2.37.2.bb
similarity index 98%
rename from meta/recipes-devtools/git/git_2.37.1.bb
rename to meta/recipes-devtools/git/git_2.37.2.bb
index 5d2524a1da..b7858e2e46 100644
--- a/meta/recipes-devtools/git/git_2.37.1.bb
+++ b/meta/recipes-devtools/git/git_2.37.2.bb
@@ -165,4 +165,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
  "
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
-SRC_URI[tarball.sha256sum] = 
"7dded96a52e7996ce90dd74a187aec175737f680dc063f3f33c8932cf5c8d809"
+SRC_URI[tarball.sha256sum] = 
"4c428908e3a2dca4174df6ef49acc995a4fdb1b45205a2c79794487a33bc06e5"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169585): 
https://lists.openembedded.org/g/openembedded-core/message/169585
Mute This Topic: https://lists.openembedded.org/mt/93120238/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 11/42] boost: update 1.79.0 -> 1.80.0

2022-08-19 Thread Alexander Kanavin
Drop boost-CVE-2012-2677.patch; fixed upstream after 10 years:
https://github.com/boostorg/pool/pull/42

Signed-off-by: Alexander Kanavin 
---
 .../{boost-1.79.0.inc => boost-1.80.0.inc}|   2 +-
 ...h-instruction-set-flags-we-do-that-o.patch |  19 ++-
 .../boost/boost/boost-CVE-2012-2677.patch | 112 --
 .../{boost_1.79.0.bb => boost_1.80.0.bb}  |   3 +-
 4 files changed, 16 insertions(+), 120 deletions(-)
 rename meta/recipes-support/boost/{boost-1.79.0.inc => boost-1.80.0.inc} (90%)
 delete mode 100644 meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch
 rename meta/recipes-support/boost/{boost_1.79.0.bb => boost_1.80.0.bb} (73%)

diff --git a/meta/recipes-support/boost/boost-1.79.0.inc 
b/meta/recipes-support/boost/boost-1.80.0.inc
similarity index 90%
rename from meta/recipes-support/boost/boost-1.79.0.inc
rename to meta/recipes-support/boost/boost-1.80.0.inc
index f90c463931..3ee82eb9b2 100644
--- a/meta/recipes-support/boost/boost-1.79.0.inc
+++ b/meta/recipes-support/boost/boost-1.80.0.inc
@@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = 
"https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2;
-SRC_URI[sha256sum] = 
"475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39"
+SRC_URI[sha256sum] = 
"1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
 
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/;
 UPSTREAM_CHECK_REGEX = "release/(?P.*)/source/"
diff --git 
a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
 
b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
index 67d5dff125..4fe15741bf 100644
--- 
a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
+++ 
b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
@@ -1,4 +1,4 @@
-From 4d2a8fc8117e56bc283349e5f7f889ebbfc55c71 Mon Sep 17 00:00:00 2001
+From 21ba558abe074e7d49bdc931018ce2138e6e8eb5 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Tue, 18 Dec 2018 15:42:57 +0100
 Subject: [PATCH] Don't set up arch/instruction-set flags, we do that
@@ -10,14 +10,14 @@ Signed-off-by: Christopher Larson 
 Signed-off-by: Alexander Kanavin 
 
 ---
- tools/build/src/tools/gcc.jam | 144 --
- 1 file changed, 144 deletions(-)
+ tools/build/src/tools/gcc.jam | 153 --
+ 1 file changed, 153 deletions(-)
 
 diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
-index 47a113223..d77525724 100644
+index 726555369..5c5f8ba91 100644
 --- a/tools/build/src/tools/gcc.jam
 +++ b/tools/build/src/tools/gcc.jam
-@@ -1122,147 +1122,3 @@ local rule cpu-flags ( toolset variable : architecture 
: instruction-set + :
+@@ -1124,156 +1124,3 @@ local rule cpu-flags ( toolset variable : architecture 
: instruction-set + :
  $(architecture)/$(instruction-set)
  : $(values) ;
  }
@@ -72,6 +72,9 @@ index 47a113223..d77525724 100644
 -cpu-flags gcc OPTIONS : x86 : cascadelake : -march=skylake-avx512 
-mavx512vnni ;
 -cpu-flags gcc OPTIONS : x86 : cooperlake : -march=cooperlake ;
 -cpu-flags gcc OPTIONS : x86 : tigerlake : -march=tigerlake ;
+-cpu-flags gcc OPTIONS : x86 : rocketlake : -march=rocketlake ;
+-cpu-flags gcc OPTIONS : x86 : alderlake : -march=alderlake ;
+-cpu-flags gcc OPTIONS : x86 : sapphirerapids : -march=sapphirerapids ;
 -cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ;
 -cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ;
 -cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ;
@@ -98,6 +101,7 @@ index 47a113223..d77525724 100644
 -cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ;
 -cpu-flags gcc OPTIONS : x86 : znver1 : -march=znver1 ;
 -cpu-flags gcc OPTIONS : x86 : znver2 : -march=znver2 ;
+-cpu-flags gcc OPTIONS : x86 : znver3 : -march=znver3 ;
 -cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ;
 -cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ;
 -cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ;
@@ -165,3 +169,8 @@ index 47a113223..d77525724 100644
 -cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 
-mfpu=vfpv3-d16 -mfloat-abi=hard ;
 -# AIX variant of RS/6000 & PowerPC
 -toolset.flags gcc AROPTIONS 64/aix : "-X64" ;
+-
+-# Enable response file control
+-toolset.flags gcc RESPONSE_FILE_SUB auto : a ;
+-toolset.flags gcc RESPONSE_FILE_SUB file : f ;
+-toolset.flags gcc RESPONSE_FILE_SUB contents : c ;
diff --git a/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch 
b/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch
deleted file mode 100644
index 917617a044..00
--- a/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-Reference
-
-https://svn.boost.org/trac/boost/changeset/78326
-
-Upstream-Status: Backport

[OE-core] [PATCH 04/42] python3-setuptools-rust: update 1.4.1 -> 1.5.1

2022-08-19 Thread Alexander Kanavin
Drop upstreamed patch.

Signed-off-by: Alexander Kanavin 
---
 ...92f08b1248dc03862da86915c2745e0ff7ec.patch | 221 --
 1.bb => python3-setuptools-rust_1.5.1.bb} |   7 +-
 2 files changed, 4 insertions(+), 224 deletions(-)
 delete mode 100644 
meta/recipes-devtools/python/python3-setuptools-rust/8e9892f08b1248dc03862da86915c2745e0ff7ec.patch
 rename meta/recipes-devtools/python/{python3-setuptools-rust_1.4.1.bb => 
python3-setuptools-rust_1.5.1.bb} (81%)

diff --git 
a/meta/recipes-devtools/python/python3-setuptools-rust/8e9892f08b1248dc03862da86915c2745e0ff7ec.patch
 
b/meta/recipes-devtools/python/python3-setuptools-rust/8e9892f08b1248dc03862da86915c2745e0ff7ec.patch
deleted file mode 100644
index 2a531e17aa..00
--- 
a/meta/recipes-devtools/python/python3-setuptools-rust/8e9892f08b1248dc03862da86915c2745e0ff7ec.patch
+++ /dev/null
@@ -1,221 +0,0 @@
-From 8e9892f08b1248dc03862da86915c2745e0ff7ec Mon Sep 17 00:00:00 2001
-From: "Andrew J. Hesford" 
-Date: Fri, 15 Jul 2022 10:33:02 -0400
-Subject: [PATCH] build_rust: remove linker handling that broke cross
- compilation
-
-Upstream-Status: Submitted [https://github.com/PyO3/setuptools-rust/pull/269]
-Signed-off-by: Alexander Kanavin 

- setuptools_rust/build.py | 151 ++-
- 1 file changed, 7 insertions(+), 144 deletions(-)
-
-diff --git a/setuptools_rust/build.py b/setuptools_rust/build.py
-index 4fe594b..e81ed8f 100644
 a/setuptools_rust/build.py
-+++ b/setuptools_rust/build.py
-@@ -113,23 +113,10 @@ def build_extension(
- self, ext: RustExtension, forced_target_triple: Optional[str] = None
- ) -> List["_BuiltModule"]:
- 
--target_info = self._detect_rust_target(forced_target_triple)
--if target_info is not None:
--target_triple = target_info.triple
--cross_lib = target_info.cross_lib
--linker = target_info.linker
--# We're ignoring target_info.linker_args for now because we're not
--# sure if they will always do the right thing. Might help with 
some
--# of the OS-specific logic if it does.
--
--else:
--target_triple = None
--cross_lib = None
--linker = None
--
-+target_triple = self._detect_rust_target(forced_target_triple)
- rustc_cfgs = get_rustc_cfgs(target_triple)
- 
--env = _prepare_build_environment(cross_lib)
-+env = _prepare_build_environment()
- 
- if not os.path.exists(ext.path):
- raise DistutilsFileError(
-@@ -150,9 +137,6 @@ def build_extension(
- 
- rustflags = []
- 
--if linker is not None:
--rustflags.extend(["-C", "linker=" + linker])
--
- if ext._uses_exec_binding():
- command = [self.cargo, "build", "--manifest-path", ext.path, 
*cargo_args]
- 
-@@ -407,45 +391,12 @@ def _py_limited_api(self) -> _PyLimitedApi:
- 
- def _detect_rust_target(
- self, forced_target_triple: Optional[str] = None
--) -> Optional["_TargetInfo"]:
-+) -> Optional[str]:
- assert self.plat_name is not None
--cross_compile_info = _detect_unix_cross_compile_info()
--if cross_compile_info is not None:
--cross_target_info = cross_compile_info.to_target_info()
--if forced_target_triple is not None:
--if (
--cross_target_info is not None
--and not 
cross_target_info.is_compatible_with(forced_target_triple)
--):
--self.warn(
--f"Forced Rust target `{forced_target_triple}` is not "
--f"compatible with deduced Rust target "
--f"`{cross_target_info.triple}` - the built package "
--f" may not import successfully once installed."
--)
--
--# Forcing the target in a cross-compile environment; use
--# the cross-compile information in combination with the
--# forced target
--return _TargetInfo(
--forced_target_triple,
--cross_compile_info.cross_lib,
--cross_compile_info.linker,
--cross_compile_info.linker_args,
--)
--elif cross_target_info is not None:
--return cross_target_info
--else:
--raise DistutilsPlatformError(
--"Don't know the correct rust target for system type "
--f"{cross_compile_info.host_type}. Please set the "
--"CARGO_BUILD_TARGET environment variable."
--)
--
--elif forced_target_triple is not None:
-+if forced_target_triple is not None:
- # Automatic target detection can be overridden via the 
CARGO_BUILD_TARGET
- # environment variable or --target command 

[OE-core] [PATCH 12/42] vulkan-samples: update to latest revision

2022-08-19 Thread Alexander Kanavin
Drop upstreamed patch.

Signed-off-by: Alexander Kanavin 
---
 ...pp_vulkan_resource.h-add-header-incl.patch | 27 ---
 .../vulkan/vulkan-samples_git.bb  |  3 +--
 2 files changed, 1 insertion(+), 29 deletions(-)
 delete mode 100644 
meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-core-hpp_vulkan_resource.h-add-header-incl.patch

diff --git 
a/meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-core-hpp_vulkan_resource.h-add-header-incl.patch
 
b/meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-core-hpp_vulkan_resource.h-add-header-incl.patch
deleted file mode 100644
index c2bb43fe76..00
--- 
a/meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-core-hpp_vulkan_resource.h-add-header-incl.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 8c069a1c4452f626e5bafc547463507d86111319 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 19 Jul 2022 16:55:40 +0200
-Subject: [PATCH] framework/core/hpp_vulkan_resource.h: add header include that
- defines std::exchange
-
-Upstream-Status: Submitted 
[https://github.com/KhronosGroup/Vulkan-Samples/pull/501]
-Signed-off-by: Alexander Kanavin 

- framework/core/hpp_vulkan_resource.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/framework/core/hpp_vulkan_resource.h 
b/framework/core/hpp_vulkan_resource.h
-index 0e30f5a..8d83019 100644
 a/framework/core/hpp_vulkan_resource.h
-+++ b/framework/core/hpp_vulkan_resource.h
-@@ -18,6 +18,7 @@
- #pragma once
- 
- #include 
-+#include 
- 
- namespace vkb
- {
--- 
-2.30.2
-
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb 
b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
index 54994c683d..332411b312 100644
--- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
@@ -8,12 +8,11 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=48aa35cefb768436223a6e7f18dc2a2a"
 SRC_URI = 
"gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=master;protocol=https
 \

file://0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch \
file://debugfix.patch \
-   
file://0001-framework-core-hpp_vulkan_resource.h-add-header-incl.patch \

file://0001-Qualify-move-as-std-move.patch;patchdir=third_party/spirv-cross \
"
 
 UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "ee6c1522af8ba9b56f8416c2eedafb440f681085"
+SRCREV = "74d45aace02d99d766126711a8aaa0978276ca00"
 
 UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for"
 S = "${WORKDIR}/git"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169583): 
https://lists.openembedded.org/g/openembedded-core/message/169583
Mute This Topic: https://lists.openembedded.org/mt/93120236/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 10/42] boost-build-native: update 4.4.1 -> 1.80.0

2022-08-19 Thread Alexander Kanavin
Due to the changed versioned scheme, we have missed a few versions,
and latest boost finally detects that.

Signed-off-by: Alexander Kanavin 
---
 ...st-build-native_4.4.1.bb => boost-build-native_1.80.0.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-support/boost/{boost-build-native_4.4.1.bb => 
boost-build-native_1.80.0.bb} (83%)

diff --git a/meta/recipes-support/boost/boost-build-native_4.4.1.bb 
b/meta/recipes-support/boost/boost-build-native_1.80.0.bb
similarity index 83%
rename from meta/recipes-support/boost/boost-build-native_4.4.1.bb
rename to meta/recipes-support/boost/boost-build-native_1.80.0.bb
index de566eeb82..54c0b2064f 100644
--- a/meta/recipes-support/boost/boost-build-native_4.4.1.bb
+++ b/meta/recipes-support/boost/boost-build-native_1.80.0.bb
@@ -7,9 +7,10 @@ LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
 SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master"
-SRCREV = "76da80f33187a3d9e5336157cdfae12ce82e37eb"
+SRCREV = "405d34a04d29519625c5edfe1f3bac3bc3dc3534"
+PE = "1"
 
-UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+){2,}))"
+UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P(\d+(\.\d+)+))"
 
 inherit native
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169581): 
https://lists.openembedded.org/g/openembedded-core/message/169581
Mute This Topic: https://lists.openembedded.org/mt/93120234/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 09/42] xorgproto: update 2022.1 -> 2022.2

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../xorg-proto/{xorgproto_2022.1.bb => xorgproto_2022.2.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-proto/{xorgproto_2022.1.bb => 
xorgproto_2022.2.bb} (84%)

diff --git a/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb 
b/meta/recipes-graphics/xorg-proto/xorgproto_2022.2.bb
similarity index 84%
rename from meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb
rename to meta/recipes-graphics/xorg-proto/xorgproto_2022.2.bb
index a1e852b9eb..a1cd66c744 100644
--- a/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb
+++ b/meta/recipes-graphics/xorg-proto/xorgproto_2022.2.bb
@@ -8,8 +8,8 @@ SECTION = "x11/libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://COPYING-x11proto;md5=dfc4bd2b0568b31725b85b0604e69b56"
 
-SRC_URI = "${XORG_MIRROR}/individual/proto/${BP}.tar.bz2"
-SRC_URI[sha256sum] = 
"1d2dcc66963f234d2c1e1f8d98a0d3e8725149cdac0a263df4097593c48bc2a6"
+SRC_URI = "${XORG_MIRROR}/individual/proto/${BP}.tar.xz"
+SRC_URI[sha256sum] = 
"5d13dbf2be08f95323985de53352c4f352713860457b95ccaf894a647ac06b9e"
 
 inherit meson
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169580): 
https://lists.openembedded.org/g/openembedded-core/message/169580
Mute This Topic: https://lists.openembedded.org/mt/93120233/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 08/42] gdk-pixbuf: update 2.42.8 -> 2.42.9

2022-08-19 Thread Alexander Kanavin
Disable manpages, as they require rst2man.

Signed-off-by: Alexander Kanavin 
---
 .../0001-Add-use_prebuilt_tools-option.patch  | 18 +
 .../gdk-pixbuf/gdk-pixbuf/fatal-loader.patch  | 20 +--
 ...-pixbuf_2.42.8.bb => gdk-pixbuf_2.42.9.bb} | 12 +++
 3 files changed, 28 insertions(+), 22 deletions(-)
 rename meta/recipes-gnome/gdk-pixbuf/{gdk-pixbuf_2.42.8.bb => 
gdk-pixbuf_2.42.9.bb} (91%)

diff --git 
a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch
 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch
index a8206a4507..02cc9a2a70 100644
--- 
a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch
+++ 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch
@@ -1,4 +1,4 @@
-From ba73bb0f3d2023839bc3b681c49b7ec1192cceb4 Mon Sep 17 00:00:00 2001
+From f81b60ebcbbfd9548c8aa1e388662c429068d1e3 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Sat, 8 May 2021 21:58:54 +0200
 Subject: [PATCH] Add use_prebuilt_tools option
@@ -18,7 +18,7 @@ Signed-off-by: Alexander Kanavin 
  5 files changed, 42 insertions(+), 19 deletions(-)
 
 diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
-index 8b0590b..7331491 100644
+index 54ff9dd..2e321cf 100644
 --- a/gdk-pixbuf/meson.build
 +++ b/gdk-pixbuf/meson.build
 @@ -342,13 +342,20 @@ foreach bin: gdkpixbuf_bin
@@ -45,16 +45,18 @@ index 8b0590b..7331491 100644
# load the installed cache; we always build it by default
loaders_cache = custom_target('loaders.cache',
 diff --git a/meson.build b/meson.build
-index 7a1409b..0bc73eb 100644
+index 813bd43..a93e6f7 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -403,16 +403,16 @@ subdir('gdk-pixbuf')
+@@ -369,18 +369,18 @@ subdir('gdk-pixbuf')
  # i18n
  subdir('po')
  
 -if not meson.is_cross_build()
 +if not meson.is_cross_build() or get_option('use_prebuilt_tools')
-   subdir('tests')
+   if get_option('tests')
+ subdir('tests')
+   endif
 -  subdir('thumbnailer')
  endif
 +subdir('thumbnailer')
@@ -69,10 +71,10 @@ index 7a1409b..0bc73eb 100644
  gdk_pixbuf_bindir,
  gdk_pixbuf_libdir,
 diff --git a/meson_options.txt b/meson_options.txt
-index 0ee6718..cc29855 100644
+index d198d99..1c899e9 100644
 --- a/meson_options.txt
 +++ b/meson_options.txt
-@@ -49,4 +49,8 @@ option('gio_sniffing',
+@@ -53,4 +53,8 @@ option('gio_sniffing',
 description: 'Perform file type detection using GIO (Unused on MacOS 
and Windows)',
 type: 'boolean',
 value: true)
@@ -82,7 +84,7 @@ index 0ee6718..cc29855 100644
 +   value: false)
  
 diff --git a/tests/meson.build b/tests/meson.build
-index 7c6cb11..1029e6a 100644
+index 28c2525..d97c02d 100644
 --- a/tests/meson.build
 +++ b/tests/meson.build
 @@ -5,6 +5,12 @@
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch
index 25410b11ea..dd580f8162 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch
@@ -1,4 +1,4 @@
-From f00603d58d844422363b896ea7d07aaf48ddaa66 Mon Sep 17 00:00:00 2001
+From b511bd1efb43ffc49c753e309717a242ec686ef1 Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Tue, 1 Apr 2014 17:23:36 +0100
 Subject: [PATCH] gdk-pixbuf: add an option so that loader errors are fatal
@@ -14,10 +14,10 @@ Signed-off-by: Ross Burton 
  1 file changed, 15 insertions(+), 4 deletions(-)
 
 diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c
-index 312aa78..b813d99 100644
+index 1d39b44..2b00815 100644
 --- a/gdk-pixbuf/queryloaders.c
 +++ b/gdk-pixbuf/queryloaders.c
-@@ -212,7 +212,7 @@ write_loader_info (GString *contents, const char *path, 
GdkPixbufFormat *info)
+@@ -216,7 +216,7 @@ write_loader_info (GString *contents, const char *path, 
GdkPixbufFormat *info)
  g_string_append_c (contents, '\n');
  }
  
@@ -26,7 +26,7 @@ index 312aa78..b813d99 100644
  query_module (GString *contents, const char *dir, const char *file)
  {
  char *path;
-@@ -221,6 +221,7 @@ query_module (GString *contents, const char *dir, const 
char *file)
+@@ -225,6 +225,7 @@ query_module (GString *contents, const char *dir, const 
char *file)
  void(*fill_vtable)   (GdkPixbufModule *module);
  gpointer fill_info_ptr;
  gpointer fill_vtable_ptr;
@@ -34,7 +34,7 @@ index 312aa78..b813d99 100644
  
  if (g_path_is_absolute (file))
  path = g_strdup (file);
-@@ -270,10 +271,13 @@ query_module (GString *contents, const char *dir, const 
char *file)
+@@ -274,10 +275,13 @@ query_module (GString *contents, const char *dir, const 
char *file)
 g_module_error());
  else
  g_fprintf (stderr, "Cannot load loader %s\n", path);
@@ -47,8 +47,8 @@ index 312aa78..b813d99 100644
 +

[OE-core] [PATCH 06/42] slang: update 2.3.2 -> 2.3.3

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../slang/slang/dont-link-to-host.patch   | 23 ---
 .../slang/slang/terminfo_fixes.patch  | 28 +++
 .../slang/{slang_2.3.2.bb => slang_2.3.3.bb}  |  3 +-
 3 files changed, 43 insertions(+), 11 deletions(-)
 rename meta/recipes-extended/slang/{slang_2.3.2.bb => slang_2.3.3.bb} (95%)

diff --git a/meta/recipes-extended/slang/slang/dont-link-to-host.patch 
b/meta/recipes-extended/slang/slang/dont-link-to-host.patch
index 42dba0fae4..4b02068991 100644
--- a/meta/recipes-extended/slang/slang/dont-link-to-host.patch
+++ b/meta/recipes-extended/slang/slang/dont-link-to-host.patch
@@ -1,3 +1,8 @@
+From b4a6e3c8309cff0f2311cd959c5091213b633851 Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Tue, 7 Feb 2017 14:35:43 +
+Subject: [PATCH] slang: rewrite recipe to run autoconf
+
 SLANG_INST_LIB is the location of where slang will end up, but when building 
for
 packaging this doesn't have DESTDIR appended so can potentially link to the 
host
 for cross builds and will trigger QA errors.
@@ -7,10 +12,20 @@ As this is obviously wrong, delete it.
 Upstream-Status: Pending
 Signed-off-by: Ross Burton 
 
+---
+ slsh/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
 diff --git a/slsh/Makefile.in b/slsh/Makefile.in
-index cba9d81..4c1c370 100644
+index addd343..63a5c9b 100644
 --- a/slsh/Makefile.in
 +++ b/slsh/Makefile.in
-@@ -80 +80 @@ SHELL = /bin/sh
--INST_LIBS = $(DEST_LIB_DIR) $(RPATH) $(SLANG_INST_LIB) -lslang 
$(READLINE_LIB) $(DYNAMIC_LIBS)
-+INST_LIBS = $(DEST_LIB_DIR) $(RPATH) -lslang $(READLINE_LIB) $(DYNAMIC_LIBS)
+@@ -77,7 +77,7 @@ SLSYSWRAP_LIB = @LIB_SLSYSWRAP@
+ #
+ @SET_MAKE@
+ SHELL = /bin/sh
+-INST_LIBS = $(DEST_LIB_DIR) $(RPATH) $(SLANG_INST_LIB) -lslang $(LDFLAGS) 
$(READLINE_LIB) $(DYNAMIC_LIBS)
++INST_LIBS = $(DEST_LIB_DIR) $(RPATH) -lslang $(LDFLAGS) $(READLINE_LIB) 
$(DYNAMIC_LIBS)
+ DEFS = -DSLSH_CONF_DIR='"$(SLSH_CONF_DIR)"' -DSLSH_PATH='"$(SLSH_LIB_DIR)"' \
+  -DSLSH_CONF_DIR_ENV='$(SLSH_CONF_DIR_ENV)' 
-DSLSH_LIB_DIR_ENV='$(SLSH_LIB_DIR_ENV)' \
+  -DSLSH_PATH_ENV='$(SLSH_PATH_ENV)' $(SLSYSWRAP_DEF)
diff --git a/meta/recipes-extended/slang/slang/terminfo_fixes.patch 
b/meta/recipes-extended/slang/slang/terminfo_fixes.patch
index 3ca20a8cab..331b7f02e4 100644
--- a/meta/recipes-extended/slang/slang/terminfo_fixes.patch
+++ b/meta/recipes-extended/slang/slang/terminfo_fixes.patch
@@ -1,3 +1,8 @@
+From 2a75095638002d37a2f9c7aeb0ec54f271b0a1c4 Mon Sep 17 00:00:00 2001
+From: Joe Slater 
+Date: Tue, 1 Aug 2017 12:36:53 -0700
+Subject: [PATCH] slang: fix terminfo related problems
+
 Do not use the JD_TERMCAP macro since we cannot get the terminfo from
 ncurses pkg-config, but fix the macro to not reference host directories.
 Also add src/test/Makefile.in so that we can use -ltermcap if we want to.
@@ -8,10 +13,18 @@ Upstream-Status: Inappropriate [see above]
 
 Signed-off-by: Joe Slater 
 
+---
+ autoconf/aclocal.m4   |  8 +---
+ autoconf/configure.ac | 11 +-
+ src/test/Makefile.in  | 90 +++
+ 3 files changed, 100 insertions(+), 9 deletions(-)
+ create mode 100644 src/test/Makefile.in
 
+diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
+index b2dfcd3..5f94ed3 100644
 --- a/autoconf/aclocal.m4
 +++ b/autoconf/aclocal.m4
-@@ -506,14 +506,10 @@ then
+@@ -509,15 +509,9 @@ then
  else
 MISC_TERMINFO_DIRS=""
  fi
@@ -19,8 +32,8 @@ Signed-off-by: Joe Slater 
 -  /usr/lib/terminfo \
 -  /usr/share/terminfo \
 -  /usr/share/lib/terminfo \
--/usr/local/lib/terminfo"
-+
+-/usr/local/lib/terminfo \
+-  /etc/terminfo /lib/terminfo"
  TERMCAP=-ltermcap
  
 -for terminfo_dir in $JD_Terminfo_Dirs
@@ -28,9 +41,11 @@ Signed-off-by: Joe Slater 
  do
 if test -d $terminfo_dir
 then
+diff --git a/autoconf/configure.ac b/autoconf/configure.ac
+index 8e11e13..9e6402c 100644
 --- a/autoconf/configure.ac
 +++ b/autoconf/configure.ac
-@@ -249,7 +249,14 @@ AC_CHECK_SIZEOF(size_t)
+@@ -250,7 +250,14 @@ AC_CHECK_SIZEOF(size_t)
  JD_CHECK_LONG_LONG
  JD_LARGE_FILE_SUPPORT
  
@@ -46,7 +61,7 @@ Signed-off-by: Joe Slater 
  JD_GCC_WARNINGS
  
  JD_SET_OBJ_SRC_DIR(src)
-@@ -364,7 +371,7 @@ AC_CONFIG_HEADER(src/sysconf.h:src/confi
+@@ -365,7 +372,7 @@ AC_CONFIG_HEADER(src/sysconf.h:src/config.hin)
  dnl AC_CONFIG_SUBDIRS(demo)
  
  AC_OUTPUT(Makefile:autoconf/Makefile.in \
@@ -55,6 +70,9 @@ Signed-off-by: Joe Slater 
slang.pc:autoconf/slangpc.in \
  )
  
+diff --git a/src/test/Makefile.in b/src/test/Makefile.in
+new file mode 100644
+index 000..4b7307f
 --- /dev/null
 +++ b/src/test/Makefile.in
 @@ -0,0 +1,90 @@
diff --git a/meta/recipes-extended/slang/slang_2.3.2.bb 
b/meta/recipes-extended/slang/slang_2.3.3.bb
similarity index 95%
rename from meta/recipes-extended/slang/slang_2.3.2.bb
rename 

[OE-core] [PATCH 07/42] xz: update 5.2.5 -> 5.2.6

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../xz/xz/CVE-2022-1271.patch | 96 ---
 .../xz/{xz_5.2.5.bb => xz_5.2.6.bb}   |  7 +-
 2 files changed, 2 insertions(+), 101 deletions(-)
 delete mode 100644 meta/recipes-extended/xz/xz/CVE-2022-1271.patch
 rename meta/recipes-extended/xz/{xz_5.2.5.bb => xz_5.2.6.bb} (88%)

diff --git a/meta/recipes-extended/xz/xz/CVE-2022-1271.patch 
b/meta/recipes-extended/xz/xz/CVE-2022-1271.patch
deleted file mode 100644
index e43e73cf12..00
--- a/meta/recipes-extended/xz/xz/CVE-2022-1271.patch
+++ /dev/null
@@ -1,96 +0,0 @@
-From dc932a1e9c0d9f1db71be11a9b82496e3a72f112 Mon Sep 17 00:00:00 2001
-From: Lasse Collin 
-Date: Tue, 29 Mar 2022 19:19:12 +0300
-Subject: [PATCH] xzgrep: Fix escaping of malicious filenames (ZDI-CAN-16587).
-
-Malicious filenames can make xzgrep to write to arbitrary files
-or (with a GNU sed extension) lead to arbitrary code execution.
-
-xzgrep from XZ Utils versions up to and including 5.2.5 are
-affected. 5.3.1alpha and 5.3.2alpha are affected as well.
-This patch works for all of them.
-
-This bug was inherited from gzip's zgrep. gzip 1.12 includes
-a fix for zgrep.
-
-The issue with the old sed script is that with multiple newlines,
-the N-command will read the second line of input, then the
-s-commands will be skipped because it's not the end of the
-file yet, then a new sed cycle starts and the pattern space
-is printed and emptied. So only the last line or two get escaped.
-
-One way to fix this would be to read all lines into the pattern
-space first. However, the included fix is even simpler: All lines
-except the last line get a backslash appended at the end. To ensure
-that shell command substitution doesn't eat a possible trailing
-newline, a colon is appended to the filename before escaping.
-The colon is later used to separate the filename from the grep
-output so it is fine to add it here instead of a few lines later.
-
-The old code also wasn't POSIX compliant as it used \n in the
-replacement section of the s-command. Using \ is the
-POSIX compatible method.
-
-LC_ALL=C was added to the two critical sed commands. POSIX sed
-manual recommends it when using sed to manipulate pathnames
-because in other locales invalid multibyte sequences might
-cause issues with some sed implementations. In case of GNU sed,
-these particular sed scripts wouldn't have such problems but some
-other scripts could have, see:
-
-info '(sed)Locale Considerations'
-
-This vulnerability was discovered by:
-cleemy desu wayo working with Trend Micro Zero Day Initiative
-
-Thanks to Jim Meyering and Paul Eggert discussing the different
-ways to fix this and for coordinating the patch release schedule
-with gzip.
-
-Upstream-Status: Backport [https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch]
-CVE: CVE-2022-1271
-
-Signed-off-by: Ralph Siemsen 

- src/scripts/xzgrep.in | 20 
- 1 file changed, 12 insertions(+), 8 deletions(-)
-
-diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in
-index 9db5c3a..f64dddb 100644
 a/src/scripts/xzgrep.in
-+++ b/src/scripts/xzgrep.in
-@@ -179,22 +179,26 @@ for i; do
-  { test $# -eq 1 || test $no_filename -eq 1; }; then
-   eval "$grep"
- else
-+  # Append a colon so that the last character will never be a newline
-+  # which would otherwise get lost in shell command substitution.
-+  i="$i:"
-+
-+  # Escape & \ | and newlines only if such characters are present
-+  # (speed optimization).
-   case $i in
-   (*'
- '* | *'&'* | *'\'* | *'|'*)
--i=$(printf '%s\n' "$i" |
--sed '
--  $!N
--  $s/[&\|]/\\&/g
--  $s/\n/\\n/g
--');;
-+i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/');;
-   esac
--  sed_script="s|^|$i:|"
-+
-+  # $i already ends with a colon so don't add it here.
-+  sed_script="s|^|$i|"
- 
-   # Fail if grep or sed fails.
-   r=$(
- exec 4>&1
--(eval "$grep" 4>&-; echo $? >&4) 3>&- | sed "$sed_script" >&3 4>&-
-+(eval "$grep" 4>&-; echo $? >&4) 3>&- |
-+LC_ALL=C sed "$sed_script" >&3 4>&-
-   ) || r=2
-   exit $r
- fi >&3 5>&-
diff --git a/meta/recipes-extended/xz/xz_5.2.5.bb 
b/meta/recipes-extended/xz/xz_5.2.6.bb
similarity index 88%
rename from meta/recipes-extended/xz/xz_5.2.5.bb
rename to meta/recipes-extended/xz/xz_5.2.6.bb
index 720e070f4a..3482622471 100644
--- a/meta/recipes-extended/xz/xz_5.2.5.bb
+++ b/meta/recipes-extended/xz/xz_5.2.6.bb
@@ -24,11 +24,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=97d554a32881fee0aa283d96e47cb24a \
 
file://lib/getopt.c;endline=23;md5=2069b0ee710572c03bb3114e4532cd84 \
 "
 
-SRC_URI = "https://tukaani.org/xz/xz-${PV}.tar.gz \
-   file://CVE-2022-1271.patch \
-   "
-SRC_URI[md5sum] = "0d270c997aff29708c74d53f599ef717"
-SRC_URI[sha256sum] = 

[OE-core] [PATCH 05/42] shadow: update 4.11.1 -> 4.12.1

2022-08-19 Thread Alexander Kanavin
Combine two username relaxing patches into one, rebase, and submit upstream.

Signed-off-by: Alexander Kanavin 
---
 ...> 0001-shadow-use-relaxed-usernames.patch} | 47 ---
 .../shadow-4.1.3-dots-in-usernames.patch  | 27 ---
 meta/recipes-extended/shadow/shadow.inc   |  8 ++--
 .../{shadow_4.11.1.bb => shadow_4.12.1.bb}|  0
 4 files changed, 23 insertions(+), 59 deletions(-)
 rename meta/recipes-extended/shadow/files/{shadow-relaxed-usernames.patch => 
0001-shadow-use-relaxed-usernames.patch} (76%)
 delete mode 100644 
meta/recipes-extended/shadow/files/shadow-4.1.3-dots-in-usernames.patch
 rename meta/recipes-extended/shadow/{shadow_4.11.1.bb => shadow_4.12.1.bb} 
(100%)

diff --git a/meta/recipes-extended/shadow/files/shadow-relaxed-usernames.patch 
b/meta/recipes-extended/shadow/files/0001-shadow-use-relaxed-usernames.patch
similarity index 76%
rename from meta/recipes-extended/shadow/files/shadow-relaxed-usernames.patch
rename to 
meta/recipes-extended/shadow/files/0001-shadow-use-relaxed-usernames.patch
index cc833362e9..6c7abcef1d 100644
--- a/meta/recipes-extended/shadow/files/shadow-relaxed-usernames.patch
+++ b/meta/recipes-extended/shadow/files/0001-shadow-use-relaxed-usernames.patch
@@ -1,6 +1,6 @@
-From ca472d6866e545aaa70a70020e3226f236a8aafc Mon Sep 17 00:00:00 2001
-From: Shan Hai 
-Date: Tue, 13 Sep 2016 13:45:46 +0800
+From b182c52d63bea0f08e1befcec5c3797dd97cdef5 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Tue, 16 Aug 2022 13:46:22 +0200
 Subject: [PATCH] shadow: use relaxed usernames
 
 The groupadd from shadow does not allow upper case group names, the
@@ -11,21 +11,21 @@ restrictions to allow the upper case group names, and the 
relaxation is
 POSIX compliant because POSIX indicate that usernames are composed of
 characters from the portable filename character set [A-Za-z0-9._-].
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/shadow-maint/shadow/pull/551]
 
 Signed-off-by: Shan Hai 
-
+Signed-off-by: Alexander Kanavin 
 ---
- libmisc/chkname.c  | 30 ++
+ libmisc/chkname.c  | 29 ++---
  man/groupadd.8.xml |  6 --
- man/useradd.8.xml  |  8 +---
- 3 files changed, 19 insertions(+), 25 deletions(-)
+ man/useradd.8.xml  |  6 --
+ 3 files changed, 18 insertions(+), 23 deletions(-)
 
 diff --git a/libmisc/chkname.c b/libmisc/chkname.c
-index 90f185c..65762b4 100644
+index cb002a14..c0306c5a 100644
 --- a/libmisc/chkname.c
 +++ b/libmisc/chkname.c
-@@ -55,22 +55,28 @@ static bool is_valid_name (const char *name)
+@@ -32,21 +32,28 @@ static bool is_valid_name (const char *name)
}
  
/*
@@ -54,7 +54,6 @@ index 90f185c..65762b4 100644
 -( ('0' <= *name) && ('9' >= *name) ) ||
 -('_' == *name) ||
 -('-' == *name) ||
--('.' == *name) ||
 -( ('$' == *name) && ('\0' == *(name + 1)) )
 -   )) {
 +if (!(  (*name >= 'a' && *name <= 'z') ||
@@ -67,13 +66,13 @@ index 90f185c..65762b4 100644
}
}
 diff --git a/man/groupadd.8.xml b/man/groupadd.8.xml
-index 1e58f09..d804b61 100644
+index 26671f92..3eacaa09 100644
 --- a/man/groupadd.8.xml
 +++ b/man/groupadd.8.xml
-@@ -272,12 +272,6 @@
- 
-
-  CAVEATS
+@@ -63,12 +63,6 @@
+   values from the system. The new group will be entered into the system
+   files as needed.
+ 
 - 
 -   Groupnames must start with a lower case letter or an underscore,
 -   followed by lower case letters, digits, underscores, or dashes.
@@ -84,19 +83,10 @@ index 1e58f09..d804b61 100644
 Groupnames may only be up to _NAME_MAX_LENGTH; characters long.
   
 diff --git a/man/useradd.8.xml b/man/useradd.8.xml
-index a16d730..c0bd777 100644
+index c7f95b47..e056d141 100644
 --- a/man/useradd.8.xml
 +++ b/man/useradd.8.xml
-@@ -366,7 +366,7 @@
-   
-   
- 
--  Do no create the user's home directory, even if the system
-+  Do not create the user's home directory, even if the system
-   wide setting from /etc/login.defs
-   (CREATE_HOME) is set to
-   yes.
-@@ -660,12 +660,6 @@
+@@ -691,12 +691,6 @@
the user account creation request.
  
  
@@ -109,3 +99,6 @@ index a16d730..c0bd777 100644
  
Usernames may only be up to 32 characters long.
  
+-- 
+2.30.2
+
diff --git 
a/meta/recipes-extended/shadow/files/shadow-4.1.3-dots-in-usernames.patch 
b/meta/recipes-extended/shadow/files/shadow-4.1.3-dots-in-usernames.patch
deleted file mode 100644
index a7bb0a9290..00
--- a/meta/recipes-extended/shadow/files/shadow-4.1.3-dots-in-usernames.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-# commit message copied from openembedded:
-#commit 246c80637b135f3a113d319b163422f98174ee6c
-#Author: Khem Raj 
-#Date:   Wed Jun 9 13:37:03 2010 -0700
-#
-#shadow-4.1.4.2: 

[OE-core] [PATCH 03/42] libcgroup: update 2.0.2 -> 3.0.0

2022-08-19 Thread Alexander Kanavin
License-Update: formatting

Signed-off-by: Alexander Kanavin 
---
 .../libcgroup/{libcgroup_2.0.2.bb => libcgroup_3.0.0.bb}| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-core/libcgroup/{libcgroup_2.0.2.bb => libcgroup_3.0.0.bb} 
(81%)

diff --git a/meta/recipes-core/libcgroup/libcgroup_2.0.2.bb 
b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb
similarity index 81%
rename from meta/recipes-core/libcgroup/libcgroup_2.0.2.bb
rename to meta/recipes-core/libcgroup/libcgroup_3.0.0.bb
index 7ade372cae..efd887844d 100644
--- a/meta/recipes-core/libcgroup/libcgroup_2.0.2.bb
+++ b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb
@@ -5,15 +5,15 @@ in Linux. Control groups allow you to limit, account and 
isolate resource usage
 (CPU, memory, disk I/O, etc.) of groups of processes."
 SECTION = "libs"
 LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4d794c5d710e5b3547a6cc6a6609a641"
 
 inherit autotools pkgconfig
 
 DEPENDS = "bison-native flex-native"
 
-SRC_URI = 
"https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz;
+SRC_URI = 
"https://github.com/${BPN}/${BPN}/releases/download/v3.0/${BP}.tar.gz;
 
-SRC_URI[sha256sum] = 
"8ef63b32e0aff619547dbb8a25e1f6bab152d7c4864795cf915571a5994d0cf8"
+SRC_URI[sha256sum] = 
"8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd"
 UPSTREAM_CHECK_URI = "https://github.com/libcgroup/libcgroup/releases/;
 
 DEPENDS:append:libc-musl = " fts "
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169574): 
https://lists.openembedded.org/g/openembedded-core/message/169574
Mute This Topic: https://lists.openembedded.org/mt/93120227/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 02/42] tzdata: upgrade 2022a -> 2022b

2022-08-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/timezone/timezone.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/timezone/timezone.inc 
b/meta/recipes-extended/timezone/timezone.inc
index cdd1a2ac3c..2b956cf7c0 100644
--- a/meta/recipes-extended/timezone/timezone.inc
+++ b/meta/recipes-extended/timezone/timezone.inc
@@ -6,7 +6,7 @@ SECTION = "base"
 LICENSE = "PD & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
 
-PV = "2022a"
+PV = "2022b"
 
 SRC_URI =" 
http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode
 \

http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata
 \
@@ -14,6 +14,6 @@ SRC_URI =" 
http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz
 
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones;
 
-SRC_URI[tzcode.sha256sum] = 
"f8575e7e33be9ee265df2081092526b81c80abac3f4a04399ae9d4d91cdadac7"
-SRC_URI[tzdata.sha256sum] = 
"ef7fffd9f4f50f4f58328b35022a32a5a056b245c5cb3d6791dddb342f871664"
+SRC_URI[tzcode.sha256sum] = 
"bab20d943e59a3218435f48d868a4e552f18d6d7f3dd128660c5660c80b8a05f"
+SRC_URI[tzdata.sha256sum] = 
"f590eaf04a395245426c2be4fae71c143aea5cebc11088b7a0a5704461df397d"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169573): 
https://lists.openembedded.org/g/openembedded-core/message/169573
Mute This Topic: https://lists.openembedded.org/mt/93120226/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 01/42] nfs-utils: upgrade 2.6.1 -> 2.6.2

2022-08-19 Thread Alexander Kanavin
/usr/sbin/rpcctl is written in python, so add it as a separate package
with python3 RDEPENDS.

Signed-off-by: Alexander Kanavin 
---
 .../nfs-utils/{nfs-utils_2.6.1.bb => nfs-utils_2.6.2.bb} | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/nfs-utils/{nfs-utils_2.6.1.bb => 
nfs-utils_2.6.2.bb} (95%)

diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.1.bb 
b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.2.bb
similarity index 95%
rename from meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.1.bb
rename to meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.2.bb
index bbed5aea59..57aac8c60b 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.2.bb
@@ -31,7 +31,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
file://0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch \
file://clang-warnings.patch \
"
-SRC_URI[sha256sum] = 
"60dfcd94a9f3d72a12bc7058d811787ec87a6d593d70da2123faf9aad3d7a1df"
+SRC_URI[sha256sum] = 
"5200873e81c4d610e2462fc262fe18135f2dbe78b7979f95accd159ae64d5011"
 
 # Only kernel-module-nfsd is required here (but can be built-in)  - the nfsd 
module will
 # pull in the remainder of the dependencies.
@@ -70,7 +70,9 @@ PACKAGECONFIG[nfsv41] = 
"--enable-nfsv41,--disable-nfsv41,libdevmapper,libdevmap
 # keyutils is available in meta-oe
 PACKAGECONFIG[nfsv4] = "--enable-nfsv4,--disable-nfsv4,keyutils,python3-core"
 
-PACKAGES =+ "${PN}-client ${PN}-mount ${PN}-stats"
+PACKAGES =+ "${PN}-client ${PN}-mount ${PN}-rpcctl ${PN}-stats"
+
+FILES:${PN} += "${nonarch_libdir}/modprobe.d"
 
 CONFFILES:${PN}-client += "${localstatedir}/lib/nfs/etab \
   ${localstatedir}/lib/nfs/rmtab \
@@ -90,6 +92,9 @@ RDEPENDS:${PN}-client = "${PN}-mount rpcbind"
 
 FILES:${PN}-mount = "${base_sbindir}/*mount.nfs*"
 
+FILES:${PN}-rpcctl = "${sbindir}/rpcctl"
+RDEPENDS:${PN}-rpcctl = "python3-core"
+
 FILES:${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat 
${sbindir}/nfsdclnts"
 RDEPENDS:${PN}-stats = "python3-core"
 
-- 
2.30.2


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



[OE-core] [dunfell][PATCH] cryptodev-module: fix build with 5.11+ kernels

2022-08-19 Thread Anuj Mittal
Backport patch to fix:

| cryptodev-module/1.10-r0/git/ioctl.c:875:4: error: implicit declaration of 
function 'ksys_close'; did you mean 'ksys_chown'? 
[-Werror=implicit-function-declaration]
|   875 |ksys_close(fd);
|   |^~
|   |ksys_chown
| cc1: some warnings being treated as errors

Signed-off-by: Anuj Mittal 
---
 .../cryptodev/cryptodev-module_1.10.bb|  1 +
 .../files/fix-build-for-Linux-5.11-rc1.patch  | 32 +++
 2 files changed, 33 insertions(+)
 create mode 100644 
meta/recipes-kernel/cryptodev/files/fix-build-for-Linux-5.11-rc1.patch

diff --git a/meta/recipes-kernel/cryptodev/cryptodev-module_1.10.bb 
b/meta/recipes-kernel/cryptodev/cryptodev-module_1.10.bb
index e4f7d1e3729..d7c7918515d 100644
--- a/meta/recipes-kernel/cryptodev/cryptodev-module_1.10.bb
+++ b/meta/recipes-kernel/cryptodev/cryptodev-module_1.10.bb
@@ -11,6 +11,7 @@ SRC_URI += " \
 file://0001-Disable-installing-header-file-provided-by-another-p.patch \
 file://0001-Fix-build-for-Linux-5.8-rc1.patch \
 file://0001-Fix-build-for-Linux-5.9-rc1.patch \
+file://fix-build-for-Linux-5.11-rc1.patch \
 "
 
 EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
diff --git 
a/meta/recipes-kernel/cryptodev/files/fix-build-for-Linux-5.11-rc1.patch 
b/meta/recipes-kernel/cryptodev/files/fix-build-for-Linux-5.11-rc1.patch
new file mode 100644
index 000..3ae77cb9d66
--- /dev/null
+++ b/meta/recipes-kernel/cryptodev/files/fix-build-for-Linux-5.11-rc1.patch
@@ -0,0 +1,32 @@
+From 55c6315058fc0dd189ffd116f2cc27ba4fa84cb6 Mon Sep 17 00:00:00 2001
+From: Joan Bruguera 
+Date: Mon, 28 Dec 2020 01:41:31 +0100
+Subject: [PATCH] Fix build for Linux 5.11-rc1
+
+ksys_close was removed, as far as I can tell, close_fd replaces it.
+
+See also: 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8760c909f54a82aaa6e76da19afe798a0c77c3c3
+  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1572bfdf21d4d50e51941498ffe0b56c2289f783
+
+Upstream-Status: Backport 
[https://github.com/cryptodev-linux/cryptodev-linux/commit/55c6315058fc0dd189ffd116f2cc27ba4fa84cb6]
+Signed-off-by: Anuj Mittal 
+---
+ ioctl.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/ioctl.c b/ioctl.c
+index 3d332380..95481d4f 100644
+--- a/ioctl.c
 b/ioctl.c
+@@ -871,8 +871,10 @@ cryptodev_ioctl(struct file *filp, unsigned int cmd, 
unsigned long arg_)
+   if (unlikely(ret)) {
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0))
+   sys_close(fd);
+-#else
++#elif (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0))
+   ksys_close(fd);
++#else
++  close_fd(fd);
+ #endif
+   return ret;
+   }
-- 
2.37.1


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