Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-10 Thread Robert Yang

Hi RP,

On 11/9/21 6:26 PM, Richard Purdie wrote:

On Tue, 2021-11-09 at 10:56 +0100, Alexander Kanavin wrote:

On Tue, 9 Nov 2021 at 10:51, Robert Yang  wrote:

Maybe, but once we start doing tweaks like this, where do they stop? Hey,

I'd

I think that it's not only a performance tweak, but this should be
considered
as
a bug since it would be failed to build on powerful machine, which isn't
good
for oe-core's user experience.




I managed to bring down a powerful machine just yesterday by building webkit
and llvm together at the same time. They together ate all the RAM, and someone
in the office had to go and reset the box.
Do I see it as a bug? Absolutely not: it's in fact my fault for not ensuring
system resource consumption doesn't overwhelm the machine. This is the same:
if you do not have RAM to match the cores on your specific rig, add RAM or
limit the threads.


I can see both sides of this. If we had a pool for all the threads and the
pieces of the system all used the same pool, it would work well as implemented.
Sadly the bitbake threads, the make processes and now the compression threads
are all separate.

We do see the autobuilder break due to load issues too and on that we have
scaled back some of the defaults but not ZSTD as yet that I recall.

As such I think limiting the upper value on number of threads may be a good
compromise, both for compression and maybe for parallel make too.


What should we do next, please? Limit bb thread + parallel make + zstd thread?
Or just limit zstd's thread since other people may concern about the
performance.

// Robert



Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158147): 
https://lists.openembedded.org/g/openembedded-core/message/158147
Mute This Topic: https://lists.openembedded.org/mt/86926962/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 14/14] selftest/reproducible: add webkitgtk back to exclusion list for dunfell

2021-11-10 Thread Steve Sakoman
We are still getting occassional failures to reproduce

Signed-off-by: Steve Sakoman 
---
 meta/lib/oeqa/selftest/cases/reproducible.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py 
b/meta/lib/oeqa/selftest/cases/reproducible.py
index 60ddc76340..4b606e7e64 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -59,6 +59,7 @@ exclude_packages = [
'systemd-bootchart',
'systemtap',
'valgrind-ptest',
+   'webkitgtk',
]
 
 def is_excluded(package):
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158146): 
https://lists.openembedded.org/g/openembedded-core/message/158146
Mute This Topic: https://lists.openembedded.org/mt/86975103/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 13/14] reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking

2021-11-10 Thread Steve Sakoman
From: Mark Hatle 

Previously if BUILD_REPRODUCIBLE_BINARIES was set to 0, the system would
fall back and select the default epoch (April 2011), but still perform
the reproducible build actions.  This resulted in binaries that had an
unusually old date.

Simplify the functions and remove the anonymous python as no longer
necessary.

Also improve the documentation to better explain what the class is doing
and how a recipe can override the behavior if necessary.

Signed-off-by: Mark Hatle 
Signed-off-by: Mark Hatle 
Signed-off-by: Richard Purdie 
(cherry picked from commit 1976013b026cfba94de32a13e994d92d7e9e39e5)
Signed-off-by: Steve Sakoman 
---
 meta/classes/reproducible_build.bbclass | 53 -
 1 file changed, 34 insertions(+), 19 deletions(-)

diff --git a/meta/classes/reproducible_build.bbclass 
b/meta/classes/reproducible_build.bbclass
index b44053d076..2b402b9966 100644
--- a/meta/classes/reproducible_build.bbclass
+++ b/meta/classes/reproducible_build.bbclass
@@ -1,17 +1,38 @@
 # reproducible_build.bbclass
 #
-# Sets SOURCE_DATE_EPOCH in each component's build environment.
+# Sets the default SOURCE_DATE_EPOCH in each component's build environment.
+# The format is number of seconds since the system epoch.
+#
 # Upstream components (generally) respect this environment variable,
 # using it in place of the "current" date and time.
 # See https://reproducible-builds.org/specs/source-date-epoch/
 #
-# After sources are unpacked but before they are patched, we set a 
reproducible value for SOURCE_DATE_EPOCH.
-# This value should be reproducible for anyone who builds the same revision 
from the same sources.
+# The default value of SOURCE_DATE_EPOCH comes from the function
+# get_source_date_epoch_value which reads from the SDE_FILE, or if the file
+# is not available (or set to 0) will use the fallback of
+# SOURCE_DATE_EPOCH_FALLBACK.
+#
+# The SDE_FILE is normally constructed from the function
+# create_source_date_epoch_stamp which is typically added as a postfuncs to
+# the do_unpack task.  If a recipe does NOT have do_unpack, it should be added
+# to a task that runs after the source is available and before the
+# do_deploy_source_date_epoch task is executed.
+#
+# If a recipe wishes to override the default behavior it should set it's own
+# SOURCE_DATE_EPOCH or override the do_deploy_source_date_epoch_stamp task
+# with recipe-specific functionality to write the appropriate
+# SOURCE_DATE_EPOCH into the SDE_FILE.
+#
+# SOURCE_DATE_EPOCH is intended to be a reproducible value.  This value should
+# be reproducible for anyone who builds the same revision from the same
+# sources.
 #
-# There are 4 ways we determine SOURCE_DATE_EPOCH:
+# There are 4 ways the create_source_date_epoch_stamp function determines what
+# becomes SOURCE_DATE_EPOCH:
 #
 # 1. Use the value from __source_date_epoch.txt file if this file exists.
-#This file was most likely created in the previous build by one of the 
following methods 2,3,4.
+#This file was most likely created in the previous build by one of the
+#following methods 2,3,4.
 #Alternatively, it can be provided by a recipe via SRC_URI.
 #
 # If the file does not exist:
@@ -22,20 +43,16 @@
 # 3. Use the mtime of "known" files such as NEWS, CHANGLELOG, ...
 #This works for well-kept repositories distributed via tarball.
 #
-# 4. Use the modification time of the youngest file in the source tree, if 
there is one.
+# 4. Use the modification time of the youngest file in the source tree, if
+#there is one.
 #This will be the newest file from the distribution tarball, if any.
 #
-# 5. Fall back to a fixed timestamp.
+# 5. Fall back to a fixed timestamp (SOURCE_DATE_EPOCH_FALLBACK).
 #
-# Once the value of SOURCE_DATE_EPOCH is determined, it is stored in the 
recipe's SDE_FILE.
-# If none of these mechanisms are suitable, replace the 
do_deploy_source_date_epoch task
-# with recipe-specific functionality to write the appropriate 
SOURCE_DATE_EPOCH into the SDE_FILE.
-#
-# If this file is found by other tasks, the value is exported in the 
SOURCE_DATE_EPOCH variable.
-# SOURCE_DATE_EPOCH is set for all tasks that might use it (do_configure, 
do_compile, do_package, ...)
+# Once the value is determined, it is stored in the recipe's SDE_FILE.
 
 BUILD_REPRODUCIBLE_BINARIES ??= '1'
-inherit ${@oe.utils.ifelse(d.getVar('BUILD_REPRODUCIBLE_BINARIES') == '1', 
'reproducible_build_simple', '')}
+inherit reproducible_build_simple
 
 SDE_DIR = "${WORKDIR}/source-date-epoch"
 SDE_FILE = "${SDE_DIR}/__source_date_epoch.txt"
@@ -89,6 +106,9 @@ python create_source_date_epoch_stamp() {
 os.rename(tmp_file, epochfile)
 }
 
+# Generate the stamp after do_unpack runs
+do_unpack[postfuncs] += "create_source_date_epoch_stamp"
+
 def get_source_date_epoch_value(d):
 epochfile = d.getVar('SDE_FILE')
 cached, efile = d.getVar('__CACHED_SOURCE_DATE_EPOCH') or (None, None)
@@ -116,8 +136,3 @@ def get_source_date_epoch_value(d):
 
 

[OE-core][dunfell 12/14] sstate: Avoid deploy_source_date_epoch sstate when unneeded

2021-11-10 Thread Steve Sakoman
From: Richard Purdie 

This sstate task is only needed when depended upon, it can be skipped
if there are no tasks running that directly depend upon it.

This reduced the number of sstate tasks in something like an image
build.

Signed-off-by: Richard Purdie 
(cherry picked from commit 601cee016da5c7505915e26641a085714de175ce)
Signed-off-by: Steve Sakoman 
---
 meta/classes/sstate.bbclass | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 50d44398f9..c2720cde92 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -1060,6 +1060,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d, 
log=None):
 if taskdependees[task][1] == "do_populate_lic":
 return True
 
+# We only need to trigger deploy_source_date_epoch through direct 
dependencies
+if taskdependees[task][1] == "do_deploy_source_date_epoch":
+return True
+
 # stash_locale and gcc_stash_builddir are never needed as a dependency for 
built objects
 if taskdependees[task][1] == "do_stash_locale" or taskdependees[task][1] 
== "do_gcc_stash_builddir":
 return True
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158144): 
https://lists.openembedded.org/g/openembedded-core/message/158144
Mute This Topic: https://lists.openembedded.org/mt/86975101/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 11/14] sstate: Ensure SDE is accounted for in package task timestamps

2021-11-10 Thread Steve Sakoman
From: Richard Purdie 

When creating packages we build them with --clamp-mtime and use
SOURCE_DATE_EPOCH as the maximum mtime. This makes the end packages
reproducible. The data stored in sstate for do_package and the package
task doesn't benefit from this though and have varying timestamps.
This means their outhash varies and means hash equivalance isn't
effective at all and doesn't work as intended/desired.

We could create the sstate archives with the same clamping however
that would lead to different results depending on whether a task was
installed from sstate or not. Making that differ is a path to madness.
It also wouldn't fix the outhash of the task to be determninistic
without clamping of the date in the hash calculation code.

Instead, iterate over the files in sstate output and clamp them at
the code level. This isn't ideal but does make the file timestamps
determnistic everywhere and means we don't have to change the hash
calculation code.

This issue can be clearly seen looking at the do_package outhash for
a recipe which you then re-run the package task for after adding
something like whitespace to the install task. The outhash shouldn't
change but currently does.

Signed-off-by: Richard Purdie 
(cherry picked from commit c3b3cc4745811b48b9193f83889946b2e1788932)
Signed-off-by: Steve Sakoman 
---
 meta/classes/sstate.bbclass | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 930d87424f..50d44398f9 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -640,10 +640,21 @@ python sstate_hardcode_path () {
 
 def sstate_package(ss, d):
 import oe.path
+import time
 
 tmpdir = d.getVar('TMPDIR')
 
+fixtime = False
+if ss['task'] == "package":
+fixtime = True
+
+def fixtimestamp(root, path):
+f = os.path.join(root, path)
+if os.lstat(f).st_mtime > sde:
+os.utime(f, (sde, sde), follow_symlinks=False)
+
 sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task'])
+sde = int(d.getVar("SOURCE_DATE_EPOCH") or time.time())
 d.setVar("SSTATE_CURRTASK", ss['task'])
 bb.utils.remove(sstatebuild, recurse=True)
 bb.utils.mkdirhier(sstatebuild)
@@ -656,6 +667,8 @@ def sstate_package(ss, d):
 # to sstate tasks but there aren't many of these so better just avoid 
them entirely.
 for walkroot, dirs, files in os.walk(state[1]):
 for file in files + dirs:
+if fixtime:
+fixtimestamp(walkroot, file)
 srcpath = os.path.join(walkroot, file)
 if not os.path.islink(srcpath):
 continue
@@ -677,6 +690,11 @@ def sstate_package(ss, d):
 bb.utils.mkdirhier(plain)
 bb.utils.mkdirhier(pdir)
 os.rename(plain, pdir)
+if fixtime:
+fixtimestamp(pdir, "")
+for walkroot, dirs, files in os.walk(pdir):
+for file in files + dirs:
+fixtimestamp(walkroot, file)
 
 d.setVar('SSTATE_BUILDDIR', sstatebuild)
 d.setVar('SSTATE_INSTDIR', sstatebuild)
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158143): 
https://lists.openembedded.org/g/openembedded-core/message/158143
Mute This Topic: https://lists.openembedded.org/mt/86975100/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 10/14] sstate: another fix for touching files inside pseudo

2021-11-10 Thread Steve Sakoman
From: Jose Quaresma 

This patch is a fixup for 676757f "sstate: fix touching files inside pseudo"

running the 'id' command inside the sstate_unpack_package
function shows that this funcion run inside the pseudo:

 uid=0(root) gid=0(root) groups=0(root)

The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ]
will always return true and the touch can fail when the real user
don't have permission or in readonly filesystem.

As the documentation refers:
- the file test operator "-w" check if the file has write permission
(for the user running the test).
- the file test operator "-O" check if you are owner of file

We can avoid this test running the touch and mask any return errors
that we have.

(From OE-Core rev: 29fc85997ade490ae46ffca37ef8e1a56957c876)

Signed-off-by: Jose Quaresma 
Signed-off-by: Richard Purdie 
(cherry picked from commit 5b9210d66c78bb3f79056e5586cea7b0edd714a9)
Signed-off-by: Steve Sakoman 
---
 meta/classes/sstate.bbclass | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 38dc3bff30..930d87424f 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -859,12 +859,12 @@ python sstate_report_unihash() {
 #
 sstate_unpack_package () {
tar -xvzf ${SSTATE_PKG}
-   # update .siginfo atime on local/NFS mirror
-   [ -O ${SSTATE_PKG}.siginfo ] && [ -w ${SSTATE_PKG}.siginfo ] && [ -h 
${SSTATE_PKG}.siginfo ] && touch -a ${SSTATE_PKG}.siginfo
-   # Use "! -w ||" to return true for read only files
-   [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG}
-   [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch 
--no-dereference ${SSTATE_PKG}.sig
-   [ ! -w ${SSTATE_PKG}.siginfo ] || [ ! -e ${SSTATE_PKG}.siginfo ] || 
touch --no-dereference ${SSTATE_PKG}.siginfo
+   # update .siginfo atime on local/NFS mirror if it is a symbolic link
+   [ ! -h ${SSTATE_PKG}.siginfo ] || touch -a ${SSTATE_PKG}.siginfo 
2>/dev/null || true
+   # update each symbolic link instead of any referenced file
+   touch --no-dereference ${SSTATE_PKG} 2>/dev/null || true
+   [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 
2>/dev/null || true
+   [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference 
${SSTATE_PKG}.siginfo 2>/dev/null || true
 }
 
 BB_HASHCHECK_FUNCTION = "sstate_checkhashes"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158142): 
https://lists.openembedded.org/g/openembedded-core/message/158142
Mute This Topic: https://lists.openembedded.org/mt/86975099/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 09/14] mirrors: Add uninative mirror on kernel.org

2021-11-10 Thread Steve Sakoman
From: Richard Purdie 

At the last nas outage, we realised that we don't have good mirrors of the
uninative tarball if our main system can't be accessed. kernel.org mirrors
some Yocto Project data so we've ensured uninative is there. Add the appropriate
mirror url to make use of that.

Signed-off-by: Richard Purdie 
Signed-off-by: Steve Sakoman 
---
 meta/classes/mirrors.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index ebec56c83c..2ba50f174e 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -61,6 +61,7 @@ ftp://.*/.* http://sources.openembedded.org/ \n \
 npm://.*/?.*http://sources.openembedded.org/ \n \
 ${CPAN_MIRROR}  http://cpan.metacpan.org/ \n \
 ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
+https?$://downloads.yoctoproject.org/releases/uninative/ 
https://mirrors.kernel.org/yocto/uninative/ \n \
 "
 
 # Use MIRRORS to provide git repo fallbacks using the https protocol, for cases
-- 
2.25.1


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

2021-11-10 Thread Steve Sakoman
From: Marek Vasut 

Update piglit to latest git revision and update the branch name,
since the original one is no longer updated. Make sure the VK
tests are only enabled if VK is also enabled in PACKAGECONFIG,
and that this is opt-in, otherwise older systems fail to build.

Cherry picked from squashed commits:
  eb3a8d4c7b ("piglit: upgrade to latest revision")
  a27b06f73a ("piglit: upgrade to latest revision")
  bb091bc0be ("piglit: upgrade to latest revision")
  394746d1cb ("piglit: upgrade to latest revision")
  5aec8cff94 ("piglit: upgrade to latest revision")
  fc4c82773d ("piglit: fix reproducibility")
  6fbec0f12a ("piglit: update to latest revision")
  8d23a0d498 ("piglit: upgrade to latest revision")
  5144d515fe ("piglit: upgrade to latest revision")
  dd085bd577 ("piglit: upgrade to latest revision")
  9ba6df1b2c ("piglit: upgrade to latest revision")
  1ccd71eb3e ("piglit: upgrade to latest revision")

Signed-off-by: Marek Vasut 
Signed-off-by: Alexander Kanavin 
Signed-off-by: Alexandre Belloni 
Cc: Anuj Mittal 
Cc: Richard Purdie 
Cc: Steve Sakoman 
Signed-off-by: Steve Sakoman 
---
 ...ssing-include-for-htobe32-definition.patch | 27 
 ...file.py-make-test-lists-reproducible.patch | 31 +
 ...gen_tcs-tes_input_tests.py-do-not-ha.patch | 44 +++
 ...lizer.py-make-.gz-files-reproducible.patch | 30 +
 ...sort-the-file-list-before-working-on.patch | 28 
 ...t-shader.c-do-not-hardcode-build-pat.patch | 30 +
 meta/recipes-graphics/piglit/piglit_git.bb| 12 -
 7 files changed, 200 insertions(+), 2 deletions(-)
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-serializer.py-make-.gz-files-reproducible.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-tests-shader.py-sort-the-file-list-before-working-on.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0002-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch

diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
new file mode 100644
index 00..caa48e088d
--- /dev/null
+++ 
b/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
@@ -0,0 +1,27 @@
+From d623e9797b7ee9b3739a8a4afe1a01f7e03754aa Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Sun, 1 Nov 2020 20:08:49 +
+Subject: [PATCH] Add a missing include for htobe32 definition
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c 
b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c
+index 5f45e0c23..c755ee29a 100644
+--- a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c
 b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c
+@@ -34,6 +34,8 @@
+ 
+ #include "piglit-util-gl.h"
+ 
++#include 
++
+ #define IMAGE_WIDTH 60
+ #define IMAGE_HEIGHT 60
+ 
+-- 
+2.17.1
+
diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
new file mode 100644
index 00..cc9482c047
--- /dev/null
+++ 
b/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
@@ -0,0 +1,31 @@
+From 9086d42df1f3134bafcfe33ff16db7bbb9d9a0fd Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 30 Nov 2020 23:08:22 +
+Subject: [PATCH] framework/profile.py: make test lists reproducible
+
+These are created with os.walk, which yields different
+order depending on where it's run.
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ framework/profile.py | 6 +-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/framework/profile.py b/framework/profile.py
+index c210e535e..9b5d51d68 100644
+--- a/framework/profile.py
 b/framework/profile.py
+@@ -528,7 +528,11 @@ class TestProfile(object):
+ else:
+ opts[n] = self.test_list[n]
+ else:
+-opts = self.test_list  # pylint: disable=redefined-variable-type
++opts = collections.OrderedDict()
++test_keys = list(self.test_list.keys())
++test_keys.sort()
++for k in test_keys:
++opts[k] = self.test_list[k]
+ 
+ for k, v in 

[OE-core][dunfell 07/14] pseudo: Add fcntl64 wrapper

2021-11-10 Thread Steve Sakoman
From: Richard Purdie 

Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find
command in the libtool removal code when built with LFS compile flags on Gentoo.

Signed-off-by: Richard Purdie 
(cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 6779db16d2..1a5d230c69 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -13,7 +13,7 @@ SRC_URI:append:class-nativesdk = " \
 file://older-glibc-symbols.patch"
 SRC_URI[prebuilt.sha256sum] = 
"ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
 
-SRCREV = "0cda3ba5f94aed8d50652a99ee9c502975aa2926"
+SRCREV = "d34f2f6cedccf8488730001bcbde6bb7499f8814"
 S = "${WORKDIR}/git"
 PV = "1.9.0+git${SRCPV}"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158139): 
https://lists.openembedded.org/g/openembedded-core/message/158139
Mute This Topic: https://lists.openembedded.org/mt/86975096/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 06/14] pseudo: Add in ability to flush database with shutdown request

2021-11-10 Thread Steve Sakoman
From: Richard Purdie 

Pulls in:
  pseudo_db: Flush DB if there is a shutdown request
  fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix)

Signed-off-by: Richard Purdie 
(cherry picked from commit 0882095d608ce3abbcc9814517434c21ea549063)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
b/meta/recipes-devtools/pseudo/pseudo_git.bb
index f36dfa589f..6779db16d2 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -13,7 +13,7 @@ SRC_URI:append:class-nativesdk = " \
 file://older-glibc-symbols.patch"
 SRC_URI[prebuilt.sha256sum] = 
"ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
 
-SRCREV = "21ff2fb690efbe57e7dd867c39aff36ab72a6ac5"
+SRCREV = "0cda3ba5f94aed8d50652a99ee9c502975aa2926"
 S = "${WORKDIR}/git"
 PV = "1.9.0+git${SRCPV}"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158138): 
https://lists.openembedded.org/g/openembedded-core/message/158138
Mute This Topic: https://lists.openembedded.org/mt/86975095/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 05/14] linunistring: Add missing gperf-native dependency

2021-11-10 Thread Steve Sakoman
From: Richard Purdie 

Signed-off-by: Richard Purdie 
(cherry picked from commit 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-support/libunistring/libunistring_0.9.10.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/libunistring/libunistring_0.9.10.bb 
b/meta/recipes-support/libunistring/libunistring_0.9.10.bb
index 97fac4ecfa..2197b6656d 100644
--- a/meta/recipes-support/libunistring/libunistring_0.9.10.bb
+++ b/meta/recipes-support/libunistring/libunistring_0.9.10.bb
@@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
 
file://README;beginline=45;endline=65;md5=08287d16ba8d839faed8d2dc14d7d6a5 \
 
file://doc/libunistring.texi;md5=287fa6075f78a3c85c1a52b0a92547cd \
"
+DEPENDS = "gperf-native"
 
 SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz \
file://iconv-m4-remove-the-test-to-convert-euc-jp.patch \
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158137): 
https://lists.openembedded.org/g/openembedded-core/message/158137
Mute This Topic: https://lists.openembedded.org/mt/86975094/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 04/14] python3-magic: add missing DEPENDS

2021-11-10 Thread Steve Sakoman
Since file-native is ASSUME_PROVIDED magic.mgc is not being staged.  As
a result diffoscope-native is failing with:

magic.MagicException: b'could not find any valid magic files!

Fix this by adding dependency on file-replacement-native

Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/python/python3-magic_0.4.15.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-magic_0.4.15.bb 
b/meta/recipes-devtools/python/python3-magic_0.4.15.bb
index 09b24fb7f3..b73310c808 100644
--- a/meta/recipes-devtools/python/python3-magic_0.4.15.bb
+++ b/meta/recipes-devtools/python/python3-magic_0.4.15.bb
@@ -14,6 +14,8 @@ inherit pypi setuptools3
 SRC_URI[md5sum] = "e384c95a47218f66c6501cd6dd45ff59"
 SRC_URI[sha256sum] = 
"f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5"
 
+DEPENDS_append_class-native = " file-replacement-native"
+
 RDEPENDS_${PN} += "file \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-io \
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158136): 
https://lists.openembedded.org/g/openembedded-core/message/158136
Mute This Topic: https://lists.openembedded.org/mt/86975093/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 03/14] python3-magic: add the missing rdepends

2021-11-10 Thread Steve Sakoman
From: Mingli Yu 

Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import magic
 [snip]
 ModuleNotFoundError: No module named 'ctypes'
 ModuleNotFoundError: No module named 'tempfile'

Signed-off-by: Mingli Yu 
Signed-off-by: Richard Purdie 
(cherry picked from commit 115791844124bdddfbaec9d75bb887ef35c41f20)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/python/python3-magic_0.4.15.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-magic_0.4.15.bb 
b/meta/recipes-devtools/python/python3-magic_0.4.15.bb
index 698016ba4c..09b24fb7f3 100644
--- a/meta/recipes-devtools/python/python3-magic_0.4.15.bb
+++ b/meta/recipes-devtools/python/python3-magic_0.4.15.bb
@@ -14,6 +14,9 @@ inherit pypi setuptools3
 SRC_URI[md5sum] = "e384c95a47218f66c6501cd6dd45ff59"
 SRC_URI[sha256sum] = 
"f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5"
 
-RDEPENDS_${PN} += "file"
+RDEPENDS_${PN} += "file \
+   ${PYTHON_PN}-ctypes \
+   ${PYTHON_PN}-io \
+   ${PYTHON_PN}-shell"
 
 BBCLASSEXTEND = "native"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158135): 
https://lists.openembedded.org/g/openembedded-core/message/158135
Mute This Topic: https://lists.openembedded.org/mt/86975092/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 02/14] webkitgtk: Fix reproducibility in minibrowser

2021-11-10 Thread Steve Sakoman
From: Khem Raj 

Signed-off-by: Khem Raj 
Signed-off-by: Richard Purdie 
(cherry picked from commit 8f08ca440b6c2ad3494808ffa4ec6091722c0339)
Signed-off-by: Steve Sakoman 
---
 .../0001-MiniBrowser-Fix-reproduciblity.patch | 31 +++
 meta/recipes-sato/webkit/webkitgtk_2.28.4.bb  |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 
meta/recipes-sato/webkit/webkitgtk/0001-MiniBrowser-Fix-reproduciblity.patch

diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-MiniBrowser-Fix-reproduciblity.patch 
b/meta/recipes-sato/webkit/webkitgtk/0001-MiniBrowser-Fix-reproduciblity.patch
new file mode 100644
index 00..528dec8c8b
--- /dev/null
+++ 
b/meta/recipes-sato/webkit/webkitgtk/0001-MiniBrowser-Fix-reproduciblity.patch
@@ -0,0 +1,31 @@
+From dcf9ae0dc0b4510eddbeeea09e11edfb123f95af Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sun, 2 May 2021 13:10:49 -0700
+Subject: [PATCH] MiniBrowser: Fix reproduciblity
+
+Do not emit references to source dir in generated sourcecode
+
+Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=225283]
+Signed-off-by: Khem Raj 
+---
+ Tools/MiniBrowser/gtk/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Tools/MiniBrowser/gtk/CMakeLists.txt 
b/Tools/MiniBrowser/gtk/CMakeLists.txt
+index 93b62521..482d3b00 100644
+--- a/Tools/MiniBrowser/gtk/CMakeLists.txt
 b/Tools/MiniBrowser/gtk/CMakeLists.txt
+@@ -48,8 +48,8 @@ add_custom_command(
+ OUTPUT ${DERIVED_SOURCES_MINIBROWSER_DIR}/BrowserMarshal.c
+${DERIVED_SOURCES_MINIBROWSER_DIR}/BrowserMarshal.h
+ MAIN_DEPENDENCY ${MINIBROWSER_DIR}/browser-marshal.list
+-COMMAND glib-genmarshal --prefix=browser_marshal 
${MINIBROWSER_DIR}/browser-marshal.list --body > 
${DERIVED_SOURCES_MINIBROWSER_DIR}/BrowserMarshal.c
+-COMMAND glib-genmarshal --prefix=browser_marshal 
${MINIBROWSER_DIR}/browser-marshal.list --header > 
${DERIVED_SOURCES_MINIBROWSER_DIR}/BrowserMarshal.h
++COMMAND glib-genmarshal --prefix=browser_marshal 
${MINIBROWSER_DIR}/browser-marshal.list --body --skip-source > 
${DERIVED_SOURCES_MINIBROWSER_DIR}/BrowserMarshal.c
++COMMAND glib-genmarshal --prefix=browser_marshal 
${MINIBROWSER_DIR}/browser-marshal.list --header --skip-source > 
${DERIVED_SOURCES_MINIBROWSER_DIR}/BrowserMarshal.h
+ VERBATIM)
+ 
+ if (DEVELOPER_MODE)
+-- 
+2.31.1
+
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.28.4.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.28.4.bb
index ceda2992d7..2e3f0aa682 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.28.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.28.4.bb
@@ -20,6 +20,7 @@ SRC_URI = 
"https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://0001-Fix-build-with-musl.patch \
file://include_array.patch \
file://0001-clang-11-fix-build-errors-due-to-WWc-11-narrowing.patch 
\
+   file://0001-MiniBrowser-Fix-reproduciblity.patch \
"
 SRC_URI[sha256sum] = 
"821952e8c9303ed752f1fb1d4283f612c25249d00d705d2b79c2db1bc49c9464"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158134): 
https://lists.openembedded.org/g/openembedded-core/message/158134
Mute This Topic: https://lists.openembedded.org/mt/86975091/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 01/14] oeqa: reproducible: Fix test not producing diffs

2021-11-10 Thread Steve Sakoman
From: Joshua Watt 

Diffoscope changed the --exclude-directory-metadata option to require an
argument.

Add a test to validate that diffoscope is functioning as
expected to ensure that future upgrades do not unintentionally break
the reproducibility tests.

