[OE-core] [PATCH 1/1] bitbake.conf: Add BB_TASK_NETWORK to enable task network globally

2022-01-19 Thread Robert Yang
The NIS or icecc can't work when task network is dissable, add BB_TASK_NETWORK
to enable network globally for such exceptions.

Note, enable nscd on the build machine might be a solution, but that isn't
reliable since it depends on whether the network function has been cached or
not.

Signed-off-by: Robert Yang 
---
 meta/classes/icecc.bbclass |  2 ++
 meta/conf/bitbake.conf |  3 +++
 meta/lib/oe/utils.py   | 15 +++
 3 files changed, 20 insertions(+)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 794e9930ad9..c39c86458a4 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -41,6 +41,8 @@ ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env"
 
 HOSTTOOLS_NONFATAL += "icecc patchelf"
 
+BB_TASK_NETWORK ? = "1"
+
 # This version can be incremented when changes are made to the environment that
 # invalidate the version on the compile nodes. Changing it will cause a new
 # environment to be created.
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index fba99e8f0cd..bf5bcd55519 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -946,3 +946,6 @@ MULTILIB_VARIANTS ??= ""
 # what it would be anyway if the signature generator (e.g. OEEquivHash) doesn't
 # support unihashes.
 BB_UNIHASH ?= "${BB_TASKHASH}"
+
+# Enable task network for remote user such as NIS.
+BB_TASK_NETWORK ??= "${@['1', '0'][oe.utils.is_local_uid()]}"
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 136650e6f74..c21f034aafc 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -595,3 +595,18 @@ def directory_size(root, blocksize=4096):
 total += sum(roundup(getsize(os.path.join(root, name))) for name in 
files)
 total += roundup(getsize(root))
 return total
+
+def is_local_uid(uid=''):
+"""
+Check whether uid is a local one or not.
+Can't use pwd module since it gets all UIDs, not local ones only.
+"""
+if not uid:
+uid = os.getuid()
+local_uids = set()
+with open('/etc/passwd', 'r') as f:
+for line in f.readlines():
+if not ':' in line:
+continue
+local_uids.add(line.split(':')[2])
+return uid in local_uids
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160752): 
https://lists.openembedded.org/g/openembedded-core/message/160752
Mute This Topic: https://lists.openembedded.org/mt/88554465/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 0/1] bitbake.conf: Add BB_TASK_NETWORK to enable task network globally

2022-01-19 Thread Robert Yang
The following changes since commit ecb61b36938754cf925bf58aad3edf7346deced0:

  build-appliance-image: Update to master head revision (2022-01-19 23:04:05 
+)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/network
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/network

Robert Yang (1):
  bitbake.conf: Add BB_TASK_NETWORK to enable task network globally

 meta/classes/icecc.bbclass |  2 ++
 meta/conf/bitbake.conf |  3 +++
 meta/lib/oe/utils.py   | 15 +++
 3 files changed, 20 insertions(+)

-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160751): 
https://lists.openembedded.org/g/openembedded-core/message/160751
Mute This Topic: https://lists.openembedded.org/mt/88554464/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] package_manager/rpm: conditional remove package manager database

2022-01-19 Thread Diego Santa Cruz via lists.openembedded.org
Hi,

We do exactly that in our images, keep rpm but avoid dnf. We do it by adding 
this to the image recipes (via in inc file).

ROOTFS_PKGMANAGE_remove = "dnf"
ROOTFS_POSTUNINSTALL_COMMAND += "spx_wipe_dnf_data ; "