[YOCTO #14025]

Signed-off-by: Joshua Watt 
Signed-off-by: Richard Purdie 
(cherry picked from commit ea8fbcb7978ce48d7a9a83143d09402329535f86)
Signed-off-by: Steve Sakoman 
---
 .../oeqa/selftest/cases/diffoscope/A/file.txt |  1 +
 .../oeqa/selftest/cases/diffoscope/B/file.txt |  1 +
 meta/lib/oeqa/selftest/cases/reproducible.py  | 28 ++-
 3 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 meta/lib/oeqa/selftest/cases/diffoscope/A/file.txt
 create mode 100644 meta/lib/oeqa/selftest/cases/diffoscope/B/file.txt

diff --git a/meta/lib/oeqa/selftest/cases/diffoscope/A/file.txt 
b/meta/lib/oeqa/selftest/cases/diffoscope/A/file.txt
new file mode 100644
index 00..f70f10e4db
--- /dev/null
+++ b/meta/lib/oeqa/selftest/cases/diffoscope/A/file.txt
@@ -0,0 +1 @@
+A
diff --git a/meta/lib/oeqa/selftest/cases/diffoscope/B/file.txt 
b/meta/lib/oeqa/selftest/cases/diffoscope/B/file.txt
new file mode 100644
index 00..223b7836fb
--- /dev/null
+++ b/meta/lib/oeqa/selftest/cases/diffoscope/B/file.txt
@@ -0,0 +1 @@
+B
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py 
b/meta/lib/oeqa/selftest/cases/reproducible.py
index c8604a2054..60ddc76340 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -139,6 +139,32 @@ def compare_file(reference, test, diffutils_sysroot):
 result.status = SAME
 return result
 
+def run_diffoscope(a_dir, b_dir, html_dir, **kwargs):
+return runCmd(['diffoscope', '--no-default-limits', 
'--exclude-directory-metadata', 'yes', '--html-dir', html_dir, a_dir, b_dir],
+**kwargs)
+
+class DiffoscopeTests(OESelftestTestCase):
+diffoscope_test_files = 
os.path.join(os.path.dirname(os.path.abspath(__file__)), "diffoscope")
+
+def test_diffoscope(self):
+bitbake("diffoscope-native -c addto_recipe_sysroot")
+diffoscope_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", 
"diffoscope-native")
+
+# Check that diffoscope doesn't return an error when the files compare
+# the same (a general check that diffoscope is working)
+with tempfile.TemporaryDirectory() as tmpdir:
+run_diffoscope('A', 'A', tmpdir,
+native_sysroot=diffoscope_sysroot, 
cwd=self.diffoscope_test_files)
+
+# Check that diffoscope generates an index.html file when the files are
+# different
+with tempfile.TemporaryDirectory() as tmpdir:
+r = run_diffoscope('A', 'B', tmpdir,
+native_sysroot=diffoscope_sysroot, ignore_status=True, 
cwd=self.diffoscope_test_files)
+
+self.assertNotEqual(r.status, 0, msg="diffoscope was successful 
when an error was expected")
+self.assertTrue(os.path.exists(os.path.join(tmpdir, 
'index.html')), "HTML index not found!")
+
 class ReproducibleTests(OESelftestTestCase):
 # Test the reproducibility of whatever is built between sstate_targets and 
targets
 
@@ -316,7 +342,7 @@ class ReproducibleTests(OESelftestTestCase):
 # Copy jquery to improve the diffoscope output usability
 self.copy_file(os.path.join(jquery_sysroot, 
'usr/share/javascript/jquery/jquery.min.js'), os.path.join(package_html_dir, 
'jquery.js'))
 
-runCmd(['diffoscope', '--no-default-limits', 
'--exclude-directory-metadata', '--html-dir', package_html_dir, 
'reproducibleA', 'reproducibleB'],
+run_diffoscope('reproducibleA', 'reproducibleB', 
package_html_dir,
 native_sysroot=diffoscope_sysroot, ignore_status=True, 
cwd=package_dir)
 
 if fails:
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158133): 
https://lists.openembedded.org/g/openembedded-core/message/158133
Mute This Topic: https://lists.openembedded.org/mt/86975090/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 00/14] Patch review

2021-11-10 Thread Steve Sakoman
Please review this set of patches for dunfell and have comments back by end
of day Friday.

The following changes since commit 38fc0807eea14dc12610da4ba73c082d5a4b0744:

  meta/scripts: Manual git url branch additions (2021-11-03 08:43:53 -1000)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib stable/dunfell-nut
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/dunfell-nut

Jose Quaresma (1):
  sstate: another fix for touching files inside pseudo

Joshua Watt (1):
  oeqa: reproducible: Fix test not producing diffs

Khem Raj (1):
  webkitgtk: Fix reproducibility in minibrowser

Marek Vasut (1):
  piglit: upgrade to latest revision

Mark Hatle (1):
  reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking

Mingli Yu (1):
  python3-magic: add the missing rdepends

Richard Purdie (6):
  linunistring: Add missing gperf-native dependency
  pseudo: Add in ability to flush database with shutdown request
  pseudo: Add fcntl64 wrapper
  mirrors: Add uninative mirror on kernel.org
  sstate: Ensure SDE is accounted for in package task timestamps
  sstate: Avoid deploy_source_date_epoch sstate when unneeded

Steve Sakoman (2):
  python3-magic: add missing DEPENDS
  selftest/reproducible: add webkitgtk back to exclusion list for
dunfell

 meta/classes/mirrors.bbclass  |  1 +
 meta/classes/reproducible_build.bbclass   | 53 ---
 meta/classes/sstate.bbclass   | 34 +---
 .../oeqa/selftest/cases/diffoscope/A/file.txt |  1 +
 .../oeqa/selftest/cases/diffoscope/B/file.txt |  1 +
 meta/lib/oeqa/selftest/cases/reproducible.py  | 29 +-
 meta/recipes-devtools/pseudo/pseudo_git.bb|  2 +-
 .../python/python3-magic_0.4.15.bb|  7 ++-
 ...ssing-include-for-htobe32-definition.patch | 27 ++
 ...file.py-make-test-lists-reproducible.patch | 31 +++
 ...gen_tcs-tes_input_tests.py-do-not-ha.patch | 44 +++
 ...lizer.py-make-.gz-files-reproducible.patch | 30 +++
 ...sort-the-file-list-before-working-on.patch | 28 ++
 ...t-shader.c-do-not-hardcode-build-pat.patch | 30 +++
 meta/recipes-graphics/piglit/piglit_git.bb| 12 -
 .../0001-MiniBrowser-Fix-reproduciblity.patch | 31 +++
 meta/recipes-sato/webkit/webkitgtk_2.28.4.bb  |  1 +
 .../libunistring/libunistring_0.9.10.bb   |  1 +
 18 files changed, 333 insertions(+), 30 deletions(-)
 create mode 100644 meta/lib/oeqa/selftest/cases/diffoscope/A/file.txt
 create mode 100644 meta/lib/oeqa/selftest/cases/diffoscope/B/file.txt
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-serializer.py-make-.gz-files-reproducible.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-tests-shader.py-sort-the-file-list-before-working-on.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0002-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch
 create mode 100644 
meta/recipes-sato/webkit/webkitgtk/0001-MiniBrowser-Fix-reproduciblity.patch

-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158132): 
https://lists.openembedded.org/g/openembedded-core/message/158132
Mute This Topic: https://lists.openembedded.org/mt/86975084/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] convert-srcuri.py: remove extra spaces before backslash

2021-11-10 Thread kai
From: Kai Kang 

There may be more than one spaces before backslash in SRC_URI. Strip
them otherwise it forges a malformed uri such as open-iscsi-user in
meta-openstack:

SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https  
;branch=master \

Signed-off-by: Kai Kang 
---
 scripts/contrib/convert-srcuri.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/contrib/convert-srcuri.py 
b/scripts/contrib/convert-srcuri.py
index 5b362ea2e8..e7a97fdbd4 100755
--- a/scripts/contrib/convert-srcuri.py
+++ b/scripts/contrib/convert-srcuri.py
@@ -36,7 +36,7 @@ def processfile(fn):
 if line.endswith('"\n'):
 line = line.replace('"\n', ';branch=master"\n')
 elif line.endswith(" \\\n"):
-line = line.replace(' \\\n', ';branch=master \\\n')
+line = line.replace(' \\\n', '').rstrip() + 
';branch=master \\\n'
 modified = True
 if ("git://" in line or "gitsm://" in line) and 
"github.com" in line and "protocol=https" not in line and matchline(line):
 if "protocol=git" in line:
@@ -44,7 +44,7 @@ def processfile(fn):
 elif line.endswith('"\n'):
 line = line.replace('"\n', ';protocol=https"\n')
 elif line.endswith(" \\\n"):
-line = line.replace(' \\\n', ';protocol=https 
\\\n')
+line = line.replace(' \\\n', '').rstrip() + 
';protocol=https \\\n'
 modified = True
 new_file.write(line)
 if modified:
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158131): 
https://lists.openembedded.org/g/openembedded-core/message/158131
Mute This Topic: https://lists.openembedded.org/mt/86974863/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 3/5] gcc-common.inc: Clean up the additions to MIRRORS

2021-11-10 Thread Khem Raj
On Wed, Nov 10, 2021 at 6:18 PM Andre McCurdy  wrote:
>
> On Wed, Nov 10, 2021 at 3:19 PM Peter Kjellerstedt
>  wrote:
> >
> > Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
> > entries) there is no need to separate the entries in MIRRORS with "\n".
> >
> > Signed-off-by: Peter Kjellerstedt 
> > ---
> >  meta/recipes-devtools/gcc/gcc-common.inc | 10 +-
> >  1 file changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/gcc/gcc-common.inc 
> > b/meta/recipes-devtools/gcc/gcc-common.inc
> > index 74190644e6..0d950e780d 100644
> > --- a/meta/recipes-devtools/gcc/gcc-common.inc
> > +++ b/meta/recipes-devtools/gcc/gcc-common.inc
> > @@ -86,11 +86,11 @@ get_tune_parameters[vardepsexclude] = "AVAILTUNES 
> > TUNE_CCARGS OVERRIDES TUNE_FEA
> >  DEBIANNAME:${MLPREFIX}libgcc = "libgcc1"
> >
> >  MIRRORS =+ "\
> > -${GNU_MIRROR}/gccftp://gcc.gnu.org/pub/gcc/releases/ \n \
> > -${GNU_MIRROR}/gcc  ftp://gd.tuwien.ac.at/gnu/gcc/ \n \
> > -${GNU_MIRROR}/gcc  http://mirrors.rcn.net/pub/sourceware/gcc/releases/ 
> > \n \
> > -${GNU_MIRROR}/gcc   http://gcc.get-software.com/releases/ \n \
> > -${GNU_MIRROR}/gcc  http://gcc.get-software.com/releases/ \n \
> > +${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \
> > +${GNU_MIRROR}/gcc ftp://gd.tuwien.ac.at/gnu/gcc/ \
> > +${GNU_MIRROR}/gcc http://mirrors.rcn.net/pub/sourceware/gcc/releases/ \
> > +${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \
> > +${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \
>
> Last two lines are duplicates. ftp mirrors should probably be replaced
> with https.

agreed

>
> Are these even useful at all? They were added in 2012...
>

yeah I tried to access http://gcc.get-software.com/releases and it
says domain is available to buy :)
and http://mirrors.rcn.net/ is also not accessible. So perhaps just
have https://gcc.gnu.org/pub/gcc/releases/
and if needed use some of mirrors as mentioned here
https://gcc.gnu.org/mirrors.html instead


> >  "
> >  #
> >  # Set some default values
> >
> >
> >
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158130): 
https://lists.openembedded.org/g/openembedded-core/message/158130
Mute This Topic: https://lists.openembedded.org/mt/86970465/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] recipe-graphics: Add depends on cmake-native

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 5:41 PM Peter Kjellerstedt
 wrote:
>
> > -Original Message-
> > From: openembedded-core@lists.openembedded.org 
> >  On Behalf Of Anibal Limon
> > Sent: den 11 november 2021 01:44
> > To: openembedded-core@lists.openembedded.org
> > Cc: richard.pur...@linuxfoundation.org; Aníbal Limón 
> > 
> > Subject: [OE-core] [PATCH] recipe-graphics: Add depends on cmake-native
>
> Change "recipe-graphics" to "waffle".
>
> //Peter
>
> >
> > Fixes,
> >
> > ...
> >   File 
> > "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/mesonbuild/modules/cmake.py",
> >  line 241, in detect_cmake
> > p, stdout, stderr = mesonlib.Popen_safe(cmakebin.get_command() + 
> > ['--system-information', '-G', 'Ninja'])[0:3]
> >   File 
> > "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/mesonbuild/mesonlib/universal.py",
> >  line 1397, in Popen_safe
> > p = subprocess.Popen(args, universal_newlines=True, close_fds=False,
> >   File 
> > "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py",
> >  line 966, in __init__
> > self._execute_child(args, executable, preexec_fn, close_fds,
> >   File 
> > "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py",
> >  line 1717, in _execute_child
> > and os.path.dirname(executable)
> >   File 
> > "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/posixpath.py",
> >  line 152, in dirname
> > p = os.fspath(p)
> > ...
> >
> > Signed-off-by: Aníbal Limón 
> > ---
> >  meta/recipes-graphics/waffle/waffle_1.7.0.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-graphics/waffle/waffle_1.7.0.bb 
> > b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
> > index 6284af3076..ea11309940 100644
> > --- a/meta/recipes-graphics/waffle/waffle_1.7.0.bb
> > +++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
> > @@ -17,7 +17,7 @@ S = "${WORKDIR}/git"
> >
> >  inherit meson features_check lib_package bash-completion pkgconfig
> >
> > -DEPENDS:append = " python3"
> > +DEPENDS:append = " python3 cmake-native"

It's unusual for a recipe to add cmake-native to DEPENDS rather than
inheriting the cmake class. Your patch comments should probably
explain why it's the correct approach.

> >  # This should be overridden per-machine to reflect the capabilities of the 
> > GL
> >  # stack.
> > --
> > 2.33.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158129): 
https://lists.openembedded.org/g/openembedded-core/message/158129
Mute This Topic: https://lists.openembedded.org/mt/86971860/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 1/5] mirrors.bbclass: Clean up the additions to MIRRORS

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 3:19 PM Peter Kjellerstedt
 wrote:
>
> * Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
>   for the type field and instead anchor regexp) the type regexp has
>   been automatically anchored at the end.
> * Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
>   entries) there is no need to separate the entries in MIRRORS with "\n".
>
> Signed-off-by: Peter Kjellerstedt 
> ---
>  meta/classes/mirrors.bbclass | 134 +--
>  1 file changed, 67 insertions(+), 67 deletions(-)
>
> diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
> index 08abcce52c..dc95cc1174 100644
> --- a/meta/classes/mirrors.bbclass
> +++ b/meta/classes/mirrors.bbclass
> @@ -1,75 +1,75 @@
>  MIRRORS += "\
> -${DEBIAN_MIRROR}   
> http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \n \
> -${DEBIAN_MIRROR}   
> http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool
>  \n \
> -${DEBIAN_MIRROR}   
> http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool
>  \n \
> -${DEBIAN_MIRROR}   
> http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool
>  \n \
> -${DEBIAN_MIRROR}   http://ftp.de.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.au.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.cl.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.hr.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.fi.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.hk.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.hu.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.ie.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.it.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.jp.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.no.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.pl.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.ro.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.si.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.es.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.se.debian.org/debian/pool \n \
> -${DEBIAN_MIRROR}   http://ftp.tr.debian.org/debian/pool \n \
> -${GNU_MIRROR}  https://mirrors.kernel.org/gnu \n \
> -${KERNELORG_MIRROR}http://www.kernel.org/pub \n \
> -${GNUPG_MIRROR}ftp://ftp.gnupg.org/gcrypt \n \
> -${GNUPG_MIRROR}
> ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt \n \
> -${GNUPG_MIRROR}ftp://mirrors.dotsrc.org/gcrypt \n \
> -ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \n \
> -ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ 
> \n \
> -ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \n \
> -ftp://ftp.gnutls.org/gcrypt/gnutls ${GNUPG_MIRROR}/gnutls \n \
> -http://ftp.info-zip.org/pub/infozip/src/ 
> ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \n \
> -http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/ 
> http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
>  \n \
> -${APACHE_MIRROR}  http://www.us.apache.org/dist \n \
> -${APACHE_MIRROR}  http://archive.apache.org/dist \n \
> -http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \n 
> \
> -${SAVANNAH_GNU_MIRROR} http://download-mirror.savannah.gnu.org/releases \n \
> -${SAVANNAH_NONGNU_MIRROR} 
> http://download-mirror.savannah.nongnu.org/releases \n \
> -ftp://sourceware.org/pub http://mirrors.kernel.org/sourceware \n \
> -ftp://sourceware.org/pub http://gd.tuwien.ac.at/gnu/sourceware \n \
> -ftp://sourceware.org/pub 
> http://ftp.gwdg.de/pub/linux/sources.redhat.com/sourceware \n \
> -cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> -svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> -git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> -hg://.*/.*  http://downloads.yoctoproject.org/mirror/sources/ \n \
> -bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> -p4://.*/.*  http://downloads.yoctoproject.org/mirror/sources/ \n \
> -osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> -https?$://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> -ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> -npm://.*/?.*http://downloads.yoctoproject.org/mirror/sources/ \n \
> -cvs://.*/.* http://sources.openembedded.org/ \n \
> -svn://.*/.* http://sources.openembedded.org/ \n \
> -git://.*/.* http://sources.openembedded.org/ \n \
> -hg://.*/.*  http://sources.openembedded.org/ \n \
> -bzr://.*/.* http://sources.openembedded.org/ \n \
> -p4://.*/.*  http://sources.openembedded.org/ \n \
> -osc://.*/.*  

Re: [OE-core] [PATCH 3/5] gcc-common.inc: Clean up the additions to MIRRORS

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 3:19 PM Peter Kjellerstedt
 wrote:
>
> Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
> entries) there is no need to separate the entries in MIRRORS with "\n".
>
> Signed-off-by: Peter Kjellerstedt 
> ---
>  meta/recipes-devtools/gcc/gcc-common.inc | 10 +-
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-common.inc 
> b/meta/recipes-devtools/gcc/gcc-common.inc
> index 74190644e6..0d950e780d 100644
> --- a/meta/recipes-devtools/gcc/gcc-common.inc
> +++ b/meta/recipes-devtools/gcc/gcc-common.inc
> @@ -86,11 +86,11 @@ get_tune_parameters[vardepsexclude] = "AVAILTUNES 
> TUNE_CCARGS OVERRIDES TUNE_FEA
>  DEBIANNAME:${MLPREFIX}libgcc = "libgcc1"
>
>  MIRRORS =+ "\
> -${GNU_MIRROR}/gccftp://gcc.gnu.org/pub/gcc/releases/ \n \
> -${GNU_MIRROR}/gcc  ftp://gd.tuwien.ac.at/gnu/gcc/ \n \
> -${GNU_MIRROR}/gcc  http://mirrors.rcn.net/pub/sourceware/gcc/releases/ 
> \n \
> -${GNU_MIRROR}/gcc   http://gcc.get-software.com/releases/ \n \
> -${GNU_MIRROR}/gcc  http://gcc.get-software.com/releases/ \n \
> +${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \
> +${GNU_MIRROR}/gcc ftp://gd.tuwien.ac.at/gnu/gcc/ \
> +${GNU_MIRROR}/gcc http://mirrors.rcn.net/pub/sourceware/gcc/releases/ \
> +${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \
> +${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \

Last two lines are duplicates. ftp mirrors should probably be replaced
with https.

Are these even useful at all? They were added in 2012...

>  "
>  #
>  # Set some default values
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158127): 
https://lists.openembedded.org/g/openembedded-core/message/158127
Mute This Topic: https://lists.openembedded.org/mt/86970465/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] recipe-graphics: Add depends on cmake-native

2021-11-10 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core@lists.openembedded.org 
>  On Behalf Of Anibal Limon
> Sent: den 11 november 2021 01:44
> To: openembedded-core@lists.openembedded.org
> Cc: richard.pur...@linuxfoundation.org; Aníbal Limón 
> Subject: [OE-core] [PATCH] recipe-graphics: Add depends on cmake-native

Change "recipe-graphics" to "waffle".

//Peter

> 
> Fixes,
> 
> ...
>   File 
> "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/mesonbuild/modules/cmake.py",
>  line 241, in detect_cmake
> p, stdout, stderr = mesonlib.Popen_safe(cmakebin.get_command() + 
> ['--system-information', '-G', 'Ninja'])[0:3]
>   File 
> "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/mesonbuild/mesonlib/universal.py",
>  line 1397, in Popen_safe
> p = subprocess.Popen(args, universal_newlines=True, close_fds=False,
>   File 
> "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py",
>  line 966, in __init__
> self._execute_child(args, executable, preexec_fn, close_fds,
>   File 
> "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py",
>  line 1717, in _execute_child
> and os.path.dirname(executable)
>   File 
> "/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/posixpath.py",
>  line 152, in dirname
> p = os.fspath(p)
> ...
> 
> Signed-off-by: Aníbal Limón 
> ---
>  meta/recipes-graphics/waffle/waffle_1.7.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/waffle/waffle_1.7.0.bb 
> b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
> index 6284af3076..ea11309940 100644
> --- a/meta/recipes-graphics/waffle/waffle_1.7.0.bb
> +++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
> @@ -17,7 +17,7 @@ S = "${WORKDIR}/git"
> 
>  inherit meson features_check lib_package bash-completion pkgconfig
> 
> -DEPENDS:append = " python3"
> +DEPENDS:append = " python3 cmake-native"
> 
>  # This should be overridden per-machine to reflect the capabilities of the GL
>  # stack.
> --
> 2.33.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158126): 
https://lists.openembedded.org/g/openembedded-core/message/158126
Mute This Topic: https://lists.openembedded.org/mt/86971860/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/3] systemd-conf: Revert inappropriate use of ${systemd_system_unitdir}

2021-11-10 Thread Peter Kjellerstedt
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

Signed-off-by: Peter Kjellerstedt 
---
 meta/recipes-core/systemd/systemd-conf_1.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd-conf_1.0.bb 
b/meta/recipes-core/systemd/systemd-conf_1.0.bb
index 53af7c616a..61ce7939d3 100644
--- a/meta/recipes-core/systemd/systemd-conf_1.0.bb
+++ b/meta/recipes-core/systemd/systemd-conf_1.0.bb
@@ -21,7 +21,7 @@ SRC_URI = "\
 do_install() {
install -D -m0644 ${WORKDIR}/journald.conf 
${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf
install -D -m0644 ${WORKDIR}/logind.conf 
${D}${systemd_unitdir}/logind.conf.d/00-${PN}.conf
-   install -D -m0644 ${WORKDIR}/system.conf 
${D}${systemd_system_unitdir}.conf.d/00-${PN}.conf
+   install -D -m0644 ${WORKDIR}/system.conf 
${D}${systemd_unitdir}/system.conf.d/00-${PN}.conf
 
 if ${@bb.utils.contains('PACKAGECONFIG', 'dhcp-ethernet', 'true', 
'false', d)}; then
install -D -m0644 ${WORKDIR}/wired.network 
${D}${systemd_unitdir}/network/80-wired.network
@@ -30,7 +30,7 @@ do_install() {
 
 # Based on change from YP bug 8141, OE commit 
5196d7bacaef1076c361adaa2867be31759c1b52
 do_install:append:qemuall() {
-   install -D -m0644 ${WORKDIR}/system.conf-qemuall 
${D}${systemd_system_unitdir}.conf.d/01-${PN}.conf
+   install -D -m0644 ${WORKDIR}/system.conf-qemuall 
${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -38,6 +38,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 FILES:${PN} = "\
 ${systemd_unitdir}/journald.conf.d/ \
 ${systemd_unitdir}/logind.conf.d/ \
-${systemd_system_unitdir}.conf.d/ \
+${systemd_unitdir}/system.conf.d/ \
 ${systemd_unitdir}/network/ \
 "

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158124): 
https://lists.openembedded.org/g/openembedded-core/message/158124
Mute This Topic: https://lists.openembedded.org/mt/86972849/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 3/3] systemd-bootchart: Revert inappropriate use of ${systemd_system_unitdir}

2021-11-10 Thread Peter Kjellerstedt
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb 
b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb
index 71c2ba6d7c..fe6f0452d4 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb
@@ -38,7 +38,7 @@ do_configure:prepend() {
 rm -f ${S}/m4/intltool.m4
 }
 
-FILES:${PN} += "${systemd_system_unitdir}d-bootchart"
+FILES:${PN} += "${systemd_unitdir}/systemd-bootchart"
 
 EXTRA_OECONF = " --with-rootprefix=${root_prefix} \
  --with-rootlibdir=${base_libdir}"

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



[OE-core] [PATCH 1/3] systemd: Revert inappropriate use of ${systemd_system_unitdir}

2021-11-10 Thread Peter Kjellerstedt
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

Signed-off-by: Peter Kjellerstedt 
---
 meta/recipes-core/systemd/systemd_249.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_249.5.bb 
b/meta/recipes-core/systemd/systemd_249.5.bb
index c0c1f9bcfc..8bdc0ca028 100644
--- a/meta/recipes-core/systemd/systemd_249.5.bb
+++ b/meta/recipes-core/systemd/systemd_249.5.bb
@@ -267,7 +267,7 @@ do_install() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init 
${D}${sysconfdir}/init.d/systemd-udevd
sed -i s%@UDEVD@%${rootlibexecdir}/systemd/systemd-udevd% 
${D}${sysconfdir}/init.d/systemd-udevd
-   install -Dm 0755 
${S}/src/systemctl/systemd-sysv-install.SKELETON 
${D}${systemd_system_unitdir}d-sysv-install
+   install -Dm 0755 
${S}/src/systemctl/systemd-sysv-install.SKELETON 
${D}${systemd_unitdir}/systemd-sysv-install
fi
 
if "${@'true' if oe.types.boolean(d.getVar('VOLATILE_LOG_DIR')) else 
'false'}"; then
@@ -341,7 +341,7 @@ do_install() {
 
# install default policy for presets
# https://www.freedesktop.org/wiki/Software/systemd/Preset/#howto
-   install -Dm 0644 ${WORKDIR}/99-default.preset 
${D}${systemd_system_unitdir}-preset/99-default.preset
+   install -Dm 0644 ${WORKDIR}/99-default.preset 
${D}${systemd_unitdir}/system-preset/99-default.preset
 
# add a profile fragment to disable systemd pager with busybox less
install -Dm 0644 ${WORKDIR}/systemd-pager.sh 
${D}${sysconfdir}/profile.d/systemd-pager.sh

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158123): 
https://lists.openembedded.org/g/openembedded-core/message/158123
Mute This Topic: https://lists.openembedded.org/mt/86972848/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] recipe-graphics: Add depends on cmake-native

2021-11-10 Thread Anibal Limon
Fixes,

...
  File 
"/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/mesonbuild/modules/cmake.py",
 line 241, in detect_cmake
p, stdout, stderr = mesonlib.Popen_safe(cmakebin.get_command() + 
['--system-information', '-G', 'Ninja'])[0:3]
  File 
"/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/mesonbuild/mesonlib/universal.py",
 line 1397, in Popen_safe
p = subprocess.Popen(args, universal_newlines=True, close_fds=False,
  File 
"/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py",
 line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
  File 
"/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py",
 line 1717, in _execute_child
and os.path.dirname(executable)
  File 
"/home/builds/oe-rpb-master/build-410c/tmp-rpb-glibc/work/cortexa53-linaro-linux/waffle/1.7.0-r0/recipe-sysroot-native/usr/lib/python3.10/posixpath.py",
 line 152, in dirname
p = os.fspath(p)
...

Signed-off-by: Aníbal Limón 
---
 meta/recipes-graphics/waffle/waffle_1.7.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/waffle/waffle_1.7.0.bb 
b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
index 6284af3076..ea11309940 100644
--- a/meta/recipes-graphics/waffle/waffle_1.7.0.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
@@ -17,7 +17,7 @@ S = "${WORKDIR}/git"
 
 inherit meson features_check lib_package bash-completion pkgconfig
 
-DEPENDS:append = " python3"
+DEPENDS:append = " python3 cmake-native"
 
 # This should be overridden per-machine to reflect the capabilities of the GL
 # stack.
-- 
2.33.1


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



Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-10 Thread Peter Kjellerstedt
> -Original Message-
> From: bitbake-de...@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Jasper Orschulko
> Sent: den 9 november 2021 12:26
> To: richard.pur...@linuxfoundation.org; openembedded-
> c...@lists.openembedded.org; kweihm...@outlook.com; jas...@fancydomain.eu
> Cc: mar...@mko.dev; daniel.baumg...@iris-sensing.net; bitbake-
> de...@lists.openembedded.org
> Subject: Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe
> for repo 2.17.3
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Hi Richard,
> 
> I think our implementation of the repo fetcher checks the (what I
> believe to be) most relevant parts of your checklist (thanks for the
> write-up). Martin, please corrent me if I'm missing something:
> 
> > a) network access for sources is only expected to happen in the
> > do_fetch step.
> > This is not enforced or tested but is required so that we can:
> >
> >  i) audit the sources used (i.e. for license/manifest reasons)
> >  ii) support offline builds with a suitable cache
> >  iii) allow work to continue even with downtime upstream
> >  iv) allow for changes upstream in incompatible ways
> >  v) allow rebuilding of the software in X years time
> 
> check
> 
> > b) network access is not expected in do_unpack
> 
> check

How do you avoid the repo wrapper fetching the repo source itself 
and instead fetch it using the bitbake fetcher? I have seen nothing 
to that extent in the patches so far.

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158121): 
https://lists.openembedded.org/g/openembedded-core/message/158121
Mute This Topic: https://lists.openembedded.org/mt/86840389/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 4/5] slang: Clean up the additions to PREMIRRORS

2021-11-10 Thread Peter Kjellerstedt
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".

Signed-off-by: Peter Kjellerstedt 
---
 meta/recipes-extended/slang/slang_2.3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/slang/slang_2.3.2.bb 