spx_wipe_dnf_data() {
bbnote "Removing all dnf runtime data"
for d in /var/lib/dnf /var/cache/dnf; do
[ -d ${IMAGE_ROOTFS}$d ] || continue
dirsize=`du -ks ${IMAGE_ROOTFS}/$d  | awk '{ print $1 }'`
bbnote "Removing $d with $dirsize KiB"
rm -rf ${IMAGE_ROOTFS}$d/*
done
}


I hope this helps

--
Diego Santa Cruz, PhD
Technology Architect
spinetix.com

From: openembedded-core@lists.openembedded.org 
 On Behalf Of hongxu via 
lists.openembedded.org
Sent: 20 January 2022 03:54
To: Alexander Kanavin 
Cc: OE-core ; Yang, Liezhi 

Subject: Re: [OE-core] [PATCH] package_manager/rpm: conditional remove package 
manager database


I am afraid doing remove operation in ROOTFS_POSTPROCESS_COMMAND could not 
satisfy this case



The background is in order to save spaces in embedded device, user do not 
install

package dnf which introduces python3, and use rpm to manage package on target



In oe-core, the dnf, rpm and pkg database are introduced by package-management 
of IMAGE_FEATURES,

if package-management in IMAGE_FEATURES, we could remove unused pkg data in

ROOTFS_POSTPROCESS_COMMAND as you suggested, but we could not uninstall

dnf and all related depend(such as python3) gracefully;

if package-management not in IMAGE_FEATURES, the pkg data will be removed

before ROOTFS_POSTPROCESS_COMMAND, that's why this commit are trying to resolve



The root cause maybe dnf is too heavy for disk sensitive device



//Hongxu


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Wednesday, January 19, 2022 6:15 PM
To: Jia, Hongxu mailto:hongxu@windriver.com>>
Cc: OE-core 
mailto:openembedded-core@lists.openembedded.org>>;
 Yang, Liezhi mailto:liezhi.y...@windriver.com>>
Subject: Re: [OE-core] [PATCH] package_manager/rpm: conditional remove package 
manager database


[Please note: This e-mail is from an EXTERNAL e-mail address]
Apologies, but please no. This adds complexity, isn't possible to disable and 
is difficult to understand. You can simply remove the unneeded files from 
ROOTFS_POSTPROCESS_COMMAND in your image class.

Alex

On Wed, 19 Jan 2022 at 04:07, hongxu 
mailto:hongxu@windriver.com>> wrote:
In order to save spaces in target rootfs, the user wants to remove dnf and
keep rpm, in this situation, we should remove dnf database only

If rpm was installed, keep rpm database, after applying this commit:

Edit conf/local.conf
...
IMAGE_FEATURES:remove = "package-management"
IMAGE_INSTALL:append= " rpm"
...

Build image and boot, run rpm -qa on target:
Without this commit
...
root@intel-x86-64:~# rpm -qa | wc -l
0
...

Apply this commit
...
root@intel-x86-64:~# rpm -qa | wc -l
1865
...

With this commit, the rpm -qa works as expected.

It does not make sense to keep dnf and remove rpm, so this commit
does not consider the scenario

Signed-off-by: Hongxu Jia 
mailto:hongxu@windriver.com>>
---
 
meta/lib/oe/package_manager/rpm/__init__.py
 | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git 
a/meta/lib/oe/package_manager/rpm/__init__.py
 
b/meta/lib/oe/package_manager/rpm/__init__.py
index b392581069..dce5912329 100644
--- 

[OE-core] [PATCH] security_flags.inc: don't default to PIE if image-prelink is enabled

2022-01-19 Thread bkylerussell
Since a prelinked rootfs is in conflict with PIE, don't attempt the latter
if the image enables prelink.
---
 meta/conf/distro/include/security_flags.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/security_flags.inc 
b/meta/conf/distro/include/security_flags.inc
index e469eadca1..be6feb9e5f 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -5,7 +5,7 @@
 # From a Yocto Project perspective, this file is included and tested
 # in the DISTRO="poky" configuration.
 
-GCCPIE ?= "--enable-default-pie"
+GCCPIE ?= "${@bb.utils.contains('USER_CLASSES', 'image-prelink', 
'--disable-default-pie', '--enable-default-pie', d)}"
 # If static PIE is known to work well, GLIBCPIE="--enable-static-pie" can be 
set
 
 # _FORTIFY_SOURCE requires -O1 or higher, so disable in debug builds as they 
use
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160749): 
https://lists.openembedded.org/g/openembedded-core/message/160749
Mute This Topic: https://lists.openembedded.org/mt/88551948/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] package_manager/rpm: conditional remove package manager database

2022-01-19 Thread hongxu
I am afraid doing remove operation in ROOTFS_POSTPROCESS_COMMAND could not 
satisfy this case


The background is in order to save spaces in embedded device, user do not 
install

package dnf which introduces python3, and use rpm to manage package on target


In oe-core, the dnf, rpm and pkg database are introduced by package-management 
of IMAGE_FEATURES,

if package-management in IMAGE_FEATURES, we could remove unused pkg data in

ROOTFS_POSTPROCESS_COMMAND as you suggested, but we could not uninstall

dnf and all related depend(such as python3) gracefully;

if package-management not in IMAGE_FEATURES, the pkg data will be removed

before ROOTFS_POSTPROCESS_COMMAND, that's why this commit are trying to resolve


The root cause maybe dnf is too heavy for disk sensitive device


//Hongxu


From: Alexander Kanavin 
Sent: Wednesday, January 19, 2022 6:15 PM
To: Jia, Hongxu 
Cc: OE-core ; Yang, Liezhi 

Subject: Re: [OE-core] [PATCH] package_manager/rpm: conditional remove package 
manager database


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

Apologies, but please no. This adds complexity, isn't possible to disable and 
is difficult to understand. You can simply remove the unneeded files from 
ROOTFS_POSTPROCESS_COMMAND in your image class.

Alex

On Wed, 19 Jan 2022 at 04:07, hongxu 
mailto:hongxu@windriver.com>> wrote:
In order to save spaces in target rootfs, the user wants to remove dnf and
keep rpm, in this situation, we should remove dnf database only

If rpm was installed, keep rpm database, after applying this commit:

Edit conf/local.conf
...
IMAGE_FEATURES:remove = "package-management"
IMAGE_INSTALL:append= " rpm"
...

Build image and boot, run rpm -qa on target:
Without this commit
...
root@intel-x86-64:~# rpm -qa | wc -l
0
...

Apply this commit
...
root@intel-x86-64:~# rpm -qa | wc -l
1865
...

With this commit, the rpm -qa works as expected.

It does not make sense to keep dnf and remove rpm, so this commit
does not consider the scenario

Signed-off-by: Hongxu Jia 
mailto:hongxu@windriver.com>>
---
 
meta/lib/oe/package_manager/rpm/__init__.py
 | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git 
a/meta/lib/oe/package_manager/rpm/__init__.py
 
b/meta/lib/oe/package_manager/rpm/__init__.py
index b392581069..dce5912329 100644
--- 
a/meta/lib/oe/package_manager/rpm/__init__.py
+++ 
b/meta/lib/oe/package_manager/rpm/__init__.py
@@ -80,7 +80,9 @@ class RpmPM(PackageManager):
 self.saved_packaging_data = 
self.d.expand('${T}/saved_packaging_data/%s' % self.task_name)
 if not os.path.exists(self.d.expand('${T}/saved_packaging_data')):
 bb.utils.mkdirhier(self.d.expand('${T}/saved_packaging_data'))
-self.packaging_data_dirs = ['etc/rpm', 'etc/rpmrc', 'etc/dnf', 
'var/lib/rpm', 'var/lib/dnf', 'var/cache/dnf']
+self.packaging_data_rpm_dirs = ['etc/rpm', 'etc/rpmrc', 'var/lib/rpm']
+self.packaging_data_dnf_dirs = ['etc/dnf', 'var/lib/dnf', 
'var/cache/dnf']
+self.packaging_data_dirs = self.packaging_data_rpm_dirs + 
self.packaging_data_dnf_dirs
 self.solution_manifest = self.d.expand('${T}/saved/%s_solution' %
self.task_name)
 if not os.path.exists(self.d.expand('${T}/saved')):
@@ -237,8 +239,11 @@ class RpmPM(PackageManager):
 self._invoke_dnf(["autoremove"])

 def remove_packaging_data(self):
+remove_packaging_data_dirs = self.packaging_data_dnf_dirs
+if "rpm" not in self.list_installed():
+remove_packaging_data_dirs += self.packaging_data_rpm_dirs
 self._invoke_dnf(["clean", "all"])
-for dir in self.packaging_data_dirs:
+for dir in remove_packaging_data_dirs:
 bb.utils.remove(oe.path.join(self.target_rootfs, dir), True)

 def backup_packaging_data(self):
--
2.27.0





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160748): 
https://lists.openembedded.org/g/openembedded-core/message/160748
Mute This Topic: https://lists.openembedded.org/mt/88527238/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] [yocto] Honister broken WiFi communication

2022-01-19 Thread Rudolf J Streif

Hi JH,

On 1/18/22 5:45 PM, Jupiter wrote:

Hi Rudolf,

Thanks for your response and comments.


If you run ifconfig -a does your WiFi interface show up? If not there is an
issue with the driver. Use dmesg and filter for the driver. Often a driver
cannot load the firmware. What is your WiFi hardware?

Not that bad, the WiFi interfaces was fine, but it could not get dhcp
response and IP address so an automatic private IP address 169.254 was
assigned

mlan0 Link encap:Ethernet  HWaddr D4:CA:6E:A4:E8:B4
   inet addr:169.254.193.101  Bcast:169.254.255.255  Mask:255.255.0.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:2 errors:0 dropped:0 overruns:0 frame:0
   TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:330 (330.0 B)  TX bytes:16392 (16.0 KiB)


This would typically mean that you are actually connected to a wifi 
network but the interface did not receive a DHCP lease for the IP 
address. the 169.254. is local IPv4 IP address which the interface would 
typically get if the DHCP client times out.



I could see WiFi information well, it is not a major problem, but the
subtle issues are connman and wpa_supplicant did not set up the WiFi
driver correctly.

Connected to 34:08:04:12:b1:a2 (on mlan0)
 SSID: JupiterIoT
 freq: 2437
 RX: 660 bytes (4 packets)
 TX: 46622 bytes (129 packets)
 signal: -57 dBm
 rx bitrate: 1.0 MBit/s
 tx bitrate: 72.2 MBit/s MCS 7 short GI

 bss flags:  short-slot-time
 dtim period:1
 beacon int: 100


I don't think that this is a wpa_supplicant issue. However, you can use 
connmanctl to manually connect to a wifi network:


$ connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
San completed for wifi
connmanctl> services
[service list follows]
connmanctl> agent on
Agent registered
connmanctl> connect wifi_xx
Agent RequestInput wifi_x
   Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase? 
Connected wifi_xx
conmanctl> quit

If that works the wifi authentication is OK.


Did you install the regulatory database?

Did you mean to enable CONFIG_CFG80211_INTERNAL_REGDB? No, I did not
install it in the Zeus version either so I don't see that could be an
issue.

Only a wag on my side. Should be ok since the wifi driver is working.

What error messages are you seeing when attempting to connect to a WiFi
network? Did you look at the connman logs?

No error in connman, I don't think it is connman or wpa_supplicant
issue, my suspicion is something missing in Honister built image to
prevent connman and wpa_supplicant to set up the WiFi driver
correctly.

It is not the first time I have the WiFi setup trouble to get WiFi
169.254 address, when I upgraded from Thud to Zeus, I got the exactly
the same problem that WiFi was assigned by a 169.254 address, no dhcp
response, at time, I was totally convinced it was connman issue, I
spend several months to debug connman and wpa_supplicant without any
results, then after waiting several months to pull updated Zeus again,
that problem was disappeared miraculous, that is why I suspect the
same problem in oe-core and bitbake in Honister as well.


Well, ok then it looks like a dhcp issue. Did you attempt to set a 
static IP to test connectivity?


Eventually it could be a router issue. Maybe the router blocks unknown 
devices?



Are there anyone in oe-core and bitbake tested connman, wpa_supplicant
for the current Honister branch? I can help to test and to debug it if
more advanced people in oe-core, bitbake, kernel, WiFi driver mwifiex
can provide me more information.
Honestly, I don't think the issue is related to connman or 
wpa_supplicant at all but on the dhcp level.

Thank you.

Kind regards,

- jupiter


--
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3386 x700



OpenPGP_0x8D8CA82927339B75.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160747): 
https://lists.openembedded.org/g/openembedded-core/message/160747
Mute This Topic: https://lists.openembedded.org/mt/88511391/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] xwayland: Add xkbcomp runtime dependency

2022-01-19 Thread Tom Hochstein
Trying to run an xterm fails with the error:
xterm: Xt error: Can't open display: :0

Checking systemctl status weston shows an error:
Jan 19 21:24:16 imx8mq-evk weston[396]: sh: line 1: /usr/bin/xkbcomp: No such 
file or directory

Adding xkbcomp to the rootfs fixes these errors. Checking the history
one finds that the runtime dependency for the old xserver was
removed because it wasn't in the correct location [1], then restored
because it was still needed [2].

[1] 
https://github.com/openembedded/openembedded-core/commit/bdcc5e8f1286d288baf410458efc39a59b68d751
[2] 
https://github.com/openembedded/openembedded-core/commit/f2330ebc3071d780cbc6d1ddab5c54bfadf8fffc

Signed-off-by: Tom Hochstein 
---
 meta/recipes-graphics/xwayland/xwayland_21.1.3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb 
b/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
index 5d083e8ada..7ea40d9486 100644
--- a/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
+++ b/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
@@ -42,3 +42,4 @@ do_install:append() {
 
 FILES:${PN} += "${libdir}/xorg/protocol.txt"
 
+RDEPENDS:${PN} += "xkbcomp"
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160746): 
https://lists.openembedded.org/g/openembedded-core/message/160746
Mute This Topic: https://lists.openembedded.org/mt/88548155/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] [dunfell] Revert "weston: Use systemd notify,"

2022-01-19 Thread Marek Vasut
Commit 4efdcc1090 ("weston: Use systemd notify,") has non-trivial to
backport dependencies without which it cannot work, revert backport.

In oe-core dunfell, weston is still started using /usr/bin/weston-start
script in meta/recipes-graphics/wayland/weston-init/weston@.service .
Since 76ed534267 ("weston-init: Use weston-launch when starting weston
as the first windowing system"), the weston-start script starts weston
using weston-launch executable in case $DISPLAY is not set, i.e. when
weston is started as the primary compositor.

When weston is started via weston-launch, the notification to systemd
is not delivered, and weston service fails to start with the following:
"
weston@root.service: start operation timed out. Terminating.
"

The weston systemd service has been reworked considerably since oe-core
dunfell in commit c21fa5a291 ("weston-init: Redefine weston service and
add socket activation option"), which replaced the use of weston-start
in weston@.service with plain weston, and has been further improved in
commit dd83fb40f7 ("weston-init: Stop running weston as root") . The
commit reverted here, oe-core/master commit c8aa0222ce ("weston: wrapper
for weston modules argument"), landed only with the two aforementioned
reworks already in place, therefore the commit could have never been
tested with weston started via weston-launch executable and the timeout
at delivering systemd notification could not have happened in master.

Both c21fa5a291 ("weston-init: Redefine weston service and add socket
activation option") and dd83fb40f7 ("weston-init: Stop running weston
as root") are large feature patches and thus unsuitable for stable
backports, hence this revert seems to be the least problematic way.

Signed-off-by: Marek Vasut 
Cc: Alexandre Belloni 
Cc: Joshua Watt 
Cc: Pavel Zhukov 
Cc: Steve Sakoman 
---
 .../wayland/weston-init/weston-start | 12 
 .../wayland/weston-init/weston@.service  |  6 --
 .../wayland/weston/systemd-notify.weston-start   |  9 -
 .../wayland/weston/xwayland.weston-start |  3 ++-
 meta/recipes-graphics/wayland/weston_8.0.0.bb|  6 --
 5 files changed, 2 insertions(+), 34 deletions(-)
 delete mode 100644 
meta/recipes-graphics/wayland/weston/systemd-notify.weston-start

diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start 
b/meta/recipes-graphics/wayland/weston-init/weston-start
index 97471df80d..ccc7093425 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -23,15 +23,6 @@ add_openvt_argument() {
openvt_args="$openvt_args $1"
 }
 
-## Add module to --modules argument
-add_weston_module() {
-   if [ -z "${weston_modules}" ]; then
-   weston_modules="--modules "
-   fi;
-   weston_modules="${weston_modules}${1},"
-}
-
-
 if [ -n "$WAYLAND_DISPLAY" ]; then
echo "ERROR: A Wayland compositor is already running, nested Weston 
instance is not supported yet."
exit 1
@@ -74,9 +65,6 @@ if [ -d "$modules_dir" ]; then
# process module
. $m
done
-   if [ -n "${weston_modules}" ]; then
-   add_weston_argument "${weston_modules} "
-   fi;
 fi
 
 if test -z "$XDG_RUNTIME_DIR"; then
diff --git a/meta/recipes-graphics/wayland/weston-init/weston@.service 
b/meta/recipes-graphics/wayland/weston-init/weston@.service
index 70c706d75c..39e193014a 100644
--- a/meta/recipes-graphics/wayland/weston-init/weston@.service
+++ b/meta/recipes-graphics/wayland/weston-init/weston@.service
@@ -1,7 +1,3 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-#
-# SPDX-License-Identifier: Apache-2.0
-
 [Unit]
 Description=Weston Wayland Compositor
 RequiresMountsFor=/run
@@ -9,8 +5,6 @@ Conflicts=plymouth-quit.service
 After=systemd-user-sessions.service plymouth-quit-wait.service
 
 [Service]
-Type=notify
-NotifyAccess=all
 User=%i
 PAMName=login
 EnvironmentFile=-/etc/default/weston
diff --git a/meta/recipes-graphics/wayland/weston/systemd-notify.weston-start 
b/meta/recipes-graphics/wayland/weston/systemd-notify.weston-start
deleted file mode 100644
index fdb48cb609..00
--- a/meta/recipes-graphics/wayland/weston/systemd-notify.weston-start
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-
-if [[ -x "/usr/lib/weston/systemd-notify.so" ]]; then
-   add_weston_module "systemd-notify.so"
-fi
diff --git a/meta/recipes-graphics/wayland/weston/xwayland.weston-start 
b/meta/recipes-graphics/wayland/weston/xwayland.weston-start
index 22984f50a4..b483c97cf1 100644
--- a/meta/recipes-graphics/wayland/weston/xwayland.weston-start
+++ b/meta/recipes-graphics/wayland/weston/xwayland.weston-start
@@ -2,5 +2,6 @@
 
 if type Xwayland  >/dev/null 2>/dev/null; then
mkdir -p /tmp/.X11-unix
-   add_weston_module "xwayland.so"
+
+   add_weston_argument 

[OE-core] [PATCH] icecc.bbclass: replace deprecated bash command substitution

2022-01-19 Thread Jose Quaresma
- build some packages with icecc enabled is not supported
  because of the folling that disables the icecc:

  DEBUG: while parsing set_icecc_env, unable to handle non-literal command 
'$ICECC_CC'

- it can be replicated with:

 bitbake make && bitbake make -c cleansstate && bitbake make -DD
 grep ICECC_CC tmp/log/cooker/qemux86-64/console-latest.log

- bash command substitution backquote deprecated

 https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html
 https://mywiki.wooledge.org/BashFAQ/082

Signed-off-by: Jose Quaresma 
---
 meta/classes/icecc.bbclass | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 794e9930ad..3bbd2645af 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -309,7 +309,7 @@ wait_for_file() {
 local TIMEOUT=$2
 until [ -f "$FILE_TO_TEST" ]
 do
-TIME_ELAPSED=`expr $TIME_ELAPSED + 1`
+TIME_ELAPSED=$(expr $TIME_ELAPSED + 1)
 if [ $TIME_ELAPSED -gt $TIMEOUT ]
 then
 return 1
@@ -362,8 +362,8 @@ set_icecc_env() {
 return
 fi
 
-ICE_VERSION=`$ICECC_CC -dumpversion`
-ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"`
+ICE_VERSION="$($ICECC_CC -dumpversion)"
+ICECC_VERSION=$(echo ${ICECC_VERSION} | sed -e 
"s/@VERSION@/$ICE_VERSION/g")
 if [ ! -x "${ICECC_ENV_EXEC}" ]
 then
 bbwarn "Cannot use icecc: invalid ICECC_ENV_EXEC"
@@ -390,18 +390,18 @@ set_icecc_env() {
 chmod 775 $ICE_PATH/$compiler
 done
 
-ICECC_AS="`${ICECC_CC} -print-prog-name=as`"
+ICECC_AS="$(${ICECC_CC} -print-prog-name=as)"
 # for target recipes should return something like:
 # 
/OE/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm920tt-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/as
 # and just "as" for native, if it returns "as" in current directory (for 
whatever reason) use "as" from PATH
-if [ "`dirname "${ICECC_AS}"`" = "." ]
+if [ "$(dirname "${ICECC_AS}")" = "." ]
 then
 ICECC_AS="${ICECC_WHICH_AS}"
 fi
 
 if [ ! -f "${ICECC_VERSION}.done" ]
 then
-mkdir -p "`dirname "${ICECC_VERSION}"`"
+mkdir -p "$(dirname "${ICECC_VERSION}")"
 
 # the ICECC_VERSION generation step must be locked by a mutex
 # in order to prevent race conditions
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160744): 
https://lists.openembedded.org/g/openembedded-core/message/160744
Mute This Topic: https://lists.openembedded.org/mt/88547329/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] crate-fetch: Switch to version contained in bitbake

2022-01-19 Thread Richard Purdie
This avoids various sstate fetch errors from weird silent failures in the sstate
archive testing code caused by lack of srcrev support in the crate fetcher.

Signed-off-by: Richard Purdie 
---
 meta/classes/cargo_common.bbclass |   1 -
 meta/classes/crate-fetch.bbclass  |  28 --
 meta/lib/crate.py | 149 --
 3 files changed, 178 deletions(-)
 delete mode 100644 meta/classes/crate-fetch.bbclass
 delete mode 100644 meta/lib/crate.py

diff --git a/meta/classes/cargo_common.bbclass 
b/meta/classes/cargo_common.bbclass
index 23d82aa6ab2..90fad754153 100644
--- a/meta/classes/cargo_common.bbclass
+++ b/meta/classes/cargo_common.bbclass
@@ -9,7 +9,6 @@
 ##
 
 # add crate fetch support
-inherit crate-fetch
 inherit rust-common
 
 # Where we download our registry and dependencies to
diff --git a/meta/classes/crate-fetch.bbclass b/meta/classes/crate-fetch.bbclass
deleted file mode 100644
index a7fa22b2a06..000
--- a/meta/classes/crate-fetch.bbclass
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# crate-fetch class
-#
-# Registers 'crate' method for Bitbake fetch2.
-#
-# Adds support for following format in recipe SRC_URI:
-# crate:///
-#
-
-def import_crate(d):
-import crate
-if not getattr(crate, 'imported', False):
-bb.fetch2.methods.append(crate.Crate())
-crate.imported = True
-
-python crate_import_handler() {
-import_crate(d)
-}
-
-addhandler crate_import_handler
-crate_import_handler[eventmask] = "bb.event.RecipePreFinalise"
-
-def crate_get_srcrev(d):
-import_crate(d)
-return bb.fetch2.get_srcrev(d)
-
-# Override SRCPV to make sure it imports the fetcher first
-SRCPV = "${@crate_get_srcrev(d)}"
diff --git a/meta/lib/crate.py b/meta/lib/crate.py
deleted file mode 100644
index d10f4418750..000
--- a/meta/lib/crate.py
+++ /dev/null
@@ -1,149 +0,0 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-"""
-BitBake 'Fetch' implementation for crates.io
-"""
-
-# Copyright (C) 2016 Doug Goldstein
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Based on functions from the base bb module, Copyright 2003 Holger Schurig
-
-import hashlib
-import json
-import os
-import shutil
-import subprocess
-import bb
-from   bb.fetch2 import logger, subprocess_setup, UnpackError
-from   bb.fetch2.wget import Wget
-
-
-class Crate(Wget):
-
-"""Class to fetch crates via wget"""
-
-def _cargo_bitbake_path(self, rootdir):
-return os.path.join(rootdir, "cargo_home", "bitbake")
-
-def supports(self, ud, d):
-"""
-Check to see if a given url is for this fetcher
-"""
-return ud.type in ['crate']
-
-def recommends_checksum(self, urldata):
-return False
-
-def urldata_init(self, ud, d):
-"""
-Sets up to download the respective crate from crates.io
-"""
-
-if ud.type == 'crate':
-self._crate_urldata_init(ud, d)
-
-super(Crate, self).urldata_init(ud, d)
-
-def _crate_urldata_init(self, ud, d):
-"""
-Sets up the download for a crate
-"""
-
-# URL syntax is: crate://NAME/VERSION
-# break the URL apart by /
-parts = ud.url.split('/')
-if len(parts) < 5:
-raise bb.fetch2.ParameterError("Invalid URL: Must be 
crate://HOST/NAME/VERSION", ud.url)
-
-# last field is version
-version = parts[len(parts) - 1]
-# second to last field is name
-name = parts[len(parts) - 2]
-# host (this is to allow custom crate registries to be specified
-host = '/'.join(parts[2:len(parts) - 2])
-
-# if using upstream just fix it up nicely
-if host == 'crates.io':
-host = 'crates.io/api/v1/crates'
-
-ud.url = "https://%s/%s/%s/download; % (host, name, version)
-ud.parm['downloadfilename'] = "%s-%s.crate" % (name, version)
-ud.parm['name'] = name
-
-logger.debug(2, "Fetching %s to %s" % (ud.url, 
ud.parm['downloadfilename']))
-
-def unpack(self, ud, rootdir, d):
-"""
-Uses the crate to build the necessary paths for cargo to utilize it
-"""
-if ud.type == 'crate':
-return self._crate_unpack(ud, rootdir, d)
-else:
-super(Crate, self).unpack(ud, rootdir, d)
-
-def _crate_unpack(self, 

[OE-core] [PATCH] sstate: Improve failure to obtain archive message/handling

2022-01-19 Thread Richard Purdie
The bb.fatal() case where sstate failed to find/use an archive in setcene tasks
is suboptimal. Bitbakes handling of setscene tasks will be to warn but the fatal
will turn this into an error, despite the real task being rerun.

In these failure cases other messages would usually have been printed so turn
this into a warning and raise a handled exception status so that bitbake knows
to fail the task but not print more messages.

Signed-off-by: Richard Purdie 
---
 meta/classes/sstate.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 49d54bc94a7..b45da4fb231 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -795,7 +795,9 @@ def sstate_setscene(d):
 shared_state = sstate_state_fromvars(d)
 accelerate = sstate_installpkg(shared_state, d)
 if not accelerate:
-bb.fatal("No suitable staging package found")
+msg = "No sstate archive obtainable, will run full task instead."
+bb.warn(msg)
+raise bb.BBHandledException(msg)
 
 python sstate_task_prefunc () {
 shared_state = sstate_state_fromvars(d)
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160742): 
https://lists.openembedded.org/g/openembedded-core/message/160742
Mute This Topic: https://lists.openembedded.org/mt/88540162/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] kernel: add missing path to search for debug files

2022-01-19 Thread Richard Purdie
On Wed, 2022-01-19 at 12:57 +0100, Andrej Valek wrote:
> Since explicit debug package creation via ${KERNEL_PACKAGE_NAME}-dbg has
> been added to kernel, it has to cover all PACKAGE_DEBUG_SPLIT_STYLE
> options. For ex. when the variable "debug-file-directory" package search
> path has to be set explicitly, otherwise it will not find any files.
> 
> Signed-off-by: Andrej Valek 
> ---
>  meta/classes/kernel.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 473e28be47..9ea201c936 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -647,6 +647,7 @@ FILES:${KERNEL_PACKAGE_NAME}-image = ""
>  FILES:${KERNEL_PACKAGE_NAME}-dev = "/boot/System.map* /boot/Module.symvers* 
> /boot/config* ${KERNEL_SRC_PATH} 
> ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
>  FILES:${KERNEL_PACKAGE_NAME}-vmlinux = "/boot/vmlinux-${KERNEL_VERSION_NAME}"
>  FILES:${KERNEL_PACKAGE_NAME}-modules = ""
> +FILES:${KERNEL_PACKAGE_NAME}-dbg = "/usr/lib/debug /usr/src/debug"

This seems to highlight that we have no tests for KERNEL_PACKAGE_NAME. At the
very least we need a bugzilla entry for creating some...

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160741): 
https://lists.openembedded.org/g/openembedded-core/message/160741
Mute This Topic: https://lists.openembedded.org/mt/88532225/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] expat CVE "heads up"

2022-01-19 Thread Steve Sakoman
I currently have CVE fixes under test for expat CVE-2021-45960,
CVE-2021-46143, and CVE-2022-22822 through CVE-2022-22827

Just wanted to make sure no one else wastes time working on these!

Steve

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



[OE-core] [meta-oe][PATCH 2/2] gspell: inherit vala

2022-01-19 Thread Markus Volk
This is needed to get the vala gir files created (needed e.g. to build geary).

Signed-off-by: Markus Volk 
---
 meta-gnome/recipes-gnome/gspell/gspell_1.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gspell/gspell_1.9.1.bb 
b/meta-gnome/recipes-gnome/gspell/gspell_1.9.1.bb
index d6de146b1..aba9be87a 100644
--- a/meta-gnome/recipes-gnome/gspell/gspell_1.9.1.bb
+++ b/meta-gnome/recipes-gnome/gspell/gspell_1.9.1.bb
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=8c2e1ec1540fb3e0beb68361344cba7e"
 
 DEPENDS = "gtk+3 iso-codes enchant2"
 
-inherit gnomebase gettext gobject-introspection
+inherit gnomebase gettext gobject-introspection vala
 
 SRC_URI[archive.sha256sum] = 
"dcbb769dfdde8e3c0a8ed3102ce7e661abbf7ddf85df08b29915e92cd723abdd"
-- 
2.25.1


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



[OE-core] [meta-oe][PATCH 1/2] gmime: inherit vala

2022-01-19 Thread Markus Volk
This is needed to get the vala gir files created (needed e.g. to build geary).

Signed-off-by: Markus Volk 
---
 meta-oe/recipes-gnome/gmime/gmime_3.2.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-gnome/gmime/gmime_3.2.7.bb 
b/meta-oe/recipes-gnome/gmime/gmime_3.2.7.bb
index 7f38d42be..d89613d74 100644
--- a/meta-oe/recipes-gnome/gmime/gmime_3.2.7.bb
+++ b/meta-oe/recipes-gnome/gmime/gmime_3.2.7.bb
@@ -5,7 +5,7 @@ SECTION = "libs"
 
 DEPENDS = "glib-2.0 zlib"
 
-inherit gnomebase gobject-introspection
+inherit gnomebase gobject-introspection vala
 
 SRC_URI += "file://iconv-detect.h \
 file://nodolt.patch"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160738): 
https://lists.openembedded.org/g/openembedded-core/message/160738
Mute This Topic: https://lists.openembedded.org/mt/88534915/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] glibc : Fix CVE-2022-23219

2022-01-19 Thread Sundeep KOKKONDA
Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commit;h=226b46770c82899b555986583294b049c6ec9b40]
Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commit;h=ef972a4c50014a16132b5c75571cfb6b30bef136]

Signed-off-by: pgowda 
---
 .../glibc/glibc/0001-CVE-2022-23219.patch | 55 
 .../glibc/glibc/0002-CVE-2022-23219.patch | 89 +++
 meta/recipes-core/glibc/glibc_2.34.bb |  2 +
 3 files changed, 146 insertions(+)
 create mode 100644 meta/recipes-core/glibc/glibc/0001-CVE-2022-23219.patch
 create mode 100644 meta/recipes-core/glibc/glibc/0002-CVE-2022-23219.patch

diff --git a/meta/recipes-core/glibc/glibc/0001-CVE-2022-23219.patch 
b/meta/recipes-core/glibc/glibc/0001-CVE-2022-23219.patch
new file mode 100644
index 00..261c2909db
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0001-CVE-2022-23219.patch
@@ -0,0 +1,55 @@
+From 226b46770c82899b555986583294b049c6ec9b40 Mon Sep 17 00:00:00 2001
+From: Florian Weimer 
+Date: Mon, 17 Jan 2022 10:21:34 +0100
+Subject: [PATCH] CVE-2022-23219: Buffer overflow in sunrpc clnt_create for
+ "unix" (bug 22542)
+
+Processing an overlong pathname in the sunrpc clnt_create function
+results in a stack-based buffer overflow.
+
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commit;h=226b46770c82899b555986583294b049c6ec9b40]
+CVE: CVE-2022-23219
+
+Reviewed-by: Siddhesh Poyarekar 
+Signed-off-by: Pgowda 
+---
+ NEWS  |  4 +++-
+ sunrpc/clnt_gen.c | 10 +++---
+ 2 files changed, 10 insertions(+), 4 deletions(-)
+
+diff --git a/NEWS b/NEWS
+index ddd95a8329..38a9ddb2cf 100644
+--- a/NEWS
 b/NEWS
+@@ -206,6 +206,10 @@ Security related changes:
+   CVE-2022-23218: Passing an overlong file name to the svcunix_create
+   legacy function could result in a stack-based buffer overflow.
+ 
++  CVE-2022-23219: Passing an overlong file name to the clnt_create
++  legacy function could result in a stack-based buffer overflow when
++  using the "unix" protocol.  Reported by Martin Sebor.
++
+ The following bugs are resolved with this release:
+ 
+   [4737] libc: fork is not async-signal-safe
+diff --git a/sunrpc/clnt_gen.c b/sunrpc/clnt_gen.c
+index 13ced8994e..b44357cd88 100644
+--- a/sunrpc/clnt_gen.c
 b/sunrpc/clnt_gen.c
+@@ -57,9 +57,13 @@ clnt_create (const char *hostname, u_lon
+ 
+   if (strcmp (proto, "unix") == 0)
+ {
+-  memset ((char *), 0, sizeof (sun));
+-  sun.sun_family = AF_UNIX;
+-  strcpy (sun.sun_path, hostname);
++  if (__sockaddr_un_set (, hostname) < 0)
++  {
++struct rpc_createerr *ce = _rpc_createerr ();
++ce->cf_stat = RPC_SYSTEMERROR;
++ce->cf_error.re_errno = errno;
++return NULL;
++  }
+   sock = RPC_ANYSOCK;
+   client = clntunix_create (, prog, vers, , 0, 0);
+   if (client == NULL)
diff --git a/meta/recipes-core/glibc/glibc/0002-CVE-2022-23219.patch 
b/meta/recipes-core/glibc/glibc/0002-CVE-2022-23219.patch
new file mode 100644
index 00..6779e9afdf
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0002-CVE-2022-23219.patch
@@ -0,0 +1,89 @@
+From ef972a4c50014a16132b5c75571cfb6b30bef136 Mon Sep 17 00:00:00 2001
+From: Martin Sebor 
+Date: Mon, 17 Jan 2022 10:21:34 +0100
+Subject: [PATCH] sunrpc: Test case for clnt_create "unix" buffer overflow (bug
+ 22542)
+
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commit;h=ef972a4c50014a16132b5c75571cfb6b30bef136]
+CVE: CVE-2022-23219
+
+Reviewed-by: Siddhesh Poyarekar 
+Signed-off-by: Pgowda 
+---
+ sunrpc/Makefile   |  5 -
+ sunrpc/tst-bug22542.c | 44 +++
+ 2 files changed, 48 insertions(+), 1 deletion(-)
+ create mode 100644 sunrpc/tst-bug22542.c
+
+diff --git a/sunrpc/Makefile b/sunrpc/Makefile
+index 9a31fe48b9..183ef3dc55 100644
+--- a/sunrpc/Makefile
 b/sunrpc/Makefile
+@@ -65,7 +65,7 @@ shared-only-routines = $(routines)
+ endif
+ 
+ tests = tst-xdrmem tst-xdrmem2 test-rpcent tst-udp-error tst-udp-timeout \
+-  tst-udp-nonblocking tst-bug28768
++  tst-udp-nonblocking tst-bug22542 tst-bug28768
+ xtests := tst-getmyaddr
+ 
+ ifeq ($(have-thread-library),yes)
+@@ -110,6 +110,8 @@ $(objpfx)tst-udp-nonblocking: $(common-o
+ $(objpfx)tst-udp-garbage: \
+   $(common-objpfx)linkobj/libc.so $(shared-thread-library)
+ 
++$(objpfx)tst-bug22542: $(common-objpfx)linkobj/libc.so
++
+ else # !have-GLIBC_2.31
+ 
+ routines = $(routines-for-nss)
+diff --git a/sunrpc/tst-bug22542.c b/sunrpc/tst-bug22542.c
+new file mode 100644
+index 00..d6cd79787b
+--- /dev/null
 b/sunrpc/tst-bug22542.c
+@@ -0,0 +1,44 @@
++/* Test to verify that overlong hostname is rejected by clnt_create
++   and doesn't cause a buffer overflow (bug  22542).
++
++   Copyright (C) 2022 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the 

[OE-core] [PATCH 1/2] glibc : Fix CVE-2022-23218

2022-01-19 Thread Sundeep KOKKONDA
Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commit;h=e368b12f6c16b6888dda99ba641e999b9c9643c8]
Upstream-Status: Backport
[https://sourceware.org/git/?p=glibc.git;a=commit;h=f545ad4928fa1f27a3075265182b38a4f939a5f7]

Signed-off-by: pgowda 
---
 .../glibc/glibc/0001-CVE-2022-23218.patch | 178 ++
 .../glibc/glibc/0002-CVE-2022-23218.patch | 126 +
 meta/recipes-core/glibc/glibc_2.34.bb |   2 +
 3 files changed, 306 insertions(+)
 create mode 100644 meta/recipes-core/glibc/glibc/0001-CVE-2022-23218.patch
 create mode 100644 meta/recipes-core/glibc/glibc/0002-CVE-2022-23218.patch

diff --git a/meta/recipes-core/glibc/glibc/0001-CVE-2022-23218.patch 
b/meta/recipes-core/glibc/glibc/0001-CVE-2022-23218.patch
new file mode 100644
index 00..4eb1fb7fbe
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0001-CVE-2022-23218.patch
@@ -0,0 +1,178 @@
+From e368b12f6c16b6888dda99ba641e999b9c9643c8 Mon Sep 17 00:00:00 2001
+From: Florian Weimer 
+Date: Mon, 17 Jan 2022 10:21:34 +0100
+Subject: [PATCH] socket: Add the __sockaddr_un_set function
+
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commit;h=e368b12f6c16b6888dda99ba641e999b9c9643c8]
+CVE: CVE-2022-23219
+
+Reviewed-by: Siddhesh Poyarekar 
+Signed-off-by: Pgowda 
+---
+ include/sys/un.h | 12 +++
+ socket/Makefile  |  6 +++-
+ socket/sockaddr_un_set.c | 41 
+ socket/tst-sockaddr_un_set.c | 62 
+ 4 files changed, 120 insertions(+), 1 deletion(-)
+ create mode 100644 socket/sockaddr_un_set.c
+ create mode 100644 socket/tst-sockaddr_un_set.c
+
+diff --git a/include/sys/un.h b/include/sys/un.h
+index bdbee99980..152afd9fc7 100644
+--- a/include/sys/un.h
 b/include/sys/un.h
+@@ -1 +1,13 @@
+ #include 
++
++#ifndef _ISOMAC
++
++/* Set ADDR->sun_family to AF_UNIX and ADDR->sun_path to PATHNAME.
++   Return 0 on success or -1 on failure (due to overlong PATHNAME).
++   The caller should always use sizeof (struct sockaddr_un) as the
++   socket address length, disregaring the length of PATHNAME.
++   Only concrete (non-abstract) pathnames are supported.  */
++int __sockaddr_un_set (struct sockaddr_un *addr, const char *pathname)
++  attribute_hidden;
++
++#endif /* _ISOMAC */
+diff --git a/socket/Makefile b/socket/Makefile
+index 39333e10ca..156eec6c85 100644
+--- a/socket/Makefile
 b/socket/Makefile
+@@ -29,13 +29,17 @@ headers:= sys/socket.h sys/un.h bits/sockaddr.h 
bits/socket.h \
+ routines := accept bind connect getpeername getsockname getsockopt\
+   listen recv recvfrom recvmsg send sendmsg sendto\
+   setsockopt shutdown socket socketpair isfdtype opensock \
+-  sockatmark accept4 recvmmsg sendmmsg
++  sockatmark accept4 recvmmsg sendmmsg sockaddr_un_set
+ 
+ tests := \
+   tst-accept4 \
+   tst-sockopt \
+   # tests
+ 
++tests-internal := \
++  tst-sockaddr_un_set \
++  # tests-internal
++
+ tests-time64 := \
+   tst-sockopt-time64 \
+   # tests
+diff --git a/socket/sockaddr_un_set.c b/socket/sockaddr_un_set.c
+new file mode 100644
+index 00..0bd40dc34e
+--- /dev/null
 b/socket/sockaddr_un_set.c
+@@ -0,0 +1,41 @@
++/* Set the sun_path member of struct sockaddr_un.
++   Copyright (C) 2022 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   .  */
++
++#include 
++#include 
++#include 
++#include 
++
++int
++__sockaddr_un_set (struct sockaddr_un *addr, const char *pathname)
++{
++  size_t name_length = strlen (pathname);
++
++  /* The kernel supports names of exactly sizeof (addr->sun_path)
++ bytes, without a null terminator, but userspace does not; see the
++ SUN_LEN macro.  */
++  if (name_length >= sizeof (addr->sun_path))
++{
++  __set_errno (EINVAL); /* Error code used by the kernel.  */
++  return -1;
++}
++
++  addr->sun_family = AF_UNIX;
++  memcpy (addr->sun_path, pathname, name_length + 1);
++  return 0;
++}
+diff --git a/socket/tst-sockaddr_un_set.c b/socket/tst-sockaddr_un_set.c
+new file mode 100644
+index 00..29c2a81afd
+--- /dev/null
 b/socket/tst-sockaddr_un_set.c
+@@ -0,0 +1,62 @@
++/* Test the __sockaddr_un_set function.
++   

[OE-core] [PATCH] sstate: Show better exception information for failures

2022-01-19 Thread Richard Purdie
Errors like

SState: cannot test 
file://universal/5f/10/sstate:m4-native:x86_64-linux:1.4.19:r0:x86_64:7:5f108b175274798b17950b5ee686bf61445e90fb204d7f795e5b879b5603e88b_deploy_source_date_epoch.tar.zst:
 'GIT_SSL_CAINFO'

aren't useful, try and improve on this.

Signed-off-by: Richard Purdie 
---
 meta/classes/sstate.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 8ee32dba2d5..49d54bc94a7 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -994,9 +994,9 @@ def sstate_checkhashes(sq_data, d, siginfo=False, 
currentcount=0, summary=True,
 found.add(tid)
 missed.remove(tid)
 except bb.fetch2.FetchError as e:
-bb.debug(2, "SState: Unsuccessful fetch test for %s (%s)" % 
(srcuri, e))
+bb.debug(2, "SState: Unsuccessful fetch test for %s (%s)" % 
(srcuri, repr(e)))
 except Exception as e:
-bb.error("SState: cannot test %s: %s" % (srcuri, e))
+bb.error("SState: cannot test %s: %s" % (srcuri, repr(e)))
 
 if progress:
 bb.event.fire(bb.event.ProcessProgress(msg, len(tasklist) - 
thread_worker.tasks.qsize()), d)
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160735): 
https://lists.openembedded.org/g/openembedded-core/message/160735
Mute This Topic: https://lists.openembedded.org/mt/88534047/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] kernel: add missing path to search for debug files

2022-01-19 Thread Andrej Valek
Since explicit debug package creation via ${KERNEL_PACKAGE_NAME}-dbg has
been added to kernel, it has to cover all PACKAGE_DEBUG_SPLIT_STYLE
options. For ex. when the variable "debug-file-directory" package search
path has to be set explicitly, otherwise it will not find any files.

Signed-off-by: Andrej Valek 
---
 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 473e28be47..9ea201c936 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -647,6 +647,7 @@ FILES:${KERNEL_PACKAGE_NAME}-image = ""
 FILES:${KERNEL_PACKAGE_NAME}-dev = "/boot/System.map* /boot/Module.symvers* 
/boot/config* ${KERNEL_SRC_PATH} 
${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
 FILES:${KERNEL_PACKAGE_NAME}-vmlinux = "/boot/vmlinux-${KERNEL_VERSION_NAME}"
 FILES:${KERNEL_PACKAGE_NAME}-modules = ""
+FILES:${KERNEL_PACKAGE_NAME}-dbg = "/usr/lib/debug /usr/src/debug"
 RDEPENDS:${KERNEL_PACKAGE_NAME} = "${KERNEL_PACKAGE_NAME}-base (= 
${EXTENDPKGV})"
 # Allow machines to override this dependency if kernel image files are
 # not wanted in images as standard
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160734): 
https://lists.openembedded.org/g/openembedded-core/message/160734
Mute This Topic: https://lists.openembedded.org/mt/88532225/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] iproute2: update 5.15.0 to 5.16.0

2022-01-19 Thread Changhyeok Bae
Thank you.

2022년 1월 19일 (수) 11:41, Richard Purdie 님이
작성:

> On Tue, 2022-01-18 at 10:54 -0800, Khem Raj wrote:
> > On Mon, Jan 17, 2022 at 5:31 PM Changhyeok Bae 
> wrote:
> > >
> > > 0001-lib-fix-ax25.h-include-for-musl.patch is the fix for musl and
> comes
> > > from upstream.
> > >
> > > Signed-off-by: Changhyeok Bae 
> > > ---
> > >  ...0001-lib-fix-ax25.h-include-for-musl.patch | 37 +++
> > >  ...{iproute2_5.15.0.bb => iproute2_5.16.0.bb} |  3 +-
> > >  2 files changed, 39 insertions(+), 1 deletion(-)
> > >  create mode 100644
> meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> > >  rename meta/recipes-connectivity/iproute2/{iproute2_5.15.0.bb =>
> iproute2_5.16.0.bb} (64%)
> > >
> > > diff --git
> a/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> b/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> > > new file mode 100644
> > > index 00..338def399e
> > > --- /dev/null
> > > +++
> b/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> > > @@ -0,0 +1,37 @@
> > > +From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001
> > > +From: Sam James 
> > > +Date: Thu, 13 Jan 2022 08:14:13 +
> > > +Subject: [PATCH] lib: fix ax25.h include for musl
> > > +
> > > +ax25.h isn't guaranteed to be avilable in netax25/*;
> > > +it's dependent on our choice of libc (it's not available
> > > +on musl at least) [0].
> > > +
> > > +Let's use the version from linux-headers.
> > > +
> > > +[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers
> > > +Bug: https://bugs.gentoo.org/831102
> > > +
> > > +Signed-off-by: Sam James 
> > > +Signed-off-by: Stephen Hemminger 
> > > +
> > > +Upstream-Status: Backport
> >
> > please mention
> https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=8bced38a941a181f1468fa39541e872e51b6022f
> > here to point to backport link from upstream
>
> Thanks, I tweaked the patch to add that.
>
> Cheers,
>
> Richard
>
> --
Thanks
Changhyeok

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160733): 
https://lists.openembedded.org/g/openembedded-core/message/160733
Mute This Topic: https://lists.openembedded.org/mt/88500407/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 10/39] logrotate: update 3.18.1 -> 3.19.0, drop rotate-across-filesystems patches

2022-01-19 Thread Robert Yang

Hi Alexander,

On 1/19/22 6:40 PM, Alexander Kanavin wrote:

Upstream review and request to address it got no reaction
from the author, and the patches are an ongoing rebase burden,
so if someone needs this feature, please complete
the upstreaming work first.


Yes, we can drop it, and work upstream first if needed.

// Robert



Signed-off-by: Alexander Kanavin 
---
  meta/lib/oeqa/runtime/cases/logrotate.py  |  14 +-
  .../logrotate/0001-Update-the-manual.patch|  39 -
  .../logrotate/act-as-mv-when-rotate.patch | 149 --
  .../disable-check-different-filesystems.patch |  36 -
  ...ogrotate_3.18.1.bb => logrotate_3.19.0.bb} |   8 +-
  5 files changed, 9 insertions(+), 237 deletions(-)
  delete mode 100644 
meta/recipes-extended/logrotate/logrotate/0001-Update-the-manual.patch
  delete mode 100644 
meta/recipes-extended/logrotate/logrotate/act-as-mv-when-rotate.patch
  delete mode 100644 
meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch
  rename meta/recipes-extended/logrotate/{logrotate_3.18.1.bb => 
logrotate_3.19.0.bb} (92%)

diff --git a/meta/lib/oeqa/runtime/cases/logrotate.py 
b/meta/lib/oeqa/runtime/cases/logrotate.py
index a4efcd07c0..2bff08f9da 100644
--- a/meta/lib/oeqa/runtime/cases/logrotate.py
+++ b/meta/lib/oeqa/runtime/cases/logrotate.py
@@ -17,7 +17,7 @@ class LogrotateTest(OERuntimeTestCase):
  
  @classmethod

  def tearDownClass(cls):
-cls.tc.target.run('mv -f $HOME/wtmp.oeqabak /etc/logrotate.d/wtmp && 
rm -rf $HOME/logrotate_dir')
+cls.tc.target.run('mv -f $HOME/wtmp.oeqabak /etc/logrotate.d/wtmp && 
rm -rf /var/log//logrotate_dir')
  cls.tc.target.run('rm -rf /var/log/logrotate_testfile && rm -rf 
/etc/logrotate.d/logrotate_testfile')
  
  @OETestDepends(['ssh.SSHTest.test_ssh'])

@@ -29,17 +29,17 @@ class LogrotateTest(OERuntimeTestCase):
  msg = ('Could not create/update /var/log/wtmp with touch')
  self.assertEqual(status, 0, msg = msg)
  
-status, output = self.target.run('mkdir $HOME/logrotate_dir')

+status, output = self.target.run('mkdir /var/log//logrotate_dir')
  msg = ('Could not create logrotate_dir. Output: %s' % output)
  self.assertEqual(status, 0, msg = msg)
  
-status, output = self.target.run('echo "create \n olddir $HOME/logrotate_dir \n include /etc/logrotate.d/wtmp" > /tmp/logrotate-test.conf')

+status, output = self.target.run('echo "create \n olddir 
/var/log//logrotate_dir \n include /etc/logrotate.d/wtmp" > 
/tmp/logrotate-test.conf')
  msg = ('Could not write to /tmp/logrotate-test.conf')
  self.assertEqual(status, 0, msg = msg)
  
  # If logrotate fails to rotate the log, view the verbose output of logrotate to see what prevented it

  _, logrotate_output = self.target.run('logrotate -vf 
/tmp/logrotate-test.conf')
-status, _ = self.target.run('find $HOME/logrotate_dir -type f | grep 
wtmp.1')
+status, _ = self.target.run('find /var/log//logrotate_dir -type f | 
grep wtmp.1')
  msg = ("logrotate did not successfully rotate the wtmp log. Output from 
logrotate -vf: \n%s" % (logrotate_output))
  self.assertEqual(status, 0, msg = msg)
 
@@ -54,17 +54,17 @@ class LogrotateTest(OERuntimeTestCase):

  msg = ('Could not write to /etc/logrotate.d/logrotate_testfile')
  self.assertEqual(status, 0, msg = msg)
  
-status, output = self.target.run('echo "create \n olddir $HOME/logrotate_dir \n include /etc/logrotate.d/logrotate_testfile" > /tmp/logrotate-test2.conf')

+status, output = self.target.run('echo "create \n olddir 
/var/log//logrotate_dir \n include /etc/logrotate.d/logrotate_testfile" > 
/tmp/logrotate-test2.conf')
  msg = ('Could not write to /tmp/logrotate_test2.conf')
  self.assertEqual(status, 0, msg = msg)
  
-status, output = self.target.run('find $HOME/logrotate_dir -type f | grep logrotate_testfile.1')

+status, output = self.target.run('find /var/log//logrotate_dir -type f 
| grep logrotate_testfile.1')
  msg = ('A rotated log for logrotate_testfile is already present in 
logrotate_dir')
  self.assertEqual(status, 1, msg = msg)
  
  # If logrotate fails to rotate the log, view the verbose output of logrotate instead of just listing the files in olddir

  _, logrotate_output = self.target.run('logrotate -vf 
/tmp/logrotate-test2.conf')
-status, _ = self.target.run('find $HOME/logrotate_dir -type f | grep 
logrotate_testfile.1')
+status, _ = self.target.run('find /var/log//logrotate_dir -type f | 
grep logrotate_testfile.1')
  msg = ('logrotate did not successfully rotate the logrotate_test log. 
Output from logrotate -vf: \n%s' % (logrotate_output))
  self.assertEqual(status, 0, msg = msg)
  
diff --git a/meta/recipes-extended/logrotate/logrotate/0001-Update-the-manual.patch 

[OE-core] [PATCH 39/39] p11-kit: update 0.24.0 -> 0.24.1

2022-01-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../p11-kit/{p11-kit_0.24.0.bb => p11-kit_0.24.1.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/p11-kit/{p11-kit_0.24.0.bb => p11-kit_0.24.1.bb} 
(96%)

diff --git a/meta/recipes-support/p11-kit/p11-kit_0.24.0.bb 
b/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
similarity index 96%
rename from meta/recipes-support/p11-kit/p11-kit_0.24.0.bb
rename to meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
index 7fe3c37fde..59cbb67961 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.24.0.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
@@ -11,7 +11,7 @@ DEPENDS = "libtasn1 libtasn1-native libffi"
 DEPENDS:append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else 
''}"
 
 SRC_URI = "git://github.com/p11-glue/p11-kit;branch=master;protocol=https"
-SRCREV = "34826623f58399b24c21f1788e2cdaea34521b7b"
+SRCREV = "dd0590d4e583f107e3e9fafe9ed754149da335d0"
 S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= ""
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160731): 
https://lists.openembedded.org/g/openembedded-core/message/160731
Mute This Topic: https://lists.openembedded.org/mt/88531430/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/39] ffmpeg: upgrade 4.4.1 -> 5.0

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

libavresample has been removed; libswresample is the replacement.

Signed-off-by: Alexander Kanavin 
---
 ...e-assembly-with-full-path-from-sourc.patch |  21 +-
 .../ffmpeg/{ffmpeg_4.4.1.bb => ffmpeg_5.0.bb} |   9 +-
 ...st-libav-fix-build-with-ffmpeg-5.0.0.patch | 346 ++
 .../gstreamer/gstreamer1.0-libav_1.18.5.bb|   4 +-
 4 files changed, 369 insertions(+), 11 deletions(-)
 rename meta/recipes-multimedia/ffmpeg/{ffmpeg_4.4.1.bb => ffmpeg_5.0.bb} (95%)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch

diff --git 
a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch
 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch
index 2b4ca0e9b9..7d0a06f85b 100644
--- 
a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch
+++ 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch
@@ -1,4 +1,4 @@
-From 24a58d70cbb3997e471366bd5afe54be9007bfb1 Mon Sep 17 00:00:00 2001
+From 4a891e1eddbf63f32fe769b5bff289f6748abf45 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Tue, 10 Nov 2020 15:32:14 +
 Subject: [PATCH] libavutil: include assembly with full path from source root
@@ -6,8 +6,9 @@ Subject: [PATCH] libavutil: include assembly with full path 
from source root
 Otherwise nasm writes the full host-specific paths into .o
 output, which breaks binary reproducibility.
 
-Upstream-Status: Submitted [by email to 
jamr...@gmail.com,ffmpeg-de...@ffmpeg.org]
+Upstream-Status: Submitted 
[http://ffmpeg.org/pipermail/ffmpeg-devel/2022-January/291781.html]
 Signed-off-by: Alexander Kanavin 
+
 ---
  libavutil/x86/cpuid.asm  | 2 +-
  libavutil/x86/emms.asm   | 2 +-
@@ -15,7 +16,8 @@ Signed-off-by: Alexander Kanavin 
  libavutil/x86/float_dsp.asm  | 2 +-
  libavutil/x86/lls.asm| 2 +-
  libavutil/x86/pixelutils.asm | 2 +-
- 6 files changed, 6 insertions(+), 6 deletions(-)
+ libavutil/x86/tx_float.asm   | 2 +-
+ 7 files changed, 7 insertions(+), 7 deletions(-)
 
 diff --git a/libavutil/x86/cpuid.asm b/libavutil/x86/cpuid.asm
 index c3f7866..766f77f 100644
@@ -95,3 +97,16 @@ index 36c57c5..8b45ead 100644
  
  SECTION .text
  
+diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm
+index 4d2283f..ea39f21 100644
+--- a/libavutil/x86/tx_float.asm
 b/libavutil/x86/tx_float.asm
+@@ -29,7 +29,7 @@
+ ;   replace some shuffles with vblends?
+ ;   avx512 split-radix
+ 
+-%include "x86util.asm"
++%include "libavutil/x86/x86util.asm"
+ 
+ %if ARCH_X86_64
+ %define ptr resq
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.bb
similarity index 95%
rename from meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb
rename to meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.bb
index 3ba07c31d6..4ba5ff4537 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.bb
@@ -11,7 +11,6 @@ LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 
'gpl', 'GPLv2+', 'LG
 LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 
'LGPLv2.1+', d)}"
 LICENSE:libavfilter = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 
'LGPLv2.1+', d)}"
 LICENSE:libavformat = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 
'LGPLv2.1+', d)}"
-LICENSE:libavresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 
'GPLv2+', 'LGPLv2.1+', d)}"
 LICENSE:libavutil = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 
'LGPLv2.1+', d)}"
 LICENSE:libpostproc = "GPLv2+"
 LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 
'GPLv2+', 'LGPLv2.1+', d)}"
@@ -26,7 +25,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \

file://0001-libavutil-include-assembly-with-full-path-from-sourc.patch \
"
-SRC_URI[sha256sum] = 
"eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02"
+SRC_URI[sha256sum] = 
"51e919f7d205062c0fd4fae6243a84850391115104ccf1efc451733bc0ac7298"
 
 # Build fails when thumb is enabled: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717
 ARM_INSTRUCTION_SET:armv4 = "arm"
@@ -41,7 +40,7 @@ DEPENDS = "nasm-native"
 
 inherit autotools pkgconfig
 
-PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale 
postproc avresample \
+PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale 
postproc \
alsa bzlib lzma pic pthreads shared theora zlib \
${@bb.utils.contains('AVAILTUNES', 'mips32r2', 'mips32r2', 
'', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', 
'', d)}"
@@ -54,7 +53,6 @@ PACKAGECONFIG[avformat] = 

[OE-core] [PATCH 37/39] liburcu: upgrade 0.13.0 -> 0.13.1

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../liburcu/{liburcu_0.13.0.bb => liburcu_0.13.1.bb}   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-support/liburcu/{liburcu_0.13.0.bb => liburcu_0.13.1.bb} 
(86%)

diff --git a/meta/recipes-support/liburcu/liburcu_0.13.0.bb 
b/meta/recipes-support/liburcu/liburcu_0.13.1.bb
similarity index 86%
rename from meta/recipes-support/liburcu/liburcu_0.13.0.bb
rename to meta/recipes-support/liburcu/liburcu_0.13.1.bb
index aba8d070ed..7e53e1cf7b 100644
--- a/meta/recipes-support/liburcu/liburcu_0.13.0.bb
+++ b/meta/recipes-support/liburcu/liburcu_0.13.1.bb
@@ -12,8 +12,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=e548d28737289d75a8f1e01ba2fd7825 \
 
 SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2;
 
-SRC_URI[md5sum] = "8cb75dbb05774c03e66c63cb3186dd59"
-SRC_URI[sha256sum] = 
"cbb20dbe1a892c2a4d8898bac4316176e585392693d498766ccbbc68cf20ba20"
+SRC_URI[sha256sum] = 
"3213f33d2b8f710eb920eb1abb279ec04bf8ae6361f44f2513c28c20d3363083"
 
 S = "${WORKDIR}/userspace-rcu-${PV}"
 inherit autotools multilib_header
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160729): 
https://lists.openembedded.org/g/openembedded-core/message/160729
Mute This Topic: https://lists.openembedded.org/mt/88531428/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/39] libsoup: upgrade 3.0.3 -> 3.0.4

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../libsoup/{libsoup_3.0.3.bb => libsoup_3.0.4.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libsoup/{libsoup_3.0.3.bb => libsoup_3.0.4.bb} 
(94%)

diff --git a/meta/recipes-support/libsoup/libsoup_3.0.3.bb 
b/meta/recipes-support/libsoup/libsoup_3.0.4.bb
similarity index 94%
rename from meta/recipes-support/libsoup/libsoup_3.0.3.bb
rename to meta/recipes-support/libsoup/libsoup_3.0.4.bb
index d169810e27..ad35e0cdb9 100644
--- a/meta/recipes-support/libsoup/libsoup_3.0.3.bb
+++ b/meta/recipes-support/libsoup/libsoup_3.0.4.bb
@@ -12,7 +12,7 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl 
nghttp2"
 SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 
 SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz"
-SRC_URI[sha256sum] = 
"5165b04dadae3027e9a2882d868694b4586affd778c194982ae4de2373d2e25e"
+SRC_URI[sha256sum] = 
"5bd38b5e091f707fd7fa3ed7c37aacca3f8e16c65787f1cc17dc38d1dcde567b"
 
 PROVIDES = "libsoup-3.0"
 CVE_PRODUCT = "libsoup"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160728): 
https://lists.openembedded.org/g/openembedded-core/message/160728
Mute This Topic: https://lists.openembedded.org/mt/88531427/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/39] diffoscope: upgrade 199 -> 200

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../diffoscope/{diffoscope_199.bb => diffoscope_200.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/diffoscope/{diffoscope_199.bb => 
diffoscope_200.bb} (92%)

diff --git a/meta/recipes-support/diffoscope/diffoscope_199.bb 
b/meta/recipes-support/diffoscope/diffoscope_200.bb
similarity index 92%
rename from meta/recipes-support/diffoscope/diffoscope_199.bb
rename to meta/recipes-support/diffoscope/diffoscope_200.bb
index 3645ff1e6e..4239b34d9d 100644
--- a/meta/recipes-support/diffoscope/diffoscope_199.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_200.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "diffoscope"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"7b07b8ff34e5fe0e57acc8b02bcb9303ae254c40f357fb7ed805e9f9f7c7686f"
+SRC_URI[sha256sum] = 
"2fadac87b41cd5238fad7a624bab47ff5cd4c1f70c523e4e9cf6706c9d1a5e53"
 
 RDEPENDS:${PN} += "binutils vim squashfs-tools python3-libarchive-c 
python3-magic python3-rpm"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160727): 
https://lists.openembedded.org/g/openembedded-core/message/160727
Mute This Topic: https://lists.openembedded.org/mt/88531426/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/39] rpcsvc-proto: upgrade 1.4.2 -> 1.4.3

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb 
b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
index c08e9d52c3..dd7bd2b1be 100644
--- a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
+++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
@@ -15,9 +15,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=0daaf958d5531ab86169ec6e275e1517"
 SECTION = "libs"
 DEPENDS += "rpcsvc-proto-native"
 
-PV = "1.4.2"
+PV = "1.4.3"
 
-SRCREV = "6f54e54455c073d08a56ea627c6cd2355a40eb53"
+SRCREV = "71e0a12c04d130a78674ac6309eefffa6ecee612"
 
 SRC_URI = "git://github.com/thkukuk/${BPN};branch=master;protocol=https \
file://0001-Use-cross-compiled-rpcgen.patch \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160720): 
https://lists.openembedded.org/g/openembedded-core/message/160720
Mute This Topic: https://lists.openembedded.org/mt/88531418/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/39] webkitgtk: upgrade 2.34.2 -> 2.34.3

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

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

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.2.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.34.3.bb
similarity index 98%
rename from meta/recipes-sato/webkit/webkitgtk_2.34.2.bb
rename to meta/recipes-sato/webkit/webkitgtk_2.34.3.bb
index aa07139522..4b3d89ad82 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.34.2.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.34.3.bb
@@ -21,7 +21,7 @@ SRC_URI = 
"https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://reproducibility.patch \
"
 
-SRC_URI[sha256sum] = 
"584677d6e7cae12e27cdcc8e05b4cf73b54849a24afc3d7a40cec91016deff00"
+SRC_URI[sha256sum] = 
"0d2f37aa32e21a36e4dd5a5ce7ae5ce27435c29d6803b962b8c90cb0cc49c52d"
 
 inherit cmake pkgconfig gobject-introspection perlnative features_check 
upstream-version-is-even gtk-doc
 
-- 
2.20.1


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

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-sato/puzzles/puzzles_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb 
b/meta/recipes-sato/puzzles/puzzles_git.bb
index f2fe7d7b96..0bf878fc96 100644
--- a/meta/recipes-sato/puzzles/puzzles_git.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -10,7 +10,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI = "git://git.tartarus.org/simon/puzzles.git;branch=main"
 
 UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "b56c994b721f7cb5c5bcf09c5d695d4ae07d3052"
+SRCREV = "229d062d6ce63f0a5e00d2de62ee0fb389ccfdb6"
 PE = "2"
 PV = "0.0+git${SRCPV}"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160725): 
https://lists.openembedded.org/g/openembedded-core/message/160725
Mute This Topic: https://lists.openembedded.org/mt/88531424/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/39] xwayland: upgrade 21.1.3 -> 21.1.4

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../xwayland/{xwayland_21.1.3.bb => xwayland_21.1.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xwayland/{xwayland_21.1.3.bb => 
xwayland_21.1.4.bb} (95%)

diff --git a/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb 
b/meta/recipes-graphics/xwayland/xwayland_21.1.4.bb
similarity index 95%
rename from meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
rename to meta/recipes-graphics/xwayland/xwayland_21.1.4.bb
index 5d083e8ada..029123b875 100644
--- a/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
+++ b/meta/recipes-graphics/xwayland/xwayland_21.1.4.bb
@@ -10,7 +10,7 @@ LICENSE = "MIT-X"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880"
 
 SRC_URI = "https://www.x.org/archive/individual/xserver/xwayland-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"ebc2757f39fd4c7db1654fd86591589c211aa20172d43a54f77ae567cedbf8a2"
+SRC_URI[sha256sum] = 
"19f6795f31cfa8eb352b1e5b3c379f22ee6020e98701ff2cc679da8c4f1159f7"
 
 UPSTREAM_CHECK_REGEX = "xwayland-(?P\d+(\.(?!90\d)\d+)+)\.tar"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160724): 
https://lists.openembedded.org/g/openembedded-core/message/160724
Mute This Topic: https://lists.openembedded.org/mt/88531423/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/39] libinput: upgrade 1.19.2 -> 1.19.3

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../wayland/{libinput_1.19.2.bb => libinput_1.19.3.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/wayland/{libinput_1.19.2.bb => 
libinput_1.19.3.bb} (95%)

diff --git a/meta/recipes-graphics/wayland/libinput_1.19.2.bb 
b/meta/recipes-graphics/wayland/libinput_1.19.3.bb
similarity index 95%
rename from meta/recipes-graphics/wayland/libinput_1.19.2.bb
rename to meta/recipes-graphics/wayland/libinput_1.19.3.bb
index 590dee42e5..a7f13240d5 100644
--- a/meta/recipes-graphics/wayland/libinput_1.19.2.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.19.3.bb
@@ -16,7 +16,7 @@ SRC_URI = 
"http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
file://run-ptest \
file://determinism.patch \
"
-SRC_URI[sha256sum] = 
"0fc39f0af3ee1a77c60c34bc45391a4d0879169f7c0f7bbbeb5eef590b98b883"
+SRC_URI[sha256sum] = 
"3cae78ccde19d7d0f387e58bc734d4d17ab5f6426f54a9e8b728c90b17baa068"
 
 UPSTREAM_CHECK_REGEX = "libinput-(?P\d+\.\d+\.(?!9\d+)\d+)"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160723): 
https://lists.openembedded.org/g/openembedded-core/message/160723
Mute This Topic: https://lists.openembedded.org/mt/88531422/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/39] stress-ng: upgrade 0.13.09 -> 0.13.10

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../stress-ng/{stress-ng_0.13.09.bb => stress-ng_0.13.10.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/stress-ng/{stress-ng_0.13.09.bb => 
stress-ng_0.13.10.bb} (93%)

diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.13.09.bb 
b/meta/recipes-extended/stress-ng/stress-ng_0.13.10.bb
similarity index 93%
rename from meta/recipes-extended/stress-ng/stress-ng_0.13.09.bb
rename to meta/recipes-extended/stress-ng/stress-ng_0.13.10.bb
index 482fdd2df5..700ee1595e 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.13.09.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.13.10.bb
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = 
"git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master"
-SRCREV = "757b66b49e4b3d7d008ef7054b34d791c742e869"
+SRCREV = "b81116cb69a97aa671ab207a7f600aaacca091d1"
 S = "${WORKDIR}/git"
 
 DEPENDS = "coreutils-native"
-- 
2.20.1


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

2022-01-19 Thread Alexander Kanavin
From: 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 70c7529f91..08bbbac05a 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -18,7 +18,7 @@ SRC_URI = 
"git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma
"
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRCREV = "f855ad1c8ab0a7b25437b1a48b9038f599f31691"
+SRCREV = "11ee10ba04a95d4b36ef844420f0a5838002b5a8"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr${SRCPV}"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160722): 
https://lists.openembedded.org/g/openembedded-core/message/160722
Mute This Topic: https://lists.openembedded.org/mt/88531420/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/39] vala: upgrade 0.54.4 -> 0.54.6

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...apigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch | 38 ---
 meta/recipes-devtools/vala/vala_0.54.4.bb |  5 ---
 meta/recipes-devtools/vala/vala_0.54.6.bb |  3 ++
 3 files changed, 3 insertions(+), 43 deletions(-)
 delete mode 100644 
meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch
 delete mode 100644 meta/recipes-devtools/vala/vala_0.54.4.bb
 create mode 100644 meta/recipes-devtools/vala/vala_0.54.6.bb

diff --git 
a/meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch
 
b/meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch
deleted file mode 100644
index 2aaf2ab94e..00
--- 
a/meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From dbb1c58e86f2af4613f3ac9571d9b163d4bca675 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 23 Oct 2015 16:13:54 +0300
-Subject: [PATCH] vapigen.m4: use $PKG_CONFIG_SYSROOT_DIR
-
-This is necessary in cross-compiling environments, where directories
-returned by pkg-config should be prefixed with sysroot location.
-
-Upstream-Status: Submitted 
[https://gitlab.gnome.org/GNOME/vala/-/merge_requests/218]
-Signed-off-by: Alexander Kanavin 

- vapigen/vapigen.m4 | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/vapigen/vapigen.m4 b/vapigen/vapigen.m4
-index 2c435e7..6228991 100644
 a/vapigen/vapigen.m4
-+++ b/vapigen/vapigen.m4
-@@ -82,12 +82,12 @@ AC_DEFUN([VAPIGEN_CHECK],
- 
-   AS_CASE([$enable_vala],
- [yes], [
--  VAPIGEN=`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name`
--  VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir 
$vapigen_pkg_name`/vala/Makefile.vapigen
-+  VAPIGEN=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=vapigen 
$vapigen_pkg_name`
-+  VAPIGEN_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir 
$vapigen_pkg_name`/vala/Makefile.vapigen
-   AS_IF([test "x$2" = "x"], [
--  VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name`
-+  VAPIGEN_VAPIDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=vapidir $vapigen_pkg_name`
- ], [
--  VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned 
$vapigen_pkg_name`
-+  VAPIGEN_VAPIDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=vapidir_versioned $vapigen_pkg_name`
- ])
- ])
- 
--- 
-2.1.4
-
diff --git a/meta/recipes-devtools/vala/vala_0.54.4.bb 
b/meta/recipes-devtools/vala/vala_0.54.4.bb
deleted file mode 100644
index 695f64e336..00
--- a/meta/recipes-devtools/vala/vala_0.54.4.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require ${BPN}.inc
-
-SRC_URI += " file://0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch"
-
-SRC_URI[sha256sum] = 
"6051270a2fc30de023c88562566f2f6043e67beb4da4b799c14cdf12048eb40c"
diff --git a/meta/recipes-devtools/vala/vala_0.54.6.bb 
b/meta/recipes-devtools/vala/vala_0.54.6.bb
new file mode 100644
index 00..d1202b83fd
--- /dev/null
+++ b/meta/recipes-devtools/vala/vala_0.54.6.bb
@@ -0,0 +1,3 @@
+require ${BPN}.inc
+
+SRC_URI[sha256sum] = 
"49d60d96a3fdf6c4287397442bc6d6d95bf40aa7df678ee49128c4b11ba6e469"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160718): 
https://lists.openembedded.org/g/openembedded-core/message/160718
Mute This Topic: https://lists.openembedded.org/mt/88531416/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/39] pigz: upgrade 2.6 -> 2.7

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...0001-Fix-bug-when-combining-l-with-d.patch | 50 ---
 .../pigz/{pigz_2.6.bb => pigz_2.7.bb} |  5 +-
 2 files changed, 2 insertions(+), 53 deletions(-)
 delete mode 100644 
meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch
 rename meta/recipes-extended/pigz/{pigz_2.6.bb => pigz_2.7.bb} (88%)

diff --git 
a/meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch 
b/meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch
deleted file mode 100644
index 9c301f2054..00
--- 
a/meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 65986f3d12d434b9bc428ceb6fcb1f6eeeb2c47d Mon Sep 17 00:00:00 2001
-From: Changqing Li 
-Date: Mon, 17 Jan 2022 15:36:56 +0800
-Subject: [PATCH] Fix bug when combining -l with -d.
-
-Though it makes no sense to do pigz -ld, that is implicit when
-doing unpigz -l. This commit fixes a bug for that combination.
-
-Upstream-Status: Backport 
[https://github.com/madler/pigz/commit/326bba44aa102c707dd6ebcd2fc3f413b3119db0]
-
-Signed-off-by: Changqing Li 

- pigz.c | 14 +++---
- 1 file changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/pigz.c b/pigz.c
-index f90157f..d648216 100644
 a/pigz.c
-+++ b/pigz.c
-@@ -4007,6 +4007,13 @@ local void process(char *path) {
- }
- SET_BINARY_MODE(g.ind);
- 
-+// if requested, just list information about the input file
-+if (g.list && g.decode != 2) {
-+list_info();
-+load_end();
-+return;
-+}
-+
- // if decoding or testing, try to read gzip header
- if (g.decode) {
- in_init();
-@@ -4048,13 +4055,6 @@ local void process(char *path) {
- }
- }
- 
--// if requested, just list information about input file
--if (g.list) {
--list_info();
--load_end();
--return;
--}
--
- // create output file out, descriptor outd
- if (path == NULL || g.pipeout) {
- // write to stdout
--- 
-2.17.1
-
diff --git a/meta/recipes-extended/pigz/pigz_2.6.bb 
b/meta/recipes-extended/pigz/pigz_2.7.bb
similarity index 88%
rename from meta/recipes-extended/pigz/pigz_2.6.bb
rename to meta/recipes-extended/pigz/pigz_2.7.bb
index d490a6a722..9a1c591b27 100644
--- a/meta/recipes-extended/pigz/pigz_2.6.bb
+++ b/meta/recipes-extended/pigz/pigz_2.7.bb
@@ -8,9 +8,8 @@ SECTION = "console/utils"
 LICENSE = "Zlib & Apache-2.0"
 LIC_FILES_CHKSUM = 
"file://pigz.c;md5=9ae6dee8ceba9610596ed0ada493d142;beginline=7;endline=21"
 
-SRC_URI = "http://zlib.net/${BPN}/fossils/${BP}.tar.gz \
-   file://0001-Fix-bug-when-combining-l-with-d.patch"
-SRC_URI[sha256sum] = 
"2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d"
+SRC_URI = "http://zlib.net/${BPN}/fossils/${BP}.tar.gz;
+SRC_URI[sha256sum] = 
"b4c9e60344a08d5db37ca7ad00a5b2c76ccb9556354b722d56d55ca7e8b1c707"
 PROVIDES:class-native += "gzip-native"
 
 # Point this at the homepage in case /fossils/ isn't updated
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160719): 
https://lists.openembedded.org/g/openembedded-core/message/160719
Mute This Topic: https://lists.openembedded.org/mt/88531417/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] iproute2: update 5.15.0 to 5.16.0

2022-01-19 Thread Richard Purdie
On Tue, 2022-01-18 at 10:54 -0800, Khem Raj wrote:
> On Mon, Jan 17, 2022 at 5:31 PM Changhyeok Bae  
> wrote:
> > 
> > 0001-lib-fix-ax25.h-include-for-musl.patch is the fix for musl and comes
> > from upstream.
> > 
> > Signed-off-by: Changhyeok Bae 
> > ---
> >  ...0001-lib-fix-ax25.h-include-for-musl.patch | 37 +++
> >  ...{iproute2_5.15.0.bb => iproute2_5.16.0.bb} |  3 +-
> >  2 files changed, 39 insertions(+), 1 deletion(-)
> >  create mode 100644 
> > meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> >  rename meta/recipes-connectivity/iproute2/{iproute2_5.15.0.bb => 
> > iproute2_5.16.0.bb} (64%)
> > 
> > diff --git 
> > a/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> >  
> > b/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> > new file mode 100644
> > index 00..338def399e
> > --- /dev/null
> > +++ 
> > b/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
> > @@ -0,0 +1,37 @@
> > +From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001
> > +From: Sam James 
> > +Date: Thu, 13 Jan 2022 08:14:13 +
> > +Subject: [PATCH] lib: fix ax25.h include for musl
> > +
> > +ax25.h isn't guaranteed to be avilable in netax25/*;
> > +it's dependent on our choice of libc (it's not available
> > +on musl at least) [0].
> > +
> > +Let's use the version from linux-headers.
> > +
> > +[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers
> > +Bug: https://bugs.gentoo.org/831102
> > +
> > +Signed-off-by: Sam James 
> > +Signed-off-by: Stephen Hemminger 
> > +
> > +Upstream-Status: Backport
> 
> please mention 
> https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=8bced38a941a181f1468fa39541e872e51b6022f
> here to point to backport link from upstream

Thanks, I tweaked the patch to add that.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160714): 
https://lists.openembedded.org/g/openembedded-core/message/160714
Mute This Topic: https://lists.openembedded.org/mt/88500407/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/39] python3-ruamel-yaml: upgrade 0.17.19 -> 0.17.20

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

License-Update: copyright years

Signed-off-by: Alexander Kanavin 
---
 ...-ruamel-yaml_0.17.19.bb => python3-ruamel-yaml_0.17.20.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-ruamel-yaml_0.17.19.bb => 
python3-ruamel-yaml_0.17.20.bb} (75%)

diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.19.bb 
b/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.20.bb
similarity index 75%
rename from meta/recipes-devtools/python/python3-ruamel-yaml_0.17.19.bb
rename to meta/recipes-devtools/python/python3-ruamel-yaml_0.17.20.bb
index a0f5c89846..a6bee1bea1 100644
--- a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.19.bb
+++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.20.bb
@@ -3,13 +3,13 @@ HOMEPAGE = "https://pypi.org/project/ruamel.yaml/;
 AUTHOR = "Anthon van der Neut"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fa0a51dfb461e2f803969e0f3fa71dfe"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=034154b7344d15438bc5ed5ee9cc075f"
 
 PYPI_PACKAGE = "ruamel.yaml"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"b9ce9a925d0f0c35a1dbba56b40f253c53cd526b0fa81cf7b1d24996f28fb1d7"
+SRC_URI[sha256sum] = 
"4b8a33c1efb2b443a93fcaafcfa4d2e445f8e8c29c528d9f5cdafb7cc9e4004c"
 
 RDEPENDS:${PN} += "\
 ${PYTHON_PN}-shell \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160717): 
https://lists.openembedded.org/g/openembedded-core/message/160717
Mute This Topic: https://lists.openembedded.org/mt/88531415/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/39] python3-pyrsistent: upgrade 0.18.0 -> 0.18.1

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

License-Update: copyright years

Signed-off-by: Alexander Kanavin 
---
 ...hon3-pyrsistent_0.18.0.bb => python3-pyrsistent_0.18.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-pyrsistent_0.18.0.bb => 
python3-pyrsistent_0.18.1.bb} (60%)

diff --git a/meta/recipes-devtools/python/python3-pyrsistent_0.18.0.bb 
b/meta/recipes-devtools/python/python3-pyrsistent_0.18.1.bb
similarity index 60%
rename from meta/recipes-devtools/python/python3-pyrsistent_0.18.0.bb
rename to meta/recipes-devtools/python/python3-pyrsistent_0.18.1.bb
index 0b4d2564f6..4c9b8ec1dd 100644
--- a/meta/recipes-devtools/python/python3-pyrsistent_0.18.0.bb
+++ b/meta/recipes-devtools/python/python3-pyrsistent_0.18.1.bb
@@ -1,9 +1,9 @@
 SUMMARY = "Persistent/Immutable/Functional data structures for Python"
 HOMEPAGE = "https://github.com/tobgu/pyrsistent;
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.mit;md5=a4b94c2b800b582a8d3925a9939cbf44"
+LIC_FILES_CHKSUM = "file://LICENSE.mit;md5=b695eb9c6e7a6fb1b1bc2d193c42776e"
 
-SRC_URI[sha256sum] = 
"773c781216f8c2900b42a7b638d5b517bb134ae1acbebe4d1e8f1f41ea60eb4b"
+SRC_URI[sha256sum] = 
"d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96"
 
 inherit pypi setuptools3
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160716): 
https://lists.openembedded.org/g/openembedded-core/message/160716
Mute This Topic: https://lists.openembedded.org/mt/88531414/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/39] python3-pygments: upgrade 2.11.1 -> 2.11.2

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../{python3-pygments_2.11.1.bb => python3-pygments_2.11.2.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pygments_2.11.1.bb => 
python3-pygments_2.11.2.bb} (83%)

diff --git a/meta/recipes-devtools/python/python3-pygments_2.11.1.bb 
b/meta/recipes-devtools/python/python3-pygments_2.11.2.bb
similarity index 83%
rename from meta/recipes-devtools/python/python3-pygments_2.11.1.bb
rename to meta/recipes-devtools/python/python3-pygments_2.11.2.bb
index a110122501..35d288c89e 100644
--- a/meta/recipes-devtools/python/python3-pygments_2.11.1.bb
+++ b/meta/recipes-devtools/python/python3-pygments_2.11.2.bb
@@ -5,7 +5,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=98419e351433ac106a24e3ad435930bc"
 
 inherit setuptools3
-SRC_URI[sha256sum] = 
"59b895e326f0fb0d733fd28c6839bd18ad0687ba20efc26d4277fd1d30b971f4"
+SRC_URI[sha256sum] = 
"4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a"
 
 DEPENDS += "\
 ${PYTHON_PN} \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160715): 
https://lists.openembedded.org/g/openembedded-core/message/160715
Mute This Topic: https://lists.openembedded.org/mt/88531413/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/39] mtools: upgrade 4.0.36 -> 4.0.37

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../mtools/mtools/disable-hardcoded-configs.patch   | 2 +-
 .../mtools/{mtools_4.0.36.bb => mtools_4.0.37.bb}   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/mtools/{mtools_4.0.36.bb => mtools_4.0.37.bb} 
(93%)

diff --git 
a/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch 
b/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
index 8041b13ae0..6185f4d19f 100644
--- a/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
+++ b/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
@@ -1,4 +1,4 @@
-From dc11f3e7bdfa524a3e395a0f9d5e035dbc40c047 Mon Sep 17 00:00:00 2001
+From a5076415ed2c226ca7115d27e0ce51a8a0302090 Mon Sep 17 00:00:00 2001
 From: Ed Bartosh 
 Date: Tue, 13 Jun 2017 14:55:52 +0300
 Subject: [PATCH] Disabled reading host configs.
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.36.bb 
b/meta/recipes-devtools/mtools/mtools_4.0.37.bb
similarity index 93%
rename from meta/recipes-devtools/mtools/mtools_4.0.36.bb
rename to meta/recipes-devtools/mtools/mtools_4.0.37.bb
index c214b9b859..20748a0051 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.36.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.37.bb
@@ -24,7 +24,7 @@ RRECOMMENDS:${PN}:libc-glibc = "\
glibc-gconv-ibm866 \
glibc-gconv-ibm869 \
"
-SRC_URI[sha256sum] = 
"e5c0e5adf2dfbb9f72649d3a8299ff6fb73f269f8330a2975d91bcc5055240f4"
+SRC_URI[sha256sum] = 
"799b197e23e47b61259628810b27790efb7a1fe36037ef1da8a27b0ae4fa8342"
 
 SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
file://mtools-makeinfo.patch \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160713): 
https://lists.openembedded.org/g/openembedded-core/message/160713
Mute This Topic: https://lists.openembedded.org/mt/88531412/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/39] mtd-utils: upgrade 2.1.3 -> 2.1.4

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/mtd/mtd-utils_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb 
b/meta/recipes-devtools/mtd/mtd-utils_git.bb
index 2004572375..c05d3b7c35 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_git.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb
@@ -11,9 +11,9 @@ inherit autotools pkgconfig update-alternatives
 DEPENDS = "zlib e2fsprogs util-linux"
 RDEPENDS:mtd-utils-tests += "bash"
 
-PV = "2.1.3"
+PV = "2.1.4"
 
-SRCREV = "42ea7cd48d2b3c306d59bb6c530d79f8c25bf9f5"
+SRCREV = "c7f1bfa44a84d02061787e2f6093df5cc40b9f5c"
 SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \
file://add-exclusion-to-mkfs-jffs2-git-2.patch \
"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160712): 
https://lists.openembedded.org/g/openembedded-core/message/160712
Mute This Topic: https://lists.openembedded.org/mt/88531411/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/39] e2fsprogs: upgrade 1.46.4 -> 1.46.5

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Remove patch as upstream addressed the issue.

Signed-off-by: Alexander Kanavin 
---
 ...ct_io-expect-correct-expected-output.patch | 69 ---
 ...-missing-check-for-permission-denied.patch |  2 +-
 .../e2fsprogs/e2fsprogs/quiet-debugfs.patch   |  2 +-
 ...2fsprogs_1.46.4.bb => e2fsprogs_1.46.5.bb} | 11 ++-
 4 files changed, 7 insertions(+), 77 deletions(-)
 delete mode 100644 
meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-tests-u_direct_io-expect-correct-expected-output.patch
 rename meta/recipes-devtools/e2fsprogs/{e2fsprogs_1.46.4.bb => 
e2fsprogs_1.46.5.bb} (94%)

diff --git 
a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-tests-u_direct_io-expect-correct-expected-output.patch
 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-tests-u_direct_io-expect-correct-expected-output.patch
deleted file mode 100644
index f198df83eb..00
--- 
a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-tests-u_direct_io-expect-correct-expected-output.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From ea5adf259e01c790f9ba69d6fe88d691de410b6f Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Sun, 22 Aug 2021 14:37:32 +0200
-Subject: [PATCH] tests/u_direct_io/expect: correct expected output
-
-This is likely the right fix, but upstream needs to confirm.
-
-Upstream-Status: Inappropriate [issue reported 
https://github.com/tytso/e2fsprogs/issues/80]
-Signed-off-by: Alexander Kanavin 

- tests/u_direct_io/expect | 16 +---
- 1 file changed, 9 insertions(+), 7 deletions(-)
-
-diff --git a/tests/u_direct_io/expect b/tests/u_direct_io/expect
-index b0cdc730..830cbd75 100644
 a/tests/u_direct_io/expect
-+++ b/tests/u_direct_io/expect
-@@ -19,8 +19,8 @@ Filesystem OS type:   Linux
- Inode count:  32768
- Block count:  32768
- Reserved block count: 1638
--Overhead clusters:5131
--Free blocks:  27631
-+Overhead clusters:6155
-+Free blocks:  26607
- Free inodes:  32757
- First block:  0
- Block size:   4096
-@@ -29,27 +29,29 @@ Reserved GDT blocks:  7
- Blocks per group: 32768
- Fragments per group:  32768
- Inodes per group: 32768
--Inode blocks per group:   1024
-+Inode blocks per group:   2048
- Flex block group size:16
- Mount count:  0
- Check interval:   15552000 (6 months)
- Reserved blocks uid:  0
- Reserved blocks gid:  0
- First inode:  11
--Inode size: 128
-+Inode size: 256
-+Required extra isize: 32
-+Desired extra isize:  32
- Journal inode:8
- Default directory hash:   half_md4
- Journal backup:   inode blocks
- Directories:  2
-  Group  0: block bitmap at 9, inode bitmap at 25, inode table at 41
--   27631 free blocks, 32757 free inodes, 2 used directories
-+   26607 free blocks, 32757 free inodes, 2 used directories
- e2fsck -fn -N test_filesys $LOOP
- Pass 1: Checking inodes, blocks, and sizes
- Pass 2: Checking directory structure
- Pass 3: Checking directory connectivity
- Pass 4: Checking reference counts
- Pass 5: Checking group summary information
--test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
-+test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
- Exit status is 0
- e2fsck -fn -N test_filesys $TMPFILE
- Pass 1: Checking inodes, blocks, and sizes
-@@ -57,5 +59,5 @@ Pass 2: Checking directory structure
- Pass 3: Checking directory connectivity
- Pass 4: Checking reference counts
- Pass 5: Checking group summary information
--test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
-+test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
- Exit status is 0
diff --git 
a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
index a4f98246bb..29078f9dd3 100644
--- 
a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
+++ 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
@@ -1,4 +1,4 @@
-From f1e161a48f74b46ae3c99921971c4b5ae8d587c9 Mon Sep 17 00:00:00 2001
+From 22d7557905534d9e1b39f7d2a6d2036a40bf0c4e Mon Sep 17 00:00:00 2001
 From: Jackie Huang 
 Date: Wed, 10 Aug 2016 11:19:44 +0800
 Subject: [PATCH] Fix missing check for permission denied.
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
index 41a4047622..902a369eb0 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
@@ -1,4 +1,4 @@
-From 550b5fbece84dde16ce9910c2cad390ea4a2f5d5 Mon Sep 17 00:00:00 2001
+From 5408b6463ee700a080a15102bdeb2615d734 Mon Sep 17 

[OE-core] [PATCH 18/39] shadow: upgrade 4.10 -> 4.11.1

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

License-Update: license clarified to BSD-3-Clause only

Signed-off-by: Alexander Kanavin 
---
 ...01-Disable-use-of-syslog-for-sysroot.patch | 30 +--
 ...nexpected-open-failure-in-chroot-env.patch |  6 ++--
 meta/recipes-extended/shadow/shadow.inc   |  8 ++---
 .../{shadow_4.10.bb => shadow_4.11.1.bb}  |  0
 4 files changed, 22 insertions(+), 22 deletions(-)
 rename meta/recipes-extended/shadow/{shadow_4.10.bb => shadow_4.11.1.bb} (100%)

diff --git 
a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
 
b/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
index 95728bcd3f..4d6f6d68ec 100644
--- 
a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
+++ 
b/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
@@ -1,4 +1,4 @@
-From 30a3906a0a21120fa6bbc918b6258ab9303fbeaa Mon Sep 17 00:00:00 2001
+From 531cd5ca6eadef29b4799459f1bcfc002ecbd424 Mon Sep 17 00:00:00 2001
 From: Scott Garman 
 Date: Thu, 14 Apr 2016 12:28:57 +0200
 Subject: [PATCH] Disable use of syslog for sysroot
@@ -24,10 +24,10 @@ Signed-off-by: Chen Qi 
  7 files changed, 22 insertions(+)
 
 diff --git a/src/groupadd.c b/src/groupadd.c
-index d7f68b1..5fe5f43 100644
+index 66ccb53..776ea51 100644
 --- a/src/groupadd.c
 +++ b/src/groupadd.c
-@@ -34,6 +34,9 @@
+@@ -11,6 +11,9 @@
  
  #ident "$Id$"
  
@@ -38,10 +38,10 @@ index d7f68b1..5fe5f43 100644
  #include 
  #include 
 diff --git a/src/groupdel.c b/src/groupdel.c
-index 5c89312..2aefc5a 100644
+index c84faa7..1076f4b 100644
 --- a/src/groupdel.c
 +++ b/src/groupdel.c
-@@ -34,6 +34,9 @@
+@@ -11,6 +11,9 @@
  
  #ident "$Id$"
  
@@ -52,10 +52,10 @@ index 5c89312..2aefc5a 100644
  #include 
  #include 
 diff --git a/src/groupmems.c b/src/groupmems.c
-index 654a8f3..6b2026b 100644
+index a0e3266..6540cb1 100644
 --- a/src/groupmems.c
 +++ b/src/groupmems.c
-@@ -32,6 +32,9 @@
+@@ -9,6 +9,9 @@
  
  #include 
  
@@ -66,10 +66,10 @@ index 654a8f3..6b2026b 100644
  #include 
  #include 
 diff --git a/src/groupmod.c b/src/groupmod.c
-index acd6f35..a2c5247 100644
+index 006eca1..78b1ad6 100644
 --- a/src/groupmod.c
 +++ b/src/groupmod.c
-@@ -34,6 +34,9 @@
+@@ -11,6 +11,9 @@
  
  #ident "$Id$"
  
@@ -80,10 +80,10 @@ index acd6f35..a2c5247 100644
  #include 
  #include 
 diff --git a/src/useradd.c b/src/useradd.c
-index 127177e..b80e505 100644
+index 456b9de..2b0d703 100644
 --- a/src/useradd.c
 +++ b/src/useradd.c
-@@ -34,6 +34,9 @@
+@@ -11,6 +11,9 @@
  
  #ident "$Id$"
  
@@ -94,10 +94,10 @@ index 127177e..b80e505 100644
  #include 
  #include 
 diff --git a/src/userdel.c b/src/userdel.c
-index 79a7c89..c1e010a 100644
+index 7012b0e..08bb5d1 100644
 --- a/src/userdel.c
 +++ b/src/userdel.c
-@@ -31,6 +31,10 @@
+@@ -8,6 +8,10 @@
   */
  
  #include 
@@ -109,10 +109,10 @@ index 79a7c89..c1e010a 100644
  #include 
  #include 
 diff --git a/src/usermod.c b/src/usermod.c
-index 03bb9b9..e15fdd4 100644
+index 9473a7d..7d4f7b5 100644
 --- a/src/usermod.c
 +++ b/src/usermod.c
-@@ -34,6 +34,9 @@
+@@ -11,6 +11,9 @@
  
  #ident "$Id$"
  
diff --git 
a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch
 
b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch
index bd24626a26..173e8a937d 100644
--- 
a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch
+++ 
b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch
@@ -1,4 +1,4 @@
-From 1422c24f7266b553c82100e3d18a10c55cd91063 Mon Sep 17 00:00:00 2001
+From d767f776e631f1493fd7b266f2026d630ecf70fe Mon Sep 17 00:00:00 2001
 From: Chen Qi 
 Date: Thu, 17 Jul 2014 15:53:34 +0800
 Subject: [PATCH] commonio.c-fix-unexpected-open-failure-in-chroot-env
@@ -21,10 +21,10 @@ Signed-off-by: Chen Qi 
  1 file changed, 12 insertions(+), 4 deletions(-)
 
 diff --git a/lib/commonio.c b/lib/commonio.c
-index cef404b..66908fb 100644
+index 9e0fde6..7c3a1da 100644
 --- a/lib/commonio.c
 +++ b/lib/commonio.c
-@@ -646,10 +646,18 @@ int commonio_open (struct commonio_db *db, int mode)
+@@ -624,10 +624,18 @@ int commonio_open (struct commonio_db *db, int mode)
db->cursor = NULL;
db->changed = false;
  
diff --git a/meta/recipes-extended/shadow/shadow.inc 
b/meta/recipes-extended/shadow/shadow.inc
index 6d4a77caed..f5fdf436f7 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -3,9 +3,9 @@ HOMEPAGE = "http://github.com/shadow-maint/shadow;
 DESCRIPTION = "${SUMMARY}"
 BUGTRACKER = "http://github.com/shadow-maint/shadow/issues;
 SECTION = "base/utils"
-LICENSE = "BSD-3-Clause | Artistic-1.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=24f172951acb1904c9273a6a016b0b36 \
-
file://src/passwd.c;beginline=2;endline=30;md5=5720ff729a6ff39ecc9f64555d75f4af 
\
+LICENSE = "BSD-3-Clause"

[OE-core] [PATCH 19/39] btrfs-tools: upgrade 5.15.1 -> 5.16

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Replace a patch with an upstream fix.

Signed-off-by: Alexander Kanavin 
---
 ...ude-linux-const.h-to-fix-build-with-.patch | 42 -
 ...e12c4d4b8b4ef335cdf4ddefcbdcd1b70d58.patch | 45 +++
 ...fs-tools_5.15.1.bb => btrfs-tools_5.16.bb} |  4 +-
 3 files changed, 47 insertions(+), 44 deletions(-)
 delete mode 100644 
meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch
 create mode 100644 
meta/recipes-devtools/btrfs-tools/btrfs-tools/b0cfe12c4d4b8b4ef335cdf4ddefcbdcd1b70d58.patch
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_5.15.1.bb => 
btrfs-tools_5.16.bb} (95%)

diff --git 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch
 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch
deleted file mode 100644
index be942388a5..00
--- 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 3d19b0fb882c5e195362a9f0909c474e60070ca0 Mon Sep 17 00:00:00 2001
-From: Bruce Ashfield 
-Date: Fri, 18 Jun 2021 11:10:36 -0400
-Subject: [PATCH] btrfs-progs: include linux/const.h to fix build with 5.12+
- headers
-
-btrfs-tools compile fails with mips, musl and 5.12+ headers.
-
-The definition of __ALIGN_KERNEL has moved in 5.12+ kernels, so we
-add an explicit include of const.h to pickup the macro:
-
-  | make: *** [Makefile:595: mkfs.btrfs] Error 1
-  | make: *** Waiting for unfinished jobs
-  | libbtrfs.a(volumes.o): in function `dev_extent_search_start':
-  | /usr/src/debug/btrfs-tools/5.12.1-r0/git/kernel-shared/volumes.c:464: 
undefined reference to `__ALIGN_KERNEL'
-  | collect2: error: ld returned 1 exit status
-
-This is safe for older kernel's as well, since the header still
-exists, and is valid to include.
-
-Upstream-Status: Inappropriate [mips64 + musl + libc-headers]
-
-Signed-off-by: Bruce Ashfield 