b/meta/recipes-extended/slang/slang_2.3.2.bb
index 81d152f000..443ca0b5e6 100644
--- a/meta/recipes-extended/slang/slang_2.3.2.bb
+++ b/meta/recipes-extended/slang/slang_2.3.2.bb
@@ -27,7 +27,7 @@ SRC_URI[md5sum] = "c2d5a7aa0246627da490be4e399c87cb"
 SRC_URI[sha256sum] = 
"fc9e3b0fc4f67c3c1f6d43c90c16a5c42d117b8e28457c5b46831b8b5d3ae31a"
 
 UPSTREAM_CHECK_URI = "http://www.jedsoft.org/releases/slang/;
-PREMIRRORS:append = "\n http://www.jedsoft.org/releases/slang/.* 
http://www.jedsoft.org/releases/slang/old/ \n"
+PREMIRRORS:append = " http://www.jedsoft.org/releases/slang/.* 
http://www.jedsoft.org/releases/slang/old/;
 
 inherit autotools-brokensep ptest
 CLEANBROKEN = "1"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158119): 
https://lists.openembedded.org/g/openembedded-core/message/158119
Mute This Topic: https://lists.openembedded.org/mt/86970466/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 3/5] gcc-common.inc: Clean up the additions to MIRRORS

2021-11-10 Thread Peter Kjellerstedt
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in MIRRORS with "\n".

Signed-off-by: Peter Kjellerstedt 
---
 meta/recipes-devtools/gcc/gcc-common.inc | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-common.inc 
b/meta/recipes-devtools/gcc/gcc-common.inc
index 74190644e6..0d950e780d 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -86,11 +86,11 @@ get_tune_parameters[vardepsexclude] = "AVAILTUNES 
TUNE_CCARGS OVERRIDES TUNE_FEA
 DEBIANNAME:${MLPREFIX}libgcc = "libgcc1"
 
 MIRRORS =+ "\
-${GNU_MIRROR}/gccftp://gcc.gnu.org/pub/gcc/releases/ \n \
-${GNU_MIRROR}/gcc  ftp://gd.tuwien.ac.at/gnu/gcc/ \n \
-${GNU_MIRROR}/gcc  http://mirrors.rcn.net/pub/sourceware/gcc/releases/ \n \
-${GNU_MIRROR}/gcc   http://gcc.get-software.com/releases/ \n \
-${GNU_MIRROR}/gcc  http://gcc.get-software.com/releases/ \n \
+${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \
+${GNU_MIRROR}/gcc ftp://gd.tuwien.ac.at/gnu/gcc/ \
+${GNU_MIRROR}/gcc http://mirrors.rcn.net/pub/sourceware/gcc/releases/ \
+${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \
+${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \
 "
 #
 # Set some default values

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158118): 
https://lists.openembedded.org/g/openembedded-core/message/158118
Mute This Topic: https://lists.openembedded.org/mt/86970465/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 5/5] testsdk.py: Clean up the additions to PREMIRRORS and SSTATE_MIRRORS

2021-11-10 Thread Peter Kjellerstedt
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS and
SSTATE_MIRRORS with "\n".

Signed-off-by: Peter Kjellerstedt 
---
 meta/lib/oeqa/sdkext/testsdk.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/sdkext/testsdk.py b/meta/lib/oeqa/sdkext/testsdk.py
index 6b564fa455..159f0d135b 100644
--- a/meta/lib/oeqa/sdkext/testsdk.py
+++ b/meta/lib/oeqa/sdkext/testsdk.py
@@ -67,10 +67,10 @@ class TestSDKExt(TestSDKBase):
 # and we don't spend hours downloading kernels for the kernel 
module test
 # Abuse auto.conf since local.conf would be overwritten by the SDK
 with open(os.path.join(sdk_dir, 'conf', 'auto.conf'), 'a+') as f:
-f.write('SSTATE_MIRRORS += " \\n file://.* file://%s/PATH"\n' 
% test_data.get('SSTATE_DIR'))
+f.write('SSTATE_MIRRORS += "file://.* file://%s/PATH"\n' % 
test_data.get('SSTATE_DIR'))
 f.write('SOURCE_MIRROR_URL = "file://%s"\n' % 
test_data.get('DL_DIR'))
 f.write('INHERIT += "own-mirrors"\n')
-f.write('PREMIRRORS:prepend = " git://git.yoctoproject.org/.* 
git://%s/git2/git.yoctoproject.org.BASENAME \\n "\n' % test_data.get('DL_DIR'))
+f.write('PREMIRRORS:prepend = "git://git.yoctoproject.org/.* 
git://%s/git2/git.yoctoproject.org.BASENAME "\n' % test_data.get('DL_DIR'))
 
 # We need to do this in case we have a minimal SDK
 subprocess.check_output(". %s > /dev/null; devtool sdk-install 
meta-extsdk-toolchain" % \

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



[OE-core] [PATCH 1/5] mirrors.bbclass: Clean up the additions to MIRRORS

2021-11-10 Thread Peter Kjellerstedt
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in MIRRORS with "\n".

Signed-off-by: Peter Kjellerstedt 
---
 meta/classes/mirrors.bbclass | 134 +--
 1 file changed, 67 insertions(+), 67 deletions(-)

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 08abcce52c..dc95cc1174 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -1,75 +1,75 @@
 MIRRORS += "\
-${DEBIAN_MIRROR}   
http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \n \
-${DEBIAN_MIRROR}   
http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool 
\n \
-${DEBIAN_MIRROR}   
http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool 
\n \
-${DEBIAN_MIRROR}   
http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool 
\n \
-${DEBIAN_MIRROR}   http://ftp.de.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.au.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.cl.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.hr.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.fi.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.hk.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.hu.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.ie.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.it.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.jp.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.no.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.pl.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.ro.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.si.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.es.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.se.debian.org/debian/pool \n \
-${DEBIAN_MIRROR}   http://ftp.tr.debian.org/debian/pool \n \
-${GNU_MIRROR}  https://mirrors.kernel.org/gnu \n \
-${KERNELORG_MIRROR}http://www.kernel.org/pub \n \
-${GNUPG_MIRROR}ftp://ftp.gnupg.org/gcrypt \n \
-${GNUPG_MIRROR}
ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt \n \
-${GNUPG_MIRROR}ftp://mirrors.dotsrc.org/gcrypt \n \
-ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \n \
-ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ 
\n \
-ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \n \
-ftp://ftp.gnutls.org/gcrypt/gnutls ${GNUPG_MIRROR}/gnutls \n \
-http://ftp.info-zip.org/pub/infozip/src/ 
ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \n \
-http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/ 
http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
 \n \
-${APACHE_MIRROR}  http://www.us.apache.org/dist \n \
-${APACHE_MIRROR}  http://archive.apache.org/dist \n \
-http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \n \
-${SAVANNAH_GNU_MIRROR} http://download-mirror.savannah.gnu.org/releases \n \
-${SAVANNAH_NONGNU_MIRROR} http://download-mirror.savannah.nongnu.org/releases 
\n \
-ftp://sourceware.org/pub http://mirrors.kernel.org/sourceware \n \
-ftp://sourceware.org/pub http://gd.tuwien.ac.at/gnu/sourceware \n \
-ftp://sourceware.org/pub 
http://ftp.gwdg.de/pub/linux/sources.redhat.com/sourceware \n \
-cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
-svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
-git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
-hg://.*/.*  http://downloads.yoctoproject.org/mirror/sources/ \n \
-bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
-p4://.*/.*  http://downloads.yoctoproject.org/mirror/sources/ \n \
-osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
-https?$://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
-ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
-npm://.*/?.*http://downloads.yoctoproject.org/mirror/sources/ \n \
-cvs://.*/.* http://sources.openembedded.org/ \n \
-svn://.*/.* http://sources.openembedded.org/ \n \
-git://.*/.* http://sources.openembedded.org/ \n \
-hg://.*/.*  http://sources.openembedded.org/ \n \
-bzr://.*/.* http://sources.openembedded.org/ \n \
-p4://.*/.*  http://sources.openembedded.org/ \n \
-osc://.*/.* http://sources.openembedded.org/ \n \
-https?$://.*/.* http://sources.openembedded.org/ \n \
-ftp://.*/.* http://sources.openembedded.org/ \n \
-npm://.*/?.*http://sources.openembedded.org/ \n \
-${CPAN_MIRROR}  

[OE-core] [PATCH 2/5] own-mirrors.bbclass: Clean up the additions to PREMIRRORS

2021-11-10 Thread Peter Kjellerstedt
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in PREMIRRORS with
  "\n".

Signed-off-by: Peter Kjellerstedt 
---
 meta/classes/own-mirrors.bbclass | 24 
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/meta/classes/own-mirrors.bbclass b/meta/classes/own-mirrors.bbclass
index e244de592d..ef972740ce 100644
--- a/meta/classes/own-mirrors.bbclass
+++ b/meta/classes/own-mirrors.bbclass
@@ -1,14 +1,14 @@
 PREMIRRORS:prepend = " \
-cvs://.*/.* ${SOURCE_MIRROR_URL} \n \
-svn://.*/.* ${SOURCE_MIRROR_URL} \n \
-git://.*/.* ${SOURCE_MIRROR_URL} \n \
-gitsm://.*/.*   ${SOURCE_MIRROR_URL} \n \
-hg://.*/.*  ${SOURCE_MIRROR_URL} \n \
-bzr://.*/.* ${SOURCE_MIRROR_URL} \n \
-p4://.*/.*  ${SOURCE_MIRROR_URL} \n \
-osc://.*/.* ${SOURCE_MIRROR_URL} \n \
-https?$://.*/.* ${SOURCE_MIRROR_URL} \n \
-ftp://.*/.* ${SOURCE_MIRROR_URL} \n \
-npm://.*/?.*${SOURCE_MIRROR_URL} \n \
-s3://.*/.*  ${SOURCE_MIRROR_URL} \n \
+cvs://.*/.* ${SOURCE_MIRROR_URL} \
+svn://.*/.* ${SOURCE_MIRROR_URL} \
+git://.*/.* ${SOURCE_MIRROR_URL} \
+gitsm://.*/.*   ${SOURCE_MIRROR_URL} \
+hg://.*/.*  ${SOURCE_MIRROR_URL} \
+bzr://.*/.* ${SOURCE_MIRROR_URL} \
+p4://.*/.*  ${SOURCE_MIRROR_URL} \
+osc://.*/.* ${SOURCE_MIRROR_URL} \
+https?://.*/.*  ${SOURCE_MIRROR_URL} \
+ftp://.*/.* ${SOURCE_MIRROR_URL} \
+npm://.*/?.*${SOURCE_MIRROR_URL} \
+s3://.*/.*  ${SOURCE_MIRROR_URL} \
 "

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158117): 
https://lists.openembedded.org/g/openembedded-core/message/158117
Mute This Topic: https://lists.openembedded.org/mt/86970464/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 04/24] xserver-xorg: update 1.20.13 -> 21.1.1

2021-11-10 Thread Khem Raj
lgtm

On Wed, Nov 10, 2021 at 11:39 AM Alexander Kanavin
 wrote:
>
> libxcvt is a new dependency (thanks Oleksandr!).
>
> Include ${libdir}/xorg/modules/input/*.so into the main
> package (if for someone separate packaging matters, please
> investigate what they do).
>
> Remove options no longer present upstream.
>
> Remove patches available upstream; drop a chunk as well.
>
> Signed-off-by: Alexander Kanavin 
> ---
>  .../xorg-xserver/xserver-xorg.inc |  7 +--
>  ...-duplicate-definitions-of-IOPortBase.patch | 24 ++---
>  ...probing-a-non-PCI-platform-device-on.patch | 34 -
>  ...t-xtest-Initialize-array-with-braces.patch | 36 -
>  .../xorg-xserver/xserver-xorg/pkgconfig.patch | 34 -
>  .../xserver-xorg/sdksyms-no-build-path.patch  | 50 ---
>  ...xorg_1.20.13.bb => xserver-xorg_21.1.1.bb} |  6 +--
>  7 files changed, 7 insertions(+), 184 deletions(-)
>  delete mode 100644 
> meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch
>  delete mode 100644 
> meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-test-xtest-Initialize-array-with-braces.patch
>  delete mode 100644 
> meta/recipes-graphics/xorg-xserver/xserver-xorg/pkgconfig.patch
>  delete mode 100644 
> meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch
>  rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.20.13.bb => 
> xserver-xorg_21.1.1.bb} (77%)
>
> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc 
> b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> index e1fc0a06dc..6a5f274046 100644
> --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> @@ -28,7 +28,7 @@ inherit autotools pkgconfig
>  inherit features_check
>  REQUIRED_DISTRO_FEATURES = "x11"
>
> -LIB_DEPS = "pixman libxfont2 xtrans libxau libxext libxdmcp libdrm 
> libxkbfile libpciaccess"
> +LIB_DEPS = "pixman libxfont2 xtrans libxau libxext libxdmcp libdrm 
> libxkbfile libpciaccess libxcvt"
>  DEPENDS = "xorgproto ${LIB_DEPS} font-util"
>
>  # Split out some modules and extensions from the main package
> @@ -78,7 +78,7 @@ RRECOMMENDS:${PN}-xwayland += "${XSERVER_RRECOMMENDS}"
>  RDEPENDS:${PN}-xvfb += "xkeyboard-config"
>  RDEPENDS:${PN}-module-exa = "${PN} (= ${EXTENDPKGV})"
>
> -FILES:${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards 
> ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules/*.so 
> ${libdir}/xorg/modules/*.so /etc/X11 ${libdir}/xorg/protocol.txt 
> ${datadir}/X11/xorg.conf.d"
> +FILES:${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards 
> ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules/*.so 
> ${libdir}/xorg/modules/input/*.so ${libdir}/xorg/modules/*.so /etc/X11 
> ${libdir}/xorg/protocol.txt ${datadir}/X11/xorg.conf.d"
>  FILES:${PN}-dev += "${libdir}/xorg/modules/*.la 
> ${libdir}/xorg/modules/*/*.la"
>  FILES:${PN}-doc += "${libdir}/X11/doc 
> ${datadir}/X11/xkb/compiled/README.compiled 
> ${localstatedir}/lib/xkb/README.compiled"
>  FILES:${PN}-sdl = "${bindir}/Xsdl"
> @@ -109,7 +109,6 @@ EXTRA_OECONF += "--with-fop=no \
>   --with-pic \
>   --disable-static \
>   --disable-record \
> - --disable-dmx \
>   --disable-xnest \
>   --enable-xvfb \
>   --enable-composite \
> @@ -118,7 +117,6 @@ EXTRA_OECONF += "--with-fop=no \
>   --sysconfdir=/etc/X11 \
>   --localstatedir=/var \
>   --with-xkb-output=/var/lib/xkb \
> - --with-os-name=Linux \
>  "
>
>  OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
> @@ -141,7 +139,6 @@ PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, 
> xmlto-native docbook-xml-
>  PACKAGECONFIG[systemd-logind] = 
> "--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus,"
>  PACKAGECONFIG[systemd] = 
> "--with-systemd-daemon,--without-systemd-daemon,systemd"
>  PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama"
> -PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,wayland 
> wayland-native wayland-protocols libepoxy"
>
>  # Xorg requires a SHA1 implementation, pick one
>  XORG_CRYPTO ??= "openssl"
> diff --git 
> a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
>  
> b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
> index 4737040675..11d5546537 100644
> --- 
> a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
> +++ 
> b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
> @@ -1,4 +1,4 @@
> -From fc04acfd948ac99d04a5dc08c78f3b13bc0c5c41 Mon Sep 17 00:00:00 2001
> +From ce3b8a230a3805c9b557c1f106795675bd034860 Mon Sep 17 00:00:00 2001
>  From: Khem 

Re: [OE-core] [PATCH 06/24] rust: update 1.56.0 -> 1.56.1

2021-11-10 Thread Khem Raj
On Wed, Nov 10, 2021 at 11:39 AM Alexander Kanavin
 wrote:
>
> This update includes fixes for the 'trojan source' vulnerability:
> https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html
>
> Drop two unused patches.

this is fine, these patches are already upstreamed in rust compiler. I
think some portion of it is still required for rv32/musl
standard library but it will be a different patch. So its fine to delete them.

>
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/conf/distro/include/tcmode-default.inc   |  2 +-
>  ...56.0.bb => cargo-cross-canadian_1.56.1.bb} |  0
>  .../{cargo_1.56.0.bb => cargo_1.56.1.bb}  |  0
>  .../rust/files/riscv-march.patch  | 73 ---
>  meta/recipes-devtools/rust/files/rv64gc.patch | 37 --
>  ...ibstd-rs_1.56.0.bb => libstd-rs_1.56.1.bb} |  0
>  56.0.bb => rust-cross-canadian_1.56.1.bb} |  0
>  ...t-cross_1.56.0.bb => rust-cross_1.56.1.bb} |  0
>  ...-llvm-allow-env-override-of-exe-path.patch |  1 +
>  ...ust-llvm_1.56.0.bb => rust-llvm_1.56.1.bb} |  0
>  meta/recipes-devtools/rust/rust-snapshot.inc  | 16 ++--
>  meta/recipes-devtools/rust/rust-source.inc|  2 +-
>  ...bb => rust-tools-cross-canadian_1.56.1.bb} |  0
>  .../rust/{rust_1.56.0.bb => rust_1.56.1.bb}   |  0
>  14 files changed, 11 insertions(+), 120 deletions(-)
>  rename meta/recipes-devtools/cargo/{cargo-cross-canadian_1.56.0.bb => 
> cargo-cross-canadian_1.56.1.bb} (100%)
>  rename meta/recipes-devtools/cargo/{cargo_1.56.0.bb => cargo_1.56.1.bb} 
> (100%)
>  delete mode 100644 meta/recipes-devtools/rust/files/riscv-march.patch
>  delete mode 100644 meta/recipes-devtools/rust/files/rv64gc.patch
>  rename meta/recipes-devtools/rust/{libstd-rs_1.56.0.bb => 
> libstd-rs_1.56.1.bb} (100%)
>  rename meta/recipes-devtools/rust/{rust-cross-canadian_1.56.0.bb => 
> rust-cross-canadian_1.56.1.bb} (100%)
>  rename meta/recipes-devtools/rust/{rust-cross_1.56.0.bb => 
> rust-cross_1.56.1.bb} (100%)
>  rename meta/recipes-devtools/rust/{rust-llvm_1.56.0.bb => 
> rust-llvm_1.56.1.bb} (100%)
>  rename meta/recipes-devtools/rust/{rust-tools-cross-canadian_1.56.0.bb => 
> rust-tools-cross-canadian_1.56.1.bb} (100%)
>  rename meta/recipes-devtools/rust/{rust_1.56.0.bb => rust_1.56.1.bb} (100%)
>
> diff --git a/meta/conf/distro/include/tcmode-default.inc 
> b/meta/conf/distro/include/tcmode-default.inc
> index 609f2fd0eb..d5167ee9ad 100644
> --- a/meta/conf/distro/include/tcmode-default.inc
> +++ b/meta/conf/distro/include/tcmode-default.inc
> @@ -27,7 +27,7 @@ GOVERSION ?= "1.16%"
>  # 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.56.0"
> +RUSTVERSION ?= "1.56.1"
>
>  PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
>  PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
> diff --git a/meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.0.bb 
> b/meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.0.bb
> rename to meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.1.bb
> diff --git a/meta/recipes-devtools/cargo/cargo_1.56.0.bb 
> b/meta/recipes-devtools/cargo/cargo_1.56.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/cargo/cargo_1.56.0.bb
> rename to meta/recipes-devtools/cargo/cargo_1.56.1.bb
> diff --git a/meta/recipes-devtools/rust/files/riscv-march.patch 
> b/meta/recipes-devtools/rust/files/riscv-march.patch
> deleted file mode 100644
> index a10b3a4d93..00
> --- a/meta/recipes-devtools/rust/files/riscv-march.patch
> +++ /dev/null
> @@ -1,73 +0,0 @@
> -Add suppor for riscv64 and riscv32 musl targets
> -
> -Upstream-Status: Pending
> -Signed-off-by: Khem Raj 
> -
>  a/vendor/cc/src/lib.rs
> -+++ b/vendor/cc/src/lib.rs
> -@@ -2361,6 +2361,7 @@ impl Build {
> - "riscv-none-embed",
> - ]),
> - "riscv64gc-unknown-linux-gnu" => Some("riscv64-linux-gnu"),
> -+"riscv64gc-unknown-linux-musl" => Some("riscv64-linux-musl"),
> - "s390x-unknown-linux-gnu" => Some("s390x-linux-gnu"),
> - "sparc-unknown-linux-gnu" => Some("sparc-linux-gnu"),
> - "sparc64-unknown-linux-gnu" => Some("sparc64-linux-gnu"),
>  a/compiler/rustc_target/src/spec/mod.rs
> -+++ b/compiler/rustc_target/src/spec/mod.rs
> -@@ -641,9 +641,11 @@ supported_targets! {
> - ("riscv32imc-unknown-none-elf", riscv32imc_unknown_none_elf),
> - ("riscv32imac-unknown-none-elf", riscv32imac_unknown_none_elf),
> - ("riscv32gc-unknown-linux-gnu", riscv32gc_unknown_linux_gnu),
> -+("riscv32gc-unknown-linux-musl", riscv32gc_unknown_linux_musl),
> - ("riscv64imac-unknown-none-elf", riscv64imac_unknown_none_elf),
> - ("riscv64gc-unknown-none-elf", riscv64gc_unknown_none_elf),
> - ("riscv64gc-unknown-linux-gnu", 

[OE-core] [PATCH] ncurses.inc: Remove a no longer relevant comment

2021-11-10 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 meta/recipes-core/ncurses/ncurses.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc 
b/meta/recipes-core/ncurses/ncurses.inc
index 3f04545465..e32a6d12f1 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -244,7 +244,6 @@ do_install() {
 
 # Use ln -rs to ensure this is a relative link despite absolute 
paths
 # (as we can't know the relationship between base_libdir and 
libdir).
-# At some point we can rely on coreutils 8.16 which has ln -r.
 ln -rs ${D}${base_libdir}/libtinfo.so.5 ${D}${libdir}/libtinfo.so
 fi
 if [ -d "${D}${includedir}/ncurses" ]; then

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158113): 
https://lists.openembedded.org/g/openembedded-core/message/158113
Mute This Topic: https://lists.openembedded.org/mt/86968137/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] meta: use ln -rs instead of lnr

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 3:12 AM Ross Burton  wrote:
>
> lnr is a script in oe-core that creates relative symlinks, with the same
> behaviour as `ln --relative --symlink`.  It was added back in 2014[1] as
> not all of the supported host distributions at the time shipped
> coreutils 8.16, the first release with --relative.
>
> However the oldest coreutils release in the supported distributions is
> now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.
>
> [1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d
>
> Signed-off-by: Ross Burton 
> ---
>  meta/classes/image.bbclass | 10 +-
>  meta/classes/populate_sdk_ext.bbclass  |  4 ++--
>  meta/recipes-core/glibc/glibc-package.inc  |  4 ++--
>  .../images/build-appliance-image_15.0.0.bb |  2 +-
>  meta/recipes-core/musl/gcompat_git.bb  |  2 +-
>  meta/recipes-core/musl/musl_git.bb |  2 +-
>  meta/recipes-core/ncurses/ncurses.inc  |  4 ++--
>  meta/recipes-core/os-release/os-release.bb |  2 +-
>  meta/recipes-devtools/dnf/dnf_4.10.0.bb|  4 ++--
>  meta/recipes-devtools/pkgconf/pkgconf_1.8.0.bb |  2 +-
>  meta/recipes-devtools/pkgconfig/pkgconfig_git.bb   |  2 +-
>  meta/recipes-kernel/kmod/kmod_git.bb   |  4 ++--
>  meta/recipes-kernel/linux/kernel-devsrc.bb |  2 +-
>  13 files changed, 22 insertions(+), 22 deletions(-)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 2fa69a40d1..6c759fdf70 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -622,20 +622,20 @@ deltask do_package_write_rpm
>  create_merged_usr_symlinks() {
>  root="$1"
>  install -d $root${base_bindir} $root${base_sbindir} $root${base_libdir}
> -lnr $root${base_bindir} $root/bin
> -lnr $root${base_sbindir} $root/sbin
> -lnr $root${base_libdir} $root/${baselib}
> +ln -rs $root${base_bindir} $root/bin
> +ln -rs $root${base_sbindir} $root/sbin
> +ln -rs $root${base_libdir} $root/${baselib}
>
>  if [ "${nonarch_base_libdir}" != "${base_libdir}" ]; then
> install -d $root${nonarch_base_libdir}
> -   lnr $root${nonarch_base_libdir} $root/lib
> +   ln -rs $root${nonarch_base_libdir} $root/lib
>  fi
>
>  # create base links for multilibs
>  multi_libdirs="${@d.getVar('MULTILIB_VARIANTS')}"
>  for d in $multi_libdirs; do
>  install -d $root${exec_prefix}/$d
> -lnr $root${exec_prefix}/$d $root/$d
> +ln -rs $root${exec_prefix}/$d $root/$d
>  done
>  }
>
> diff --git a/meta/classes/populate_sdk_ext.bbclass 
> b/meta/classes/populate_sdk_ext.bbclass
> index 9187f53f13..ef93b6a826 100644
> --- a/meta/classes/populate_sdk_ext.bbclass
> +++ b/meta/classes/populate_sdk_ext.bbclass
> @@ -626,7 +626,7 @@ install_tools() {
> for script in $scripts; do
> for scriptfn in `find 
> ${SDK_OUTPUT}/${SDKPATH}/${scriptrelpath} -maxdepth 1 -executable -name 
> "$script"`; do
> 
> targetscriptfn="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/$(basename 
> $scriptfn)"
> -   test -e ${targetscriptfn} || lnr ${scriptfn} 
> ${targetscriptfn}
> +   test -e ${targetscriptfn} || ln -rs ${scriptfn} 
> ${targetscriptfn}
> done
> done
> # We can't use the same method as above because files in the sysroot 
> won't exist at this point
> @@ -634,7 +634,7 @@ install_tools() {
> unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd"
> if [ "${SDK_INCLUDE_TOOLCHAIN}" = "1" -a ! -e $unfsd_path ] ; then
> 
> binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE'), 
> d.getVar('TMPDIR'))}
> -   lnr ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd $unfsd_path
> +   ln -rs ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd 
> $unfsd_path
> fi
> touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase
>
> diff --git a/meta/recipes-core/glibc/glibc-package.inc 
> b/meta/recipes-core/glibc/glibc-package.inc
> index 571ae7ae09..54e2a08906 100644
> --- a/meta/recipes-core/glibc/glibc-package.inc
> +++ b/meta/recipes-core/glibc/glibc-package.inc
> @@ -119,8 +119,8 @@ do_install() {
> ln -s ${@oe.path.relative('${root_prefix}/lib', 
> '${base_libdir}')}/${ARCH_DYNAMIC_LOADER} \
> ${D}${root_prefix}/lib/${ARCH_DYNAMIC_LOADER}
> fi
> -lnr ${D}${base_libdir}/libpthread.so.0 ${D}${libdir}/libpthread.so
> -lnr ${D}${base_libdir}/librt.so.1 ${D}${libdir}/librt.so
> +ln -rs ${D}${base_libdir}/libpthread.so.0 ${D}${libdir}/libpthread.so
> +ln -rs ${D}${base_libdir}/librt.so.1 ${D}${libdir}/librt.so
>  }
>
>  def get_libc_fpu_setting(bb, d):
> diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb 
> 

Re: [OE-core] [PATCH] meta: use ln -rs instead of lnr

2021-11-10 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core@lists.openembedded.org  c...@lists.openembedded.org> On Behalf Of Ross Burton
> Sent: den 10 november 2021 12:13
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH] meta: use ln -rs instead of lnr
> 
> lnr is a script in oe-core that creates relative symlinks, with the same
> behaviour as `ln --relative --symlink`.  It was added back in 2014[1] as
> not all of the supported host distributions at the time shipped
> coreutils 8.16, the first release with --relative.
> 
> However the oldest coreutils release in the supported distributions is
> now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.
> 
> [1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d
> 
> Signed-off-by: Ross Burton 
> ---
>  meta/classes/image.bbclass | 10 +-
>  meta/classes/populate_sdk_ext.bbclass  |  4 ++--
>  meta/recipes-core/glibc/glibc-package.inc  |  4 ++--
>  .../images/build-appliance-image_15.0.0.bb |  2 +-
>  meta/recipes-core/musl/gcompat_git.bb  |  2 +-
>  meta/recipes-core/musl/musl_git.bb |  2 +-
>  meta/recipes-core/ncurses/ncurses.inc  |  4 ++--
>  meta/recipes-core/os-release/os-release.bb |  2 +-
>  meta/recipes-devtools/dnf/dnf_4.10.0.bb|  4 ++--
>  meta/recipes-devtools/pkgconf/pkgconf_1.8.0.bb |  2 +-
>  meta/recipes-devtools/pkgconfig/pkgconfig_git.bb   |  2 +-
>  meta/recipes-kernel/kmod/kmod_git.bb   |  4 ++--
>  meta/recipes-kernel/linux/kernel-devsrc.bb |  2 +-
>  13 files changed, 22 insertions(+), 22 deletions(-)
> 

[cut]

> diff --git a/meta/recipes-core/ncurses/ncurses.inc 
> b/meta/recipes-core/ncurses/ncurses.inc
> index 64cce329aa..3f04545465 100644
> --- a/meta/recipes-core/ncurses/ncurses.inc
> +++ b/meta/recipes-core/ncurses/ncurses.inc
> @@ -242,10 +242,10 @@ do_install() {
>  mv ${D}${libdir}/libtinfo.so.* ${D}${base_libdir}
>  rm ${D}${libdir}/libtinfo.so
> 
> -# Use lnr to ensure this is a relative link despite absolute 
> paths
> +# Use ln -rs to ensure this is a relative link despite absolute 
> paths
>  # (as we can't know the relationship between base_libdir and 
> libdir).
>  # At some point we can rely on coreutils 8.16 which has ln -r.

The last line of the comment can be removed.

> -lnr ${D}${base_libdir}/libtinfo.so.5 ${D}${libdir}/libtinfo.so
> +ln -rs ${D}${base_libdir}/libtinfo.so.5 ${D}${libdir}/libtinfo.so
>  fi
>  if [ -d "${D}${includedir}/ncurses" ]; then
>  for f in `find ${D}${includedir}/ncurses -name "*.h"`

[cut]

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158111): 
https://lists.openembedded.org/g/openembedded-core/message/158111
Mute This Topic: https://lists.openembedded.org/mt/86954557/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] mirrors: Add uninative mirror on kernel.org

2021-11-10 Thread Richard Purdie
On Wed, 2021-11-10 at 20:44 +, Peter Kjellerstedt wrote:
> > -Original Message-
> > From: openembedded-core@lists.openembedded.org  > c...@lists.openembedded.org> On Behalf Of Richard Purdie
> > Sent: den 9 november 2021 14:22
> > To: openembedded-core@lists.openembedded.org
> > Subject: [OE-core] [PATCH] mirrors: Add uninative mirror on kernel.org
> > 
> > At the last nas outage, we realised that we don't have good mirrors of the
> > uninative tarball if our main system can't be accessed. kernel.org mirrors
> > some Yocto Project data so we've ensured uninative is there. Add the
> > appropriate
> > mirror url to make use of that.
> > 
> > Signed-off-by: Richard Purdie 
> > ---
> >  meta/classes/mirrors.bbclass | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
> > index ba325a658bc..75eb86a7243 100644
> > --- a/meta/classes/mirrors.bbclass
> > +++ b/meta/classes/mirrors.bbclass
> > @@ -62,6 +62,7 @@ ftp://.*/.* http://sources.openembedded.org/ \n \
> >  npm://.*/?.*http://sources.openembedded.org/ \n \
> >  ${CPAN_MIRROR}  http://cpan.metacpan.org/ \n \
> >  ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
> > +https?$://downloads.yoctoproject.org/releases/uninative/
> > https://mirrors.kernel.org/yocto/uninative/ \n \
> 
> The above looked very odd to me, having that dollar sign in the middle of 
> the regular expression. It wasn't until I was deep into the fetcher's code 
> that I realized that it is not actually one regular expression above, but 
> three, formatted as a URL...

It is all a bit crazy. This format is from the days of the fetcher before my
involvement and before it was the fetcher.

> However, based on the code in bitbake/lib/bb/fetch2/__init__.py:uri_replace(),
> AFAICT, the dollar sign should not be needed above, as it will be added for 
> the URI type regexp automatically. The same goes for the other two URLs in 
> mirrors.bbclass that use that formatting.

Right, I think I remember added the anchoring fix. We haven't cleaned up all the
urls out in the wild and I was being consistent with the other entries in this
case.

> While investigating this, I also tried to look in the bitbake documentation 
> for a description of the format used for the PREMIRRORS and MIRRORS variables,
> but I could not find any. There is only a simple example, without any 
> explanation for the actual format that is being used.

That doesn't surprise me, I still have trouble remembering all the
idiosyncrasies when trying to fix the mirror url code too. It would be good to
document it if anyone fancies trying.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158110): 
https://lists.openembedded.org/g/openembedded-core/message/158110
Mute This Topic: https://lists.openembedded.org/mt/86930590/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] mirrors: Add uninative mirror on kernel.org

2021-11-10 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core@lists.openembedded.org  c...@lists.openembedded.org> On Behalf Of Richard Purdie
> Sent: den 9 november 2021 14:22
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH] mirrors: Add uninative mirror on kernel.org
> 
> At the last nas outage, we realised that we don't have good mirrors of the
> uninative tarball if our main system can't be accessed. kernel.org mirrors
> some Yocto Project data so we've ensured uninative is there. Add the 
> appropriate
> mirror url to make use of that.
> 
> Signed-off-by: Richard Purdie 
> ---
>  meta/classes/mirrors.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
> index ba325a658bc..75eb86a7243 100644
> --- a/meta/classes/mirrors.bbclass
> +++ b/meta/classes/mirrors.bbclass
> @@ -62,6 +62,7 @@ ftp://.*/.* http://sources.openembedded.org/ \n \
>  npm://.*/?.*http://sources.openembedded.org/ \n \
>  ${CPAN_MIRROR}  http://cpan.metacpan.org/ \n \
>  ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
> +https?$://downloads.yoctoproject.org/releases/uninative/ 
> https://mirrors.kernel.org/yocto/uninative/ \n \

The above looked very odd to me, having that dollar sign in the middle of 
the regular expression. It wasn't until I was deep into the fetcher's code 
that I realized that it is not actually one regular expression above, but 
three, formatted as a URL...

However, based on the code in bitbake/lib/bb/fetch2/__init__.py:uri_replace(), 
AFAICT, the dollar sign should not be needed above, as it will be added for 
the URI type regexp automatically. The same goes for the other two URLs in 
mirrors.bbclass that use that formatting.

While investigating this, I also tried to look in the bitbake documentation 
for a description of the format used for the PREMIRRORS and MIRRORS variables, 
but I could not find any. There is only a simple example, without any 
explanation for the actual format that is being used.

>  "
> 
>  # Use MIRRORS to provide git repo fallbacks using the https protocol, for 
> cases
> --
> 2.32.0

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158109): 
https://lists.openembedded.org/g/openembedded-core/message/158109
Mute This Topic: https://lists.openembedded.org/mt/86930590/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/24] webkitgtk: submit patches upstream

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...1-FindGObjectIntrospection.cmake-prefix-variables-obta.patch | 2 +-
 .../webkit/webkitgtk/0001-Fix-build-without-opengl-or-es.patch  | 2 +-
 .../0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch   | 2 +-
 ...1-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch | 2 +-
 .../recipes-sato/webkit/webkitgtk/reduce-memory-overheads.patch | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
 
b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
index fae3b0b2e5..54d34b1c69 100644
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
+++ 
b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
@@ -4,7 +4,7 @@ Date: Tue, 27 Oct 2015 16:02:19 +0200
 Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
  from pkg-config with PKG_CONFIG_SYSROOT_DIR
 
-Upstream-Status: Pending [review on oe-core list]
+Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232933]
 Signed-off-by: Alexander Kanavin 
 ---
  Source/cmake/FindGObjectIntrospection.cmake | 1 +
diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-without-opengl-or-es.patch 
b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-without-opengl-or-es.patch
index e4c7d77ccd..09256951f4 100644
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-without-opengl-or-es.patch
+++ 
b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-without-opengl-or-es.patch
@@ -16,7 +16,7 @@ Subject: [PATCH] Fix build without opengl-or-es
   but in Source/cmake/OptionsGTK.cmake USE_COORDINATED_GRAPHICS was enabled 
only inside
   if (USE_OPENGL_OR_ES)
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232934]
 ---
  .../DrawingAreaProxyCoordinatedGraphics.cpp | 2 +-
  .../DrawingAreaProxyCoordinatedGraphics.h   | 2 +-
diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
 
b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
index 0c31c5fa21..e06607ba2b 100644
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
+++ 
b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
@@ -3,7 +3,7 @@ From: Alexander Kanavin 
 Date: Mon, 29 Aug 2016 16:38:11 +0300
 Subject: [PATCH] Fix racy parallel build of WebKit2-4.0.gir
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232935]
 Signed-off-by: Alexander Kanavin 
 
 ---
diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
 
b/meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
index 3e03aa968c..9e2bf09dd7 100644
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
+++ 
b/meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
@@ -7,7 +7,7 @@ Subject: [PATCH] When building introspection files, add 
CMAKE_C_FLAGS to the
 g-ir-compiler is using a C compiler internally, so it needs to set
 the proper flags for it.
 
-Upstream-Status: Pending [review on oe-core list]
+Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232936]
 Signed-off-by: Alexander Kanavin 
 
 ---
diff --git a/meta/recipes-sato/webkit/webkitgtk/reduce-memory-overheads.patch 
b/meta/recipes-sato/webkit/webkitgtk/reduce-memory-overheads.patch
index aa11c131d2..907d36c4cd 100644
--- a/meta/recipes-sato/webkit/webkitgtk/reduce-memory-overheads.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/reduce-memory-overheads.patch
@@ -3,7 +3,7 @@ From: Alberto Garcia 
 Date: Sun, 25 Apr 2021 18:45:13 +
 Subject: [PATCH] Reduce memory usage when not using the Gold linker
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232938]
 Signed-off-by: Khem Raj 
 
 ---
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158107): 
https://lists.openembedded.org/g/openembedded-core/message/158107
Mute This Topic: https://lists.openembedded.org/mt/86965720/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/24] shared-mime-info: fix meson 0.60 builds

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...tom-itstool-to-builtin-msgfmt-for-cr.patch | 70 +++
 .../shared-mime-info/shared-mime-info_git.bb  |  4 +-
 2 files changed, 73 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch

diff --git 
a/meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
 
b/meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
new file mode 100644
index 00..d09013bb3c
--- /dev/null
+++ 
b/meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
@@ -0,0 +1,70 @@
+From 5ca815cb79f64fab9cbb428b95a861fc0c30c116 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 8 Nov 2021 18:22:47 -0500
+Subject: [PATCH] migrate from custom itstool to builtin msgfmt for creating
+ translated XML
+
+gettext upstream has supported this for a very long time, and using it
+means we don't need to jump through hoops to run ninja inside ninja in
+order to generate the .mo files for itstool.
+
+Although meson 0.60.0 added support for real targets for the built .mo
+files, this changed the rules for output filenames, breaking the script.
+But msgfmt does not care, and anyways comes with builtin meson functions
+for convenient use.
+
+Fixes #170
+Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/162]
+Signed-off-by: Alexander Kanavin 
+---
+ data/freedesktop_generate.sh | 12 
+ data/meson.build | 16 +---
+ 2 files changed, 5 insertions(+), 23 deletions(-)
+ delete mode 100755 data/freedesktop_generate.sh
+
+diff --git a/data/freedesktop_generate.sh b/data/freedesktop_generate.sh
+deleted file mode 100755
+index ff13e75..000
+--- a/data/freedesktop_generate.sh
 /dev/null
+@@ -1,12 +0,0 @@
+-#!/bin/sh -e
+-
+-src_root="$1"
+-build_root="$2"
+-
+-ninja -C "${build_root}" shared-mime-info-gmo
+-
+-itstool \
+---its "${src_root}/data/its/shared-mime-info.its" \
+---join "${src_root}/data/freedesktop.org.xml.in" \
+--o "${build_root}/data/freedesktop.org.xml" \
+-"${build_root}/po/"*".gmo"
+diff --git a/data/meson.build b/data/meson.build
+index 263567d..c5696f2 100644
+--- a/data/meson.build
 b/data/meson.build
+@@ -1,18 +1,12 @@
+ 
+ install_man('update-mime-database.1')
+ 
+-freedesktop_org_xml = custom_target('freedesktop.org.xml',
+-input : files(
+-'freedesktop.org.xml.in',
+-'its/shared-mime-info.its',
+-'its/shared-mime-info.loc',
+-),
++freedesktop_org_xml = i18n.merge_file(
++input: 'freedesktop.org.xml.in',
+ output: 'freedesktop.org.xml',
+-command: [
+-find_program('freedesktop_generate.sh'),
+-meson.source_root(),
+-meson.build_root()
+-],
++data_dirs: '.',
++po_dir: '../po',
++type: 'xml',
+ install: true,
+ install_dir: get_option('datadir') / 'mime' / 'packages',
+ )
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_git.bb 
b/meta/recipes-support/shared-mime-info/shared-mime-info_git.bb
index 2dca36a7df..69f147ebce 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info_git.bb
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info_git.bb
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 DEPENDS = "libxml2 itstool-native glib-2.0 shared-mime-info-native 
xmlto-native"
 
-SRC_URI = 
"git://gitlab.freedesktop.org/xdg/shared-mime-info.git;protocol=https;branch=master"
+SRC_URI = 
"git://gitlab.freedesktop.org/xdg/shared-mime-info.git;protocol=https;branch=master
 \
+   
file://0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch \
+   "
 SRCREV = "18e558fa1c8b90b86757ade09a4ba4d6a6cf8f70"
 PV = "2.1"
 S = "${WORKDIR}/git"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158106): 
https://lists.openembedded.org/g/openembedded-core/message/158106
Mute This Topic: https://lists.openembedded.org/mt/86965719/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/24] webkitgtk: remove unneeded patch

2021-11-10 Thread Alexander Kanavin
The file is already included just three lines below.

Signed-off-by: Alexander Kanavin 
---
 .../webkit/webkitgtk/include_xutil.patch  | 34 ---
 meta/recipes-sato/webkit/webkitgtk_2.34.1.bb  |  1 -
 2 files changed, 35 deletions(-)
 delete mode 100644 meta/recipes-sato/webkit/webkitgtk/include_xutil.patch

diff --git a/meta/recipes-sato/webkit/webkitgtk/include_xutil.patch 
b/meta/recipes-sato/webkit/webkitgtk/include_xutil.patch
deleted file mode 100644
index e7a4cc25ad..00
--- a/meta/recipes-sato/webkit/webkitgtk/include_xutil.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 2cc9d445b4c8eb70c2ab6c1723dfd208218f103e Mon Sep 17 00:00:00 2001
-From: Martin Jansa 
-Date: Fri, 6 Nov 2020 04:38:13 +0100
-Subject: [PATCH] webkitgtk: fix build with x11 enabled
-
-Since
-https://github.com/WebKit/webkit/commit/acd3f32cd43c363be032f93ede3aa10c4ee97fa4
-it uses XVisualInfo which is defined in Xutil.h
-
-Without this the build fails with:
-webkitgtk-2.30.2/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:132:5:
 error: 'XVisualInfo' was not declared in this scope; did you mean 'VisualID'?
-  132 | XVisualInfo visualTemplate;
-  | ^~~
-  | VisualID
-
-Upstream-Status: Pending
-Signed-off-by: Martin Jansa 
-

- Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 
b/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
-index bad56eba..fc141f98 100644
 a/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
-+++ b/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
-@@ -31,6 +31,7 @@
- #if PLATFORM(X11)
- #include 
- #include 
-+#include 
- #include 
- #if PLATFORM(GTK)
- #include 
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
index 4e2562df14..7a942e9cb5 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
@@ -15,7 +15,6 @@ SRC_URI = 
"https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch \

file://0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch \
file://0001-Enable-THREADS_PREFER_PTHREAD_FLAG.patch \
-   file://include_xutil.patch \
file://reduce-memory-overheads.patch \
file://musl-lower-stack-usage.patch \
file://0001-Fix-build-without-opengl-or-es.patch \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158108): 
https://lists.openembedded.org/g/openembedded-core/message/158108
Mute This Topic: https://lists.openembedded.org/mt/86965722/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/24] meson: upgrade 0.59.2 -> 0.60.1

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/meson/meson.inc |  2 +-
 ...-not-manipulate-the-environment-when.patch | 53 +--
 .../meson/meson/disable-rpath-handling.patch  | 14 ++---
 .../{meson_0.59.2.bb => meson_0.60.1.bb}  |  0
 ...on_0.59.2.bb => nativesdk-meson_0.60.1.bb} |  0
 5 files changed, 33 insertions(+), 36 deletions(-)
 rename meta/recipes-devtools/meson/{meson_0.59.2.bb => meson_0.60.1.bb} (100%)
 rename meta/recipes-devtools/meson/{nativesdk-meson_0.59.2.bb => 
nativesdk-meson_0.60.1.bb} (100%)

diff --git a/meta/recipes-devtools/meson/meson.inc 
b/meta/recipes-devtools/meson/meson.inc
index 174ebd9f31..f383ad9f74 100644
--- a/meta/recipes-devtools/meson/meson.inc
+++ b/meta/recipes-devtools/meson/meson.inc
@@ -15,7 +15,7 @@ SRC_URI = 
"https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
file://0002-Support-building-allarch-recipes-again.patch \
file://0001-is_debianlike-always-return-False.patch \
"
-SRC_URI[sha256sum] = 
"13dee549a7ba758b7e33ce7719f28d1d337a98d10d378a4779ccc996f5a2fc49"
+SRC_URI[sha256sum] = 
"5add789c953d984b500858b2851ee3d7add0460cf1a6f852f0a721af17384e13"
 
 UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases;
 UPSTREAM_CHECK_REGEX = "meson-(?P\d+(\.\d+)+)\.tar"
diff --git 
a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
 
b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
index fdadc6869b..86abfa9d52 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
@@ -1,4 +1,4 @@
-From 2264e67d7c2c22ca634fd26ea8ada6f0344ab280 Mon Sep 17 00:00:00 2001
+From dd5b4a200cd2fdf7fef627c4b6752f90c00b863a Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Mon, 19 Nov 2018 14:24:26 +0100
 Subject: [PATCH] python module: do not manipulate the environment when calling
@@ -8,36 +8,31 @@ Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin 
 
 ---
- mesonbuild/modules/python.py | 12 
- 1 file changed, 12 deletions(-)
+ mesonbuild/modules/python.py | 7 +--
+ 1 file changed, 1 insertion(+), 6 deletions(-)
 
 diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
-index 422155b..aaf5844 100644
+index f479ab9..b934bc6 100644
 --- a/mesonbuild/modules/python.py
 +++ b/mesonbuild/modules/python.py
-@@ -70,11 +70,6 @@ class PythonDependency(ExternalDependency):
- old_pkg_libdir = os.environ.get('PKG_CONFIG_LIBDIR')
- old_pkg_path = os.environ.get('PKG_CONFIG_PATH')
- 
--os.environ.pop('PKG_CONFIG_PATH', None)
--
--if pkg_libdir:
--os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir
--
- try:
- self.pkgdep = PkgConfigDependency(pkg_name, environment, 
kwargs)
- mlog.debug(f'Found "{pkg_name}" via pkgconfig lookup in 
LIBPC ({pkg_libdir})')
-@@ -83,13 +78,6 @@ class PythonDependency(ExternalDependency):
- mlog.debug(f'"{pkg_name}" could not be found in LIBPC 
({pkg_libdir})')
- mlog.debug(e)
- 
--if old_pkg_path is not None:
--os.environ['PKG_CONFIG_PATH'] = old_pkg_path
--
--if old_pkg_libdir is not None:
--os.environ['PKG_CONFIG_LIBDIR'] = old_pkg_libdir
--else:
--os.environ.pop('PKG_CONFIG_LIBDIR', None)
- else:
- mlog.debug(f'"{pkg_name}" could not be found in LIBPC 
({pkg_libdir}), this is likely due to a relocated python installation')
+@@ -239,10 +239,6 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
+ # If python-X.Y.pc exists in LIBPC, we will try to use it
+ def wrap_in_pythons_pc_dir(name: str, env: 'Environment', kwargs: 
T.Dict[str, T.Any],
+installation: 'PythonInstallation') -> 
'ExternalDependency':
+-old_pkg_libdir = os.environ.pop('PKG_CONFIG_LIBDIR', None)
+-old_pkg_path = os.environ.pop('PKG_CONFIG_PATH', None)
+-if pkg_libdir:
+-os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir
+ try:
+ return PythonPkgConfigDependency(name, env, kwargs, 
installation)
+ finally:
+@@ -251,8 +247,7 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
+ os.environ[name] = value
+ elif name in os.environ:
+ del os.environ[name]
+-set_env('PKG_CONFIG_LIBDIR', old_pkg_libdir)
+-set_env('PKG_CONFIG_PATH', old_pkg_path)
++pass
  
+ 

[OE-core] [PATCH 20/24] valgrind: submit patch upstream

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../valgrind/valgrind/0004-Fix-out-of-tree-builds.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch 
b/meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch
index 06b19b07c4..9a25b67961 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch
@@ -12,7 +12,7 @@ RP 2013/03/23
 
 Patch refreshed for valgrind-3.14.0.
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=445211]
 
 Signed-off-by: Alexander Kanavin 
 Signed-off-by: Randy MacLeod 
-- 
2.20.1


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



[OE-core] [PATCH 19/24] libgpg-error: mark patch as non-upstreamable

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch 
b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
index ff15759309..6b9b623b54 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
+++ b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
@@ -3,7 +3,7 @@ From: Hongxu Jia 
 Date: Thu, 29 Mar 2018 15:12:17 +0800
 Subject: [PATCH] support pkgconfig
 
-Upstream-Status: Pending
+Upstream-Status: Inappropriate [gnupg upstream will not take this, it has been 
tried with other components]
 
 Rebase to 1.28
 
-- 
2.20.1


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



[OE-core] [PATCH 18/24] gnu-config: update to latest revision

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/gnu-config/gnu-config_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb 
b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
index 794e39546c..6b025fce2c 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -9,8 +9,8 @@ DEPENDS:class-native = "hostperl-runtime-native"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-SRCREV = "805517123cbfe33d17c989a18e78c5789fab0437"
-PV = "20210722+git${SRCPV}"
+SRCREV = "191bcb948f7191c36eefe634336f5fc5c0c4c2be"
+PV = "20211108+git${SRCPV}"
 
 SRC_URI = "git://git.savannah.gnu.org/config.git;branch=master \
file://gnu-configize.in"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158102): 
https://lists.openembedded.org/g/openembedded-core/message/158102
Mute This Topic: https://lists.openembedded.org/mt/86965714/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/24] python3-pyparsing: update 3.0.4 -> 3.0.5

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{python3-pyparsing_3.0.4.bb => python3-pyparsing_3.0.5.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pyparsing_3.0.4.bb => 
python3-pyparsing_3.0.5.bb} (85%)

diff --git a/meta/recipes-devtools/python/python3-pyparsing_3.0.4.bb 
b/meta/recipes-devtools/python/python3-pyparsing_3.0.5.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-pyparsing_3.0.4.bb
rename to meta/recipes-devtools/python/python3-pyparsing_3.0.5.bb
index a862345e09..6f2c7f6cd9 100644
--- a/meta/recipes-devtools/python/python3-pyparsing_3.0.4.bb
+++ b/meta/recipes-devtools/python/python3-pyparsing_3.0.5.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://pyparsing.wikispaces.com/;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
 
-SRC_URI[sha256sum] = 
"e0df773d7fa2240322daae7805626dfc5f2d5effb34e1a7be2702c99cfb9f6b1"
+SRC_URI[sha256sum] = 
"9329d1c1b51f0f76371c4ded42c5ec4cc0be18456b22193e0570c2da98ed288b"
 
 UPSTREAM_CHECK_REGEX = "pyparsing-(?P.*)\.tar"
 
-- 
2.20.1


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



[OE-core] [PATCH 17/24] vulkan-samples: update to latest revision

2021-11-10 Thread Alexander Kanavin
Mark as incompatible with 32 bit x86: there are several failures
and I do not think anyone is interested in vulkan on that platform.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb 
b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
index c1ffc7ecde..613ed592c6 100644
--- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
@@ -11,12 +11,13 @@ SRC_URI = 
"gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=master;prot
"
 
 UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "d2187278cb6632ce35920575832eb6f6e2b2e46c"
+SRCREV = "ae6e4a3712cebde49a29e5996a3bd2f403566890"
 
 UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for"
 S = "${WORKDIR}/git"
 
 REQUIRED_DISTRO_FEATURES = 'vulkan'
+COMPATIBLE_HOST:x86 = "null"
 
 inherit cmake features_check
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158101): 
https://lists.openembedded.org/g/openembedded-core/message/158101
Mute This Topic: https://lists.openembedded.org/mt/86965713/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 12/24] python3-packaging: upgrade 21.0 -> 21.2

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...dbf19e2b76ab025efc11208bd50e09e8223e.patch | 37 +++
 ...ging_21.0.bb => python3-packaging_21.2.bb} |  4 +-
 2 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
 rename meta/recipes-devtools/python/{python3-packaging_21.0.bb => 
python3-packaging_21.2.bb} (69%)

diff --git 
a/meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
 
b/meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
new file mode 100644
index 00..42b1dc133f
--- /dev/null
+++ 
b/meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
@@ -0,0 +1,37 @@
+From 8cb9dbf19e2b76ab025efc11208bd50e09e8223e Mon Sep 17 00:00:00 2001
+From: Moyiz <8603313+mo...@users.noreply.github.com>
+Date: Tue, 2 Nov 2021 21:42:53 +0200
+Subject: [PATCH] Revert pyparsing constraint (#482)
+
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin 
+---
+ setup.py   | 2 +-
+ tests/test_requirements.py | 4 +++-
+ 4 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index c6a1caec..419aa284 100644
+--- a/setup.py
 b/setup.py
+@@ -48,7 +48,7 @@
+ author=about["__author__"],
+ author_email=about["__email__"],
+ python_requires=">=3.6",
+-install_requires=["pyparsing>=2.0.2,<3"],  # Needed to avoid issue #91
++install_requires=["pyparsing>=2.0.2"],  # Needed to avoid issue #91
+ classifiers=[
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+diff --git a/tests/test_requirements.py b/tests/test_requirements.py
+index 8cc45687..f2c209c4 100644
+--- a/tests/test_requirements.py
 b/tests/test_requirements.py
+@@ -192,4 +192,6 @@ def test_sys_platform_linux_in(self):
+ def test_parseexception_error_msg(self):
+ with pytest.raises(InvalidRequirement) as e:
+ Requirement("toto 42")
+-assert "Expected stringEnd" in str(e.value)
++assert "Expected stringEnd" in str(e.value) or (
++"Expected string_end" in str(e.value)  # pyparsing>=3.0.0
++)
diff --git a/meta/recipes-devtools/python/python3-packaging_21.0.bb 
b/meta/recipes-devtools/python/python3-packaging_21.2.bb
similarity index 69%
rename from meta/recipes-devtools/python/python3-packaging_21.0.bb
rename to meta/recipes-devtools/python/python3-packaging_21.2.bb
index f20f8886a4..5e9541082f 100644
--- a/meta/recipes-devtools/python/python3-packaging_21.0.bb
+++ b/meta/recipes-devtools/python/python3-packaging_21.2.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/pypa/packaging;
 LICENSE = "Apache-2.0 | BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
 
-SRC_URI[sha256sum] = 
"7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7"
+SRC_URI[sha256sum] = 
"096d689d78ca690e4cd8a89568ba06d07ca097e3306a4381635073ca91479966"
+
+SRC_URI += "file://8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch"
 
 inherit pypi setuptools3
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158096): 
https://lists.openembedded.org/g/openembedded-core/message/158096
Mute This Topic: https://lists.openembedded.org/mt/86965706/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/24] python3-py: upgrade 1.10.0 -> 1.11.0

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

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

diff --git a/meta/recipes-devtools/python/python3-py_1.10.0.bb 
b/meta/recipes-devtools/python/python3-py_1.11.0.bb
similarity index 80%
rename from meta/recipes-devtools/python/python3-py_1.10.0.bb
rename to meta/recipes-devtools/python/python3-py_1.11.0.bb
index 8225c6b6c8..f8be3935e5 100644
--- a/meta/recipes-devtools/python/python3-py_1.10.0.bb
+++ b/meta/recipes-devtools/python/python3-py_1.11.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://py.readthedocs.io/;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
 
-SRC_URI[sha256sum] = 
"21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"
+SRC_URI[sha256sum] = 
"51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
-- 
2.20.1


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



[OE-core] [PATCH 13/24] python3-pbr: upgrade 5.6.0 -> 5.7.0

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/python/python3-pbr_5.6.0.bb | 4 
 meta/recipes-devtools/python/python3-pbr_5.7.0.bb | 4 
 2 files changed, 4 insertions(+), 4 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-pbr_5.6.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-pbr_5.7.0.bb

diff --git a/meta/recipes-devtools/python/python3-pbr_5.6.0.bb 
b/meta/recipes-devtools/python/python3-pbr_5.6.0.bb
deleted file mode 100644
index 132e6e52b6..00
--- a/meta/recipes-devtools/python/python3-pbr_5.6.0.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-inherit setuptools3
-require python-pbr.inc
-
-SRC_URI[sha256sum] = 
"42df03e7797b796625b1029c0400279c7c34fd7df24a7d7818a1abb5b38710dd"
diff --git a/meta/recipes-devtools/python/python3-pbr_5.7.0.bb 
b/meta/recipes-devtools/python/python3-pbr_5.7.0.bb
new file mode 100644
index 00..12aeb7e8fa
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pbr_5.7.0.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-pbr.inc
+
+SRC_URI[sha256sum] = 
"4651ca1445e80f2781827305de3d76b3ce53195f2227762684eb08f17bc473b7"
-- 
2.20.1


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



[OE-core] [PATCH 15/24] python3-setuptools: upgrade 58.3.0 -> 58.5.3

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../0001-conditionally-do-not-fetch-code-by-easy_install.patch  | 2 +-
 ...ython3-setuptools_58.3.0.bb => python3-setuptools_58.5.3.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_58.3.0.bb => 
python3-setuptools_58.5.3.bb} (94%)

diff --git 
a/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
 