- kerncompat.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/kerncompat.h b/kerncompat.h
-index df167fe6..254235bd 100644
 a/kerncompat.h
-+++ b/kerncompat.h
-@@ -30,6 +30,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- #include 
- 
--- 
-2.25.1
-
diff --git 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/b0cfe12c4d4b8b4ef335cdf4ddefcbdcd1b70d58.patch
 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools/b0cfe12c4d4b8b4ef335cdf4ddefcbdcd1b70d58.patch
new file mode 100644
index 00..6bf5f4314e
--- /dev/null
+++ 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools/b0cfe12c4d4b8b4ef335cdf4ddefcbdcd1b70d58.patch
@@ -0,0 +1,45 @@
+From b0cfe12c4d4b8b4ef335cdf4ddefcbdcd1b70d58 Mon Sep 17 00:00:00 2001
+From: David Sterba 
+Date: Thu, 13 Jan 2022 14:47:08 +0100
+Subject: [PATCH] btrfs-progs: kerncompat: add local definition for alignment
+ macros
+
+There's still problem left with compilation on musl and kernel < 5.11,
+because __ALIGN_KERNEL is not defined anymore:
+
+../bin/ld: kernel-shared/volumes.o: in function `create_chunk':
+volumes.c:(.text+0x17f8): undefined reference to `__ALIGN_KERNEL'
+
+Due to the entangled includes and unconditional definition of
+__ALIGN_KERNEL, we can't use #ifdef in kerncompat.h to define it
+eventually (as kerncompat.h is the first include). Instead add local
+definitions of the macros and rename them to avoid name clashes.
+
+Pull-request: #433
+Signed-off-by: David Sterba 
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin 
+---
+ kerncompat.h | 9 -
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/kerncompat.h b/kerncompat.h
+index 6ca1526e2..f0a6e196e 100644
+--- a/kerncompat.h
 b/kerncompat.h