b/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
index 46546ebba6..c5d6c64eda 100644
--- 
a/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ 
b/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -1,4 +1,4 @@
-From 58b614411867a31cf5f9684a45fe519b8e4f3e7b Mon Sep 17 00:00:00 2001
+From dd77d2f4486079380235ed0466d2eab110f7bdc5 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Tue, 17 Jul 2018 10:13:38 +0800
 Subject: [PATCH] conditionally do not fetch code by easy_install
diff --git a/meta/recipes-devtools/python/python3-setuptools_58.3.0.bb 
b/meta/recipes-devtools/python/python3-setuptools_58.5.3.bb
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_58.3.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_58.5.3.bb
index 47107ba61d..ddc3fca354 100644
--- a/meta/recipes-devtools/python/python3-setuptools_58.3.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_58.5.3.bb
@@ -13,7 +13,7 @@ SRC_URI += "\
 file://0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch \
 "
 
-SRC_URI[sha256sum] = 
"b0c2461641b58fe30e11d4c3dfba316c513bdf9ec85f9fed0c871c678447205e"
+SRC_URI[sha256sum] = 
"dae6b934a965c8a59d6d230d3867ec408bb95e73bd538ff77e71fedf1eaca729"
 
 DEPENDS += "${PYTHON_PN}"
 
-- 
2.20.1


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



[OE-core] [PATCH 10/24] python3-hypothesis: upgrade 6.24.0 -> 6.24.2

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

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

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.24.0.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.24.2.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.24.0.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.24.2.bb
index 50f7e01061..ef45ddb6c6 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.24.0.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.24.2.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
 file://test_rle.py \
 "
 
-SRC_URI[sha256sum] = 
"ef53bd1c4756436be2e8d4a2e16f6f5ffbca7acbe8041e6872aea16176ff3806"
+SRC_URI[sha256sum] = 
"4030f88ae0a8d3339a41dd7589c78d3ba0a3a270f729c12aceddaea7c60b224b"
 
 RDEPENDS:${PN} += " \
 python3-attrs \
-- 
2.20.1


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