+@@ -359,7 +359,14 @@ do {  \
+ 
+ /* Alignment check */
+ #define IS_ALIGNED(x, a)(((x) & ((typeof(x))(a) - 1)) == 0)
+-#define ALIGN(x, a)   __ALIGN_KERNEL((x), (a))
++
++/*
++ * Alignment, copied and renamed from /usr/include/linux/const.h to work 
around
++ * issues caused by moving the definition in 5.12
++ */
++#define __ALIGN_KERNEL__(x, a)__ALIGN_KERNEL_MASK__(x, 
(typeof(x))(a) - 1)
++#define __ALIGN_KERNEL_MASK__(x, mask)(((x) + (mask)) & ~(mask))
++#define ALIGN(x, a)   __ALIGN_KERNEL__((x), (a))
+ 
+ static inline int is_power_of_2(unsigned long n)
+ {
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.15.1.bb 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.16.bb
similarity index 95%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_5.15.1.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_5.16.bb
index 3cf216724e..c6867c158f 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.15.1.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.16.bb
@@ -17,9 +17,9 @@ DEPENDS = "lzo util-linux zlib"
 
 SRC_URI = 

[OE-core] [PATCH 15/39] readline: upgrade 8.1 -> 8.1.2

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../readline/{readline-8.1 => files}/rl-native.map | 0
 .../{readline-8.1 => readline}/configure-fix.patch | 0
 .../readline/{readline-8.1 => readline}/norpath.patch  | 0
 meta/recipes-core/readline/readline_8.1.2.bb   | 7 +++
 meta/recipes-core/readline/readline_8.1.bb | 7 ---
 5 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-core/readline/{readline-8.1 => files}/rl-native.map (100%)
 rename meta/recipes-core/readline/{readline-8.1 => 
readline}/configure-fix.patch (100%)
 rename meta/recipes-core/readline/{readline-8.1 => readline}/norpath.patch 
(100%)
 create mode 100644 meta/recipes-core/readline/readline_8.1.2.bb
 delete mode 100644 meta/recipes-core/readline/readline_8.1.bb

diff --git a/meta/recipes-core/readline/readline-8.1/rl-native.map 
b/meta/recipes-core/readline/files/rl-native.map
similarity index 100%
rename from meta/recipes-core/readline/readline-8.1/rl-native.map
rename to meta/recipes-core/readline/files/rl-native.map
diff --git a/meta/recipes-core/readline/readline-8.1/configure-fix.patch 
b/meta/recipes-core/readline/readline/configure-fix.patch
similarity index 100%
rename from meta/recipes-core/readline/readline-8.1/configure-fix.patch
rename to meta/recipes-core/readline/readline/configure-fix.patch
diff --git a/meta/recipes-core/readline/readline-8.1/norpath.patch 
b/meta/recipes-core/readline/readline/norpath.patch
similarity index 100%
rename from meta/recipes-core/readline/readline-8.1/norpath.patch
rename to meta/recipes-core/readline/readline/norpath.patch
diff --git a/meta/recipes-core/readline/readline_8.1.2.bb 
b/meta/recipes-core/readline/readline_8.1.2.bb
new file mode 100644
index 00..787f7e734a
--- /dev/null
+++ b/meta/recipes-core/readline/readline_8.1.2.bb
@@ -0,0 +1,7 @@
+require readline.inc
+
+SRC_URI += "file://configure-fix.patch \
+   file://norpath.patch \
+   "
+
+SRC_URI[archive.sha256sum] = 
"7589a2381a8419e68654a47623ce7dfcb756815c8fee726b98f90bf668af7bc6"
diff --git a/meta/recipes-core/readline/readline_8.1.bb 
b/meta/recipes-core/readline/readline_8.1.bb
deleted file mode 100644
index 0786a08163..00
--- a/meta/recipes-core/readline/readline_8.1.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require readline.inc
-
-SRC_URI += "file://configure-fix.patch \
-file://norpath.patch"
-
-SRC_URI[archive.md5sum] = "e9557dd5b1409f5d7b37ef717c64518e"
-SRC_URI[archive.sha256sum] = 
"f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160706): 
https://lists.openembedded.org/g/openembedded-core/message/160706
Mute This Topic: https://lists.openembedded.org/mt/88531404/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/39] go: upgrade 1.17.5 -> 1.17.6

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/go/{go-1.17.5.inc => go-1.17.6.inc} | 2 +-
 ...{go-binary-native_1.17.5.bb => go-binary-native_1.17.6.bb} | 4 ++--
 ...o-cross-canadian_1.17.5.bb => go-cross-canadian_1.17.6.bb} | 0
 .../go/{go-cross_1.17.5.bb => go-cross_1.17.6.bb} | 0
 .../go/{go-crosssdk_1.17.5.bb => go-crosssdk_1.17.6.bb}   | 0
 .../go/{go-native_1.17.5.bb => go-native_1.17.6.bb}   | 0
 .../go/{go-runtime_1.17.5.bb => go-runtime_1.17.6.bb} | 0
 meta/recipes-devtools/go/{go_1.17.5.bb => go_1.17.6.bb}   | 0
 8 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/go/{go-1.17.5.inc => go-1.17.6.inc} (92%)
 rename meta/recipes-devtools/go/{go-binary-native_1.17.5.bb => 
go-binary-native_1.17.6.bb} (83%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.17.5.bb => 
go-cross-canadian_1.17.6.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.17.5.bb => go-cross_1.17.6.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.17.5.bb => 
go-crosssdk_1.17.6.bb} (100%)
 rename meta/recipes-devtools/go/{go-native_1.17.5.bb => go-native_1.17.6.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-runtime_1.17.5.bb => go-runtime_1.17.6.bb} 