[OE-core] [PATCH 11/24] python3-numpy: upgrade 1.21.3 -> 1.21.4

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../{python3-numpy_1.21.3.bb => python3-numpy_1.21.4.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python-numpy/{python3-numpy_1.21.3.bb => 
python3-numpy_1.21.4.bb} (96%)

diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.21.3.bb 
b/meta/recipes-devtools/python-numpy/python3-numpy_1.21.4.bb
similarity index 96%
rename from meta/recipes-devtools/python-numpy/python3-numpy_1.21.3.bb
rename to meta/recipes-devtools/python-numpy/python3-numpy_1.21.4.bb
index 4a289c2c7b..8988a5bc39 100644
--- a/meta/recipes-devtools/python-numpy/python3-numpy_1.21.3.bb
+++ b/meta/recipes-devtools/python-numpy/python3-numpy_1.21.4.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${S
file://0001-numpy-core-Define-RISCV-32-support.patch \
file://run-ptest \
 "
-SRC_URI[sha256sum] = 
"d0bba24083c01ae43457514d875f10d9ce4c1125d55b1e2573277b2410f2d068"
+SRC_URI[sha256sum] = 
"5d412381aa489b8be82ac5c6a9e99c3eb3f754245ad3f90ab5c339d92f25fb47"
 
 UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases;
 UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.tar"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158095): 
https://lists.openembedded.org/g/openembedded-core/message/158095
Mute This Topic: https://lists.openembedded.org/mt/86965705/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/24] kexec-tools: update 2.0.22 -> 2.0.23

2021-11-10 Thread Alexander Kanavin
Drop patch as problem fixed upstream.

Signed-off-by: Alexander Kanavin 
---
 ...exec-ppc.c-correct-double-definition.patch | 23 ---
 ...-tools_2.0.22.bb => kexec-tools_2.0.23.bb} |  3 +--
 2 files changed, 1 insertion(+), 25 deletions(-)
 delete mode 100644 
meta/recipes-kernel/kexec/kexec-tools/0001-kexec-arch-ppc-kexec-ppc.c-correct-double-definition.patch
 rename meta/recipes-kernel/kexec/{kexec-tools_2.0.22.bb => 
kexec-tools_2.0.23.bb} (94%)

diff --git 
a/meta/recipes-kernel/kexec/kexec-tools/0001-kexec-arch-ppc-kexec-ppc.c-correct-double-definition.patch
 
b/meta/recipes-kernel/kexec/kexec-tools/0001-kexec-arch-ppc-kexec-ppc.c-correct-double-definition.patch
deleted file mode 100644
index 6aeebc3939..00
--- 
a/meta/recipes-kernel/kexec/kexec-tools/0001-kexec-arch-ppc-kexec-ppc.c-correct-double-definition.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From ba2fb5baf6b0a8c882ac32301dd7a8d16de0dcf6 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Sun, 27 Dec 2020 23:39:29 +0100
-Subject: [PATCH] kexec/arch/ppc/kexec-ppc.c: correct double definition error
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- kexec/arch/ppc/kexec-ppc.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/kexec/arch/ppc/kexec-ppc.c b/kexec/arch/ppc/kexec-ppc.c
-index 03bec36..5b3e244 100644
 a/kexec/arch/ppc/kexec-ppc.c
-+++ b/kexec/arch/ppc/kexec-ppc.c
-@@ -35,7 +35,6 @@ unsigned long long initrd_base = 0, initrd_size = 0;
- unsigned long long ramdisk_base = 0, ramdisk_size = 0;
- unsigned int rtas_base, rtas_size;
- int max_memory_ranges;
--const char *ramdisk;
- 
- /*
-  * Reads the #address-cells and #size-cells on this platform.
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.22.bb 
b/meta/recipes-kernel/kexec/kexec-tools_2.0.23.bb
similarity index 94%
rename from meta/recipes-kernel/kexec/kexec-tools_2.0.22.bb
rename to meta/recipes-kernel/kexec/kexec-tools_2.0.23.bb
index 95ff5e6ef8..22a9498a7b 100644
--- a/meta/recipes-kernel/kexec/kexec-tools_2.0.22.bb
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.23.bb
@@ -19,10 +19,9 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz
file://0005-Disable-PIE-during-link.patch \
file://0007-kexec-un-break-the-build-on-32-bit-x86.patch \

file://0001-arm64-kexec-disabled-check-if-kaslr-seed-dtb-propert.patch \
-   
file://0001-kexec-arch-ppc-kexec-ppc.c-correct-double-definition.patch \
"
 
-SRC_URI[sha256sum] = 
"40623d4321be2865ef9ea2cd6ec998d31dcf93d0f74353cbd3aa06d8821e3e41"
+SRC_URI[sha256sum] = 
"c7dcc59f5b66004d9d91264324e20e0387ea263dbb449708fbf84a4e5ff7decc"
 
 inherit autotools update-rc.d systemd
 
-- 
2.20.1


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

2021-11-10 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../socat/{socat_1.7.4.1.bb => socat_1.7.4.2.bb}   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-connectivity/socat/{socat_1.7.4.1.bb => socat_1.7.4.2.bb} 
(92%)

diff --git a/meta/recipes-connectivity/socat/socat_1.7.4.1.bb 
b/meta/recipes-connectivity/socat/socat_1.7.4.2.bb
similarity index 92%
rename from meta/recipes-connectivity/socat/socat_1.7.4.1.bb
rename to meta/recipes-connectivity/socat/socat_1.7.4.2.bb
index 1ad5f15b93..0edde6a2e4 100644
--- a/meta/recipes-connectivity/socat/socat_1.7.4.1.bb
+++ b/meta/recipes-connectivity/socat/socat_1.7.4.2.bb
@@ -12,8 +12,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \
 "
 
-SRC_URI[md5sum] = "36cad050ecf4981ab044c3fbd75c643f"
-SRC_URI[sha256sum] = 
"3faca25614e89123dff5045680549ecef519d02e331aaf3c4f5a8f6837c675e9"
+SRC_URI[sha256sum] = 
"6690a9f9990457b505097a272bbf2cbf4cc35576176f76646e3524b0e91c1763"
 
 inherit autotools
 
-- 
2.20.1


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

2021-11-10 Thread Alexander Kanavin
This update includes fixes for the 'trojan source' vulnerability:
https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html

Drop two unused patches.

Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 ...56.0.bb => cargo-cross-canadian_1.56.1.bb} |  0
 .../{cargo_1.56.0.bb => cargo_1.56.1.bb}  |  0
 .../rust/files/riscv-march.patch  | 73 ---
 meta/recipes-devtools/rust/files/rv64gc.patch | 37 --
 ...ibstd-rs_1.56.0.bb => libstd-rs_1.56.1.bb} |  0
 56.0.bb => rust-cross-canadian_1.56.1.bb} |  0
 ...t-cross_1.56.0.bb => rust-cross_1.56.1.bb} |  0
 ...-llvm-allow-env-override-of-exe-path.patch |  1 +
 ...ust-llvm_1.56.0.bb => rust-llvm_1.56.1.bb} |  0
 meta/recipes-devtools/rust/rust-snapshot.inc  | 16 ++--
 meta/recipes-devtools/rust/rust-source.inc|  2 +-
 ...bb => rust-tools-cross-canadian_1.56.1.bb} |  0
 .../rust/{rust_1.56.0.bb => rust_1.56.1.bb}   |  0
 14 files changed, 11 insertions(+), 120 deletions(-)
 rename meta/recipes-devtools/cargo/{cargo-cross-canadian_1.56.0.bb => 
cargo-cross-canadian_1.56.1.bb} (100%)
 rename meta/recipes-devtools/cargo/{cargo_1.56.0.bb => cargo_1.56.1.bb} (100%)
 delete mode 100644 meta/recipes-devtools/rust/files/riscv-march.patch
 delete mode 100644 meta/recipes-devtools/rust/files/rv64gc.patch
 rename meta/recipes-devtools/rust/{libstd-rs_1.56.0.bb => libstd-rs_1.56.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.56.0.bb => 
rust-cross-canadian_1.56.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-cross_1.56.0.bb => 
rust-cross_1.56.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.56.0.bb => rust-llvm_1.56.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-tools-cross-canadian_1.56.0.bb => 
rust-tools-cross-canadian_1.56.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust_1.56.0.bb => rust_1.56.1.bb} (100%)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index 609f2fd0eb..d5167ee9ad 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -27,7 +27,7 @@ GOVERSION ?= "1.16%"
 # 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.56.0"
+RUSTVERSION ?= "1.56.1"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.0.bb 
b/meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.1.bb
similarity index 100%
rename from meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.0.bb
rename to meta/recipes-devtools/cargo/cargo-cross-canadian_1.56.1.bb
diff --git a/meta/recipes-devtools/cargo/cargo_1.56.0.bb 
b/meta/recipes-devtools/cargo/cargo_1.56.1.bb
similarity index 100%
rename from meta/recipes-devtools/cargo/cargo_1.56.0.bb
rename to meta/recipes-devtools/cargo/cargo_1.56.1.bb
diff --git a/meta/recipes-devtools/rust/files/riscv-march.patch 
b/meta/recipes-devtools/rust/files/riscv-march.patch
deleted file mode 100644
index a10b3a4d93..00
--- a/meta/recipes-devtools/rust/files/riscv-march.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-Add suppor for riscv64 and riscv32 musl targets
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj 
-
 a/vendor/cc/src/lib.rs
-+++ b/vendor/cc/src/lib.rs
-@@ -2361,6 +2361,7 @@ impl Build {
- "riscv-none-embed",
- ]),
- "riscv64gc-unknown-linux-gnu" => Some("riscv64-linux-gnu"),
-+"riscv64gc-unknown-linux-musl" => Some("riscv64-linux-musl"),
- "s390x-unknown-linux-gnu" => Some("s390x-linux-gnu"),
- "sparc-unknown-linux-gnu" => Some("sparc-linux-gnu"),
- "sparc64-unknown-linux-gnu" => Some("sparc64-linux-gnu"),
 a/compiler/rustc_target/src/spec/mod.rs
-+++ b/compiler/rustc_target/src/spec/mod.rs
-@@ -641,9 +641,11 @@ supported_targets! {
- ("riscv32imc-unknown-none-elf", riscv32imc_unknown_none_elf),
- ("riscv32imac-unknown-none-elf", riscv32imac_unknown_none_elf),
- ("riscv32gc-unknown-linux-gnu", riscv32gc_unknown_linux_gnu),
-+("riscv32gc-unknown-linux-musl", riscv32gc_unknown_linux_musl),
- ("riscv64imac-unknown-none-elf", riscv64imac_unknown_none_elf),
- ("riscv64gc-unknown-none-elf", riscv64gc_unknown_none_elf),
- ("riscv64gc-unknown-linux-gnu", riscv64gc_unknown_linux_gnu),
-+("riscv64gc-unknown-linux-musl", riscv64gc_unknown_linux_musl),
- 
- ("aarch64-unknown-none", aarch64_unknown_none),
- ("aarch64-unknown-none-softfloat", aarch64_unknown_none_softfloat),
 /dev/null
-+++ b/compiler/rustc_target/src/spec/riscv32gc_unknown_linux_musl.rs
-@@ -0,0 +1,19 @@
-+use crate::spec::{CodeModel, Target, TargetOptions};
-+
-+pub fn target() -> Target {
-+Target {
-+llvm_target: 

[OE-core] [PATCH 04/24] xserver-xorg: update 1.20.13 -> 21.1.1

2021-11-10 Thread Alexander Kanavin
libxcvt is a new dependency (thanks Oleksandr!).

Include ${libdir}/xorg/modules/input/*.so into the main
package (if for someone separate packaging matters, please
investigate what they do).

Remove options no longer present upstream.

Remove patches available upstream; drop a chunk as well.

Signed-off-by: Alexander Kanavin 
---
 .../xorg-xserver/xserver-xorg.inc |  7 +--
 ...-duplicate-definitions-of-IOPortBase.patch | 24 ++---
 ...probing-a-non-PCI-platform-device-on.patch | 34 -
 ...t-xtest-Initialize-array-with-braces.patch | 36 -
 .../xorg-xserver/xserver-xorg/pkgconfig.patch | 34 -
 .../xserver-xorg/sdksyms-no-build-path.patch  | 50 ---
 ...xorg_1.20.13.bb => xserver-xorg_21.1.1.bb} |  6 +--
 7 files changed, 7 insertions(+), 184 deletions(-)
 delete mode 100644 
meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch
 delete mode 100644 
meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-test-xtest-Initialize-array-with-braces.patch
 delete mode 100644 
meta/recipes-graphics/xorg-xserver/xserver-xorg/pkgconfig.patch
 delete mode 100644 
meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch
 rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.20.13.bb => 
xserver-xorg_21.1.1.bb} (77%)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index e1fc0a06dc..6a5f274046 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -28,7 +28,7 @@ inherit autotools pkgconfig
 inherit features_check
 REQUIRED_DISTRO_FEATURES = "x11"
 
-LIB_DEPS = "pixman libxfont2 xtrans libxau libxext libxdmcp libdrm libxkbfile 
libpciaccess"
+LIB_DEPS = "pixman libxfont2 xtrans libxau libxext libxdmcp libdrm libxkbfile 
libpciaccess libxcvt"
 DEPENDS = "xorgproto ${LIB_DEPS} font-util"
 
 # Split out some modules and extensions from the main package
@@ -78,7 +78,7 @@ RRECOMMENDS:${PN}-xwayland += "${XSERVER_RRECOMMENDS}"
 RDEPENDS:${PN}-xvfb += "xkeyboard-config"
 RDEPENDS:${PN}-module-exa = "${PN} (= ${EXTENDPKGV})"
 
-FILES:${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards 
${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules/*.so 
${libdir}/xorg/modules/*.so /etc/X11 ${libdir}/xorg/protocol.txt 
${datadir}/X11/xorg.conf.d"
+FILES:${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards 
${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules/*.so 
${libdir}/xorg/modules/input/*.so ${libdir}/xorg/modules/*.so /etc/X11 
${libdir}/xorg/protocol.txt ${datadir}/X11/xorg.conf.d"
 FILES:${PN}-dev += "${libdir}/xorg/modules/*.la ${libdir}/xorg/modules/*/*.la"
 FILES:${PN}-doc += "${libdir}/X11/doc 
${datadir}/X11/xkb/compiled/README.compiled 
${localstatedir}/lib/xkb/README.compiled"
 FILES:${PN}-sdl = "${bindir}/Xsdl"
@@ -109,7 +109,6 @@ EXTRA_OECONF += "--with-fop=no \
  --with-pic \
  --disable-static \
  --disable-record \
- --disable-dmx \
  --disable-xnest \
  --enable-xvfb \
  --enable-composite \
@@ -118,7 +117,6 @@ EXTRA_OECONF += "--with-fop=no \
  --sysconfdir=/etc/X11 \
  --localstatedir=/var \
  --with-xkb-output=/var/lib/xkb \
- --with-os-name=Linux \
 "
 
 OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
@@ -141,7 +139,6 @@ PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, 
xmlto-native docbook-xml-
 PACKAGECONFIG[systemd-logind] = 
"--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus,"
 PACKAGECONFIG[systemd] = 
"--with-systemd-daemon,--without-systemd-daemon,systemd"
 PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama"
-PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,wayland 
wayland-native wayland-protocols libepoxy"
 
 # Xorg requires a SHA1 implementation, pick one
 XORG_CRYPTO ??= "openssl"
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
index 4737040675..11d5546537 100644
--- 
a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
+++ 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch
@@ -1,4 +1,4 @@
-From fc04acfd948ac99d04a5dc08c78f3b13bc0c5c41 Mon Sep 17 00:00:00 2001
+From ce3b8a230a3805c9b557c1f106795675bd034860 Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Mon, 17 Aug 2020 10:50:51 -0700
 Subject: [PATCH] Avoid duplicate definitions of IOPortBase
@@ -10,26 +10,13 @@ compiler.h:528: multiple definition of `IOPortBase';
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj 
+
 ---
- 

[OE-core] [PATCH 05/24] xserver-xorg: convert from autotools to meson

2021-11-10 Thread Alexander Kanavin
Not every option was carried over, drop them accordingly.

Signed-off-by: Alexander Kanavin 
---
 .../xorg-xserver/xserver-xorg.inc | 55 ---
 1 file changed, 22 insertions(+), 33 deletions(-)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 6a5f274046..4a7048aced 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -23,7 +23,7 @@ CVE_PRODUCT = "xorg-server"
 
 S = "${WORKDIR}/${XORG_PN}-${PV}"
 
-inherit autotools pkgconfig
+inherit meson pkgconfig
 
 inherit features_check
 REQUIRED_DISTRO_FEATURES = "x11"
@@ -105,50 +105,39 @@ FILES:${PN}-module-libxf1bpp = 
"${libdir}/xorg/modules/libxf1bpp.so"
 FILES:${PN}-module-libxf4bpp = "${libdir}/xorg/modules/libxf4bpp.so"
 FILES:xf86-video-modesetting = 
"${libdir}/xorg/modules/drivers/modesetting_drv.so"
 
-EXTRA_OECONF += "--with-fop=no \
- --with-pic \
- --disable-static \
- --disable-record \
- --disable-xnest \
- --enable-xvfb \
- --enable-composite \
- --without-dtrace \
- --with-int10=x86emu \
- --sysconfdir=/etc/X11 \
- --localstatedir=/var \
- --with-xkb-output=/var/lib/xkb \
+EXTRA_OEMESON += " \
+ -Dxnest=false \
+ -Dxvfb=true \
+ -Ddtrace=false \
+ -Dint10=x86emu \
+ -Dxkb_output_dir=/var/lib/xkb \
 "
 
-OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
+OPENGL_PKGCONFIGS = "dri glx glamor dri3"
 PACKAGECONFIG ??= "dga dri2 udev ${XORG_CRYPTO} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'${OPENGL_PKGCONFIGS}', '', d)} \
-   ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd 
systemd-logind', '', d)} \
+   ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 
'systemd-logind', '', d)} \
 "
 
-PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev"
-PACKAGECONFIG[dga] = "--enable-dga,--disable-dga"
-PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,virtual/mesa"
-PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2"
-# DRI3 requires xshmfence to also be enabled
-PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3"
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl virtual/libx11"
-PACKAGECONFIG[glamor] = "--enable-glamor,--disable-glamor,libepoxy 
virtual/libgbm,libegl"
-PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind"
-PACKAGECONFIG[xshmfence] = 
"--enable-xshmfence,--disable-xshmfence,libxshmfence"
-PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native 
docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
-PACKAGECONFIG[systemd-logind] = 
"--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus,"
-PACKAGECONFIG[systemd] = 
"--with-systemd-daemon,--without-systemd-daemon,systemd"
-PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama"
+PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev"
+PACKAGECONFIG[dga] = "-Ddga=true,-Ddga=false"
+PACKAGECONFIG[dri] = "-Ddri1=true,-Ddri1=false,virtual/mesa"
+PACKAGECONFIG[dri2] = "-Ddri2=true,-Ddri2=false"
+PACKAGECONFIG[dri3] = "-Ddri3=true,-Ddri3=false"
+PACKAGECONFIG[glx] = "-Dglx=true,-Dglx=false,virtual/libgl virtual/libx11"
+PACKAGECONFIG[glamor] = "-Dglamor=true,-Dglamor=false,libepoxy 
virtual/libgbm,libegl"
+PACKAGECONFIG[unwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind"
+PACKAGECONFIG[systemd-logind] = 
"-Dsystemd_logind=true,-Dsystemd_logind=false,dbus,"
+PACKAGECONFIG[xinerama] = "-Dxinerama=true,-Dxinerama=false"
 
 # Xorg requires a SHA1 implementation, pick one
 XORG_CRYPTO ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
-PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
-PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
+PACKAGECONFIG[openssl] = "-Dsha1=libcrypto,,openssl"
+PACKAGECONFIG[nettle] = "-Dsha1=libnettle,,nettle"
+PACKAGECONFIG[gcrypt] = "-Dsha1=libgcrypt,,libgcrypt"
 
 do_install:append () {
# Its assumed base-files creates this for us
-   rmdir ${D}${localstatedir}/log/
 sed -i -e 's,${libdir}/xorg/modules,${prefix}/lib*/xorg/modules,' 
${D}${mandir}/man5/xorg.conf.5
 }
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158089): 
https://lists.openembedded.org/g/openembedded-core/message/158089
Mute This Topic: https://lists.openembedded.org/mt/86965698/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/24] libgpg-error: update 1.42 -> 1.43

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libgpg-error/libgpg-error/fix-cross.patch | 28 ---
 .../libgpg-error/libgpg-error/pkgconfig.patch | 17 +--
 ...gpg-error_1.42.bb => libgpg-error_1.43.bb} |  3 +-
 3 files changed, 10 insertions(+), 38 deletions(-)
 delete mode 100644 
meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch
 rename meta/recipes-support/libgpg-error/{libgpg-error_1.42.bb => 
libgpg-error_1.43.bb} (92%)

diff --git a/meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch 
b/meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch
deleted file mode 100644
index ae424cdb9a..00
--- a/meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: David Michael 
-Date: Fri, 26 Mar 2021 07:06:50 + (+0900)
-Subject: build: Fix generation of lock-obj-pub.native.h for cross build.
-X-Git-Url: 
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commitdiff_plain;h=33593864cd54143db594c4237bba41e14179061c
-
-build: Fix generation of lock-obj-pub.native.h for cross build.
-
-* src/gen-lock-obj.sh: Capture echo output with quotes.
-
-Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374
-Signed-off-by: David Michael 
-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin 

-
-diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
-index a710f0c..258eec6 100755
 a/src/gen-lock-obj.sh
-+++ b/src/gen-lock-obj.sh
-@@ -38,7 +38,7 @@
- # AWK=gawk ./gen-lock-obj.sh
- #
- 
--if test -n `echo -n`; then
-+if test -n "`echo -n`"; then
- ECHO_C='\c'
- ECHO_N=''
- else
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch 
b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
index aea8eba5fa..ff15759309 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
+++ b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
@@ -1,4 +1,4 @@
-From 62651c5c7b4a391f16dbe1b09c6e220efe5c8a35 Mon Sep 17 00:00:00 2001
+From 52aae746760ce5b88e61ce994f5055e4ce809821 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Thu, 29 Mar 2018 15:12:17 +0800
 Subject: [PATCH] support pkgconfig
@@ -14,14 +14,14 @@ Signed-off-by: Armin Kuster 
 Signed-off-by: Zheng Ruoqin 
 
 ---
- src/gpg-error.m4 | 159 +--
- 1 file changed, 3 insertions(+), 156 deletions(-)
+ src/gpg-error.m4 | 160 +--
+ 1 file changed, 3 insertions(+), 157 deletions(-)
 
 diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
-index d910754..76f045c 100644
+index 56a5d07..28920ae 100644
 --- a/src/gpg-error.m4
 +++ b/src/gpg-error.m4
-@@ -27,156 +27,12 @@ dnl is added to the gpg_config_script_warn variable.
+@@ -27,157 +27,12 @@ dnl is added to the gpg_config_script_warn variable.
  dnl
  AC_DEFUN([AM_PATH_GPG_ERROR],
  [ AC_REQUIRE([AC_CANONICAL_HOST])
@@ -63,7 +63,7 @@ index d910754..76f045c 100644
 -  min_gpg_error_version=ifelse([$1], ,1.33,$1)
 -  ok=no
 -
--  AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no)
+-  AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH])
 -  if test "$GPGRT_CONFIG" != "no"; then
 -# Determine gpgrt_libdir
 -#
@@ -78,7 +78,8 @@ index d910754..76f045c 100644
 -#   Fedora/openSUSE style: /usr/lib, /usr/lib32 or /usr/lib64
 -# It is assumed that CC is specified to the one of host on cross build.
 -if libdir_candidates=$(${CC:-cc} -print-search-dirs | \
--  sed -n -e "/^libraries/{s/libraries: =//;s/:/\n/gp}"); then
+-  sed -n -e "/^libraries/{s/libraries: =//;s/:/\\
+-/g;p;}"); then
 -  # From the output of -print-search-dirs, select valid pkgconfig dirs.
 -  libdir_candidates=$(for dir in $libdir_candidates; do
 -if p=$(cd $dir 2>/dev/null && pwd); then
@@ -181,7 +182,7 @@ index d910754..76f045c 100644
  fi
  if test x"$gpg_error_config_host" != xnone ; then
if test x"$gpg_error_config_host" != x"$host" ; then
-@@ -192,15 +48,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
+@@ -193,15 +48,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
fi
  fi
else
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb 
b/meta/recipes-support/libgpg-error/libgpg-error_1.43.bb
similarity index 92%
rename from meta/recipes-support/libgpg-error/libgpg-error_1.42.bb
rename to meta/recipes-support/libgpg-error/libgpg-error_1.43.bb
index 04f5760b76..fe3824b8e0 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.43.bb
@@ -17,11 +17,10 @@ UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html;
 SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
file://pkgconfig.patch \
file://0001-Do-not-fail-when-testing-config-scripts.patch \
-   file://fix-cross.patch \

file://0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch \
"
 
-SRC_URI[sha256sum] = 

[OE-core] [PATCH 03/24] mesa-demos: mark glew/glu patch as non-upstreamable

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...figure-Allow-to-disable-demos-which-require-GLEW-.patch | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch
 
b/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch
index f6b59a11fe..e31827d4a3 100644
--- 
a/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch
+++ 
b/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch
@@ -6,7 +6,12 @@ Subject: [PATCH] configure: Allow to disable demos which 
require GLEW or GLU
 * in some systems without X11 support we don't have GLEW, but
   mesa-demos are still useful
 
-Upstream-Status: Pending
+This isn't currently appropriate for upstream submission as glew has
+been replaced with glad there; glu situation would need to be re-assesed
+when upstream makes a new release, requested here:
+https://gitlab.freedesktop.org/mesa/demos/-/issues/22
+
+Upstream-Status: Inappropriate [see above]
 
 Signed-off-by: Martin Jansa 
 
-- 
2.20.1


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



[OE-core] [PATCH 01/24] ovmf: submit patch upstream

2021-11-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-core/ovmf/ovmf/0006-reproducible.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/ovmf/ovmf/0006-reproducible.patch 
b/meta/recipes-core/ovmf/ovmf/0006-reproducible.patch
index 343c21b541..846f408012 100644
--- a/meta/recipes-core/ovmf/ovmf/0006-reproducible.patch
+++ b/meta/recipes-core/ovmf/ovmf/0006-reproducible.patch
@@ -24,7 +24,7 @@ The patch specifically:
is used, else the output from "GenFw XXX.bin" differs from "GenFw 
/long/path/XXX.bin"
with sufficiently long paths
 
-Upstream-Status: Pending [At least some of this might be interesting to 
upstream]
+Upstream-Status: Submitted [https://github.com/tianocore/edk2/pull/2176]
 Signed-off-by: Richard Purdie 
 Signed-off-by: Alexander Kanavin 
 ---
-- 
2.20.1


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



[OE-core] [PATCH 02/24] mesa-demos: drop glx option and patch

2021-11-10 Thread Alexander Kanavin
As far as I can see the x11 option does the same thing.

Signed-off-by: Alexander Kanavin 
---
 .../0013-only-build-GLX-demos-if-needed.patch | 62 ---
 .../recipes-graphics/mesa/mesa-demos_8.4.0.bb |  4 +-
 2 files changed, 1 insertion(+), 65 deletions(-)
 delete mode 100644 
meta/recipes-graphics/mesa/mesa-demos/0013-only-build-GLX-demos-if-needed.patch

diff --git 
a/meta/recipes-graphics/mesa/mesa-demos/0013-only-build-GLX-demos-if-needed.patch
 
b/meta/recipes-graphics/mesa/mesa-demos/0013-only-build-GLX-demos-if-needed.patch
deleted file mode 100644
index e7be4dfbe1..00
--- 
a/meta/recipes-graphics/mesa/mesa-demos/0013-only-build-GLX-demos-if-needed.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 322af294390a7f4e1524c5a79312be6cbebce988 Mon Sep 17 00:00:00 2001
-From: Awais Belal 
-Date: Wed, 11 Nov 2015 17:22:12 +0500
-Subject: [PATCH] only build GLX demos if needed
-
-There are platforms that default to EGL only configurations
-in which case the GLX applications are not required
-at all. Allow the user to control generation of these
-demos as needed through a configure switch.
-
-Signed-off-by: Awais Belal 
-Upstream-Status: Pending

- configure.ac| 9 +
- src/Makefile.am | 6 +-
- 2 files changed, 14 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index f8ec7e3..1a4d96d 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -132,6 +132,11 @@ if test "x$enable_glu" = xyes; then
- DEMO_LIBS="$DEMO_LIBS $GLU_LIBS"
- fi
- 
-+AC_ARG_ENABLE([glx-demos],
-+[AS_HELP_STRING([--enable-glx-demos],
-+[enable GLX demos @<:@default=auto@:>@])],
-+[glx_demos_enabled="$enableval"],
-+[glx_demos_enabled=yes])
- AC_ARG_ENABLE([egl],
- [AS_HELP_STRING([--enable-egl],
- [enable EGL library @<:@default=auto@:>@])],
-@@ -325,6 +333,7 @@ AC_SUBST([WAYLAND_LIBS])
- 
- AM_CONDITIONAL(HAVE_GLU, test "x$glu_enabled" = "xyes")
- AM_CONDITIONAL(HAVE_GLEW, test "x$glew_enabled" = "xyes")
-+AM_CONDITIONAL(HAVE_GLX, test "x$glx_demos_enabled" = "xyes")
- AM_CONDITIONAL(HAVE_EGL, test "x$egl_enabled" = "xyes")
- AM_CONDITIONAL(HAVE_GLESV1, test "x$glesv1_enabled" = "xyes")
- AM_CONDITIONAL(HAVE_GLESV2, test "x$glesv2_enabled" = "xyes")
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 8b89dee..a4d7e8f 100644
 a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -44,8 +44,12 @@ SUBDIRS = \
-   slang \
-   tests \
-   tools \
--  wgl \
-+  wgl
-+
-+if HAVE_GLX
-+SUBDIRS += \
-   xdemos
-+endif
- 
- if HAVE_GLEW
- SUBDIRS += \
--- 
-1.9.1
-
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb 
b/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
index 368af4e915..01e5b35d0e 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
@@ -17,7 +17,6 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/demos/${BPN}-${PV}.tar.bz2 \

file://0008-glsl-perf-Add-few-missing-.glsl-.vert-.frag-files-to.patch \
file://0009-glsl-perf-Install-.glsl-.vert-.frag-files.patch \

file://0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch \
-   file://0013-only-build-GLX-demos-if-needed.patch \
"
 SRC_URI[md5sum] = "6b65a02622765522176d00f553086fa3"
 SRC_URI[sha256sum] = 
"01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d"
@@ -27,7 +26,7 @@ inherit autotools pkgconfig features_check
 REQUIRED_DISTRO_FEATURES = "opengl x11"
 
 PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \
-  x11 glew glu glx"
+  x11 glew glu"
 
 # The Wayland code doesn't work with Wayland 1.0, so disable it for now
 #${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
@@ -47,7 +46,6 @@ PACKAGECONFIG[wayland] = 
"--enable-wayland,--disable-wayland,virtual/libgl wayla
 PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11"
 PACKAGECONFIG[glew] = "--enable-glew,--disable-glew,glew"
 PACKAGECONFIG[glu] = "--enable-glu,--disable-glu,virtual/libgl"
-PACKAGECONFIG[glx] = "--enable-glx-demos,--disable-glx-demos"
 
 do_install:append() {
# it can be completely empty when all PACKAGECONFIG options are disabled
-- 
2.20.1


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



Re: [bitbake-devel] [oe-core][PATCH v4 1/2] repo: Add recipe for 2.17.3

2021-11-10 Thread Khem Raj



On 11/10/21 7:53 AM, Jasper Orschulko via lists.openembedded.org wrote:

From: Jasper Orschulko 

Add a recipe for repo 2.17.3, prerequisite for the repo fetcher.

Signed-off-by: Jasper Orschulko 
---
  meta/conf/distro/include/maintainers.inc  |  1 +
  .../0001-Set-REPO_REV-to-v2.17.3.patch| 34 +++
  .../repo/repo/0001-python3-shebang.patch  | 26 ++
  meta/recipes-devtools/repo/repo_2.17.3.bb | 29 
  4 files changed, 90 insertions(+)
  create mode 100644 
meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch
  create mode 100644 meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
  create mode 100644 meta/recipes-devtools/repo/repo_2.17.3.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index f3e0a75d56..58a0a9615f 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -652,6 +652,7 @@ RECIPE_MAINTAINER:pn-quilt-native = "Robert Yang 
"
  RECIPE_MAINTAINER:pn-quota = "Anuj Mittal "
  RECIPE_MAINTAINER:pn-re2c = "Khem Raj "
  RECIPE_MAINTAINER:pn-readline = "Hongxu Jia "
+RECIPE_MAINTAINER:pn-repo = "Jasper Orschulko 
"
  RECIPE_MAINTAINER:pn-resolvconf = "Chen Qi "
  RECIPE_MAINTAINER:pn-rgb = "Unassigned "
  RECIPE_MAINTAINER:pn-rpcbind = "Hongxu Jia "
diff --git 
a/meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch 
b/meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch
new file mode 100644
index 00..3086f8eb42
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch
@@ -0,0 +1,34 @@
+From bdd2a528da59c28db8ae2986834926de7cebf3ab Mon Sep 17 00:00:00 2001
+From: Jasper Orschulko 
+Date: Thu, 4 Nov 2021 16:55:12 +0100
+Subject: [PATCH] Set REPO_REV to v2.17.3
+
+repo is an unusual tool because it downloads all of its own Python modules
+using GPG-signed git tags, and stores those files as part of the project
+that it is working with.
+
+So in order to have a reproducible repo installation within the project
+folders, we hardcode the REPO_REV variable to a SHA1 that corresponds to
+the version of the recipe.
+
+Upstream-Status: Inappropriate [configuration]
+Signed-off-by: Jasper Orschulko 
+---
+ repo | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/repo b/repo
+index 4cddbf1..cf5f6b1 100755
+--- a/repo
 b/repo
+@@ -142,7 +142,7 @@ if __name__ == '__main__':
+ REPO_URL = os.environ.get('REPO_URL', None)
+ if not REPO_URL:
+   REPO_URL = 'https://gerrit.googlesource.com/git-repo'
+-REPO_REV = os.environ.get('REPO_REV')
++REPO_REV = '11b30b91df1f0e03b53da970ec2588e85817bacc'
+ if not REPO_REV:
+   REPO_REV = 'stable'
+ # URL to file bug reports for repo tool issues.
+--
+2.33.1
diff --git a/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch 
b/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
new file mode 100644
index 00..d3888c8bb2
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
@@ -0,0 +1,26 @@
+From b8e84b202cd302a7c99288d3835dc9c63071f8f2 Mon Sep 17 00:00:00 2001
+From: Jasper Orschulko 
+Date: Tue, 14 Sep 2021 16:46:51 +0200
+Subject: [PATCH] python3 shebang
+
+Yocto does not symlink from python to python3, thus change the shebang from
+python to python3.
+
+Upstream-Status: Inappropriate [configuration]
+Signed-off-by: Jasper Orschulko 
+---
+ repo | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/repo b/repo
+index b13e34c..205e0e5 100755
+--- a/repo
 b/repo
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding:utf-8 -*-
+ #
+ # Copyright (C) 2008 The Android Open Source Project
+--
+2.33.0
diff --git a/meta/recipes-devtools/repo/repo_2.17.3.bb 
b/meta/recipes-devtools/repo/repo_2.17.3.bb
new file mode 100644
index 00..20f5d465d3
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo_2.17.3.bb
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: MIT
+# Copyright (C) 2021 iris-GmbH infrared & intelligent sensors
+
+SUMMARY = "Tool for managing many Git repositories"
+DESCRIPTION = "Repo is a tool built on top of Git. Repo helps manage many Git 
repositories, does the uploads to revision control systems, and automates parts of the 
development workflow."
+HOMEPAGE = "https://android.googlesource.com/tools/repo;
+SECTION = "console/utils"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = 
"git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main"
+SRCREV = "11b30b91df1f0e03b53da970ec2588e85817bacc"
+
+SRC_URI += "file://0001-python3-shebang.patch \
+file://0001-Set-REPO_REV-to-v2.17.3.patch"
+
+MIRRORS += "git://gerrit.googlesource.com/git-repo.git 
git://github.com/GerritCodeReview/git-repo.git \n"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+   install -d ${D}${bindir}
+   install 

Re: [OE-core] [PATCH v4] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-10 Thread Khem Raj
seeing this

https://errors.yoctoproject.org/Errors/Details/616955/

On Tue, Nov 9, 2021 at 7:29 AM Lukasz Majewski  wrote:
>
> This patch introduces new recipe - namely 'glibc-tests', which
> builds and installs time related (to check if Y2038 support works) glibc
> test suite to OE/Yocto built image.
>
> It reuses code from already available 'glibc-testsuite' recipe,
> which is run with 'bitbake glibc-testsuite -c check' and uses qemu
> to execute remotely (via SSH) tests on some emulated machine.
>
> This recipe installs time related glibc tests on some rootfs image.
> Afterwards, those tests can be executed on the real hardware, to
> facilitate validation of it with Y2038 problem compliance.
>
> To test time related subset - one needs to call:
> ptest-runner glibc-tests
> then change the date after Y2038 threshold for 32 bit systems:
> date -s "20 JAN 2038 18:00:00"
> and then run ptest-runner again.
>
> To facilitate debugging, source files are provided by default with
> the unstripped debugging symbols. Such approach would reduce the
> already complex recipe (as it inherits base glibc one), so there
> is no need to also install *-dbg and *-src packages.
>
> Signed-off-by: Lukasz Majewski 
>
> ---
> Changes for v4:
> - Add entry for 'glibc-tests' in the maintainers.inc file
> - Remove nativesdk from BBCLASSEXTEND as this resipe is not supposed
>   to be the part of SDK
>
> Changes for v3:
> - Provide missing ${PN}-ptest for PACKAGES, PROVIDES and
>   RPROVIDES variables
>
> Changes for v2:
> - Just focus on time related set of tests as those can be run as
>   standalone
> - Reuse of already built tests (from glibc-tests.inc) and depoloy
>   them on the HW target.
> - Provide single 'run-ptest' script.
> - Update the recipe to run with newest poky's -master
> ---
>  meta/conf/distro/include/maintainers.inc  |   1 +
>  .../distro/include/ptest-packagelists.inc |   1 +
>  meta/recipes-core/glibc/glibc-tests_2.34.bb   | 113 ++
>  meta/recipes-core/glibc/glibc/run-ptest   |  37 ++
>  4 files changed, 152 insertions(+)
>  create mode 100644 meta/recipes-core/glibc/glibc-tests_2.34.bb
>  create mode 100755 meta/recipes-core/glibc/glibc/run-ptest
>
> diff --git a/meta/conf/distro/include/maintainers.inc 
> b/meta/conf/distro/include/maintainers.inc
> index baec2bef4d..7104e091fc 100644
> --- a/meta/conf/distro/include/maintainers.inc
> +++ b/meta/conf/distro/include/maintainers.inc
> @@ -209,6 +209,7 @@ RECIPE_MAINTAINER:pn-glibc = "Khem Raj 
> "
>  RECIPE_MAINTAINER:pn-glibc-locale = "Khem Raj "
>  RECIPE_MAINTAINER:pn-glibc-mtrace = "Khem Raj "
>  RECIPE_MAINTAINER:pn-glibc-scripts = "Khem Raj "
> +RECIPE_MAINTAINER:pn-glibc-tests = "Lukasz Majewski "
>  RECIPE_MAINTAINER:pn-glibc-testsuite = "Khem Raj "
>  RECIPE_MAINTAINER:pn-glide = "Otavio Salvador 
> "
>  RECIPE_MAINTAINER:pn-gmp = "Khem Raj "
> diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
> b/meta/conf/distro/include/ptest-packagelists.inc
> index 2e324f8da4..fd52fa72a4 100644
> --- a/meta/conf/distro/include/ptest-packagelists.inc
> +++ b/meta/conf/distro/include/ptest-packagelists.inc
> @@ -61,6 +61,7 @@ PTESTS_FAST = "\
>  slang-ptest \
>  wayland-ptest \
>  zlib-ptest \
> +glibc-tests-ptest \
>  "
>  PTESTS_FAST:remove:mips64 = "qemu-ptest"
>  PTESTS_PROBLEMS:append:mips64 = "qemu-ptest"
> diff --git a/meta/recipes-core/glibc/glibc-tests_2.34.bb 
> b/meta/recipes-core/glibc/glibc-tests_2.34.bb
> new file mode 100644
> index 00..d2d3cfff91
> --- /dev/null
> +++ b/meta/recipes-core/glibc/glibc-tests_2.34.bb
> @@ -0,0 +1,113 @@
> +require glibc_${PV}.bb
> +require glibc-tests.inc
> +
> +inherit ptest
> +
> +SRC_URI:append = " \
> +   file://run-ptest \
> +"
> +
> +SUMMARY = "glibc tests to be run with ptest"
> +
> +# Erase some variables already set by glibc_${PV}
> +python __anonymous() {
> +   # Remove packages provided by glibc build, we only need a subset of 
> them
> +   d.setVar("PACKAGES", "${PN} ${PN}-ptest")
> +
> +   d.setVar("PROVIDES", "${PN} ${PN}-ptest")
> +   d.setVar("RPROVIDES", "${PN} ${PN}-ptest")
> +
> +   d.setVar("BBCLASSEXTEND", "")
> +   d.setVar("RRECOMMENDS", "")
> +}
> +
> +# Remove any lefovers from original glibc recipe
> +RPROVIDES:${PN} = "${PN}"
> +RRECOMMENDS:${PN} = ""
> +RDEPENDS:${PN} = " glibc sed"
> +DEPENDS:append = " sed"
> +
> +# Just build tests for target - do not run them
> +do_check:append () {
> +   oe_runmake -i check run-built-tests=no
> +}
> +addtask do_check after do_compile before do_install_ptest_base
> +
> +glibc_strip_build_directory () {
> +   # Delete all non executable files from build directory
> +   find ${B} ! -executable -type f -delete
> +
> +   # Remove build dynamic libraries and links to them as
> +   # those are already installed in the target device
> +   find ${B} -type f -name "*.so" -delete
> +   find ${B} -type l -name "*.so*" -delete
> +
> +   # 

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-10 Thread Richard Purdie
On Wed, 2021-11-10 at 13:52 +, Jasper Orschulko wrote:
> Hi Richard,
> 
> > When you say "fixed refspec", will that be a definitive sha revision
> > or a tag?
> > We always force resolution of tags as they tend to cause problems and
> > can change even if it is bad form.
> 
> that's a good point. Actually, Martin and I have just been discussing
> this, as we noticed that this point actually got "lost" during our
> implementation. We are currently working on fixing this. Good to know
> how you handle this. I will keep you posted.

Ok, it is good to be clear on that one. I know the fact we hit the network for
tags does concern some but it really is the only way to handle them.

> > This is potentially a big issue. Cloning operations during parsing is
> > pretty
> > horrible. We'd not expect any thing being written out like that
> > during a parse.
> > It would probably work "ok" for one recipe but if you start getting
> > the hundreds
> > of git recipes we have in some layers, it wouldn't scale if we
> > allowed that :(.
> > 
> > Not sure what to recommend here but it is definitely problematic.
> 
> Just to make sure that we are on the same page: This ONLY affects
> recipes which use the repo fetcher. And it ONLY clones the repository
> containing the repo manifest (which tend to be small in size).

Correct, we are on the same page. This is still quite problematic as the recipes
are meant to parse quickly and a repository clone is definitely not expected.

> So unless developers start using hundreds of repo-based recipes, which I
> find a very unlikely scenario, this should not be an issue.

Even ten recipes using this will show a degradation in parsing speed and I do
get a lot of complaints when parsing slows down for any reason. The user doesn't
expect this and it won't be visible what bitbake is doing (sitting at 99% parsed
for a period).

Also, the "tend to be small" implies someone will create a huge one at some
point even if that is a bad idea for whatever reasons, I just know how these
things end up going :(.

> Unfortunately, I don't see any other way to access the repo manifest
> file, as we need to calculate the commit hashes of the git repos
> referenced in the repo manifest file. Otherwise, it is impossible for
> us to determinate the necessity of an update when SRCREV =
> "${AUTOREV}". 

Some further questions:

* Does it only clone a repo in the AUTOREV case?
* Could it only obtain the manifest file somehow without a clone of the repo?

> However, I see one potential improvement here. Currently the cloning of
> the manifest repo is done on a per-recipe basis. E.g. this means if we
> have 10 recipes inheriting a bbclass containing a repo fetcher, we will
> clone 10 identical manifest repos. We'll work on improving this.

At least for wget or git, it is assumed that for a given url, there would be one
tarball/clone and that there is locking in place to share it between them. This
means you'll see do_fetch tasks for binutils, binutils-cross-XXX, nativesdk-
binutils and binutils-native and one will block the others but the fetch will
happen once and be shared between them. I guess with repo it may not be as
simple as that but we should try and share what we can if possible.

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158082): 
https://lists.openembedded.org/g/openembedded-core/message/158082
Mute This Topic: https://lists.openembedded.org/mt/86840389/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 v4 2/2] base.bbclass: Add sysroot deps for repo fetcher

2021-11-10 Thread Jasper Orschulko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Unless there are any more comments, I believe this patch series should
be mergable now.

- -- 
With best regards

Jasper Orschulko
DevOps Engineer

Tel. +49 30 58 58 14 265
Fax +49 30 58 58 14 999
jasper.orschu...@iris-sensing.com

• • • • • • • • • • • • • • • • • • • • • • • • • •

iris-GmbH
infrared & intelligent sensors
Schnellerstraße 1-5 | 12439 Berlin

https://iris-sensing.com/





On Wed, 2021-11-10 at 16:53 +0100, jas...@fancydomain.eu wrote:
> From: Jasper Orschulko 
> 
> Add git-native and repo-native as prerequisite for the repo fetcher.
> 
> Signed-off-by: Jasper Orschulko 
> ---
>  meta/classes/base.bbclass | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
> index a65fcc6c1d..3298bd1952 100644
> --- a/meta/classes/base.bbclass
> +++ b/meta/classes/base.bbclass
> @@ -665,6 +665,11 @@ python () {
>  elif uri.scheme == "npm":
>  d.appendVarFlag('do_fetch', 'depends', ' nodejs-
> native:do_populate_sysroot')
>  
> +    elif uri.scheme == "repo":
> +    needsrcrev = True
> +    d.appendVarFlag('do_fetch', 'depends', ' repo-
> native:do_populate_sysroot')
> +    d.appendVarFlag('do_fetch', 'depends', ' git-
> native:do_populate_sysroot')
> +
>  # *.lz4 should DEPEND on lz4-native for unpacking
>  if path.endswith('.lz4'):
>  d.appendVarFlag('do_unpack', 'depends', ' lz4-
> native:do_populate_sysroot')
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE4WyPMIC5Ap4+Ooo1Ygqew07VMNUFAmGL66cACgkQYgqew07V
MNWhOwf/c4ITfBijE4DD2gFOWj0OMAQFrdeYC8dQhsm756Kua1m0mPc5Oh61kkB9
og/bsd1qqnuabTcUHW9gVI9Hq45yPXfAy5Gyg6A10owDeCcmNgihCuTGr+sQy64W
li5OcOw59/ok6yPVqE+CaeYoHCGv1VdLR09pSdK1S9kk/3hVNOSRb9umtGb3aR6L
KmrtG71QZVVLBjTrppzIolyuy116cGfIey5zAVmrYPDHLtvwYjnt1NdBFn7OFMFV
7kIXy7aoBMXsuRxTR6mvC9GxJcwOUgsILUWLyQ62VcgNH13G5nR0zHwPamtIOT0R
eaoasSPkMl2wfevOHosrI9tgMI8hIg==
=EDCL
-END PGP SIGNATURE-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158081): 
https://lists.openembedded.org/g/openembedded-core/message/158081
Mute This Topic: https://lists.openembedded.org/mt/86960074/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 v4 2/2] base.bbclass: Add sysroot deps for repo fetcher

2021-11-10 Thread Jasper Orschulko via lists.openembedded.org
From: Jasper Orschulko 

Add git-native and repo-native as prerequisite for the repo fetcher.

Signed-off-by: Jasper Orschulko 
---
 meta/classes/base.bbclass | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index a65fcc6c1d..3298bd1952 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -665,6 +665,11 @@ python () {
 elif uri.scheme == "npm":
 d.appendVarFlag('do_fetch', 'depends', ' 
nodejs-native:do_populate_sysroot')
 
+elif uri.scheme == "repo":
+needsrcrev = True
+d.appendVarFlag('do_fetch', 'depends', ' 
repo-native:do_populate_sysroot')
+d.appendVarFlag('do_fetch', 'depends', ' 
git-native:do_populate_sysroot')
+
 # *.lz4 should DEPEND on lz4-native for unpacking
 if path.endswith('.lz4'):
 d.appendVarFlag('do_unpack', 'depends', ' 
lz4-native:do_populate_sysroot')
-- 
2.33.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158080): 
https://lists.openembedded.org/g/openembedded-core/message/158080
Mute This Topic: https://lists.openembedded.org/mt/86960074/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 v4 1/2] repo: Add recipe for 2.17.3

2021-11-10 Thread Jasper Orschulko via lists.openembedded.org
From: Jasper Orschulko 

Add a recipe for repo 2.17.3, prerequisite for the repo fetcher.

Signed-off-by: Jasper Orschulko 
---
 meta/conf/distro/include/maintainers.inc  |  1 +
 .../0001-Set-REPO_REV-to-v2.17.3.patch| 34 +++
 .../repo/repo/0001-python3-shebang.patch  | 26 ++
 meta/recipes-devtools/repo/repo_2.17.3.bb | 29 
 4 files changed, 90 insertions(+)
 create mode 100644 
meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch
 create mode 100644 meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
 create mode 100644 meta/recipes-devtools/repo/repo_2.17.3.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index f3e0a75d56..58a0a9615f 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -652,6 +652,7 @@ RECIPE_MAINTAINER:pn-quilt-native = "Robert Yang 
"
 RECIPE_MAINTAINER:pn-quota = "Anuj Mittal "
 RECIPE_MAINTAINER:pn-re2c = "Khem Raj "
 RECIPE_MAINTAINER:pn-readline = "Hongxu Jia "
+RECIPE_MAINTAINER:pn-repo = "Jasper Orschulko 
"
 RECIPE_MAINTAINER:pn-resolvconf = "Chen Qi "
 RECIPE_MAINTAINER:pn-rgb = "Unassigned "
 RECIPE_MAINTAINER:pn-rpcbind = "Hongxu Jia "
diff --git 
a/meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch 
b/meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch
new file mode 100644
index 00..3086f8eb42
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo-2.17.3/0001-Set-REPO_REV-to-v2.17.3.patch
@@ -0,0 +1,34 @@
+From bdd2a528da59c28db8ae2986834926de7cebf3ab Mon Sep 17 00:00:00 2001
+From: Jasper Orschulko 
+Date: Thu, 4 Nov 2021 16:55:12 +0100
+Subject: [PATCH] Set REPO_REV to v2.17.3
+
+repo is an unusual tool because it downloads all of its own Python modules
+using GPG-signed git tags, and stores those files as part of the project
+that it is working with.
+
+So in order to have a reproducible repo installation within the project
+folders, we hardcode the REPO_REV variable to a SHA1 that corresponds to
+the version of the recipe.
+
+Upstream-Status: Inappropriate [configuration]
+Signed-off-by: Jasper Orschulko 
+---
+ repo | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/repo b/repo
+index 4cddbf1..cf5f6b1 100755
+--- a/repo
 b/repo
+@@ -142,7 +142,7 @@ if __name__ == '__main__':
+ REPO_URL = os.environ.get('REPO_URL', None)
+ if not REPO_URL:
+   REPO_URL = 'https://gerrit.googlesource.com/git-repo'
+-REPO_REV = os.environ.get('REPO_REV')
++REPO_REV = '11b30b91df1f0e03b53da970ec2588e85817bacc'
+ if not REPO_REV:
+   REPO_REV = 'stable'
+ # URL to file bug reports for repo tool issues.
+--
+2.33.1
diff --git a/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch 
b/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
new file mode 100644
index 00..d3888c8bb2
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
@@ -0,0 +1,26 @@
+From b8e84b202cd302a7c99288d3835dc9c63071f8f2 Mon Sep 17 00:00:00 2001
+From: Jasper Orschulko 
+Date: Tue, 14 Sep 2021 16:46:51 +0200
+Subject: [PATCH] python3 shebang
+
+Yocto does not symlink from python to python3, thus change the shebang from
+python to python3.
+
+Upstream-Status: Inappropriate [configuration]
+Signed-off-by: Jasper Orschulko 
+---
+ repo | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/repo b/repo
+index b13e34c..205e0e5 100755
+--- a/repo
 b/repo
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding:utf-8 -*-
+ #
+ # Copyright (C) 2008 The Android Open Source Project
+--
+2.33.0
diff --git a/meta/recipes-devtools/repo/repo_2.17.3.bb 
b/meta/recipes-devtools/repo/repo_2.17.3.bb
new file mode 100644
index 00..20f5d465d3
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo_2.17.3.bb
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: MIT
+# Copyright (C) 2021 iris-GmbH infrared & intelligent sensors
+
+SUMMARY = "Tool for managing many Git repositories"
+DESCRIPTION = "Repo is a tool built on top of Git. Repo helps manage many Git 
repositories, does the uploads to revision control systems, and automates parts 
of the development workflow."
+HOMEPAGE = "https://android.googlesource.com/tools/repo;
+SECTION = "console/utils"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = 
"git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main"
+SRCREV = "11b30b91df1f0e03b53da970ec2588e85817bacc"
+
+SRC_URI += "file://0001-python3-shebang.patch \
+file://0001-Set-REPO_REV-to-v2.17.3.patch"
+
+MIRRORS += "git://gerrit.googlesource.com/git-repo.git 
git://github.com/GerritCodeReview/git-repo.git \n"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+   install -d ${D}${bindir}
+   install ${WORKDIR}/git/repo ${D}${bindir}
+}
+
+RDEPENDS:${PN} = "python3"
+
+BBCLASSEXTEND = "native nativesdk"
-- 

Re: [OE-core] [bitbake-devel] [PATCH 2/2] fetch2: Fix race condition in latest_revision

2021-11-10 Thread Jasper Orschulko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I believe the behaviour we observed was actually caused by a bug in one
of our earlier patch sets. I spent a couple hours today trying to
recreate the issue, without any luck. I'd therefore skip this
particular patch.

- -- 
With best regards

Jasper Orschulko
DevOps Engineer

Tel. +49 30 58 58 14 265
Fax +49 30 58 58 14 999
jasper.orschu...@iris-sensing.com

• • • • • • • • • • • • • • • • • • • • • • • • • •

iris-GmbH
infrared & intelligent sensors
Schnellerstraße 1-5 | 12439 Berlin

https://iris-sensing.com/





On Mon, 2021-11-08 at 11:28 +0100, Alexander Kanavin wrote:
> It helps if you can provide a specific example/test case for this.
> 
> Alex
> 
> On Mon, 8 Nov 2021 at 11:26, Martin Koppehel  wrote:
> > -- snip
> > > I'm afraid I don't understand why this is a race condition? Where
> > is the timeout
> > > that stops one being set?
> > 
> > The commit message is misleading here, will change that. It is
> > actually 
> > not a race condition as we originally thought, but more a problem
> > of 
> > recursive calls to _latest_revision.
> > 
> > The git fetcher does something similar in _lsremote, where the git 
> > lsremote would be called recursively to populate the environment,
> > and
> > there's code in place to prevent that.
> > 
> > In our case, since we persist the revs, we have to filter out empty
> > revs 
> > because otherwise the next repo fetcher invocation would also try
> > to 
> > populate the environment but then revs[key] would already be set to
> > an 
> > empty string, causing a metadata mismatch later.
> > 
> > Therefore we only populate the revision cache if _latest_revision 
> > actually returns a valid value.
> > We did reproduce this with multiple recipes that used up the same 
> > SRC_URI and therefore influencing each other, this case works fine
> > now.
> > 
> > Cheers,
> > Martin
> > 
> > 
> > 
> > 
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE4WyPMIC5Ap4+Ooo1Ygqew07VMNUFAmGL6P8ACgkQYgqew07V
MNVKBQf/Z/PE68CI1L3F1jeHm9jX+DNs1dyA7IB6fOAHdeqYvKNKpbedpHXVHFlp
oalj3jIEDJMKE8b8LmH/VrRhLTr68PSEshVIbHOKQQfJmy6FnbQw5VXTMZON92AS
phiP4H4jMvr8sx942d+YoVwtk1iMO6+oZwUEx2k5uGiyVeayqMvs0XyrHQY65GhT
7RG9ZSOXutnkF1NCHto4ln5kb8G+MUcS3D57FRbsiGV4XvIaMTqFbn3ub6NP2x5H
qMjQwWXLrF1eIQc6hVBXxPnloyPvZESp98/rTDHdBQsJB9DbS2akQ8MZBM+EIiff
wtVJRNJa0jG/uDvF3wLCoO+ycHF8SQ==
=vnW2
-END PGP SIGNATURE-

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



Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-10 Thread Jasper Orschulko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Richard,

> When you say "fixed refspec", will that be a definitive sha revision
> or a tag?
> We always force resolution of tags as they tend to cause problems and
> can change
> even if it is bad form.

that's a good point. Actually, Martin and I have just been discussing
this, as we noticed that this point actually got "lost" during our
implementation. We are currently working on fixing this. Good to know
how you handle this. I will keep you posted.

> This is potentially a big issue. Cloning operations during parsing is
> pretty
> horrible. We'd not expect any thing being written out like that
> during a parse.
> It would probably work "ok" for one recipe but if you start getting
> the hundreds
> of git recipes we have in some layers, it wouldn't scale if we
> allowed that :(.
> 
> Not sure what to recommend here but it is definitely problematic.

Just to make sure that we are on the same page: This ONLY affects
recipes which use the repo fetcher. And it ONLY clones the repository
containing the repo manifest (which tend to be small in size). So
unless developers start using hundreds of repo-based recipes, which I
find a very unlikely scenario, this should not be an issue.

Unfortunately, I don't see any other way to access the repo manifest
file, as we need to calculate the commit hashes of the git repos
referenced in the repo manifest file. Otherwise, it is impossible for
us to determinate the necessity of an update when SRCREV =
"${AUTOREV}". 

However, I see one potential improvement here. Currently the cloning of
the manifest repo is done on a per-recipe basis. E.g. this means if we
have 10 recipes inheriting a bbclass containing a repo fetcher, we will
clone 10 identical manifest repos. We'll work on improving this.

- -- 
With best regards

Jasper Orschulko
DevOps Engineer

Tel. +49 30 58 58 14 265
Fax +49 30 58 58 14 999
jasper.orschu...@iris-sensing.com

• • • • • • • • • • • • • • • • • • • • • • • • • •

iris-GmbH
infrared & intelligent sensors
Schnellerstraße 1-5 | 12439 Berlin

https://iris-sensing.com/





On Wed, 2021-11-10 at 12:46 +, Richard Purdie wrote:
> On Tue, 2021-11-09 at 11:26 +, Jasper Orschulko wrote:
> > 
> > 
> > > e) fetcher output is deterministic
> > >  (i.e. if you fetch configuration XXX now it will match in future
> > > exactly in 
> > >  a clean build with a new DL_DIR)
> > 
> > check. When a fixed refspec is set within the recipe, the fetcher
> > will
> > check, if all repositories in the repo manifest are set to a fixed
> > refspec as well and otherwise throw an error.
> 
> When you say "fixed refspec", will that be a definitive sha revision
> or a tag?
> We always force resolution of tags as they tend to cause problems and
> can change
> even if it is bad form.
> 
> > > f) network access is expected to work with the standard linux
> > > proxy
> > > variables
> > >  environment but only in the do_fetch tasks)
> > 
> > this should work, as we keep the GIT_PROXY_COMMAND environment and
> > run
> > repo via runfetchcmd(). Not further tested though.
> 
> If you're using runfetchcmd that should work.
> 
> > 
> > > g) access during parsing has to be minimal, a "git ls-remote" for
> > > anin
> > > AUTOREV 
> > >  git recipe might be ok but you can't expect to checkout a git
> > > tree
> > 
> > unfortunately, do to the nature of repo, we need to clone the
> > manifest
> > repo, so that we can run "git ls-remote" on the referenced git
> > repos
> > and therefore ensure that 
> 
> This is potentially a big issue. Cloning operations during parsing is
> pretty
> horrible. We'd not expect any thing being written out like that
> during a parse.
> It would probably work "ok" for one recipe but if you start getting
> the hundreds
> of git recipes we have in some layers, it wouldn't scale if we
> allowed that :(.
> 
> Not sure what to recommend here but it is definitely problematic.
> 
> > 
> Cheers,
> 
> Richard
> 
> 
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE4WyPMIC5Ap4+Ooo1Ygqew07VMNUFAmGLzpwACgkQYgqew07V
MNV3XQf9FDzIq3yihsO5FCEn/QOm7v48VuuOZF/85K6dxRgexCfdHHxkn7zJ0luE
ZxgPDmcXM83HcFh6B5XKis88/vnkU2R+YITgWe9+81l1foQryKTP9u7E2giIHW/F
JpGzxTtTb5F3N0+xjmqnyR7OYEB3TqJ1VFsaLlYdYs/sWaDYbt/9AEtcD39ynCr5
dEEqEgiIk05X03kiNnyUd2jDpy0bAbihqJu7OPzU4zSvNn/+zXRM0CMKDemyONb1
u2lINROQpk98qaVzBTX+uOskQTkMrkRRuuncUY0ggq6pHGz3TRubv15mePYIeLlJ
y2lBBB6O8f/iPesjbvKFa85EeNhdAg==
=4Ewh
-END PGP SIGNATURE-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158077): 
https://lists.openembedded.org/g/openembedded-core/message/158077
Mute This Topic: https://lists.openembedded.org/mt/86840389/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 4/4] linux-yocto/5.4: update to v5.4.158

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

c65356f0f726 Linux 5.4.158
e31d51f8a41f ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
960b1fdfc39a Revert "drm/ttm: fix memleak in ttm_transfered_destroy"
a73ebe514a60 sfc: Fix reading non-legacy supported link modes
6789e4b7593b Revert "usb: core: hcd: Add support for deferring roothub 
registration"
049849492b77 Revert "xhci: Set HCD flag to defer primary roothub 
registration"
2461f38384d5 media: firewire: firedtv-avc: fix a buffer overflow in 
avc_ca_pmt()
21fc2bb836e5 net: ethernet: microchip: lan743x: Fix skb allocation failure
e02fdd7db471 vrf: Revert "Reset skb conntrack connection..."
1ce287eff9f2 scsi: core: Put LLD module refcnt after SCSI device is released
e6de9a8b5b30 Linux 5.4.157
39fb393e2102 perf script: Check session->header.env.arch before using it
472d9354a9ce KVM: s390: preserve deliverable_mask in 
__airqs_kick_single_vcpu
07e9a4e1abfe KVM: s390: clear kicked_mask before sleeping again
5919a07d71b1 cfg80211: correct bridge/4addr mode check
dba9e632eda0 net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT
0f5b4c57dc85 sctp: add vtag check in sctp_sf_ootb
df527764072c sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
0aa322b5fe70 sctp: add vtag check in sctp_sf_violation
d6470c220025 sctp: fix the processing for COOKIE_ECHO chunk
5fe74d5e4d58 sctp: fix the processing for INIT_ACK chunk
5953ee99bab1 sctp: use init_tag from inithdr for ABORT chunk
5395650d154c phy: phy_start_aneg: Add an unlocked version
c85b696270db phy: phy_ethtool_ksettings_get: Lock the phy for consistency
0dea6379e273 net/tls: Fix flipped sign in async_wait.err assignment
e12b8f3c2b73 net: nxp: lpc_eth.c: avoid hang when bringing interface down
b232898c1d4b net: ethernet: microchip: lan743x: Fix dma allocation failure 
by using dma_set_mask_and_coherent
92507dc1efac net: ethernet: microchip: lan743x: Fix driver crash when 
lan743x_pm_resume fails
3708aa267d67 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
b1c76f97ad2c RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a 
string
18a012869fa7 net: Prevent infinite while loop in skb_tx_hash()
6422e8471890 net: batman-adv: fix error handling
1cead23c1c0b regmap: Fix possible double-free in regcache_rbtree_exit()
207e6e93e7d6 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
c29c3295e0e5 RDMA/mlx5: Set user priority for DCT
13ad93a42ce3 nvme-tcp: fix data digest pointer calculation
b597b0e2e80b nvmet-tcp: fix data digest pointer calculation
d997d4e4365f IB/hfi1: Fix abba locking issue with sc_disable()
0f8cdfff0682 IB/qib: Protect from buffer overflow in struct 
qib_user_sdma_pkt fields
5f0bfe21c853 tcp_bpf: Fix one concurrency problem in the 
tcp_bpf_send_verdict function
bd99782f3ca4 drm/ttm: fix memleak in ttm_transfered_destroy
d2c64ebcc76a net: lan78xx: fix division by zero in send path
a37c5e70ac24 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
590abe5becf5 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset 
standard tuning circuit
07da44b08641 mmc: sdhci: Map more voltage level to SDHCI_POWER_330
0821c5608d80 mmc: dw_mmc: exynos: fix the finding clock sample value
08328d65cb78 mmc: cqhci: clear HALT state after CQE enable
55a3870f4a26 mmc: vub300: fix control-message timeouts
e0cfd5159f31 net/tls: Fix flipped sign in tls_err_abort() calls
6a18d155d5b3 Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
9fdcf66ee413 nfc: port100: fix using -ERRNO as command type mask
853f22623dd5 ata: sata_mv: Fix the error handling of mv_chip_id()
6d0b30784fcd Revert "pinctrl: bcm: ns: support updated DT binding as syscon 
subnode"
b7dfc536db87 usbnet: fix error return code in usbnet_probe()
492140e45d2b usbnet: sanity check for maxpacket
4ba6c163fe64 ipv4: use siphash instead of Jenkins in fnhe_hashfun()
3f439c231a03 ipv6: use siphash in rt6_exception_hash()
1cad781ecf37 powerpc/bpf: Fix BPF_MOD when imm == 1
ca10ddbbabd0 ARM: 9141/1: only warn about XIP address when not compile 
testing
40cd32945552 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
2f7647cc13be ARM: 9134/1: remove duplicate memcpy() definition
9f44f66396f3 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.4.bb   |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb |  8 +++
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +--
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
index 5de4f59f02..4f278273cb 100644
--- 

[OE-core] [PATCH 3/4] linux-yocto/5.4: update to v5.4.156

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

89b6869b942b Linux 5.4.156
7cdcaa7c765b pinctrl: stm32: use valid pin identifier in 
stm32_pinctrl_resume()
a9c4e246f7c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
a98c81ab1751 tracing: Have all levels of checks prevent recursion
b0feaa8376f5 net: mdiobus: Fix memory leak in __mdiobus_register
0ab35e707462 scsi: core: Fix shost->cmd_per_lun calculation in 
scsi_add_host_with_dma()
9068beaa049a Input: snvs_pwrkey - add clk handling
8de335e8199f ALSA: hda: avoid write to STATESTS if controller is in reset
570bc60dcd00 platform/x86: intel_scu_ipc: Update timeout value in comment
4054b869dc26 isdn: mISDN: Fix sleeping function called from invalid context
5001160d3ed5 ARM: dts: spear3xx: Fix gmac node
e9d9ffa19367 net: stmmac: add support for dwmac 3.40a
044fa2afd676 btrfs: deal with errors when checking if a dir entry exists 
during log replay
d49a293b946d gcc-plugins/structleak: add makefile var for disabling 
structleak
e8ef9984418f selftests: netfilter: remove stray bash debug line
b7fdebde2c9b netfilter: Kconfig: use 'default y' instead of 'm' for bool 
config option
285e9210b1fa isdn: cpai: check ctr->cnr to avoid array index out of bound
1f75f8883b4f nfc: nci: fix the UAF of rf_conn_info object
4f5d1c29cfab mm, slub: fix potential memoryleak in kmem_cache_open()
a1ec195a1943 mm, slub: fix mismatch between reconstructed freelist depth 
and cnt
8e25a62e8dab powerpc/idle: Don't corrupt back chain when going idle
d0148cfaf89c KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if 
it went to guest
80bbb0bc3a02 KVM: PPC: Book3S HV: Fix stack handling in 
idle_kvm_start_guest()
722e6f6ac818 powerpc64/idle: Fix SP offsets when saving GPRs
d6f451f1f60c audit: fix possible null-pointer dereference in 
audit_filter_rules
c974f2f92c31 ASoC: DAPM: Fix missing kctl change notifications
5307a77b7149 ALSA: hda/realtek: Add quirk for Clevo PC50HS
50fc52e5ca59 ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
0f218ba4c8aa vfs: check fd has read access in kernel_read_file_from_fd()
f439d2bcb679 elfcore: correct reference to CONFIG_UML
d3a83576378b ocfs2: mount fails with buffer overflow in strlen
b05caf023b14 ocfs2: fix data corruption after conversion from inline format
bce53fbee948 ceph: fix handling of "meta" errors
151c72bba129 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 
9 bytes
0ddf781882ac can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive 
TP.DT with error length
a0e47d2833b4 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of 
j1939_priv
7e66cfed66f9 can: j1939: j1939_tp_rxtimer(): fix errant alert in 
j1939_tp_rxtimer
1248582e47a9 can: peak_pci: peak_pci_remove(): fix UAF
ea82c2463e22 can: peak_usb: pcan_usb_fd_decode_status(): fix back to 
ERROR_ACTIVE state notification
c26dcd1cb8db can: rcar_can: fix suspend/resume
8c5585eae3ae net: enetc: fix ethtool counter name for PM0_TERR
c0b0baade9b8 net: stmmac: Fix E2E delay mechanism
c4b64011e458 net: hns3: disable sriov before unload hclge layer
472acf1582fd net: hns3: add limit ets dwrr bandwidth cannot be 0
b1f9380ee230 net: hns3: reset DWRR of unused tc to zero
12bdcbc04341 NIOS2: irqflags: rename a redefined register name
599766696f69 net: dsa: lantiq_gswip: fix register definition
f49ce82f9b7c lan78xx: select CRC32
83094f8c44cb netfilter: ipvs: make global sysctl readonly in non-init netns
ce70ee94dde6 ASoC: wm8960: Fix clock configuration on slave mode
0f5b08ca22e1 dma-debug: fix sg checks in debug_dma_map_sg()
50aefa9acc91 NFSD: Keep existing listeners on portlist error
4a5bf3e729d9 xtensa: xtfpga: Try software restart before simulating CPU 
reset
31137288b946 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
d946a39bad58 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
e7c4819c0b67 tee: optee: Fix missing devices unregister during optee_remove
b1e9b4e0f656 net: switchdev: do not propagate bridge updates across bridges
2d22cd048289 parisc: math-emu: Fix fall-through warnings

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.4.bb   |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb |  8 +++
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +--
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
index b7deb35287..5de4f59f02 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 

[OE-core] [PATCH 2/4] linux-yocto/5.4: update to v5.4.155

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

4f508aa9dd3b Linux 5.4.155
32d2ce0b9499 ionic: don't remove netdev->dev_addr when syncing uc list
abaf8e8b9081 r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256
a4f7d2246e3b qed: Fix missing error code in qed_slowpath_start()
62d96bb68b4e mqprio: Correct stats in mqprio_dump_class_stats().
fa272e835325 acpi/arm64: fix next_platform_timer() section mismatch error
32ac4ed32b9a drm/msm/dsi: fix off by one in dsi_bus_clk_enable error 
handling
46200989580c drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()
f302be08e3de drm/msm: Fix null pointer dereference on pointer edp
0d5ef1e87554 drm/panel: olimex-lcd-olinuxino: select CRC32
9225d57f51e2 platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() 
call
ae0993739e14 mlxsw: thermal: Fix out-of-bounds memory accesses
97e6dcb41625 ata: ahci_platform: fix null-ptr-deref in 
ahci_platform_enable_regulators()
b9352ed9b983 pata_legacy: fix a couple uninitialized variable bugs
2bde4aca56db NFC: digital: fix possible memory leak in 
digital_in_send_sdd_req()
7ab488d7228a NFC: digital: fix possible memory leak in 
digital_tg_listen_mdaa()
69b3a13f0d08 nfc: fix error handling of nfc_proto_register()
2731eaac1965 ethernet: s2io: fix setting mac address during resume
4c2eb80fc90b net: encx24j600: check error in devm_regmap_init_encx24j600
0904e1be2a92 net: stmmac: fix get_hw_feature() on old hardware
06251ea8d1d9 net/mlx5e: Mutually exclude RX-FCS and RX-port-timestamp
19a01522c5d0 net: korina: select CRC32
32b57d897eff net: arc: select CRC32
2880dc130236 gpio: pca953x: Improve bias setting
d88774539539 sctp: account stream padding length for reconf chunk
232c485c6bcd iio: dac: ti-dac5571: fix an error code in probe()
69696951de5a iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
10ecff1522eb iio: ssp_sensors: add more range checking in 
ssp_parse_dataframe()
ac0688bcd151 iio: light: opt3001: Fixed timeout error when 0 lux
3c00d93297ff iio: mtk-auxadc: fix case IIO_CHAN_INFO_PROCESSED
cf4b39907a82 iio: adc128s052: Fix the error handling path of 
'adc128_probe()'
580c09a9ef9e iio: adc: aspeed: set driver data when adc probe.
1904050cacd7 powerpc/xive: Discard disabled interrupts in 
get_irqchip_state()
5683ed468fa0 x86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT 
automatically
0594f1d048d8 nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells
d07571672c90 EDAC/armada-xp: Fix output of uncorrectable error counter
dba8834baed3 virtio: write back F_VERSION_1 before validate
1b39a67856cc USB: serial: option: add prod. id for Quectel EG91
41e178c138d9 USB: serial: option: add Telit LE910Cx composition 0x1204
848eac2cb785 USB: serial: option: add Quectel EC200S-CN module support
958e98ca522c USB: serial: qcserial: add EM9191 QDL support
733dcc08e97b Input: xpad - add support for another USB ID of Nacon GC-100
9ab5d539bc97 usb: musb: dsps: Fix the probe error path
278e483dc793 efi: Change down_interruptible() in virt_efi_reset_system() to 
down_trylock()
27a847dbc962 efi/cper: use stack buffer for error record decoding
6e35a5e9267d cb710: avoid NULL pointer subtraction
e71ce4a81ed4 xhci: Enable trust tx length quirk for Fresco FL11 USB 
controller
01c2dcb67e71 xhci: Fix command ring pointer corruption while aborting a 
command
7ce7d4a46d6e xhci: guard accesses to ep_state in xhci_endpoint_reset()
783579057c90 mei: me: add Ice Lake-N device id.
9264bd22d701 x86/resctrl: Free the ctrlval arrays when 
domain_setup_mon_state() fails
10b77e16b35b watchdog: orion: use 0 for unset heartbeat
9acf1c10f1da btrfs: check for error when looking up inode during dir entry 
replay
625565fd80ae btrfs: deal with errors when adding inode reference during log 
replay
6e2ac49b21ea btrfs: deal with errors when replaying dir entry during log 
replay
005a07c9acd6 btrfs: unlock newly allocated extent buffer after error
e9f457f056c5 csky: Fixup regs.sr broken in ptrace
a6f4ea748aa8 csky: don't let sigreturn play with priveleged bits of status 
register
98544ca6cbae s390: fix strrchr() implementation
5959e22e0767 nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* 
sections) for `^'
2e41b9c8461f ALSA: hda/realtek: Fix the mic type detection issue for ASUS 
G551JW
90cf96afa347 ALSA: hda/realtek - ALC236 headset MIC recording issue
33627fa4db3e ALSA: hda/realtek: Add quirk for Clevo X170KM-G
e96079ab1c4e ALSA: hda/realtek: Complete partial device name to avoid 
ambiguity
dd3f04831523 ALSA: seq: Fix a potential UAF by wrong private_free call order
825786f72326 ALSA: usb-audio: Add quirk for VF0770
43d93325265b ovl: simplify file splice

Signed-off-by: Bruce Ashfield 
---
 

[OE-core] [PATCH 1/4] linux-yocto/5.4: update to v5.4.154

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

ce061ef43f1d Linux 5.4.154
291a48871e51 sched: Always inline is_percpu_thread()
3e105ecc4ab7 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> 
"Unsupported"
1ff5ee9d3926 scsi: ses: Fix unsigned comparison with less than zero
83d857d6b096 drm/amdgpu: fix gart.bo pin_count leak
1843ae8c4b2b net: sun: SUNVNET_COMMON should depend on INET
6d1d7acb1067 mac80211: check return value of rhashtable_init
2aaf3fd5e109 net: prevent user from passing illegal stab size
1e66a472b51b m68k: Handle arrivals of multiple signals correctly
be191c8e68fe mac80211: Drop frames from invalid MAC address in ad-hoc mode
fffad5988f28 netfilter: nf_nat_masquerade: defer conntrack walk to work 
queue
b3cb06303419 netfilter: nf_nat_masquerade: make async masq_inet6_event 
handling generic
a9d8aa2d3ca8 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device 
IDs
8c6680025b49 netfilter: ip6_tables: zero-initialize fragment offset
744b908a7f3f HID: apple: Fix logical maximum and usage maximum of Magic 
Keyboard JIS
b6bccc978ec8 ext4: correct the error path of ext4_write_inline_data_end()
de4a28b718bb net: phy: bcm7xxx: Fixed indirect MMD operations

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.4.bb   |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb |  8 +++
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +--
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
index 13512ea6a4..dbd8ab3bb0 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "88b78bac3bf83e6b3ef08d77f895bba5128cc1cd"
-SRCREV_meta ?= "9e3ab4e615b651c1b63d4f0cce71da79a3e89763"
+SRCREV_machine ?= "1f04ded6552fb7ceb6b01768d1a11a828c67c212"
+SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.153"
+LINUX_VERSION ?= "5.4.154"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
index e6e0ee73b2..ca73895d7f 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.4.153"
+LINUX_VERSION ?= "5.4.154"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "fed16a9b9cb56ce639eeddeedd756ad5207fa89e"
-SRCREV_machine ?= "942b0cc9a1ff13a66016167d4437f7694e96d04e"
-SRCREV_meta ?= "9e3ab4e615b651c1b63d4f0cce71da79a3e89763"
+SRCREV_machine_qemuarm ?= "03c343c7f0392cc71eedc9ba0f05b0ebe02d45eb"
+SRCREV_machine ?= "4ef13608e3bc691718485e28fc6b78fa58c50d58"
+SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
index 6c69878d03..7ed524efea 100644
--- a/meta/recipes-kernel/linux/linux-yocto_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
@@ -12,16 +12,16 @@ KBRANCH_qemux86  ?= "v5.4/standard/base"
 KBRANCH_qemux86-64 ?= "v5.4/standard/base"
 KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "7a9ca83b483c096e6bd5e1b99cca7fe2fb79fd1a"
-SRCREV_machine_qemuarm64 ?= "d2ea3664c5872b3046a2aa970035de51e359922f"
-SRCREV_machine_qemumips ?= "118685bb5211a7740de6bd419c68eb34728f8770"
-SRCREV_machine_qemuppc ?= "7e8785640416d3c6382f91a3f88e0eca14f0a8b5"
-SRCREV_machine_qemuriscv64 ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5"
-SRCREV_machine_qemux86 ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5"
-SRCREV_machine_qemux86-64 ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5"
-SRCREV_machine_qemumips64 ?= "bd5e23a14522aa81e0f0ee37f976edd108669eb5"
-SRCREV_machine ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5"
-SRCREV_meta ?= "9e3ab4e615b651c1b63d4f0cce71da79a3e89763"
+SRCREV_machine_qemuarm ?= "9cc72430854edf4b980ece62e234629168e69b07"
+SRCREV_machine_qemuarm64 ?= "eb73aaed8bd13cffd05d699a6745408965708d7b"
+SRCREV_machine_qemumips ?= 

[OE-core] [PATCH 7/7][RFC] kernel: provide virtual/kernel for all kernels

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Since we allow the kernel package name to be varied, we should
allow those packages to provide virtua/kernel, which allows them
to be used as primary kernels.

This change drops the use of regex, since any regex would enforce
naming (and limit what can be a provider) and add complexity./

There are currently no recipes that I found, that inherit kernel
that are not kernel recipes (kernel-base, etc, provide other
facilities), so making this provides simpler shouldn't cause
problems.

Multiple kernel providers can be dealt with in the same way as
any multiple provider.

[YOCTO: #13172]

Signed-off-by: Bruce Ashfield 

squash with provider

Signed-off-by: Bruce Ashfield 
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 7b3c6bee96..e0b752de19 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -5,7 +5,7 @@ COMPATIBLE_HOST = ".*-linux"
 KERNEL_PACKAGE_NAME ??= "kernel"
 KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == 
"kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
 
-PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == 
"kernel") else "" }"
+PROVIDES += "virtual/kernel"
 DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc 
kmod-native bc-native bison-native"
 DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", 
"lzop-native", "", d)}"
 DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", 
"lz4-native", "", d)}"
-- 
2.19.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158072): 
https://lists.openembedded.org/g/openembedded-core/message/158072
Mute This Topic: https://lists.openembedded.org/mt/86956333/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 6/7] linux-yocto/5.10: update to v5.10.78

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

5040520482a5 Linux 5.10.78
4c7c0243275b ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
f3eb44f496ef ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
68765fc97762 Revert "wcn36xx: Disable bmps when encryption is disabled"
f84b791d4c3b ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
bbc920fb320f Revert "drm/ttm: fix memleak in ttm_transfered_destroy"
6d67b2a73b8e mm: khugepaged: skip huge page collapse for special files
5a7957491e31 Revert "usb: core: hcd: Add support for deferring roothub 
registration"
50f46bd30949 Revert "xhci: Set HCD flag to defer primary roothub 
registration"
d7fc85f61042 media: firewire: firedtv-avc: fix a buffer overflow in 
avc_ca_pmt()
b93a70bf2b57 net: ethernet: microchip: lan743x: Fix skb allocation failure
b9c85a71e1b4 vrf: Revert "Reset skb conntrack connection..."
0382fdf9ae78 sfc: Fix reading non-legacy supported link modes
748786564a35 Revert "io_uring: reinforce cancel on flush during exit"
7b57c38d12ae scsi: core: Put LLD module refcnt after SCSI device is released

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.10.bb  |  6 ++---
 .../linux/linux-yocto-tiny_5.10.bb|  8 +++
 meta/recipes-kernel/linux/linux-yocto_5.10.bb | 24 +--
 3 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb
index cc9aaf8b27..f666ac0611 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "3a416eeb4d0bdbba2a133744a465f2c9a46e3a96"
-SRCREV_meta ?= "257ed971bc7fd76ccb27f622df1ef6412f6b340d"
+SRCREV_machine ?= "12f6a7187b3c8abab5e139dbfdf7f58f265f4169"
+SRCREV_meta ?= "a0238f7f4fd08bb18147bb5e24cc877b0546"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.10.77"
+LINUX_VERSION ?= "5.10.78"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb
index 7a61793569..86010f106f 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.10.77"
+LINUX_VERSION ?= "5.10.78"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine:qemuarm ?= "c5c9d2c5c8ce7a84f6aebf02b3ae824a4c5f9d56"
-SRCREV_machine ?= "c3e3199c6359736c373aaecc8f447eaec7cf9432"
-SRCREV_meta ?= "257ed971bc7fd76ccb27f622df1ef6412f6b340d"
+SRCREV_machine:qemuarm ?= "cdec5045c5323846adaf2510e539843d0cfe74ae"
+SRCREV_machine ?= "344c0c38f5b892312b0a1db7f613d2704dd4942f"
+SRCREV_meta ?= "a0238f7f4fd08bb18147bb5e24cc877b0546"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.10.bb 
b/meta/recipes-kernel/linux/linux-yocto_5.10.bb
index 98c1ade1df..2e81068330 100644
--- a/meta/recipes-kernel/linux/linux-yocto_5.10.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_5.10.bb
@@ -13,17 +13,17 @@ KBRANCH:qemux86  ?= "v5.10/standard/base"
 KBRANCH:qemux86-64 ?= "v5.10/standard/base"
 KBRANCH:qemumips64 ?= "v5.10/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "51e48df3dbbc2b03579e95b296bf7b2625cf456b"
-SRCREV_machine:qemuarm64 ?= "c437750233de239844757e4c79bfd9e9c56e1b0d"
-SRCREV_machine:qemumips ?= "f2acb9e5f819ce240b530851f9e8ed45a8f7d878"
-SRCREV_machine:qemuppc ?= "b36a906729ef754c48d730f15a7f079eb4942356"
-SRCREV_machine:qemuriscv64 ?= "789500dfe326ab238562529175d99d33a3db1d0c"
-SRCREV_machine:qemuriscv32 ?= "789500dfe326ab238562529175d99d33a3db1d0c"
-SRCREV_machine:qemux86 ?= "789500dfe326ab238562529175d99d33a3db1d0c"
-SRCREV_machine:qemux86-64 ?= "789500dfe326ab238562529175d99d33a3db1d0c"
-SRCREV_machine:qemumips64 ?= "1b436658828965d7f96ff5e532ff0bb6b1099cff"
-SRCREV_machine ?= "789500dfe326ab238562529175d99d33a3db1d0c"
-SRCREV_meta ?= "257ed971bc7fd76ccb27f622df1ef6412f6b340d"
+SRCREV_machine:qemuarm ?= "f98b917d7826304daeecf11cc52be2562a9304ff"
+SRCREV_machine:qemuarm64 ?= "13ff8a3ae368724e008e3bcd77833611de7962b2"
+SRCREV_machine:qemumips ?= 

[OE-core] [PATCH 5/7] linux-yocto/5.15: update to v5.15.1

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