(100%)
 rename meta/recipes-devtools/go/{go_1.17.5.bb => go_1.17.6.bb} (100%)

diff --git a/meta/recipes-devtools/go/go-1.17.5.inc 
b/meta/recipes-devtools/go/go-1.17.6.inc
similarity index 92%
rename from meta/recipes-devtools/go/go-1.17.5.inc
rename to meta/recipes-devtools/go/go-1.17.6.inc
index 56957f7c6e..3ea23e0320 100644
--- a/meta/recipes-devtools/go/go-1.17.5.inc
+++ b/meta/recipes-devtools/go/go-1.17.6.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] = 
"3defb9a09bed042403195e872dcbc8c6fae1485963332279668ec52e80a95a2d"
+SRC_URI[main.sha256sum] = 
"4dc1bbf3ff61f0c1ff2b19355e6d88151a70126268a47c761477686ef94748c8"
 
 # 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.5.bb 
b/meta/recipes-devtools/go/go-binary-native_1.17.6.bb
similarity index 83%
rename from meta/recipes-devtools/go/go-binary-native_1.17.5.bb
rename to meta/recipes-devtools/go/go-binary-native_1.17.6.bb
index f07d299b40..674f9176af 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.17.5.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.17.6.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] = 
"bd78114b0d441b029c8fe0341f4910370925a4d270a6a590668840675b0c653e"
-SRC_URI[go_linux_arm64.sha256sum] = 
"6f95ce3da40d9ce1355e48f31f4eb6508382415ca4d7413b1e7a3314e6430e7e"
+SRC_URI[go_linux_amd64.sha256sum] = 
"231654bbf2dab3d86c1619ce799e77b03d96f9b50770297c8f4dff8836fc8ca2"
+SRC_URI[go_linux_arm64.sha256sum] = 
"82c1a033cce9bc1b47073fd6285233133040f0378439f3c4659fe77cc534622a"
 
 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.5.bb 
b/meta/recipes-devtools/go/go-cross-canadian_1.17.6.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross-canadian_1.17.5.bb
rename to meta/recipes-devtools/go/go-cross-canadian_1.17.6.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.17.5.bb 
b/meta/recipes-devtools/go/go-cross_1.17.6.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross_1.17.5.bb
rename to meta/recipes-devtools/go/go-cross_1.17.6.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.17.5.bb 
b/meta/recipes-devtools/go/go-crosssdk_1.17.6.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-crosssdk_1.17.5.bb
rename to meta/recipes-devtools/go/go-crosssdk_1.17.6.bb
diff --git a/meta/recipes-devtools/go/go-native_1.17.5.bb 
b/meta/recipes-devtools/go/go-native_1.17.6.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-native_1.17.5.bb
rename to meta/recipes-devtools/go/go-native_1.17.6.bb
diff --git a/meta/recipes-devtools/go/go-runtime_1.17.5.bb 
b/meta/recipes-devtools/go/go-runtime_1.17.6.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-runtime_1.17.5.bb
rename to meta/recipes-devtools/go/go-runtime_1.17.6.bb
diff --git a/meta/recipes-devtools/go/go_1.17.5.bb 
b/meta/recipes-devtools/go/go_1.17.6.bb
similarity index 100%
rename from meta/recipes-devtools/go/go_1.17.5.bb
rename to meta/recipes-devtools/go/go_1.17.6.bb
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160707): 
https://lists.openembedded.org/g/openembedded-core/message/160707
Mute 

[OE-core] [PATCH 17/39] repo: upgrade 2.19 -> 2.20

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/repo/{repo_2.19.bb => repo_2.20.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/repo/{repo_2.19.bb => repo_2.20.bb} (95%)

diff --git a/meta/recipes-devtools/repo/repo_2.19.bb 
b/meta/recipes-devtools/repo/repo_2.20.bb
similarity index 95%
rename from meta/recipes-devtools/repo/repo_2.19.bb
rename to meta/recipes-devtools/repo/repo_2.20.bb
index 730540cfa0..b56559fd9a 100644
--- a/meta/recipes-devtools/repo/repo_2.19.bb
+++ b/meta/recipes-devtools/repo/repo_2.20.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 SRC_URI = 
"git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
file://0001-python3-shebang.patch \
"
-SRCREV = "2a089cfee4a3eb0c28cfb441861fc1fcb05797d3"
+SRCREV = "98bb76577d9e7e0ffdeb643f1654ec006f6bbc8c"
 
 MIRRORS += "git://gerrit.googlesource.com/git-repo.git 
git://github.com/GerritCodeReview/git-repo.git"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160708): 
https://lists.openembedded.org/g/openembedded-core/message/160708
Mute This Topic: https://lists.openembedded.org/mt/88531406/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/39] socat: upgrade 1.7.4.2 -> 1.7.4.3

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...ck-getprotobynumber_r-with-AC_TRY_LI.patch | 35 +++
 .../{socat_1.7.4.2.bb => socat_1.7.4.3.bb}|  5 +--
 2 files changed, 38 insertions(+), 2 deletions(-)
 create mode 100644 
meta/recipes-connectivity/socat/socat/0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch
 rename meta/recipes-connectivity/socat/{socat_1.7.4.2.bb => socat_1.7.4.3.bb} 
(90%)

diff --git 
a/meta/recipes-connectivity/socat/socat/0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch
 
b/meta/recipes-connectivity/socat/socat/0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch
new file mode 100644
index 00..fbfb0816dd
--- /dev/null
+++ 
b/meta/recipes-connectivity/socat/socat/0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch
@@ -0,0 +1,35 @@
+From d67d6b4f981db9612d808bd723176a1d2996d53a Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 17 Jan 2022 13:21:32 +0100
+Subject: [PATCH] configure.ac: check getprotobynumber_r with AC_TRY_LINK
+
+AC_TRY_COMPILE won't error out if the function is altogether absent
+(e.g. on linux musl C library), the test needs to link all the way.
+
+Upstream-Status: Submitted [via email to so...@dest-unreach.org]
+Signed-off-by: Alexander Kanavin 
+---
+ configure.ac | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index d4acc9e..973a7f2 100644
+--- a/configure.ac
 b/configure.ac
+@@ -137,13 +137,13 @@ AC_MSG_RESULT($sc_cv_have_prototype_hstrerror)
+ # getprotobynumber_r() is not standardized
+ AC_MSG_CHECKING(for getprotobynumber_r() variant)
+ AC_CACHE_VAL(sc_cv_getprotobynumber_r,
+-[AC_TRY_COMPILE([#include 
++[AC_TRY_LINK([#include 
+ #include ],[getprotobynumber_r(1,NULL,NULL,1024,NULL);],
+ [sc_cv_getprotobynumber_r=1; tmp_bynum_variant=Linux],
+- [AC_TRY_COMPILE([#include 
++ [AC_TRY_LINK([#include 
+  #include ],[getprotobynumber_r(1,NULL,NULL,1024);],
+  [sc_cv_getprotobynumber_r=2; tmp_bynum_variant=Solaris],
+-  [AC_TRY_COMPILE([#include 
++  [AC_TRY_LINK([#include 
+   #include ],[getprotobynumber_r(1,NULL,NULL);],
+   [sc_cv_getprotobynumber_r=3; tmp_bynum_variant=AIX],
+ 
diff --git a/meta/recipes-connectivity/socat/socat_1.7.4.2.bb 
b/meta/recipes-connectivity/socat/socat_1.7.4.3.bb
similarity index 90%
rename from meta/recipes-connectivity/socat/socat_1.7.4.2.bb
rename to meta/recipes-connectivity/socat/socat_1.7.4.3.bb
index 0edde6a2e4..a4a0a8933e 100644
--- a/meta/recipes-connectivity/socat/socat_1.7.4.2.bb
+++ b/meta/recipes-connectivity/socat/socat_1.7.4.3.bb
@@ -10,9 +10,10 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://README;beginline=257;endline=287;md5=82520b052f322ac2b5b3dfdc7c7eea86"
 
 SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \
-"
+   
file://0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch \
+   "
 
-SRC_URI[sha256sum] = 
"6690a9f9990457b505097a272bbf2cbf4cc35576176f76646e3524b0e91c1763"
+SRC_URI[sha256sum] = 
"d47318104415077635119dfee44bcfb41de3497374a9a001b1aff6e2f0858007"
 
 inherit autotools
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160705): 
https://lists.openembedded.org/g/openembedded-core/message/160705
Mute This Topic: https://lists.openembedded.org/mt/88531403/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/39] python3: update 3.10.1 -> 3.10.2

2022-01-19 Thread Alexander Kanavin
License-Update: copyright years

Signed-off-by: Alexander Kanavin 
---
 ...-search-system-for-headers-libraries.patch |  2 +-
 ...-use-prefix-value-from-build-configu.patch |  2 +-
 ...-detection-of-mips-architecture-for-.patch |  9 ++-
 ...enSSL-version-check-for-3.0.1-GH-301.patch | 60 ---
 ...fig-append-STAGING_LIBDIR-python-sys.patch |  2 +-
 ...tutils-prefix-is-inside-staging-area.patch |  2 +-
 .../{python3_3.10.1.bb => python3_3.10.2.bb}  |  5 +-
 7 files changed, 10 insertions(+), 72 deletions(-)
 delete mode 100644 
meta/recipes-devtools/python/python3/0001-bpo-46114-Fix-OpenSSL-version-check-for-3.0.1-GH-301.patch
 rename meta/recipes-devtools/python/{python3_3.10.1.bb => python3_3.10.2.bb} 
(98%)

diff --git 
a/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch
 
b/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch
index 27a5992880..5485020eb4 100644
--- 
a/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch
+++ 
b/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch
@@ -1,4 +1,4 @@
-From df1a5e4bc6c8523eaa33daa2a90707fe6c6bddb6 Mon Sep 17 00:00:00 2001
+From b6ead2d17ceafed47e598b6f50f3ff669deec5ab Mon Sep 17 00:00:00 2001
 From: Jeremy Puhlman 
 Date: Wed, 4 Mar 2020 00:06:42 +
 Subject: [PATCH] Don't search system for headers/libraries
diff --git 
a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
 
b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
index ad384231a5..a9240b3c8a 100644
--- 
a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
+++ 
b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
@@ -1,4 +1,4 @@
-From 2d4bde19e0df7244e1cd17c4f4a255d488cb3e56 Mon Sep 17 00:00:00 2001
+From 01d209277e145072e478d8b9acfea3638ee16cdc Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Fri, 10 Sep 2021 12:28:31 +0200
 Subject: [PATCH] Lib/sysconfig.py: use prefix value from build configuration
diff --git 
a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
 
b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
index fc2241b5b9..6ab335a405 100644
--- 
a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
+++ 
b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
@@ -1,4 +1,4 @@
-From 7cfa712eecf02edaefaf0e51f3c8a31933b88db1 Mon Sep 17 00:00:00 2001
+From bb409432f03dd8256865292e382ad16613737829 Mon Sep 17 00:00:00 2001
 From: Matthias Schoepfer 
 Date: Fri, 31 May 2019 15:34:34 +0200
 Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft
@@ -14,13 +14,12 @@ to do this in a more autoconf/autotools manner.
 Upstream-Status: Submitted [https://github.com/python/cpython/pull/13196]
 Signed-off-by: Matthias Schoepfer 
 
-
 ---
  configure.ac | 175 +++
  1 file changed, 21 insertions(+), 154 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 299786b..d0db062 100644
+index 4230ef2..ee08b1b 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -718,160 +718,27 @@ then
@@ -203,5 +202,5 @@ index 299786b..d0db062 100644
 +  ;;
 +esac  
  
- if test x$PLATFORM_TRIPLET != xdarwin; then
-   MULTIARCH=$($CC --print-multiarch 2>/dev/null)
+ AC_MSG_CHECKING([for multiarch])
+ AS_CASE([$ac_sys_system],
diff --git 
a/meta/recipes-devtools/python/python3/0001-bpo-46114-Fix-OpenSSL-version-check-for-3.0.1-GH-301.patch
 
b/meta/recipes-devtools/python/python3/0001-bpo-46114-Fix-OpenSSL-version-check-for-3.0.1-GH-301.patch
deleted file mode 100644
index 6f4ceae188..00
--- 
a/meta/recipes-devtools/python/python3/0001-bpo-46114-Fix-OpenSSL-version-check-for-3.0.1-GH-301.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Upstream-Status: Backport
-Signed-off-by: Ross Burton 
-
-From 251d2eadc7f5b4042245709f41c38169a284e146 Mon Sep 17 00:00:00 2001
-From: "Miss Islington (bot)"
- <31488909+miss-isling...@users.noreply.github.com>
-Date: Fri, 17 Dec 2021 07:38:11 -0800
-Subject: [PATCH] bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)
-
-(cherry picked from commit 2985feac4e02d590bb78bcce9e30864be53280ac)
-
-Co-authored-by: Christian Heimes 

- .github/workflows/build.yml | 2 +-
- Lib/test/test_ssl.py| 6 +-
- .../next/Tests/2021-12-17-14-46-19.bpo-46114.9iyZ_9.rst | 1 +
- Tools/ssl/multissltests.py  | 2 +-
- 4 files changed, 8 insertions(+), 3 deletions(-)
- create mode 100644 
Misc/NEWS.d/next/Tests/2021-12-17-14-46-19.bpo-46114.9iyZ_9.rst
-
-diff --git 

[OE-core] [PATCH 11/39] libunistring: update 0.9.10 -> 1.0

2022-01-19 Thread Alexander Kanavin
Delete patches, as one is a backport, another patches code that upstream 
removed.

License-Update: license changed to gplv2+
https://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=commitdiff;h=87f797a50b854a4a2231203c25adbcec4f0dcd05

Signed-off-by: Alexander Kanavin 
---
 ...IT_PACKAGE-work-with-Automake-1.16.4.patch | 57 ---
 ...charset_alias-when-building-for-musl.patch | 30 --
 ...nistring_0.9.10.bb => libunistring_1.0.bb} | 14 ++---
 3 files changed, 5 insertions(+), 96 deletions(-)
 delete mode 100644 
meta/recipes-support/libunistring/libunistring/0001-Make-gl_INIT_PACKAGE-work-with-Automake-1.16.4.patch
 delete mode 100644 
meta/recipes-support/libunistring/libunistring/0001-Unset-need_charset_alias-when-building-for-musl.patch
 rename meta/recipes-support/libunistring/{libunistring_0.9.10.bb => 
libunistring_1.0.bb} (63%)

diff --git 
a/meta/recipes-support/libunistring/libunistring/0001-Make-gl_INIT_PACKAGE-work-with-Automake-1.16.4.patch
 
b/meta/recipes-support/libunistring/libunistring/0001-Make-gl_INIT_PACKAGE-work-with-Automake-1.16.4.patch
deleted file mode 100644
index d8424f28d4..00
--- 
a/meta/recipes-support/libunistring/libunistring/0001-Make-gl_INIT_PACKAGE-work-with-Automake-1.16.4.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 15e4365267e316f15222b8bf9f0a7cd0db231e9c Mon Sep 17 00:00:00 2001
-From: Bruno Haible 
-Date: Sun, 8 Aug 2021 01:58:42 +0200
-Subject: [PATCH] Make gl_INIT_PACKAGE work with Automake >= 1.16.4.
-
-Reported and analyzed by Nicole Mazzuca  in
-.
-
-* m4/init-package-version.m4 (gl_INIT_PACKAGE): Use a new macro
-gl_INIT_EMPTY.
-(gl_INIT_DUMMY): Expand to empty in two steps, via a new macro
-gl_INIT_DUMMY2.
-
-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin 

- ChangeLog  | 10 ++
- m4/init-package-version.m4 | 12 
- 2 files changed, 18 insertions(+), 4 deletions(-)
-
-diff --git a/m4/init-package-version.m4 b/m4/init-package-version.m4
-index f131a84..a26b1ab 100644
 a/m4/init-package-version.m4
-+++ b/m4/init-package-version.m4
-@@ -1,5 +1,5 @@
--# init-package-version.m4 serial 1 (gettext-0.18)
--dnl Copyright (C) 1992-2009 Free Software Foundation, Inc.
-+# init-package-version.m4 serial 2
-+dnl Copyright (C) 1992-2021 Free Software Foundation, Inc.
- dnl This file is free software, distributed under the terms of the GNU
- dnl General Public License.  As a special exception to the GNU General
- dnl Public License, this file may be distributed as part of a program
-@@ -77,7 +77,7 @@ AC_DEFUN([gl_INIT_PACKAGE],
- m4_bpatsubst(m4_dquote(
- m4_defn([AM_INIT_AUTOMAKE])),
-   [AC_PACKAGE_NAME], [gl_INIT_DUMMY])),
--  [AC_PACKAGE_TARNAME], [gl_INIT_DUMMY])),
-+  [AC_PACKAGE_TARNAME], [gl_INIT_EMPTY])),
-   [AC_PACKAGE_VERSION], [gl_INIT_DUMMY])
- [AC_SUBST([PACKAGE], [$1])
-  AC_SUBST([VERSION], [$2])
-@@ -85,7 +85,11 @@ AC_DEFUN([gl_INIT_PACKAGE],
-   m4_define([AM_INIT_AUTOMAKE],
- m4_defn([gl_RPL_INIT_AUTOMAKE]))
- ])
--m4_define([gl_INIT_DUMMY], [])
-+m4_define([gl_INIT_EMPTY], [])
-+dnl Automake 1.16.4 no longer accepts an empty value for gl_INIT_DUMMY.
-+dnl But a macro that later expands to empty works.
-+m4_define([gl_INIT_DUMMY], [gl_INIT_DUMMY2])
-+m4_define([gl_INIT_DUMMY2], [])
- AC_DEFUN([gl_RPL_INIT_AUTOMAKE], [
-   m4_ifval([$2],
- [m4_fatal([After gl_INIT_PACKAGE, the two-argument form of 
AM_INIT_AUTOMAKE cannot be used.])])
--- 
-2.20.1
-
diff --git 
a/meta/recipes-support/libunistring/libunistring/0001-Unset-need_charset_alias-when-building-for-musl.patch
 
b/meta/recipes-support/libunistring/libunistring/0001-Unset-need_charset_alias-when-building-for-musl.patch
deleted file mode 100644
index 2aeacb868e..00
--- 
a/meta/recipes-support/libunistring/libunistring/0001-Unset-need_charset_alias-when-building-for-musl.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From b9565dc2fe0c4f7daaec91b7e83bc7313dee2f4a Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Mon, 13 Apr 2015 17:02:13 -0700
-Subject: [PATCH] Unset need_charset_alias when building for musl
-
-localcharset uses ac_cv_gnu_library_2_1 from glibc21.m4
-which actually shoudl be fixed in gnulib and then all downstream
-projects will get it eventually. For now we apply the fix to
-coreutils
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj 

- lib/gnulib.mk | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: libunistring-0.9.4/lib/Makefile.gnulib
-===
 libunistring-0.9.4.orig/lib/Makefile.gnulib
-+++ libunistring-0.9.4/lib/Makefile.gnulib
-@@ -380,7 +380,7 @@ install-exec-localcharset: all-local
- case '$(host_os)' in \
-   darwin[56]*) \
- need_charset_alias=true ;; \
--  darwin* | cygwin* | mingw* | pw32* | cegcc*) \
-+  darwin* 

[OE-core] [PATCH 13/39] iproute2: upgrade 5.15.0 -> 5.16.0

2022-01-19 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...d38a941a181f1468fa39541e872e51b6022f.patch | 35 +++
 ...{iproute2_5.15.0.bb => iproute2_5.16.0.bb} |  3 +-
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-connectivity/iproute2/iproute2/8bced38a941a181f1468fa39541e872e51b6022f.patch
 rename meta/recipes-connectivity/iproute2/{iproute2_5.15.0.bb => 
iproute2_5.16.0.bb} (63%)

diff --git 
a/meta/recipes-connectivity/iproute2/iproute2/8bced38a941a181f1468fa39541e872e51b6022f.patch
 
b/meta/recipes-connectivity/iproute2/iproute2/8bced38a941a181f1468fa39541e872e51b6022f.patch
new file mode 100644
index 00..289712683e
--- /dev/null
+++ 
b/meta/recipes-connectivity/iproute2/iproute2/8bced38a941a181f1468fa39541e872e51b6022f.patch
@@ -0,0 +1,35 @@
+From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Thu, 13 Jan 2022 08:14:13 +
+Subject: [PATCH] lib: fix ax25.h include for musl
+
+ax25.h isn't guaranteed to be avilable in netax25/*;
+it's dependent on our choice of libc (it's not available
+on musl at least) [0].
+
+Let's use the version from linux-headers.
+
+[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers
+Bug: https://bugs.gentoo.org/831102
+
+Signed-off-by: Sam James 
+Signed-off-by: Stephen Hemminger 
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin 
+---
+ lib/ax25_ntop.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ax25_ntop.c b/lib/ax25_ntop.c
+index cfd0e04b0..3a72a43e9 100644
+--- a/lib/ax25_ntop.c
 b/lib/ax25_ntop.c
+@@ -2,7 +2,7 @@
+ 
+ #include 
+ #include 
+-#include 
++#include 
+ 
+ #include "utils.h"
+ 
diff --git a/meta/recipes-connectivity/iproute2/iproute2_5.15.0.bb 
b/meta/recipes-connectivity/iproute2/iproute2_5.16.0.bb
similarity index 63%
rename from meta/recipes-connectivity/iproute2/iproute2_5.15.0.bb
rename to meta/recipes-connectivity/iproute2/iproute2_5.16.0.bb
index 99a743391a..46c1b045c1 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_5.15.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_5.16.0.bb
@@ -2,9 +2,10 @@ require iproute2.inc
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
file://0001-libc-compat.h-add-musl-workaround.patch \
+   file://8bced38a941a181f1468fa39541e872e51b6022f.patch \
"
 
-SRC_URI[sha256sum] = 
"38e3e4a5f9a7f5575c015027a10df097c149111eeb739993128e5b2b35b291ff"
+SRC_URI[sha256sum] = 
"c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f"
 
 # CFLAGS are computed in Makefile and reference CCOPTS
 #
-- 
2.20.1


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

2022-01-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 ...57.0.bb => cargo-cross-canadian_1.58.0.bb} |  0
 .../{cargo_1.57.0.bb => cargo_1.58.0.bb}  |  0
 ...d-base-definitions-for-riscv64-musl.patch} | 18 ++-
 ...-musl-mod.rs-add-riscv64-to-b64-set.patch} | 13 +++
 ...P-Correct-definitions-to-match-musl.patch} | 15 -
 ...hecksums-for-modified-files-for-rust.patch | 22 +++
 ...hecksums-for-modified-files-for-rust.patch | 22 ---
 .../recipes-devtools/rust/libstd-rs_1.57.0.bb | 11 --
 .../recipes-devtools/rust/libstd-rs_1.58.0.bb | 12 ++
 57.0.bb => rust-cross-canadian_1.58.0.bb} |  0
 ...t-cross_1.57.0.bb => rust-cross_1.58.0.bb} |  0
 ...ust-llvm_1.57.0.bb => rust-llvm_1.58.0.bb} |  0
 meta/recipes-devtools/rust/rust-snapshot.inc  | 16 +++---
 meta/recipes-devtools/rust/rust-source.inc|  2 +-
 ...bb => rust-tools-cross-canadian_1.58.0.bb} |  0
 .../rust/{rust_1.57.0.bb => rust_1.58.0.bb}   |  0
 17 files changed, 76 insertions(+), 57 deletions(-)
 rename meta/recipes-devtools/cargo/{cargo-cross-canadian_1.57.0.bb => 
cargo-cross-canadian_1.58.0.bb} (100%)
 rename meta/recipes-devtools/cargo/{cargo_1.57.0.bb => cargo_1.58.0.bb} (100%)
 rename 
meta/recipes-devtools/rust/libstd-rs/{0005-Add-base-definitions-for-riscv64-musl-libc.patch
 => 0001-Add-base-definitions-for-riscv64-musl.patch} (97%)
 rename 
meta/recipes-devtools/rust/libstd-rs/{0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set.patch
 => 0002-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set.patch} (69%)
 rename 
meta/recipes-devtools/rust/libstd-rs/{0007-FIXUP-Correct-definitions-to-match-musl.patch
 => 0003-FIXUP-Correct-definitions-to-match-musl.patch} (98%)
 create mode 100644 
meta/recipes-devtools/rust/libstd-rs/0004-Update-checksums-for-modified-files-for-rust.patch
 delete mode 100644 
meta/recipes-devtools/rust/libstd-rs/0008-Update-checksums-for-modified-files-for-rust.patch
 delete mode 100644 meta/recipes-devtools/rust/libstd-rs_1.57.0.bb
 create mode 100644 meta/recipes-devtools/rust/libstd-rs_1.58.0.bb
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.57.0.bb => 
rust-cross-canadian_1.58.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-cross_1.57.0.bb => 
rust-cross_1.58.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.57.0.bb => rust-llvm_1.58.0.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-tools-cross-canadian_1.57.0.bb => 
rust-tools-cross-canadian_1.58.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust_1.57.0.bb => rust_1.58.0.bb} (100%)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index 49e99af8f2..b8b2e7cbf7 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -27,7 +27,7 @@ GOVERSION ?= "1.17%"
 # 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 ?= "12.0.1"
-RUSTVERSION ?= "1.57.0"
+RUSTVERSION ?= "1.58%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/cargo/cargo-cross-canadian_1.57.0.bb 
b/meta/recipes-devtools/cargo/cargo-cross-canadian_1.58.0.bb
similarity index 100%
rename from meta/recipes-devtools/cargo/cargo-cross-canadian_1.57.0.bb
rename to meta/recipes-devtools/cargo/cargo-cross-canadian_1.58.0.bb
diff --git a/meta/recipes-devtools/cargo/cargo_1.57.0.bb 
b/meta/recipes-devtools/cargo/cargo_1.58.0.bb
similarity index 100%
rename from meta/recipes-devtools/cargo/cargo_1.57.0.bb
rename to meta/recipes-devtools/cargo/cargo_1.58.0.bb
diff --git 
a/meta/recipes-devtools/rust/libstd-rs/0005-Add-base-definitions-for-riscv64-musl-libc.patch
 
b/meta/recipes-devtools/rust/libstd-rs/0001-Add-base-definitions-for-riscv64-musl.patch
similarity index 97%
rename from 
meta/recipes-devtools/rust/libstd-rs/0005-Add-base-definitions-for-riscv64-musl-libc.patch
rename to 
meta/recipes-devtools/rust/libstd-rs/0001-Add-base-definitions-for-riscv64-musl.patch
index dedf9af415..b1cd45d1dc 100644
--- 
a/meta/recipes-devtools/rust/libstd-rs/0005-Add-base-definitions-for-riscv64-musl-libc.patch
+++ 
b/meta/recipes-devtools/rust/libstd-rs/0001-Add-base-definitions-for-riscv64-musl.patch
@@ -1,7 +1,7 @@
-From 4e188d047dee33a19902113a3c90cdf1d8310a9e Mon Sep 17 00:00:00 2001
+From 8b86ecf87cf3589861b458f099572ad8487fc6cc Mon Sep 17 00:00:00 2001
 From: Ralf Anton Beier 
 Date: Sun, 8 Aug 2021 11:05:06 +0200
-Subject: [PATCH 5/8] Add base definitions for riscv64 + musl
+Subject: [PATCH 1/4] Add base definitions for riscv64 + musl
 
 
https://github.com/rust-lang/libc/pull/1994/commits/030a07761f61f3293d53752e60edbd330a9d718d
 
@@ -10,10 +10,12 @@ Signed-off-by: Khem Raj 
 Signed-off-by: Ralf Anton Beier 
 ---
  

[OE-core] [PATCH 10/39] logrotate: update 3.18.1 -> 3.19.0, drop rotate-across-filesystems patches

2022-01-19 Thread Alexander Kanavin
Upstream review and request to address it got no reaction
from the author, and the patches are an ongoing rebase burden,
so if someone needs this feature, please complete
the upstreaming work first.

Signed-off-by: Alexander Kanavin 
---
 meta/lib/oeqa/runtime/cases/logrotate.py  |  14 +-
 .../logrotate/0001-Update-the-manual.patch|  39 -
 .../logrotate/act-as-mv-when-rotate.patch | 149 --
 .../disable-check-different-filesystems.patch |  36 -
 ...ogrotate_3.18.1.bb => logrotate_3.19.0.bb} |   8 +-
 5 files changed, 9 insertions(+), 237 deletions(-)
 delete mode 100644 
meta/recipes-extended/logrotate/logrotate/0001-Update-the-manual.patch
 delete mode 100644 
meta/recipes-extended/logrotate/logrotate/act-as-mv-when-rotate.patch
 delete mode 100644 
meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch
 rename meta/recipes-extended/logrotate/{logrotate_3.18.1.bb => 
logrotate_3.19.0.bb} (92%)

diff --git a/meta/lib/oeqa/runtime/cases/logrotate.py 
b/meta/lib/oeqa/runtime/cases/logrotate.py
index a4efcd07c0..2bff08f9da 100644
--- a/meta/lib/oeqa/runtime/cases/logrotate.py
+++ b/meta/lib/oeqa/runtime/cases/logrotate.py
@@ -17,7 +17,7 @@ class LogrotateTest(OERuntimeTestCase):
 
 @classmethod
 def tearDownClass(cls):
-cls.tc.target.run('mv -f $HOME/wtmp.oeqabak /etc/logrotate.d/wtmp && 
rm -rf $HOME/logrotate_dir')
+cls.tc.target.run('mv -f $HOME/wtmp.oeqabak /etc/logrotate.d/wtmp && 
rm -rf /var/log//logrotate_dir')
 cls.tc.target.run('rm -rf /var/log/logrotate_testfile && rm -rf 
/etc/logrotate.d/logrotate_testfile')
 
 @OETestDepends(['ssh.SSHTest.test_ssh'])
@@ -29,17 +29,17 @@ class LogrotateTest(OERuntimeTestCase):
 msg = ('Could not create/update /var/log/wtmp with touch')
 self.assertEqual(status, 0, msg = msg)
 
-status, output = self.target.run('mkdir $HOME/logrotate_dir')
+status, output = self.target.run('mkdir /var/log//logrotate_dir')
 msg = ('Could not create logrotate_dir. Output: %s' % output)
 self.assertEqual(status, 0, msg = msg)
 
-status, output = self.target.run('echo "create \n olddir 
$HOME/logrotate_dir \n include /etc/logrotate.d/wtmp" > 
/tmp/logrotate-test.conf')
+status, output = self.target.run('echo "create \n olddir 
/var/log//logrotate_dir \n include /etc/logrotate.d/wtmp" > 
/tmp/logrotate-test.conf')
 msg = ('Could not write to /tmp/logrotate-test.conf')
 self.assertEqual(status, 0, msg = msg)
 
 # If logrotate fails to rotate the log, view the verbose output of 
logrotate to see what prevented it
 _, logrotate_output = self.target.run('logrotate -vf 
/tmp/logrotate-test.conf')
-status, _ = self.target.run('find $HOME/logrotate_dir -type f | grep 
wtmp.1')
+status, _ = self.target.run('find /var/log//logrotate_dir -type f | 
grep wtmp.1')
 msg = ("logrotate did not successfully rotate the wtmp log. Output 
from logrotate -vf: \n%s" % (logrotate_output))
 self.assertEqual(status, 0, msg = msg)

@@ -54,17 +54,17 @@ class LogrotateTest(OERuntimeTestCase):
 msg = ('Could not write to /etc/logrotate.d/logrotate_testfile')
 self.assertEqual(status, 0, msg = msg)
 
-status, output = self.target.run('echo "create \n olddir 
$HOME/logrotate_dir \n include /etc/logrotate.d/logrotate_testfile" > 
/tmp/logrotate-test2.conf')
+status, output = self.target.run('echo "create \n olddir 
/var/log//logrotate_dir \n include /etc/logrotate.d/logrotate_testfile" > 
/tmp/logrotate-test2.conf')
 msg = ('Could not write to /tmp/logrotate_test2.conf')
 self.assertEqual(status, 0, msg = msg)
 
-status, output = self.target.run('find $HOME/logrotate_dir -type f | 
grep logrotate_testfile.1')
+status, output = self.target.run('find /var/log//logrotate_dir -type f 
| grep logrotate_testfile.1')
 msg = ('A rotated log for logrotate_testfile is already present in 
logrotate_dir')
 self.assertEqual(status, 1, msg = msg)
 
 # If logrotate fails to rotate the log, view the verbose output of 
logrotate instead of just listing the files in olddir
 _, logrotate_output = self.target.run('logrotate -vf 
/tmp/logrotate-test2.conf')
-status, _ = self.target.run('find $HOME/logrotate_dir -type f | grep 
logrotate_testfile.1')
+status, _ = self.target.run('find /var/log//logrotate_dir -type f | 
grep logrotate_testfile.1')
 msg = ('logrotate did not successfully rotate the logrotate_test log. 
Output from logrotate -vf: \n%s' % (logrotate_output))
 self.assertEqual(status, 0, msg = msg)
 
diff --git 
a/meta/recipes-extended/logrotate/logrotate/0001-Update-the-manual.patch 
b/meta/recipes-extended/logrotate/logrotate/0001-Update-the-manual.patch
deleted file mode 100644
index 50a3852078..00
--- 

[OE-core] [PATCH 12/39] sqlite: update 3.37.1 -> 3.37.2

2022-01-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../sqlite/{sqlite3_3.37.1.bb => sqlite3_3.37.2.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.37.1.bb => sqlite3_3.37.2.bb} 
(77%)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.37.1.bb 
b/meta/recipes-support/sqlite/sqlite3_3.37.2.bb
similarity index 77%
rename from meta/recipes-support/sqlite/sqlite3_3.37.1.bb
rename to meta/recipes-support/sqlite/sqlite3_3.37.2.bb
index a13cca633a..56364b4828 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.37.1.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.37.2.bb
@@ -3,8 +3,8 @@ require sqlite3.inc
 LICENSE = "PD"
 LIC_FILES_CHKSUM = 
"file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed00c66"
 
-SRC_URI = "http://www.sqlite.org/2021/sqlite-autoconf-${SQLITE_PV}.tar.gz;
-SRC_URI[sha256sum] = 
"40f22a13bf38bbcd4c7ac79bcfb42a72d5aa40930c1f3f822e30ccce295f0f2e"
+SRC_URI = "http://www.sqlite.org/2022/sqlite-autoconf-${SQLITE_PV}.tar.gz;
+SRC_URI[sha256sum] = 
"4089a8d9b467537b3f246f217b84cd76e00b1d1a971fe5aca1e30e230e46b2d8"
 
 # -19242 is only an issue in specific development branch commits
 CVE_CHECK_WHITELIST += "CVE-2019-19242"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160703): 
https://lists.openembedded.org/g/openembedded-core/message/160703
Mute This Topic: https://lists.openembedded.org/mt/88531401/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 07/39] systemd: update 250.1 -> 250.3

2022-01-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../systemd/{systemd-boot_250.1.bb => systemd-boot_250.3.bb}| 0
 meta/recipes-core/systemd/systemd.inc   | 2 +-
 .../recipes-core/systemd/{systemd_250.1.bb => systemd_250.3.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/systemd/{systemd-boot_250.1.bb => 
systemd-boot_250.3.bb} (100%)
 rename meta/recipes-core/systemd/{systemd_250.1.bb => systemd_250.3.bb} (100%)

diff --git a/meta/recipes-core/systemd/systemd-boot_250.1.bb 
b/meta/recipes-core/systemd/systemd-boot_250.3.bb
similarity index 100%
rename from meta/recipes-core/systemd/systemd-boot_250.1.bb
rename to meta/recipes-core/systemd/systemd-boot_250.3.bb
diff --git a/meta/recipes-core/systemd/systemd.inc 
b/meta/recipes-core/systemd/systemd.inc
index 6739018559..9a460c187b 100644
--- a/meta/recipes-core/systemd/systemd.inc
+++ b/meta/recipes-core/systemd/systemd.inc
@@ -14,7 +14,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 
file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
 
-SRCREV = "402280118fe082122437638f53a0019c4aea81aa"
+SRCREV = "1b003bbc806198dbdd57b405d968f30565495e70"
 SRCBRANCH = "v250-stable"
 SRC_URI = 
"git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} 
\

file://0001-src-fundamental-list-fundamental_source_paths-using-.patch \
diff --git a/meta/recipes-core/systemd/systemd_250.1.bb 
b/meta/recipes-core/systemd/systemd_250.3.bb
similarity index 100%
rename from meta/recipes-core/systemd/systemd_250.1.bb
rename to meta/recipes-core/systemd/systemd_250.3.bb
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160698): 
https://lists.openembedded.org/g/openembedded-core/message/160698
Mute This Topic: https://lists.openembedded.org/mt/88531395/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 05/39] libuv: update 1.42.0 -> 1.43.0

2022-01-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libuv/{libuv_1.42.0.bb => libuv_1.43.0.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-connectivity/libuv/{libuv_1.42.0.bb => libuv_1.43.0.bb} 
(92%)

diff --git a/meta/recipes-connectivity/libuv/libuv_1.42.0.bb 
b/meta/recipes-connectivity/libuv/libuv_1.43.0.bb
similarity index 92%
rename from meta/recipes-connectivity/libuv/libuv_1.42.0.bb
rename to meta/recipes-connectivity/libuv/libuv_1.43.0.bb
index 2dfbb8b895..1b536de1e3 100644
--- a/meta/recipes-connectivity/libuv/libuv_1.42.0.bb
+++ b/meta/recipes-connectivity/libuv/libuv_1.43.0.bb
@@ -5,7 +5,7 @@ BUGTRACKER = "https://github.com/libuv/libuv/issues;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a68902a430e32200263d182d44924d47"
 
-SRCREV = "6ce14710da7079eb248868171f6343bc409ea3a4"
+SRCREV = "988f2bfc4defb9a85a536a3e645834c161143ee0"
 SRC_URI = "git://github.com/libuv/libuv;branch=v1.x;protocol=https"
 
 S = "${WORKDIR}/git"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160696): 
https://lists.openembedded.org/g/openembedded-core/message/160696
Mute This Topic: https://lists.openembedded.org/mt/88531393/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 06/39] resolvconf: update 1.87 -> 1.91

2022-01-19 Thread Alexander Kanavin
Drop patch as issue resolved upstream.

Signed-off-by: Alexander Kanavin 
---
 .../resolvconf/fix-path-for-busybox.patch | 20 ---
 ...{resolvconf_1.87.bb => resolvconf_1.91.bb} |  3 +--
 2 files changed, 1 insertion(+), 22 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/resolvconf/resolvconf/fix-path-for-busybox.patch
 rename meta/recipes-connectivity/resolvconf/{resolvconf_1.87.bb => 
resolvconf_1.91.bb} (96%)

diff --git 
a/meta/recipes-connectivity/resolvconf/resolvconf/fix-path-for-busybox.patch 
b/meta/recipes-connectivity/resolvconf/resolvconf/fix-path-for-busybox.patch
deleted file mode 100644
index 1aead07869..00
--- a/meta/recipes-connectivity/resolvconf/resolvconf/fix-path-for-busybox.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-
-busybox installs readlink into /usr/bin, so ensure /usr/bin
-is in the path.
-
-Upstream-Status: Submitted
-Signed-off-by: Saul Wold 
-
-Index: resolvconf-1.76/etc/resolvconf/update.d/libc
-===
 resolvconf-1.76.orig/etc/resolvconf/update.d/libc
-+++ resolvconf-1.76/etc/resolvconf/update.d/libc
-@@ -16,7 +16,7 @@
- #
- 
- set -e
--PATH=/sbin:/bin
-+PATH=/sbin:/bin:/usr/bin
- 
- [ -x /lib/resolvconf/list-records ] || exit 1
- 
diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.87.bb 
b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
similarity index 96%
rename from meta/recipes-connectivity/resolvconf/resolvconf_1.87.bb
rename to meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
index f57abe3619..cb25238eba 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.87.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
@@ -12,11 +12,10 @@ HOMEPAGE = "http://packages.debian.org/resolvconf;
 RDEPENDS:${PN} = "bash"
 
 SRC_URI = 
"git://salsa.debian.org/debian/resolvconf.git;protocol=https;branch=unstable \
-   file://fix-path-for-busybox.patch \
file://99_resolvconf \
"
 
-SRCREV = "1dda36d8465e335c60190c41e7185d782da1bd7b"
+SRCREV = "859209d573e7aec0e95d812c6b52444591a628d1"
 
 S = "${WORKDIR}/git"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160697): 
https://lists.openembedded.org/g/openembedded-core/message/160697
Mute This Topic: https://lists.openembedded.org/mt/88531394/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 03/39] meson: update 0.60.3 -> 0.61.1

2022-01-19 Thread Alexander Kanavin
Backport patches to epiphany/gcr/g-i to address failures with new meson.

Signed-off-by: Alexander Kanavin 
---
 ...sues-that-arise-when-cross-compiling.patch |  39 
 .../{meson_0.60.3.bb => meson_0.61.1.bb}  |   8 +-
 meta/recipes-gnome/epiphany/epiphany_41.3.bb  |   1 +
 ...5f7bab38301d8a4a444173acdae8d9692146.patch |  35 +++
 ...1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch |  61 +
 meta/recipes-gnome/gcr/gcr_3.40.0.bb  |   3 +-
 ...01-build-Avoid-the-doctemplates-hack.patch | 219 ++
 .../gobject-introspection_1.70.0.bb   |   1 +
 8 files changed, 322 insertions(+), 45 deletions(-)
 delete mode 100644 
meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
 rename meta/recipes-devtools/meson/{meson_0.60.3.bb => meson_0.61.1.bb} (94%)
 create mode 100644 
meta/recipes-gnome/epiphany/files/bfbb5f7bab38301d8a4a444173acdae8d9692146.patch
 create mode 100644 
meta/recipes-gnome/gcr/gcr/b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch
 create mode 100644 
meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-build-Avoid-the-doctemplates-hack.patch

diff --git 
a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
 
b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
deleted file mode 100644
index b098c4a123..00
--- 
a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From bbdd6679e49bcba5ec022b240ac234a87b451e41 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 4 Aug 2017 16:16:41 +0300
-Subject: [PATCH] gtkdoc: add support for a binary wrapper
-
-Make it possible to specify a wrapper for executing binaries
-in cross-compiling scenarios.
-(usually, some kind of target hardware emulator, such as qemu)
-
-Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/9627]
-Signed-off-by: Alexander Kanavin 
-

- mesonbuild/modules/gnome.py | 5 -
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
-index 1c6952d..5a6ff94 100644
 a/mesonbuild/modules/gnome.py
-+++ b/mesonbuild/modules/gnome.py
-@@ -35,7 +35,7 @@ from ..mesonlib import (
- from ..dependencies import Dependency, PkgConfigDependency, InternalDependency
- from ..interpreterbase import noPosargs, noKwargs, permittedKwargs, 
FeatureNew, FeatureNewKwargs, FeatureDeprecatedKwargs, FeatureDeprecated
- from ..interpreterbase import typed_kwargs, KwargInfo, ContainerTypeInfo
--from ..programs import ExternalProgram, OverrideProgram
-+from ..programs import ExternalProgram, OverrideProgram, EmptyExternalProgram
- from ..build import CustomTarget, CustomTargetIndex, GeneratedList
- 
- if T.TYPE_CHECKING:
-@@ -1103,6 +1103,9 @@ class GnomeModule(ExtensionModule):
- args.append(f'--{program_name}={path}')
- if namespace:
- args.append('--namespace=' + namespace)
-+if state.environment.need_exe_wrapper() and not 
isinstance(state.environment.get_exe_wrapper(), EmptyExternalProgram):
-+args.append('--run=' + ' 
'.join(state.environment.get_exe_wrapper().get_command()))
-+
- args += self._unpack_args('--htmlargs=', 'html_args', kwargs)
- args += self._unpack_args('--scanargs=', 'scan_args', kwargs)
- args += self._unpack_args('--scanobjsargs=', 'scanobjs_args', kwargs)
diff --git a/meta/recipes-devtools/meson/meson_0.60.3.bb 
b/meta/recipes-devtools/meson/meson_0.61.1.bb
similarity index 94%
rename from meta/recipes-devtools/meson/meson_0.60.3.bb
rename to meta/recipes-devtools/meson/meson_0.61.1.bb
index 62ca09465b..32b1240012 100644
--- a/meta/recipes-devtools/meson/meson_0.60.3.bb
+++ b/meta/recipes-devtools/meson/meson_0.61.1.bb
@@ -8,14 +8,15 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRC_URI = 
"https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz 
\
-   file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch 
\
+   file://meson-setup.py \
+   file://meson-wrapper \

file://0001-python-module-do-not-manipulate-the-environment-when.patch \
file://disable-rpath-handling.patch \
file://0001-Make-CPU-family-warnings-fatal.patch \
file://0002-Support-building-allarch-recipes-again.patch \
file://0001-is_debianlike-always-return-False.patch \
"
-SRC_URI[sha256sum] = 
"87ca5fa9358a01864529392bd64e027158eb94afca7c7766b1866ef27eccb98e"
+SRC_URI[sha256sum] = 
"feb2cefb325b437dbf36146df7c6b87688ddff0b0205caa31dc64055c6da410c"
 
 UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases;
 UPSTREAM_CHECK_REGEX = "meson-(?P\d+(\.\d+)+)\.tar"
@@ -40,9 +41,6 @@ BBCLASSEXTEND = "native nativesdk"
 
 inherit meson-routines
 

[OE-core] [PATCH 01/39] mesa: fold mesa-gl variant into the main recipe using mcextend class

2022-01-19 Thread Alexander Kanavin
This reduces friction in version updates and allows fully automated ones.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb |  16 -
 meta/recipes-graphics/mesa/mesa.inc  | 316 -
 meta/recipes-graphics/mesa/mesa_21.3.4.bb| 335 ++-
 3 files changed, 334 insertions(+), 333 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb
 delete mode 100644 meta/recipes-graphics/mesa/mesa.inc

diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb 
b/meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb
deleted file mode 100644
index 142bb743b1..00
--- a/meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-require mesa.inc
-
-SUMMARY += " (OpenGL only, no EGL/GLES)"
-
-PROVIDES = "virtual/libgl virtual/mesa"
-
-S = "${WORKDIR}/mesa-${PV}"
-
-# At least one DRI rendering engine is required to build mesa.
-# When no X11 is available, use osmesa for the rendering engine.
-PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 
'x11', 'osmesa gallium', d)}"
-PACKAGECONFIG:class-target = "opengl dri 
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
-
-# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS
-# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri 
drivers require at least one windowing system
-DRIDRIVERS ?= ""
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
deleted file mode 100644
index 71cc3b4617..00
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ /dev/null
@@ -1,316 +0,0 @@
-SUMMARY = "A free implementation of the OpenGL API"
-DESCRIPTION = "Mesa is an open-source implementation of the OpenGL 
specification - \
-a system for rendering interactive 3D graphics.  \
-A variety of device drivers allows Mesa to be used in many different 
environments \
-ranging from software emulation to complete hardware acceleration for modern 
GPUs. \
-Mesa is used as part of the overall Direct Rendering Infrastructure and X.org \
-environment."
-
-HOMEPAGE = "http://mesa3d.org;
-BUGTRACKER = "https://bugs.freedesktop.org;
-SECTION = "x11"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://docs/license.rst;md5=17a4ea65de7a9ab42437f3131e616a7f"
-
-PE = "2"
-
-SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
-   
file://0001-meson.build-check-for-all-linux-host_os-combinations.patch \
-   file://0002-meson.build-make-TLS-ELF-optional.patch \
-   file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
-   file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
-   file://0001-util-format-Check-for-NEON-before-using-it.patch \
-   file://0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch \
-   "
-
-SRC_URI[sha256sum] = 
"77104fd4a93bce69da3b0982f8ee88ba7c4fb98cfc491a669894339cdcd4a67d"
-
-UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
-
-#because we cannot rely on the fact that all apps will use pkgconfig,
-#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
-do_install:append() {
-if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
-sed -i -e 's/^#elif defined(__unix__) && defined(EGL_NO_X11)$/#elif 
defined(__unix__) \&\& defined(EGL_NO_X11) || 
${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' 
${D}${includedir}/EGL/eglplatform.h
-fi
-}
-
-DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native 
zlib chrpath-replacement-native python3-mako-native gettext-native"
-EXTRANATIVEPATH += "chrpath-native"
-PROVIDES = " \
-${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \
-${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 
virtual/libgles2 virtual/libgles3', '', d)} \
-${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \
-${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \
-virtual/mesa \
-"
-
-inherit meson pkgconfig python3native gettext features_check
-
-BBCLASSEXTEND = "native nativesdk"
-
-ANY_OF_DISTRO_FEATURES:class-target = "opengl vulkan"
-
-PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"
-
-export YOCTO_ALTERNATE_EXE_PATH = 
"${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config"
-export YOCTO_ALTERNATE_MULTILIB_NAME = "${base_libdir}"
-export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}"
-export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
-
-MESA_LLVM_RELEASE ?= "${LLVMVERSION}"
-
-# set the MESA_BUILD_TYPE to either 'release' (default) or 'debug'
-# by default the upstream mesa sources build a debug release
-# here we assume the user will want a release build by default
-MESA_BUILD_TYPE ?= "release"
-def check_buildtype(d):
-_buildtype = d.getVar('MESA_BUILD_TYPE')
-if _buildtype not in ['release', 'debug']:
-bb.fatal("unknown 

[OE-core] [PATCH 02/39] meson: fold nativesdk into the main recipe

2022-01-19 Thread Alexander Kanavin
This allows automated version updates when possible, and reduces friction in 
manual ones.

Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/maintainers.inc  |   1 -
 meta/recipes-devtools/meson/meson.inc |  37 -
 meta/recipes-devtools/meson/meson_0.60.3.bb   | 135 +-
 .../meson/nativesdk-meson_0.60.3.bb   | 104 --
 4 files changed, 133 insertions(+), 144 deletions(-)
 delete mode 100644 meta/recipes-devtools/meson/meson.inc
 delete mode 100644 meta/recipes-devtools/meson/nativesdk-meson_0.60.3.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 55ec826249..ae25287c11 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -524,7 +524,6 @@ RECIPE_MAINTAINER:pn-nasm = "Richard Purdie 

 RECIPE_MAINTAINER:pn-nativesdk-buildtools-perl-dummy = "Richard Purdie 
"
 RECIPE_MAINTAINER:pn-nativesdk-icecc-toolchain = "Joshua Watt 
"
 RECIPE_MAINTAINER:pn-nativesdk-libtool = "Richard Purdie 
"
-RECIPE_MAINTAINER:pn-nativesdk-meson = "Alexander Kanavin 
"
 RECIPE_MAINTAINER:pn-nativesdk-packagegroup-sdk-host = "Ross Burton 
"
 RECIPE_MAINTAINER:pn-nativesdk-qemu-helper = "Richard Purdie 
"
 RECIPE_MAINTAINER:pn-nativesdk-sdk-provides-dummy = "Richard Purdie 
"
diff --git a/meta/recipes-devtools/meson/meson.inc 
b/meta/recipes-devtools/meson/meson.inc
deleted file mode 100644
index 042cf130e4..00
--- a/meta/recipes-devtools/meson/meson.inc
+++ /dev/null
@@ -1,37 +0,0 @@
-HOMEPAGE = "http://mesonbuild.com;
-SUMMARY = "A high performance build system"
-DESCRIPTION = "Meson is a build system designed to increase programmer \
-productivity. It does this by providing a fast, simple and easy to use \
-interface for modern software development tools and practices."
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-SRC_URI = 
"https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz 
\
-   file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch 
\
-   
file://0001-python-module-do-not-manipulate-the-environment-when.patch \
-   file://disable-rpath-handling.patch \
-   file://0001-Make-CPU-family-warnings-fatal.patch \
-   file://0002-Support-building-allarch-recipes-again.patch \
-   file://0001-is_debianlike-always-return-False.patch \
-   "
-SRC_URI[sha256sum] = 
"87ca5fa9358a01864529392bd64e027158eb94afca7c7766b1866ef27eccb98e"
-
-UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases;
-UPSTREAM_CHECK_REGEX = "meson-(?P\d+(\.\d+)+)\.tar"
-
-inherit setuptools3
-
-RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources"
-
-FILES:${PN} += "${datadir}/polkit-1"
-
-do_install:append () {
-   # As per the same issue in the python recipe itself:
-   # Unfortunately the following pyc files are non-deterministc due to 
'frozenset'
-   # being written without strict ordering, even with PYTHONHASHSEED = 0
-   # Upstream is discussing ways to solve the issue properly, until then 
let's
-   # just not install the problematic files.
-   # More info: http://benno.id.au/blog/2013/01/15/python-determinism
-   rm 
${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython*
-}
diff --git a/meta/recipes-devtools/meson/meson_0.60.3.bb 
b/meta/recipes-devtools/meson/meson_0.60.3.bb
index de9b905c12..62ca09465b 100644
--- a/meta/recipes-devtools/meson/meson_0.60.3.bb
+++ b/meta/recipes-devtools/meson/meson_0.60.3.bb
@@ -1,4 +1,135 @@
-include meson.inc
+HOMEPAGE = "http://mesonbuild.com;
+SUMMARY = "A high performance build system"
+DESCRIPTION = "Meson is a build system designed to increase programmer \
+productivity. It does this by providing a fast, simple and easy to use \
+interface for modern software development tools and practices."
 
-BBCLASSEXTEND = "native"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
+SRC_URI = 
"https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz 
\
+   file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch 
\
+   
file://0001-python-module-do-not-manipulate-the-environment-when.patch \
+   file://disable-rpath-handling.patch \
+   file://0001-Make-CPU-family-warnings-fatal.patch \
+   file://0002-Support-building-allarch-recipes-again.patch \
+   file://0001-is_debianlike-always-return-False.patch \
+   "
+SRC_URI[sha256sum] = 
"87ca5fa9358a01864529392bd64e027158eb94afca7c7766b1866ef27eccb98e"
+
+UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases;
+UPSTREAM_CHECK_REGEX = "meson-(?P\d+(\.\d+)+)\.tar"
+
+inherit setuptools3
+
+RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources"
+
+FILES:${PN} += "${datadir}/polkit-1"
+
+do_install:append () {
+   # As 

[OE-core] [PATCH 04/39] efivar: update 37 -> 38

2022-01-19 Thread Alexander Kanavin
Drop determinism.patch, resolved by
https://github.com/rhboot/efivar/commit/641a1626543ca3bf0cdd5ea0bd6cc3a82462521a

Drop no-werror.patch, can now be replaced by ERRORS= in make invocation.

Add a patch to efibootmgr to address build failures with new version.

Signed-off-by: Alexander Kanavin 
---
 ...1-src-make-compatible-with-efivar-38.patch | 47 +++
 meta/recipes-bsp/efibootmgr/efibootmgr_17.bb  |  6 ++-
 ...1-docs-do-not-build-efisecdb-manpage.patch | 26 ++
 ...uild-util.c-separately-for-makeguids.patch | 38 +++
 .../efivar/efivar/determinism.patch   | 18 ---
 .../recipes-bsp/efivar/efivar/no-werror.patch | 18 ---
 .../efivar/{efivar_37.bb => efivar_38.bb} | 19 
 7 files changed, 125 insertions(+), 47 deletions(-)
 create mode 100644 
meta/recipes-bsp/efibootmgr/efibootmgr/0001-src-make-compatible-with-efivar-38.patch
 create mode 100644 
meta/recipes-bsp/efivar/efivar/0001-docs-do-not-build-efisecdb-manpage.patch
 create mode 100644 
meta/recipes-bsp/efivar/efivar/0001-src-Makefile-build-util.c-separately-for-makeguids.patch
 delete mode 100644 meta/recipes-bsp/efivar/efivar/determinism.patch
 delete mode 100644 meta/recipes-bsp/efivar/efivar/no-werror.patch
 rename meta/recipes-bsp/efivar/{efivar_37.bb => efivar_38.bb} (59%)

diff --git 
a/meta/recipes-bsp/efibootmgr/efibootmgr/0001-src-make-compatible-with-efivar-38.patch
 
b/meta/recipes-bsp/efibootmgr/efibootmgr/0001-src-make-compatible-with-efivar-38.patch
new file mode 100644
index 00..f8d912391e
--- /dev/null
+++ 
b/meta/recipes-bsp/efibootmgr/efibootmgr/0001-src-make-compatible-with-efivar-38.patch
@@ -0,0 +1,47 @@
+From 07f080184d067c1ebc3fec1b53dd4a06d1a2566a Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 17 Jan 2022 23:24:34 +0100
+Subject: [PATCH] src: make compatible with efivar 38
+
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin 
+---
+ src/efibootdump.c | 2 +-
+ src/efibootmgr.c  | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/efibootdump.c b/src/efibootdump.c
+index eceffd6..09bd76e 100644
+--- a/src/efibootdump.c
 b/src/efibootdump.c
+@@ -69,7 +69,7 @@ print_boot_entry(efi_load_option *loadopt, size_t data_size)
+   text_path = alloca(text_path_len);
+   if (!text_path)
+   error(100, "Couldn't allocate memory");
+-  rc = efidp_format_device_path(text_path, text_path_len,
++  rc = efidp_format_device_path((unsigned char *)text_path, text_path_len,
+ dp, pathlen);
+   if (rc < 0) {
+   printf("");
+diff --git a/src/efibootmgr.c b/src/efibootmgr.c
+index 4e1a680..b77b1fb 100644
+--- a/src/efibootmgr.c
 b/src/efibootmgr.c
+@@ -949,7 +949,7 @@ show_vars(const char *prefix)
+   pathlen = efi_loadopt_pathlen(load_option,
+ boot->data_size);
+   dp = efi_loadopt_path(load_option, boot->data_size);
+-  rc = efidp_format_device_path(text_path, text_path_len,
++  rc = efidp_format_device_path((unsigned char 
*)text_path, text_path_len,
+ dp, pathlen);
+   if (rc < 0)
+   error(18, "Could not parse device path");
+@@ -960,7 +960,7 @@ show_vars(const char *prefix)
+   if (!text_path)
+   error(19, "Could not parse device path");
+ 
+-  rc = efidp_format_device_path(text_path, text_path_len,
++  rc = efidp_format_device_path((unsigned char 
*)text_path, text_path_len,
+ dp, pathlen);
+   if (rc < 0)
+   error(20, "Could not parse device path");
diff --git a/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb 
b/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb
index e9dfa0770e..3f883122e0 100644
--- a/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb
+++ b/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb
@@ -13,7 +13,8 @@ COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
 SRC_URI = 
"git://github.com/rhinstaller/efibootmgr.git;protocol=https;branch=master \
file://0001-remove-extra-decl.patch \
file://97668ae0bce776a36ea2001dea63d376be8274ac.patch \
-  "
+   file://0001-src-make-compatible-with-efivar-38.patch \
+   "
 SRCREV = "e067160ecef8208e1944002e5d50b275733211fb"
 
 S = "${WORKDIR}/git"
@@ -33,3 +34,6 @@ do_install () {
 }
 
 CLEANBROKEN = "1"
+# https://github.com/rhboot/efivar/issues/202
+COMPATIBLE_HOST:libc-musl = 'null'
+
diff --git 
a/meta/recipes-bsp/efivar/efivar/0001-docs-do-not-build-efisecdb-manpage.patch 
b/meta/recipes-bsp/efivar/efivar/0001-docs-do-not-build-efisecdb-manpage.patch
new file mode 100644
index 00..cb30d3c430
--- /dev/null
+++ 

Re: [OE-core] [PATCH] package_manager/rpm: conditional remove package manager database

2022-01-19 Thread Alexander Kanavin
Apologies, but please no. This adds complexity, isn't possible to disable
and is difficult to understand. You can simply remove the unneeded files
from ROOTFS_POSTPROCESS_COMMAND in your image class.

Alex

On Wed, 19 Jan 2022 at 04:07, hongxu  wrote:

> In order to save spaces in target rootfs, the user wants to remove dnf and
> keep rpm, in this situation, we should remove dnf database only
>
> If rpm was installed, keep rpm database, after applying this commit:
>
> Edit conf/local.conf
> ...
> IMAGE_FEATURES:remove = "package-management"
> IMAGE_INSTALL:append= " rpm"
> ...
>
> Build image and boot, run rpm -qa on target:
> Without this commit
> ...
> root@intel-x86-64:~# rpm -qa | wc -l
> 0
> ...
>
> Apply this commit
> ...
> root@intel-x86-64:~# rpm -qa | wc -l
> 1865
> ...
>
> With this commit, the rpm -qa works as expected.
>
> It does not make sense to keep dnf and remove rpm, so this commit
> does not consider the scenario
>
> Signed-off-by: Hongxu Jia 
> ---
>  meta/lib/oe/package_manager/rpm/__init__.py | 9 +++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/meta/lib/oe/package_manager/rpm/__init__.py
> b/meta/lib/oe/package_manager/rpm/__init__.py
> index b392581069..dce5912329 100644
> --- a/meta/lib/oe/package_manager/rpm/__init__.py
> +++ b/meta/lib/oe/package_manager/rpm/__init__.py
> @@ -80,7 +80,9 @@ class RpmPM(PackageManager):
>  self.saved_packaging_data =
> self.d.expand('${T}/saved_packaging_data/%s' % self.task_name)
>  if not os.path.exists(self.d.expand('${T}/saved_packaging_data')):
>  bb.utils.mkdirhier(self.d.expand('${T}/saved_packaging_data'))
> -self.packaging_data_dirs = ['etc/rpm', 'etc/rpmrc', 'etc/dnf',
> 'var/lib/rpm', 'var/lib/dnf', 'var/cache/dnf']
> +self.packaging_data_rpm_dirs = ['etc/rpm', 'etc/rpmrc',
> 'var/lib/rpm']
> +self.packaging_data_dnf_dirs = ['etc/dnf', 'var/lib/dnf',
> 'var/cache/dnf']
> +self.packaging_data_dirs = self.packaging_data_rpm_dirs +
> self.packaging_data_dnf_dirs
>  self.solution_manifest = self.d.expand('${T}/saved/%s_solution' %
> self.task_name)
>  if not os.path.exists(self.d.expand('${T}/saved')):
> @@ -237,8 +239,11 @@ class RpmPM(PackageManager):
>  self._invoke_dnf(["autoremove"])
>
>  def remove_packaging_data(self):
> +remove_packaging_data_dirs = self.packaging_data_dnf_dirs
> +if "rpm" not in self.list_installed():
> +remove_packaging_data_dirs += self.packaging_data_rpm_dirs
>  self._invoke_dnf(["clean", "all"])
> -for dir in self.packaging_data_dirs:
> +for dir in remove_packaging_data_dirs:
>  bb.utils.remove(oe.path.join(self.target_rootfs, dir), True)
>
>  def backup_packaging_data(self):
> --
> 2.27.0
>
>
> 
>
>

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