b6abb62daa55 Linux 5.15.1
569fd073a954 ALSA: usb-audio: Add quirk for Audient iD14
fd5f954b690c Revert "drm/i915/gt: Propagate change in error status to 
children on unhold"
8af3a335b553 drm/amd/display: Revert "Directly retrain link from debugfs"
6ecad8906f05 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
a273384cf1af Revert "wcn36xx: Disable bmps when encryption is disabled"
57f31b313231 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
110d5f4421ed Revert "soc: imx: gpcv2: move reset assert after requesting 
domain power up"
f17dca0ab3f3 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
f5e3b7f0f0b7 Revert "usb: core: hcd: Add support for deferring roothub 
registration"
421f91bf0451 Revert "xhci: Set HCD flag to defer primary roothub 
registration"
cb667140875a media: firewire: firedtv-avc: fix a buffer overflow in 
avc_ca_pmt()
abc558fd0f89 sfc: Fix reading non-legacy supported link modes

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.15.bb  |  6 ++---
 .../linux/linux-yocto-tiny_5.15.bb|  8 +++---
 meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +--
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
index e79ff27ddc..879f2be677 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "6f51b8d2b7dcecfffa6262c622bc252aa298ffbe"
-SRCREV_meta ?= "3c163f0b1d3bbab61e4b3c38b960f6e478489580"
+SRCREV_machine ?= "b9ff38638d2398b647629e768713eefb0fc6707a"
+SRCREV_meta ?= "5bcd50d6b0cde22583768dc1acf304259364ddbc"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.15"
+LINUX_VERSION ?= "5.15.1"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb
index 2cf2209182..6035dc47f1 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.15"
+LINUX_VERSION ?= "5.15.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine:qemuarm ?= "5fbef884c98a51679ab4ab566568b1e89123c011"
-SRCREV_machine ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_meta ?= "3c163f0b1d3bbab61e4b3c38b960f6e478489580"
+SRCREV_machine:qemuarm ?= "098dbfb0e6d95ae958e1003738fb0dc90a81691b"
+SRCREV_machine ?= "5a8ec126c297dd9e410eb23685003f670f8f3d57"
+SRCREV_meta ?= "5bcd50d6b0cde22583768dc1acf304259364ddbc"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb 
b/meta/recipes-kernel/linux/linux-yocto_5.15.bb
index af73fe3ed1..0fd49d78cb 100644
--- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb
@@ -13,17 +13,17 @@ KBRANCH:qemux86  ?= "v5.15/standard/base"
 KBRANCH:qemux86-64 ?= "v5.15/standard/base"
 KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "83100b68b82b6f2dabb72b7f707fcfd6d2d06f96"
-SRCREV_machine:qemuarm64 ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_machine:qemumips ?= "efcb751af175ea5e17234b05305829c97fb1e7a5"
-SRCREV_machine:qemuppc ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_machine:qemuriscv64 ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_machine:qemuriscv32 ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_machine:qemux86 ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_machine:qemux86-64 ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_machine:qemumips64 ?= "2cf7c4b42019c88e1e6e56b660eacf355058f8b8"
-SRCREV_machine ?= "a4b3abf4d96d765bea92af652d8ae020c365d46a"
-SRCREV_meta ?= "3c163f0b1d3bbab61e4b3c38b960f6e478489580"
+SRCREV_machine:qemuarm ?= "47b7bd92b84e0ad136d45956e86039ad7307c892"
+SRCREV_machine:qemuarm64 ?= "5a8ec126c297dd9e410eb23685003f670f8f3d57"
+SRCREV_machine:qemumips ?= "e2dd4de2dfebf97237b87c414d0582016f64d5b1"
+SRCREV_machine:qemuppc ?= "5a8ec126c297dd9e410eb23685003f670f8f3d57"
+SRCREV_machine:qemuriscv64 ?= 

[OE-core] [PATCH 4/7] linux-yocto/5.14: update to v5.14.17

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

3dfa869cb79d Linux 5.14.17
b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to 
children on unhold"
aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs"
77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled"
b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting 
domain power up"
d6a60e6ada49 drm/i915: Remove memory frequency calculation
7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub 
registration"
0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub 
registration"
02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in 
avc_ca_pmt()
ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..."
6467b75cf9d1 sfc: Fix reading non-legacy supported link modes
f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.14.bb  |  6 ++---
 .../linux/linux-yocto-tiny_5.14.bb|  8 +++---
 meta/recipes-kernel/linux/linux-yocto_5.14.bb | 26 +--
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.14.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.14.bb
index be4c678f65..7e02f83d51 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.14.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.14.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "d1275779725dc0ebe673b10c4617e0c3bb6262d2"
-SRCREV_meta ?= "a3884078f4675c3061094525a04729eba6b11c4a"
+SRCREV_machine ?= "672665c11dd86abd71bbad0537e6388c6a5a84ca"
+SRCREV_meta ?= "b3ac9c40a22d6b00545b7ce51ef6dfb0cb9d2933"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.14;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.14.16"
+LINUX_VERSION ?= "5.14.17"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.14.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_5.14.bb
index 134c4813fc..9ad9549554 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.14.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.14.bb
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.14.16"
+LINUX_VERSION ?= "5.14.17"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine:qemuarm ?= "5fa2600d6ad51505a546646e7d4ab85eac23cc54"
-SRCREV_machine ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_meta ?= "a3884078f4675c3061094525a04729eba6b11c4a"
+SRCREV_machine:qemuarm ?= "566227d5b0913910467a7736d78cad37e60217f8"
+SRCREV_machine ?= "35888b3a9a222963b856c960e8f0c72c2de18d4a"
+SRCREV_meta ?= "b3ac9c40a22d6b00545b7ce51ef6dfb0cb9d2933"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.14.bb 
b/meta/recipes-kernel/linux/linux-yocto_5.14.bb
index 56a61897ba..f034f36d45 100644
--- a/meta/recipes-kernel/linux/linux-yocto_5.14.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_5.14.bb
@@ -13,17 +13,17 @@ KBRANCH:qemux86  ?= "v5.14/standard/base"
 KBRANCH:qemux86-64 ?= "v5.14/standard/base"
 KBRANCH:qemumips64 ?= "v5.14/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "272e3443b607073023075ee7901933d874a86e6d"
-SRCREV_machine:qemuarm64 ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_machine:qemumips ?= "4e6b51635881e6027ea2b61885537e5d427f11f4"
-SRCREV_machine:qemuppc ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_machine:qemuriscv64 ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_machine:qemuriscv32 ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_machine:qemux86 ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_machine:qemux86-64 ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_machine:qemumips64 ?= "be5e677a1904b7f6555a1d619cd379f5031dbe24"
-SRCREV_machine ?= "9e759d64ede1347c5611633962d239661b2198e7"
-SRCREV_meta ?= "a3884078f4675c3061094525a04729eba6b11c4a"

[OE-core] [PATCH 3/7] linux-yocto/5.10: update to v5.10.77

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

09df347cfd18 Linux 5.10.77
fbb91dadb512 perf script: Check session->header.env.arch before using it
6f416815c505 riscv: Fix asan-stack clang build
7a4cf25d8329 riscv: fix misalgned trap vector base address
acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers
8ecddaca7942 KVM: s390: preserve deliverable_mask in 
__airqs_kick_single_vcpu
e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again
727e5deca802 lan743x: fix endianness when accessing descriptors
a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb
c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
14c1e02b11c2 sctp: add vtag check in sctp_sf_violation
dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk
8c50693d25e4 sctp: fix the processing for INIT_ACK chunk
ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk
4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing 
settings
5b88bb9377ee phy: phy_start_aneg: Add an unlocked version
81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency
58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment
44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down
c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure 
by using dma_set_mask_and_coherent
bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when 
lan743x_pm_resume fails
e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure
be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property
863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a 
string
2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash()
04121b10cdf0 cfg80211: correct bridge/4addr mode check
aed897e96b19 net-sysfs: initialize uid and gid before calling 
net_ns_get_ownership
b0a2cd38553c net: batman-adv: fix error handling
36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit()
e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit
2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
10e40fb2f508 RDMA/mlx5: Set user priority for DCT
24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
c63d7f2ca99a nvme-tcp: fix possible req->offset corruption
32f3db20f126 nvme-tcp: fix data digest pointer calculation
4286c72c5321 nvmet-tcp: fix data digest pointer calculation
d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable()
c3e17e58f571 IB/qib: Protect from buffer overflow in struct 
qib_user_sdma_pkt fields
ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in 
generic_map_update_batch()
dd2260ec643d bpf: Fix potential race in tail call compatibility check
15dec6d8f864 tcp_bpf: Fix one concurrency problem in the 
tcp_bpf_send_verdict function
cac6b043cea3 riscv, bpf: Fix potential NULL dereference
01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline
eb3b6805e3e9 drm/amdgpu: fix out of bounds write
c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy
69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page
8fb858b74ac5 net: lan78xx: fix division by zero in send path
4c7e39c7 cfg80211: fix management registrations locking
fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again)
5043fbd294f5 ocfs2: fix race between searching chunks and release 
journal_head from buffer_head
01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset 
standard tuning circuit
ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330
a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value
12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock
44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable
efe934629fff mmc: vub300: fix control-message timeouts
f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls
c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask
0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type
5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id()
9a52798dce73 pinctrl: amd: disable and mask interrupts on probe
01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon 
subnode"
017718dfbb6f usbnet: fix error return code in usbnet_probe()
693ecbe8f799 usbnet: sanity check for maxpacket
b663890d8544 ext4: 

[OE-core] [PATCH 2/7] linux-yocto/5.14: update to v5.14.16

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

f63179c1e68c Linux 5.14.16
e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save()
9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs
eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock
10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in 
kvm_vcpu_block()
669a7e147ee6 perf script: Check session->header.env.arch before using it
e914237feb46 riscv: Fix asan-stack clang build
4606bbb6b19c riscv: Do not re-populate shadow memory with 
kasan_populate_early_shadow
7567abe63797 riscv: fix misalgned trap vector base address
20bd764387ac scsi: ibmvfc: Fix up duplicate response detection
f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support
04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers
d748da838b21 KVM: s390: preserve deliverable_mask in 
__airqs_kick_single_vcpu
4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again
ae566351ca18 octeontx2-af: Check whether ipolicers exists
45d9cd363786 virtio-ring: fix DMA metadata flags
52a936b037b5 net: hns3: expand buffer len for some debugfs command
efccb66bc917 net: hns3: add more string spaces for dumping packets number 
of queue info in debugfs
e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE 
outside of CONFIG_NET
b341612b659d watchdog: sbsa: only use 32-bit accessors
de709ec74f8b bpf: Use kvmalloc for map values in syscall
0717c71deae6 sctp: add vtag check in sctp_sf_ootb
1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
dd82b3a345ab sctp: add vtag check in sctp_sf_violation
44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk
7975f42f1038 sctp: fix the processing for INIT_ACK chunk
6277d424ead2 sctp: fix the processing for INIT chunk
332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk
44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume
6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly
7762917173cc RDMA/irdma: Process extended CQ entries correctly
7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing 
settings
37a1b9befb73 phy: phy_start_aneg: Add an unlocked version
1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency
e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment
373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure
228862acb549 net: hns3: fix data endian problem of some functions of debugfs
20d88211706b net: hns3: fix pause config problem after autoneg disabled
7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down
d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure 
by using dma_set_mask_and_coherent
69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when 
lan743x_pm_resume fails
18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure
960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property
c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a 
string
5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR
ed894f5439ab net: Prevent infinite while loop in skb_tx_hash()
f435287d719b cfg80211: correct bridge/4addr mode check
da279dac227a net-sysfs: initialize uid and gid before calling 
net_ns_get_ownership
a8f7359259dd net: batman-adv: fix error handling
50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit()
c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit
86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release()
ebd0edad1cdf RDMA/mlx5: Set user priority for DCT
e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG
f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference.
98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
c7752ec9ad39 nvme-tcp: fix possible req->offset corruption
7258a6eef5be nvme-tcp: fix data digest pointer calculation
daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation
5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable()
0d4395477741 IB/qib: Protect from buffer overflow in struct 
qib_user_sdma_pkt fields
6525bfbd546f bpf: Fix error usage of map_fd and fdget() in 
generic_map_update_batch()
adb17f828177 bpf: Fix potential race in tail call compatibility check
6f226ffe4458 tcp_bpf: Fix one concurrency problem in the 
tcp_bpf_send_verdict function
e1b80a5ebe54 riscv, bpf: 

[OE-core] [PATCH 1/7] linux-yocto-rt/5.15: update to -rt17

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Integrating the following commit(s) to linux-yocto-rt/5.15:

6f51b8d2b7dc Add localversion for -RT release
3c8ff0c09156 sysfs: Add /sys/kernel/realtime entry
828d8f9b903f POWERPC: Allow to enable RT
6db76b613e53 powerpc/stackprotector: work around stack-guard init from 
atomic
44be16e0180a powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT
a5c27dfc178a powerpc/pseries/iommu: Use a locallock instead local_irq_save()
dce767609e50 powerpc: traps: Use PREEMPT_RT
9cad1f8c7dd7 ARM64: Allow to enable RT
5bd881944e4f ARM: Allow to enable RT
715792fbbaf7 tty/serial/pl011: Make the locking work on RT
69221f2f5b91 tty/serial/omap: Make the locking RT aware
5fa50218f3e3 arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND.
c004c410d380 arm64/sve: Make kernel FPU protection RT friendly
7ffcb4485981 arm64/sve: Delay freeing memory in fpsimd_flush_thread()
322561563b01 KVM: arm/arm64: downgrade preempt_disable()d region to 
migrate_disable()
fe5ed302a1ec ARM: enable irq in translation/section permission fault 
handlers
f17af435c3a3 arch/arm64: Add lazy preempt support
10e096c7a491 powerpc: Add support for lazy preemption
5e15c21804be arm: Add support for lazy preemption
abc04080e1b3 entry: Fix the preempt lazy fallout
2fb1741e933b x86: Support for lazy preemption
24b379de7afc x86/entry: Use should_resched() in idtentry_exit_cond_resched()
860dbaa27ad1 sched: Add support for lazy preemption
4d5c9c824eee */softirq: Disable softirq stacks on PREEMPT_RT
2676f33e2cf4 generic/softirq: Disable softirq stacks on PREEMPT_RT
1886700e5658 leds: trigger: Disable CPU trigger on PREEMPT_RT
694e3f263964 drivers/block/zram: Replace bit spinlocks with rtmutex for -rt
97f765c75d6d mm/zsmalloc: Replace bit spinlock and get_cpu_var() usage.
49c7010ff12e tpm_tis: fix stall after iowrite*()s
df583a002c38 virt: acrn: Remove unsued acrn_irqfds_mutex.
a68737287907 smack: Guard smack_ipv6_lock definition within a 
SMACK_IPV6_PORT_LABELING block
ac9df8459eda ASoC: mediatek: mt8195: Remove unsued irqs_lock.
02bc2e3cbe09 genirq: update irq_set_irqchip_state documentation
ac932078b2e6 x86: Enable RT also on 32bit
e262f9f76c5b x86: Allow to enable RT
fef570ba4596 x86: kvm Require const tsc for RT
e5a9202c3535 signal/x86: Delay calling signals in atomic
2c0f317da8b9 drm/i915: Drop the irqs_disabled() check
06b3f43f370b drm/i915/gt: Use spin_lock_irq() instead of 
local_irq_disable() + spin_lock()
ac58ec9af512 drm/i915/gt: Queue and wait for the irq_work item.
aaa6ddcfd053 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE
6db29073f209 drm/i915: Disable tracing points on PREEMPT_RT
5d34e949e11c drm/i915: Don't check for atomic context on PREEMPT_RT
0ca85efbe2e9 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic 
updates
688ce2658570 drm/i915: Use preempt_disable/enable_rt() where recommended
9a76a256848c drm/i915: Don't disable interrupts and pretend a lock as been 
acquired in __timeline_mark_lock().
766248132ccf random: Make it work on rt
ba411ba63b8e x86: stackprotector: Avoid random pool on rt
3c158aab9acc panic: skip get_random_bytes for RT_FULL in init_oops_id
bf099c9ff70f net: dev: always take qdisc's busylock in __dev_xmit_skb()
783862056952 net: Dequeue in dev_cpu_dead() without the lock
61793a50d51d net: Use skbufhead with raw lock
4e369dc108af net/core: use local_bh_disable() in netif_rx_ni()
8056c6bd6380 rcu: Delay RCU-selftests
1372b981252b fs/dcache: disable preemption on i_dir_seq's write side
8f35827f634d fs/dcache: use swait_queue instead of waitqueue
dc26bf05c680 ptrace: fix ptrace vs tasklist_lock race
54332013d985 signal: Revert ptrace preempt magic
65309bca8d9c mm/memcontrol: Disable on PREEMPT_RT
5d193966a444 u64_stats: Disable preemption on 32bit-UP/SMP with RT during 
updates
9e7c9b1a7d21 softirq: Check preemption after reenabling interrupts
0d4e38f0610e crypto: cryptd - add a lock instead 
preempt_disable/local_bh_disable
4a01578f1878 sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light()
03f8b0f0eedb net: Remove preemption disabling in netif_rx()
ddd725b42e48 mm/vmalloc: Another preempt disable region which sucks
28545272667f scsi/fcoe: Make RT aware.
dcb042c59ca4 md: raid5: Make raid5_percpu handling RT aware
393999301a85 block/mq: do not invoke preempt_disable()
8485ff82f922 kernel/sched: add {put|get}_cpu_light()
274408c7b291 sched: Make preempt_enable_no_resched() behave like 
preempt_enable() on PREEMPT_RT
9708837923a7 locking: Allow to include asm/spinlock_types.h from 
linux/spinlock_types_raw.h
b5f1fc042d2f lockdep/selftests: Adapt ww-tests for PREEMPT_RT
3e6dd28f0231 lockdep/selftests: Skip the softirq related tests on PREEMPT_RT
0da6a4f59354 lockdep/selftests: Unbalanced 

[OE-core] [PATCH 0/7] kernel: consolidated pull request

2021-11-10 Thread Bruce Ashfield
From: Bruce Ashfield 

Richard,

Here's the next round of -stable updates ... more active kernes, means
more -stable!

I've also added -rt to 5.17 in this series.

Finally, there is a non -stable patch for providing virtual/kernel to
all kernel packages. I've had this patch done locally for ages, but
my configurations are not as complex for multiple kernels and composite
images as many .. so this is more of a RFC, to get feedback on cases
that i've missed, or if the AB will pickup a problem (I've marked it
with RFC).

Cheers,

Bruce

The following changes since commit d922f577ae6174ebba20b131850d81a9d62fa29a:

  bitbake: cooker: Remove debug code, oops :( (2021-11-10 12:21:14 +)

are available in the Git repository at:

  git://git.yoctoproject.org/poky-contrib zedd/kernel
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (7):
  linux-yocto-rt/5.15: update to -rt17
  linux-yocto/5.14: update to v5.14.16
  linux-yocto/5.10: update to v5.10.77
  linux-yocto/5.14: update to v5.14.17
  linux-yocto/5.15: update to v5.15.1
  linux-yocto/5.10: update to v5.10.78
  kernel: provide virtual/kernel for all kernels

 meta/classes/kernel.bbclass   |  2 +-
 .../linux/linux-yocto-rt_5.10.bb  |  6 ++---
 .../linux/linux-yocto-rt_5.14.bb  |  6 ++---
 .../linux/linux-yocto-rt_5.15.bb  |  6 ++---
 .../linux/linux-yocto-tiny_5.10.bb|  8 +++---
 .../linux/linux-yocto-tiny_5.14.bb|  8 +++---
 .../linux/linux-yocto-tiny_5.15.bb|  8 +++---
 meta/recipes-kernel/linux/linux-yocto_5.10.bb | 24 -
 meta/recipes-kernel/linux/linux-yocto_5.14.bb | 26 +--
 meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +--
 10 files changed, 60 insertions(+), 60 deletions(-)

-- 
2.19.1


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



Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-10 Thread Richard Purdie
On Tue, 2021-11-09 at 11:26 +, Jasper Orschulko wrote:
> 
> 
> > e) fetcher output is deterministic
> >  (i.e. if you fetch configuration XXX now it will match in future
> > exactly in 
> >  a clean build with a new DL_DIR)
> 
> check. When a fixed refspec is set within the recipe, the fetcher will
> check, if all repositories in the repo manifest are set to a fixed
> refspec as well and otherwise throw an error.

When you say "fixed refspec", will that be a definitive sha revision or a tag?
We always force resolution of tags as they tend to cause problems and can change
even if it is bad form.

> > f) network access is expected to work with the standard linux proxy
> > variables
> >  environment but only in the do_fetch tasks)
> 
> this should work, as we keep the GIT_PROXY_COMMAND environment and run
> repo via runfetchcmd(). Not further tested though.

If you're using runfetchcmd that should work.

> 
> > g) access during parsing has to be minimal, a "git ls-remote" for an
> > AUTOREV 
> >  git recipe might be ok but you can't expect to checkout a git tree
> 
> unfortunately, do to the nature of repo, we need to clone the manifest
> repo, so that we can run "git ls-remote" on the referenced git repos
> and therefore ensure that 

This is potentially a big issue. Cloning operations during parsing is pretty
horrible. We'd not expect any thing being written out like that during a parse.
It would probably work "ok" for one recipe but if you start getting the hundreds
of git recipes we have in some layers, it wouldn't scale if we allowed that :(.

Not sure what to recommend here but it is definitely problematic.

> 
Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158064): 
https://lists.openembedded.org/g/openembedded-core/message/158064
Mute This Topic: https://lists.openembedded.org/mt/86840389/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] meta: use ln -rs instead of lnr

2021-11-10 Thread Ross Burton
lnr is a script in oe-core that creates relative symlinks, with the same
behaviour as `ln --relative --symlink`.  It was added back in 2014[1] as
not all of the supported host distributions at the time shipped
coreutils 8.16, the first release with --relative.

However the oldest coreutils release in the supported distributions is
now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.

[1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d

Signed-off-by: Ross Burton 
---
 meta/classes/image.bbclass | 10 +-
 meta/classes/populate_sdk_ext.bbclass  |  4 ++--
 meta/recipes-core/glibc/glibc-package.inc  |  4 ++--
 .../images/build-appliance-image_15.0.0.bb |  2 +-
 meta/recipes-core/musl/gcompat_git.bb  |  2 +-
 meta/recipes-core/musl/musl_git.bb |  2 +-
 meta/recipes-core/ncurses/ncurses.inc  |  4 ++--
 meta/recipes-core/os-release/os-release.bb |  2 +-
 meta/recipes-devtools/dnf/dnf_4.10.0.bb|  4 ++--
 meta/recipes-devtools/pkgconf/pkgconf_1.8.0.bb |  2 +-
 meta/recipes-devtools/pkgconfig/pkgconfig_git.bb   |  2 +-
 meta/recipes-kernel/kmod/kmod_git.bb   |  4 ++--
 meta/recipes-kernel/linux/kernel-devsrc.bb |  2 +-
 13 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 2fa69a40d1..6c759fdf70 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -622,20 +622,20 @@ deltask do_package_write_rpm
 create_merged_usr_symlinks() {
 root="$1"
 install -d $root${base_bindir} $root${base_sbindir} $root${base_libdir}
-lnr $root${base_bindir} $root/bin
-lnr $root${base_sbindir} $root/sbin
-lnr $root${base_libdir} $root/${baselib}
+ln -rs $root${base_bindir} $root/bin
+ln -rs $root${base_sbindir} $root/sbin
+ln -rs $root${base_libdir} $root/${baselib}
 
 if [ "${nonarch_base_libdir}" != "${base_libdir}" ]; then
install -d $root${nonarch_base_libdir}
-   lnr $root${nonarch_base_libdir} $root/lib
+   ln -rs $root${nonarch_base_libdir} $root/lib
 fi
 
 # create base links for multilibs
 multi_libdirs="${@d.getVar('MULTILIB_VARIANTS')}"
 for d in $multi_libdirs; do
 install -d $root${exec_prefix}/$d
-lnr $root${exec_prefix}/$d $root/$d
+ln -rs $root${exec_prefix}/$d $root/$d
 done
 }
 
diff --git a/meta/classes/populate_sdk_ext.bbclass 
b/meta/classes/populate_sdk_ext.bbclass
index 9187f53f13..ef93b6a826 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -626,7 +626,7 @@ install_tools() {
for script in $scripts; do
for scriptfn in `find ${SDK_OUTPUT}/${SDKPATH}/${scriptrelpath} 
-maxdepth 1 -executable -name "$script"`; do

targetscriptfn="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/$(basename 
$scriptfn)"
-   test -e ${targetscriptfn} || lnr ${scriptfn} 
${targetscriptfn}
+   test -e ${targetscriptfn} || ln -rs ${scriptfn} 
${targetscriptfn}
done
done
# We can't use the same method as above because files in the sysroot 
won't exist at this point
@@ -634,7 +634,7 @@ install_tools() {
unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd"
if [ "${SDK_INCLUDE_TOOLCHAIN}" = "1" -a ! -e $unfsd_path ] ; then

binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE'), 
d.getVar('TMPDIR'))}
-   lnr ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd $unfsd_path
+   ln -rs ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd 
$unfsd_path
fi
touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase
 
diff --git a/meta/recipes-core/glibc/glibc-package.inc 
b/meta/recipes-core/glibc/glibc-package.inc
index 571ae7ae09..54e2a08906 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -119,8 +119,8 @@ do_install() {
ln -s ${@oe.path.relative('${root_prefix}/lib', 
'${base_libdir}')}/${ARCH_DYNAMIC_LOADER} \
${D}${root_prefix}/lib/${ARCH_DYNAMIC_LOADER}
fi
-lnr ${D}${base_libdir}/libpthread.so.0 ${D}${libdir}/libpthread.so
-lnr ${D}${base_libdir}/librt.so.1 ${D}${libdir}/librt.so
+ln -rs ${D}${base_libdir}/libpthread.so.0 ${D}${libdir}/libpthread.so
+ln -rs ${D}${base_libdir}/librt.so.1 ${D}${libdir}/librt.so
 }
 
 def get_libc_fpu_setting(bb, d):
diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb 
b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
index 94cafdbbe4..8cac636581 100644
--- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb
+++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
@@ -87,7 +87,7 @@ fakeroot 

[OE-core] [PATCH] vim: add patch number to CVE-2021-3778 patch

2021-11-10 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 .../vim/files/CVE-2021-3778.patch | 37 +--
 1 file changed, 26 insertions(+), 11 deletions(-)

diff --git a/meta/recipes-support/vim/files/CVE-2021-3778.patch 
b/meta/recipes-support/vim/files/CVE-2021-3778.patch
index 769a7a07ac..544af04458 100644
--- a/meta/recipes-support/vim/files/CVE-2021-3778.patch
+++ b/meta/recipes-support/vim/files/CVE-2021-3778.patch
@@ -1,4 +1,4 @@
-From eb41373c8c88b0789e5cf04669d6116f9a199264 Mon Sep 17 00:00:00 2001
+From 6d351cec5b97cb72b226d03bd727e453a235ed8d Mon Sep 17 00:00:00 2001
 From: Minjae Kim 
 Date: Sun, 26 Sep 2021 23:48:00 +
 Subject: [PATCH] patch 8.2.3409: reading beyond end of line with invalid utf-8
@@ -10,16 +10,18 @@ Solution: Check for NUL when advancing.
 Upstream-Status: Accepted 
[https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f]
 CVE: CVE-2021-3778
 Signed-off-by: Minjae Kim 
+
 ---
  src/regexp_nfa.c | 3 ++-
  src/testdir/test_regexp_utf8.vim | 7 +++
- 2 files changed, 9 insertions(+), 1 deletion(-)
+ src/version.c| 2 ++
+ 3 files changed, 11 insertions(+), 1 deletion(-)
 
-Index: git/src/regexp_nfa.c
-===
 git.orig/src/regexp_nfa.c
-+++ git/src/regexp_nfa.c
-@@ -5455,7 +5455,8 @@ find_match_text(colnr_T startcol, int re
+diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
+index fb512f961..ace83a1a3 100644
+--- a/src/regexp_nfa.c
 b/src/regexp_nfa.c
+@@ -5455,7 +5455,8 @@ find_match_text(colnr_T startcol, int regstart, char_u 
*match_text)
match = FALSE;
break;
}
@@ -29,10 +31,10 @@ Index: git/src/regexp_nfa.c
}
if (match
// check that no composing char follows
-Index: git/src/testdir/test_regexp_utf8.vim
-===
 git.orig/src/testdir/test_regexp_utf8.vim
-+++ git/src/testdir/test_regexp_utf8.vim
+diff --git a/src/testdir/test_regexp_utf8.vim 
b/src/testdir/test_regexp_utf8.vim
+index 19ff882be..e0665818b 100644
+--- a/src/testdir/test_regexp_utf8.vim
 b/src/testdir/test_regexp_utf8.vim
 @@ -215,3 +215,10 @@ func Test_optmatch_toolong()
set re=0
  endfunc
@@ -44,3 +46,16 @@ Index: git/src/testdir/test_regexp_utf8.vim
 +  bwipe!
 +  call delete('Xinvalid')
 +endfunc
+diff --git a/src/version.c b/src/version.c
+index 8912f6215..85bdfc601 100644
+--- a/src/version.c
 b/src/version.c
+@@ -742,6 +742,8 @@ static char *(features[]) =
+ 
+ static int included_patches[] =
+ {   /* Add new patch number below this line */
++/**/
++3409,
+ /**/
+ 3402,
+ /**/
-- 
2.25.1


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