Re: [OE-core] Correct way to set DRIDRIVERS and GALLIUMDRIVERS from mesa bbappend

2021-12-01 Thread Alexander Kanavin
I think you do need to modify oe-core unfortunately, like is done for other
drivers:

PACKAGECONFIG[etnaviv] = ""
GALLIUMDRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv',
',etnaviv', '', d)}"

Alex

On Wed, 1 Dec 2021 at 17:44, Mike Crowe via lists.openembedded.org  wrote:

> I'm building for a specific chip and therefore don't wish to waste time and
> electricity building and disk space on the target installing unwanted mesa
> drivers. However, mesa.inc contains:
>
>  GALLIUMDRIVERS = "swrast"
>  GALLIUMDRIVERS:x86-x32 = ""
>  GALLIUMDRIVERS:append:x86:class-target = ",i915,iris,crocus"
>  GALLIUMDRIVERS:append:x86-64:class-target = ",i915,iris,crocus"
>
> and mesa_21.3.0.bb contains:
>
>  DRIDRIVERS ??= ""
>  DRIDRIVERS:append:x86:class-target = ",r100,r200,nouveau,i965"
>  DRIDRIVERS:append:x86-64:class-target = ",r100,r200,nouveau,i965"
>
> I'm unable to find a way to override these values. Using (for example):
>
>  DRIDRIVERS:forcevariable = ""
>  GALLIUMDRIVERS:forcevariable = "swrast"
>
> doesn't work because the append still happens after the forcevariable
> override takes effect. :(
>
> Is there a way that I can override GALLIUMDRIVERS and DRIDRIVERS with my
> own values for x86 and x86-64 without modifying oe-core itself?
>
> If not, should the oe-core recipe being using something like:
>
>  GALLIUMDRIVERS_DEFAULT = "swrast"
>  GALLIUMDRIVERS_DEFAULT:x86-x32 = ""
>  GALLIUMDRIVERS_DEFAULT:append:x86:class-target = ",i915,iris,crocus"
>  GALLIUMDRIVERS_DEFAULT:append:x86-64:class-target = ",i915,iris,crocus"
>  GALLIUMDRIVERS ?= "${GALLIUMDRIVERS_DEFAULT}"
>
> and similar for DRIDRIVERS to support this?
>
> Thanks.
>
> Mike.
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159053): 
https://lists.openembedded.org/g/openembedded-core/message/159053
Mute This Topic: https://lists.openembedded.org/mt/87432435/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] [meta-oe][PATCH v2] patch.py: Initialize git repo before patching

2021-12-01 Thread Alexander Kanavin
Nevermind, I do now :)

Alex

On Wed, 1 Dec 2021 at 17:26, Alexander Kanavin 
wrote:

> Not seeing that in v4 :)
>
> Alex
>
> On Wed, 1 Dec 2021 at 17:14, Pavel Zhukov  wrote:
>
>> Thanks. Done in v4.
>>
>> --
>> Pavel
>>
>>
>>
>> 01.12.2021, 17:08, "Alexander Kanavin" :
>>
>> Thanks :) You can add the failure into the commit message.
>>
>> Alex
>>
>> On Wed, 1 Dec 2021 at 17:00, Pavel Zhukov  wrote:
>>
>> without change in patch.py:
>> ERROR: man-db-2.9.0-r1 do_patch: Applying patch
>> 'man_db.conf-avoid-multilib-install-file-conflict.patch' on target
>> directory
>> '/mnt/builds/oniroproject/builds/build-oniro-linux-st/tmp/work/core2-64-oniro-linux-musl/man-db/2.9.0-r1/man-db-2.9.0'
>> Command Error: 'git rev-parse --show-toplevel' exited with 0  Output:
>> fatal: not a git repository (or any of the parent directories): .git
>> ERROR: Logfile of failure stored in:
>> /mnt/builds/oniroproject/builds/build-oniro-linux-st/tmp/work/core2-64-oniro-linux-musl/man-db/2.9.0-r1/temp/log.do_patch.21491
>> NOTE: recipe man-db-2.9.0-r1: task do_patch: Failed
>> ERROR: Task
>> (/mnt/builds/oniroproject/sources/oe-core/meta/recipes-extended/man-db/man-db_2.9.0.bb:do_patch)
>> failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 102 tasks of which 0 didn't need to be
>> rerun and 1 failed.
>>
>> Summary: 1 task failed:
>>
>> /mnt/builds/oniroproject/sources/oe-core/meta/recipes-extended/man-db/man-db_2.9.0.bb:
>> do_patch
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> --
>> 2021-12-01 15:11:56,184 - oe-selftest - INFO - Ran 1 test in 147.083s
>> 2021-12-01 15:11:56,184 - oe-selftest - INFO - FAILED
>> 2021-12-01 15:11:56,184 - oe-selftest - INFO -  (failures=1)
>> 2021-12-01 15:11:58,721 - oe-selftest - INFO - RESULTS:
>> 2021-12-01 15:11:58,722 - oe-selftest - INFO - RESULTS -
>> bbtests.BitbakeTests.test_git_patchtool: FAILED (145.51s)
>> 2021-12-01 15:11:58,724 - oe-selftest - INFO - SUMMARY:
>> 2021-12-01 15:11:58,724 - oe-selftest - INFO - oe-selftest () - Ran 1
>> test in 147.084s
>> 2021-12-01 15:11:58,724 - oe-selftest - INFO - oe-selftest - FAIL -
>> Required tests failed (successes=0, skipped=0, failures=1, errors=0)
>>
>>
>> with change in patch.py:
>> 2021-12-01 15:12:20,910 - oe-selftest - INFO - Adding: "include
>> selftest.inc" in
>> /mnt/builds/oniroproject/builds/build-oniro-linux-st/conf/local.conf
>> 2021-12-01 15:12:20,911 - oe-selftest - INFO - Adding: "include
>> bblayers.inc" in bblayers.conf
>> 2021-12-01 15:12:20,911 - oe-selftest - INFO - test_git_patchtool
>> (bbtests.BitbakeTests)
>> 2021-12-01 15:15:30,540 - oe-selftest - INFO -  ... ok
>> 2021-12-01 15:15:31,717 - oe-selftest - INFO -
>> --
>> 2021-12-01 15:15:31,717 - oe-selftest - INFO - Ran 1 test in 192.371s
>> 2021-12-01 15:15:31,717 - oe-selftest - INFO - OK
>> 2021-12-01 15:15:34,523 - oe-selftest - INFO - RESULTS:
>> 2021-12-01 15:15:34,524 - oe-selftest - INFO - RESULTS -
>> bbtests.BitbakeTests.test_git_patchtool: PASSED (189.63s)
>> 2021-12-01 15:15:34,526 - oe-selftest - INFO - SUMMARY:
>> 2021-12-01 15:15:34,526 - oe-selftest - INFO - oe-selftest () - Ran 1
>> test in 192.372s
>> 2021-12-01 15:15:34,526 - oe-selftest - INFO - oe-selftest - OK - All
>> required tests passed (successes=1, skipped=0, failures=0, errors=0)
>>
>>
>> --
>> Pavel
>>
>>
>>
>> 01.12.2021, 16:56, "Alexander Kanavin" :
>>
>> Does the test fail without the change in lib/oepatch.py? Can you show how?
>>
>> Alex
>>
>> On Wed, 1 Dec 2021 at 15:17, Pavel Zhukov  wrote:
>>
>> From: Pavel Zhukov 
>>
>> If PATCHTOOL="git" has been specified but workdir is not git repo
>> bitbake fails to apply the patches. Fix this by initializing the repo
>> before patching.
>> This allows binary git patches to be applied.
>>
>> Signed-off-by: Pavel Zhukov 
>> ---
>>  meta/lib/oe/patch.py| 17 +
>>  meta/lib/oeqa/selftest/cases/bbtests.py |  6 ++
>>  2 files changed, 23 insertions(+)
>>
>> diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
>> index 7cd8436da5..720c6f663c 100644
>> --- a/meta/lib/oe/patch.py
>> +++ b/meta/lib/oe/patch.py
>> @@ -52,6 +52,10 @@ def runcmd(args, dir

Re: [OE-core] [meta-oe][PATCH v2] patch.py: Initialize git repo before patching

2021-12-01 Thread Alexander Kanavin
Not seeing that in v4 :)

Alex

On Wed, 1 Dec 2021 at 17:14, Pavel Zhukov  wrote:

> Thanks. Done in v4.
>
> --
> Pavel
>
>
>
> 01.12.2021, 17:08, "Alexander Kanavin" :
>
> Thanks :) You can add the failure into the commit message.
>
> Alex
>
> On Wed, 1 Dec 2021 at 17:00, Pavel Zhukov  wrote:
>
> without change in patch.py:
> ERROR: man-db-2.9.0-r1 do_patch: Applying patch
> 'man_db.conf-avoid-multilib-install-file-conflict.patch' on target
> directory
> '/mnt/builds/oniroproject/builds/build-oniro-linux-st/tmp/work/core2-64-oniro-linux-musl/man-db/2.9.0-r1/man-db-2.9.0'
> Command Error: 'git rev-parse --show-toplevel' exited with 0  Output:
> fatal: not a git repository (or any of the parent directories): .git
> ERROR: Logfile of failure stored in:
> /mnt/builds/oniroproject/builds/build-oniro-linux-st/tmp/work/core2-64-oniro-linux-musl/man-db/2.9.0-r1/temp/log.do_patch.21491
> NOTE: recipe man-db-2.9.0-r1: task do_patch: Failed
> ERROR: Task
> (/mnt/builds/oniroproject/sources/oe-core/meta/recipes-extended/man-db/man-db_2.9.0.bb:do_patch)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 102 tasks of which 0 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
>
> /mnt/builds/oniroproject/sources/oe-core/meta/recipes-extended/man-db/man-db_2.9.0.bb:
> do_patch
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> --
> 2021-12-01 15:11:56,184 - oe-selftest - INFO - Ran 1 test in 147.083s
> 2021-12-01 15:11:56,184 - oe-selftest - INFO - FAILED
> 2021-12-01 15:11:56,184 - oe-selftest - INFO -  (failures=1)
> 2021-12-01 15:11:58,721 - oe-selftest - INFO - RESULTS:
> 2021-12-01 15:11:58,722 - oe-selftest - INFO - RESULTS -
> bbtests.BitbakeTests.test_git_patchtool: FAILED (145.51s)
> 2021-12-01 15:11:58,724 - oe-selftest - INFO - SUMMARY:
> 2021-12-01 15:11:58,724 - oe-selftest - INFO - oe-selftest () - Ran 1 test
> in 147.084s
> 2021-12-01 15:11:58,724 - oe-selftest - INFO - oe-selftest - FAIL -
> Required tests failed (successes=0, skipped=0, failures=1, errors=0)
>
>
> with change in patch.py:
> 2021-12-01 15:12:20,910 - oe-selftest - INFO - Adding: "include
> selftest.inc" in
> /mnt/builds/oniroproject/builds/build-oniro-linux-st/conf/local.conf
> 2021-12-01 15:12:20,911 - oe-selftest - INFO - Adding: "include
> bblayers.inc" in bblayers.conf
> 2021-12-01 15:12:20,911 - oe-selftest - INFO - test_git_patchtool
> (bbtests.BitbakeTests)
> 2021-12-01 15:15:30,540 - oe-selftest - INFO -  ... ok
> 2021-12-01 15:15:31,717 - oe-selftest - INFO -
> --
> 2021-12-01 15:15:31,717 - oe-selftest - INFO - Ran 1 test in 192.371s
> 2021-12-01 15:15:31,717 - oe-selftest - INFO - OK
> 2021-12-01 15:15:34,523 - oe-selftest - INFO - RESULTS:
> 2021-12-01 15:15:34,524 - oe-selftest - INFO - RESULTS -
> bbtests.BitbakeTests.test_git_patchtool: PASSED (189.63s)
> 2021-12-01 15:15:34,526 - oe-selftest - INFO - SUMMARY:
> 2021-12-01 15:15:34,526 - oe-selftest - INFO - oe-selftest () - Ran 1 test
> in 192.372s
> 2021-12-01 15:15:34,526 - oe-selftest - INFO - oe-selftest - OK - All
> required tests passed (successes=1, skipped=0, failures=0, errors=0)
>
>
> --
> Pavel
>
>
>
> 01.12.2021, 16:56, "Alexander Kanavin" :
>
> Does the test fail without the change in lib/oepatch.py? Can you show how?
>
> Alex
>
> On Wed, 1 Dec 2021 at 15:17, Pavel Zhukov  wrote:
>
> From: Pavel Zhukov 
>
> If PATCHTOOL="git" has been specified but workdir is not git repo
> bitbake fails to apply the patches. Fix this by initializing the repo
> before patching.
> This allows binary git patches to be applied.
>
> Signed-off-by: Pavel Zhukov 
> ---
>  meta/lib/oe/patch.py| 17 +
>  meta/lib/oeqa/selftest/cases/bbtests.py |  6 ++
>  2 files changed, 23 insertions(+)
>
> diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
> index 7cd8436da5..720c6f663c 100644
> --- a/meta/lib/oe/patch.py
> +++ b/meta/lib/oe/patch.py
> @@ -52,6 +52,10 @@ def runcmd(args, dir = None):
>  if dir:
>  os.chdir(olddir)
>
> +def getstatusoutput(cmd):
> +import subprocess
> +return subprocess.getstatusoutput(cmd.split())
> +
>  class PatchError(Exception):
>  def __init__(self, msg):
>  self.msg = msg
> @@ -294,6 +298,19 @@ class GitApplyTree(PatchTree):
>  PatchTree.__init__(self, dir, d)
>  self.commituser = d.getVar('PATCH_GIT_USER_NAME')
>  self.commitemail = d.getVar('PATCH_GIT_USER_EMAIL')
>

Re: [OE-core] [meta-oe][PATCH v2] patch.py: Initialize git repo before patching

2021-12-01 Thread Alexander Kanavin
Thanks :) You can add the failure into the commit message.

Alex

On Wed, 1 Dec 2021 at 17:00, Pavel Zhukov  wrote:

> without change in patch.py:
> ERROR: man-db-2.9.0-r1 do_patch: Applying patch
> 'man_db.conf-avoid-multilib-install-file-conflict.patch' on target
> directory
> '/mnt/builds/oniroproject/builds/build-oniro-linux-st/tmp/work/core2-64-oniro-linux-musl/man-db/2.9.0-r1/man-db-2.9.0'
> Command Error: 'git rev-parse --show-toplevel' exited with 0  Output:
> fatal: not a git repository (or any of the parent directories): .git
> ERROR: Logfile of failure stored in:
> /mnt/builds/oniroproject/builds/build-oniro-linux-st/tmp/work/core2-64-oniro-linux-musl/man-db/2.9.0-r1/temp/log.do_patch.21491
> NOTE: recipe man-db-2.9.0-r1: task do_patch: Failed
> ERROR: Task
> (/mnt/builds/oniroproject/sources/oe-core/meta/recipes-extended/man-db/man-db_2.9.0.bb:do_patch)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 102 tasks of which 0 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
>
> /mnt/builds/oniroproject/sources/oe-core/meta/recipes-extended/man-db/man-db_2.9.0.bb:
> do_patch
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> --
> 2021-12-01 15:11:56,184 - oe-selftest - INFO - Ran 1 test in 147.083s
> 2021-12-01 15:11:56,184 - oe-selftest - INFO - FAILED
> 2021-12-01 15:11:56,184 - oe-selftest - INFO -  (failures=1)
> 2021-12-01 15:11:58,721 - oe-selftest - INFO - RESULTS:
> 2021-12-01 15:11:58,722 - oe-selftest - INFO - RESULTS -
> bbtests.BitbakeTests.test_git_patchtool: FAILED (145.51s)
> 2021-12-01 15:11:58,724 - oe-selftest - INFO - SUMMARY:
> 2021-12-01 15:11:58,724 - oe-selftest - INFO - oe-selftest () - Ran 1 test
> in 147.084s
> 2021-12-01 15:11:58,724 - oe-selftest - INFO - oe-selftest - FAIL -
> Required tests failed (successes=0, skipped=0, failures=1, errors=0)
>
>
> with change in patch.py:
> 2021-12-01 15:12:20,910 - oe-selftest - INFO - Adding: "include
> selftest.inc" in
> /mnt/builds/oniroproject/builds/build-oniro-linux-st/conf/local.conf
> 2021-12-01 15:12:20,911 - oe-selftest - INFO - Adding: "include
> bblayers.inc" in bblayers.conf
> 2021-12-01 15:12:20,911 - oe-selftest - INFO - test_git_patchtool
> (bbtests.BitbakeTests)
> 2021-12-01 15:15:30,540 - oe-selftest - INFO -  ... ok
> 2021-12-01 15:15:31,717 - oe-selftest - INFO -
> --
> 2021-12-01 15:15:31,717 - oe-selftest - INFO - Ran 1 test in 192.371s
> 2021-12-01 15:15:31,717 - oe-selftest - INFO - OK
> 2021-12-01 15:15:34,523 - oe-selftest - INFO - RESULTS:
> 2021-12-01 15:15:34,524 - oe-selftest - INFO - RESULTS -
> bbtests.BitbakeTests.test_git_patchtool: PASSED (189.63s)
> 2021-12-01 15:15:34,526 - oe-selftest - INFO - SUMMARY:
> 2021-12-01 15:15:34,526 - oe-selftest - INFO - oe-selftest () - Ran 1 test
> in 192.372s
> 2021-12-01 15:15:34,526 - oe-selftest - INFO - oe-selftest - OK - All
> required tests passed (successes=1, skipped=0, failures=0, errors=0)
>
>
> --
> Pavel
>
>
>
> 01.12.2021, 16:56, "Alexander Kanavin" :
>
> Does the test fail without the change in lib/oepatch.py? Can you show how?
>
> Alex
>
> On Wed, 1 Dec 2021 at 15:17, Pavel Zhukov  wrote:
>
> From: Pavel Zhukov 
>
> If PATCHTOOL="git" has been specified but workdir is not git repo
> bitbake fails to apply the patches. Fix this by initializing the repo
> before patching.
> This allows binary git patches to be applied.
>
> Signed-off-by: Pavel Zhukov 
> ---
>  meta/lib/oe/patch.py| 17 +
>  meta/lib/oeqa/selftest/cases/bbtests.py |  6 ++
>  2 files changed, 23 insertions(+)
>
> diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
> index 7cd8436da5..720c6f663c 100644
> --- a/meta/lib/oe/patch.py
> +++ b/meta/lib/oe/patch.py
> @@ -52,6 +52,10 @@ def runcmd(args, dir = None):
>  if dir:
>  os.chdir(olddir)
>
> +def getstatusoutput(cmd):
> +import subprocess
> +return subprocess.getstatusoutput(cmd.split())
> +
>  class PatchError(Exception):
>  def __init__(self, msg):
>  self.msg = msg
> @@ -294,6 +298,19 @@ class GitApplyTree(PatchTree):
>  PatchTree.__init__(self, dir, d)
>  self.commituser = d.getVar('PATCH_GIT_USER_NAME')
>  self.commitemail = d.getVar('PATCH_GIT_USER_EMAIL')
> +if not self._isInitialized():
> +self._initRepo()
> +
> +def _isInitialized(self):
> +cmd = "git rev-parse --show-toplevel"
> +(status, output) = get

Re: [OE-core] [meta-oe][PATCH v2] patch.py: Initialize git repo before patching

2021-12-01 Thread Alexander Kanavin
Does the test fail without the change in lib/oepatch.py? Can you show how?

Alex

On Wed, 1 Dec 2021 at 15:17, Pavel Zhukov  wrote:

> From: Pavel Zhukov 
>
> If PATCHTOOL="git" has been specified but workdir is not git repo
> bitbake fails to apply the patches. Fix this by initializing the repo
> before patching.
> This allows binary git patches to be applied.
>
> Signed-off-by: Pavel Zhukov 
> ---
>  meta/lib/oe/patch.py| 17 +
>  meta/lib/oeqa/selftest/cases/bbtests.py |  6 ++
>  2 files changed, 23 insertions(+)
>
> diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
> index 7cd8436da5..720c6f663c 100644
> --- a/meta/lib/oe/patch.py
> +++ b/meta/lib/oe/patch.py
> @@ -52,6 +52,10 @@ def runcmd(args, dir = None):
>  if dir:
>  os.chdir(olddir)
>
> +def getstatusoutput(cmd):
> +import subprocess
> +return subprocess.getstatusoutput(cmd.split())
> +
>  class PatchError(Exception):
>  def __init__(self, msg):
>  self.msg = msg
> @@ -294,6 +298,19 @@ class GitApplyTree(PatchTree):
>  PatchTree.__init__(self, dir, d)
>  self.commituser = d.getVar('PATCH_GIT_USER_NAME')
>  self.commitemail = d.getVar('PATCH_GIT_USER_EMAIL')
> +if not self._isInitialized():
> +self._initRepo()
> +
> +def _isInitialized(self):
> +cmd = "git rev-parse --show-toplevel"
> +(status, output) = getstatusoutput(cmd)
> +## Make sure we're in builddir to not break top-level git repos
> +return status == 0 and os.path.samedir(output, self.dir)
> +
> +def _initRepo(self):
> +runcmd("git init".split(), self.dir)
> +runcmd("git add .".split(), self.dir)
> +runcmd("git commit -a --allow-empty -m Patching_started".split(),
> self.dir)
>
>  @staticmethod
>  def extractPatchHeader(patchfile):
> diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py
> b/meta/lib/oeqa/selftest/cases/bbtests.py
> index d4f6a08991..8c046074f6 100644
> --- a/meta/lib/oeqa/selftest/cases/bbtests.py
> +++ b/meta/lib/oeqa/selftest/cases/bbtests.py
> @@ -294,3 +294,9 @@ INHERIT_remove = \"report-error\"
>
>  test_recipe_summary_after = get_bb_var('SUMMARY', test_recipe)
>  self.assertEqual(expected_recipe_summary,
> test_recipe_summary_after)
> +
> +def test_git_patchtool(self):
> +self.write_recipeinc('man-db', 'PATCHTOOL=\"git\"')
> +result = bitbake('man-db -c patch', ignore_status=False)
> +self.delete_recipeinc('man-db')
> +bitbake('-cclean man-db')
> --
> 2.34.0
>
>
> 
>
>

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



Re: [OE-core] Yocto Project Status WW48`21

2021-12-01 Thread Alexander Kanavin
On Tue, 30 Nov 2021 at 21:40, Stephen Jolley 
wrote:

> We continue to see a reduction in the number of patches in “Pending”
> state. Many thanks to everyone who has taken the time to review patch
> status and handle accordingly, particularly where they were accepted
> upstream. This will significantly benefit the project in the long term.
>
Patches in the Pending State: 412 (32%) [last week 422 (33%)]
>

I went ahead and made a list of top 10 'owners of pending patches'. I have
to stress that this is absolutely not a 'wall of shame' or anything
negative: these patches are in itself significant work, and sending patches
upstream - and crucially, rebasing, fixing CI fails and following up on
upstream feedback - is a significant effort on top, and when yocto project
itself needs to move forward and company management is asking to deliver a
product at the same time, the time for upstreaming may simply not be there.
So  please keep these numbers in mind and try to avoid making them bigger.

109 Khem Raj
29 Richard Purdie
24 Alexander Kanavin
15 unknown
15 Ross Burton
15 Robert Yang
11 Hongxu Jia
10 Martin Jansa
8 Joe Slater
8 Chen Qi

Another interesting statistic is that of 108 people with pending patches,
80 own only one or two patches.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159026): 
https://lists.openembedded.org/g/openembedded-core/message/159026
Mute This Topic: https://lists.openembedded.org/mt/87412476/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] [RFC] meson needs a pkg-config wrapper script

2021-12-01 Thread Alexander Kanavin
No, it's not that. Even if you pass PKG_CONFIG_SYSROOT_DIR to pkg-config
directly, it will apply that only to --cflags and similar, but not to
generic --variable. Try this:

alex@alex-lx-laptop:~$ PKG_CONFIG_SYSROOT_DIR=/ pkg-config libdrm
--cflags
-I//usr/include/libdrm
alex@alex-lx-laptop:~$ PKG_CONFIG_SYSROOT_DIR=/ pkg-config libdrm
--variable=includedir
/usr/include

So a wrapper will not solve the 'includedir prefix' problem, and neither
the wrapper, nor pkg-config or meson can possibly know which variable is a
path, and which isn't - the only place where that is known is the component
that obtains the variable. And so that's where it has to be prefixed.

Alex

On Tue, 30 Nov 2021 at 23:38, Joel Winarske  wrote:

> Based on my testing, if PKG_CONFIG_SYSROOT_DIR is set or not makes zero
> difference on the outcome.  I suspect this is related to how pkg-config is
> launched by meson.
>
> Looking at the meson source tree, in all ci/test cross compile scenarios
> they reference a pkg-config wrapper.  No cross compile scenario I see
> referencing the 'pkgconfig' key uses a bare pkg-config.
>
> cross/armclang-linux.txt:#pkgconfig =
> '/usr/bin/arm-linux-gnueabihf-pkg-config'
> cross/linux-mingw-w64-32bit.txt:pkgconfig =
> '/usr/bin/i686-w64-mingw32-pkg-config'
> cross/linux-mingw-w64-64bit.txt:pkgconfig =
> '/usr/bin/x86_64-w64-mingw32-pkg-config'
> cross/ubuntu-armhf.txt:pkgconfig =
> '/usr/bin/arm-linux-gnueabihf-pkg-config'
> test cases/unit/33 cross file overrides always
> args/ubuntu-armhf-overrides.txt:pkgconfig =
> '/usr/bin/arm-linux-gnueabihf-pkg-config'
> test cases/unit/36 exe_wrapper behaviour/broken-cross.txt:pkgconfig =
> '/usr/bin/x86_64-w64-mingw32-pkg-config'
>
> I think adding a wrapper makes sense.
>
> 5.2 Tool Calling Conventions -
> https://autotools.io/pkgconfig/cross-compiling.html
>
> On Tue, Nov 30, 2021 at 12:13 PM Alexander Kanavin 
> wrote:
>
>> On Tue, 30 Nov 2021 at 21:00, Joel Winarske 
>> wrote:
>>
>>> Yes, if the sys_root key value in meson.cross is present
>>> PKG_CONFIG_SYSROOT_DIR gets set.  Honister patch I confirmed with:
>>>
>>> https://github.com/jwinarske/manifests/blob/honister/rpi64/0001-Add-sys_root-to-properties-section.patch
>>>
>>> The issue is that meson doesn't pass PKG_CONFIG_SYSROOT_DIR to the shell
>>> environment that runs pkg-config, as with the pkg-config sandbox test it
>>> does work.
>>>
>>
>> Both meson source code and its documentation indicate otherwise - if you
>> set sys_root property, it will get passed to pkg-config via environment as
>> PKG_CONFIG_SYSROOT_DIR:
>>
>> https://github.com/mesonbuild/meson/blob/master/mesonbuild/dependencies/pkgconfig.py#L121
>>
>> Alex
>>
>>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159019): 
https://lists.openembedded.org/g/openembedded-core/message/159019
Mute This Topic: https://lists.openembedded.org/mt/87407703/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] [RFC] meson needs a pkg-config wrapper script

2021-11-30 Thread Alexander Kanavin
On Tue, 30 Nov 2021 at 21:00, Joel Winarske  wrote:

> Yes, if the sys_root key value in meson.cross is present
> PKG_CONFIG_SYSROOT_DIR gets set.  Honister patch I confirmed with:
>
> https://github.com/jwinarske/manifests/blob/honister/rpi64/0001-Add-sys_root-to-properties-section.patch
>
> The issue is that meson doesn't pass PKG_CONFIG_SYSROOT_DIR to the shell
> environment that runs pkg-config, as with the pkg-config sandbox test it
> does work.
>

Both meson source code and its documentation indicate otherwise - if you
set sys_root property, it will get passed to pkg-config via environment as
PKG_CONFIG_SYSROOT_DIR:
https://github.com/mesonbuild/meson/blob/master/mesonbuild/dependencies/pkgconfig.py#L121

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158993): 
https://lists.openembedded.org/g/openembedded-core/message/158993
Mute This Topic: https://lists.openembedded.org/mt/87407703/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] [RFC] meson needs a pkg-config wrapper script

2021-11-30 Thread Alexander Kanavin
I am seeing in mesonbuild/dependencies/pkgconfig.py

sysroot = environment.properties[for_machine].get_sys_root()
if sysroot:
env['PKG_CONFIG_SYSROOT_DIR'] = sysroo

So we probably need to ensure this 'sys_root' is correctly set, and then
things will simply work?

Alex

On Tue, 30 Nov 2021 at 20:15, Joel Winarske  wrote:

> https://github.com/vkmark/vkmark/blob/master/src/meson.build#L9
>
> On Tue, Nov 30, 2021 at 10:53 AM Alexander Kanavin 
> wrote:
>
>> I do not quite understand the use case. What is being done with the full
>> path to the header?
>>
>> Alex
>>
>> On Tue, 30 Nov 2021 at 19:26, Joel Winarske 
>> wrote:
>>
>>> This pattern works to get the absolute path of the header:
>>>
>>> Yocto
>>>
>>> EXTRA_OEMESON += "--prefix ${STAGING_DIR_TARGET}/usr"
>>>
>>> Meson
>>>
>>> vulkan_dep = dependency('vulkan')
>>> vulkan_hpp = join_paths([
>>> vulkan_dep.get_pkgconfig_variable('includedir', define_variable:
>>> ['prefix', get_option('prefix')]),
>>> 'vulkan',
>>> 'vulkan.hpp'
>>> ])
>>>
>>> Implementation in build/meson-log.txt
>>>
>>> Called
>>> `/b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/rpi4/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot-native/usr/bin/pkg-config
>>> --define-variable=prefix=/b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/rpi4/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot/usr
>>> --variable=includedir vulkan` -> 0
>>>
>>>
>>> One would expect the following meson to work if STAGING_DIR_TARGET were
>>> set, as that's how pkg-config works:
>>>
>>> vulkan_dep = dependency('vulkan')
>>> vulkan_hpp = join_paths([
>>> vulkan_dep.get_pkgconfig_variable('includedir'),
>>> 'vulkan',
>>> 'vulkan.hpp'
>>> ])
>>>
>>> This will always return /usr/include/vulkan/vulkan.hpp regardless of
>>> PKG_CONFIG_SYSROOT_DIR value.  With PKG_CONFIG_SYSROOT_DIR set, it should
>>> be /usr/include/vulkan/vulkan.hpp with prepend of PKG_CONFIG_SYSROOT_DIR
>>> value.
>>>
>>>
>>> Sandbox testing of pkg-config
>>>
>>> $ export
>>> STAGING_DIR_TARGET=/b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/raspberrypi4-64/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot
>>> $ PKG_CONFIG_SYSROOT_DIR=$STAGING_DIR_TARGET pkg-config
>>> --define-variable=prefix=/opt --variable=includedir vulkan
>>>
>>> /b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/raspberrypi4-64/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot/opt/include
>>>
>>>
>>> meson.cross
>>>
>>> Setting sys_root in the properties section of meson.cross (patching
>>> meson.bbclass) indirectly sets PKG_CONFIG_SYSROOT_DIR.  The setting of
>>> sys_root is present in nativesdk_meson*.bb, not meson*.bb.
>>>
>>> The issue for meson is that they are not passing the
>>> PKG_CONFIG_SYSROOT_DIR variable to the shell that launches pkg-config.
>>>
>>> My proposed work around (this email thread) would fix the behavior.  I
>>> believe the proper fix is for meson to address upstream.  Still waiting on
>>> a response from them: https://github.com/mesonbuild/meson/issues/9674
>>>
>>>
>>> Joel
>>>
>>> On Tue, Nov 30, 2021 at 9:49 AM Alexander Kanavin <
>>> alex.kana...@gmail.com> wrote:
>>>
>>>> On Tue, 30 Nov 2021 at 18:20, Joel Winarske 
>>>> wrote:
>>>>
>>>>> Meson does not expose PKG_CONFIG_SYSROOT_DIR to the pkg-config process.
>>>>>
>>>>> Currently meson.cross as generated in meson.bbclass points directly to
>>>>> the pkg-config executable (no wrapper script).
>>>>>
>>>>> PKG_CONFIG_SYSROOT_DIR behaves like a simple string prepend to all
>>>>> package config variable queries.  So if you want to determine the absolute
>>>>> path of a variable in .pc you set PKG_CONFIG_SYSROOT_DIR and make your
>>>>> query.  Currently this is not possible with Yocto+Meson.
>>>>>
>>>>> I think a simple wrapper script would resolve this.  This is from
>>>>> https://autotools.io/pkgconfig/cross-compiling.html:
>>>>>
>>>>> #!/bin/sh
>>>>>
>>>>&

Re: [OE-core] [RFC] meson needs a pkg-config wrapper script

2021-11-30 Thread Alexander Kanavin
I do not quite understand the use case. What is being done with the full
path to the header?

Alex

On Tue, 30 Nov 2021 at 19:26, Joel Winarske  wrote:

> This pattern works to get the absolute path of the header:
>
> Yocto
>
> EXTRA_OEMESON += "--prefix ${STAGING_DIR_TARGET}/usr"
>
> Meson
>
> vulkan_dep = dependency('vulkan')
> vulkan_hpp = join_paths([
> vulkan_dep.get_pkgconfig_variable('includedir', define_variable:
> ['prefix', get_option('prefix')]),
> 'vulkan',
> 'vulkan.hpp'
> ])
>
> Implementation in build/meson-log.txt
>
> Called
> `/b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/rpi4/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot-native/usr/bin/pkg-config
> --define-variable=prefix=/b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/rpi4/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot/usr
> --variable=includedir vulkan` -> 0
>
>
> One would expect the following meson to work if STAGING_DIR_TARGET were
> set, as that's how pkg-config works:
>
> vulkan_dep = dependency('vulkan')
> vulkan_hpp = join_paths([
> vulkan_dep.get_pkgconfig_variable('includedir'),
> 'vulkan',
> 'vulkan.hpp'
> ])
>
> This will always return /usr/include/vulkan/vulkan.hpp regardless of
> PKG_CONFIG_SYSROOT_DIR value.  With PKG_CONFIG_SYSROOT_DIR set, it should
> be /usr/include/vulkan/vulkan.hpp with prepend of PKG_CONFIG_SYSROOT_DIR
> value.
>
>
> Sandbox testing of pkg-config
>
> $ export
> STAGING_DIR_TARGET=/b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/raspberrypi4-64/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot
> $ PKG_CONFIG_SYSROOT_DIR=$STAGING_DIR_TARGET pkg-config
> --define-variable=prefix=/opt --variable=includedir vulkan
>
> /b/github-ci/_work/meta-flutter/rpi4-drm-honister-latest/raspberrypi4-64/tmp/work/cortexa72-poky-linux/vkmark/git-r0/recipe-sysroot/opt/include
>
>
> meson.cross
>
> Setting sys_root in the properties section of meson.cross (patching
> meson.bbclass) indirectly sets PKG_CONFIG_SYSROOT_DIR.  The setting of
> sys_root is present in nativesdk_meson*.bb, not meson*.bb.
>
> The issue for meson is that they are not passing the
> PKG_CONFIG_SYSROOT_DIR variable to the shell that launches pkg-config.
>
> My proposed work around (this email thread) would fix the behavior.  I
> believe the proper fix is for meson to address upstream.  Still waiting on
> a response from them: https://github.com/mesonbuild/meson/issues/9674
>
>
> Joel
>
> On Tue, Nov 30, 2021 at 9:49 AM Alexander Kanavin 
> wrote:
>
>> On Tue, 30 Nov 2021 at 18:20, Joel Winarske 
>> wrote:
>>
>>> Meson does not expose PKG_CONFIG_SYSROOT_DIR to the pkg-config process.
>>>
>>> Currently meson.cross as generated in meson.bbclass points directly to
>>> the pkg-config executable (no wrapper script).
>>>
>>> PKG_CONFIG_SYSROOT_DIR behaves like a simple string prepend to all
>>> package config variable queries.  So if you want to determine the absolute
>>> path of a variable in .pc you set PKG_CONFIG_SYSROOT_DIR and make your
>>> query.  Currently this is not possible with Yocto+Meson.
>>>
>>> I think a simple wrapper script would resolve this.  This is from
>>> https://autotools.io/pkgconfig/cross-compiling.html:
>>>
>>> #!/bin/sh
>>>
>>> SYSROOT=/build/root
>>>
>>> export PKG_CONFIG_PATH=
>>> export 
>>> PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig
>>> export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}
>>>
>>> exec pkg-config "$@"
>>>
>>>
>>> The wrapper script would be generated per recipe via meson.bbclass,
>>> meson.cross would then reference this wrapper instead of the pkg-config
>>> executable.
>>>
>>> Thoughts?
>>>
>>
>> I don't think this is correct. Meson's way of doing things is that you
>> are not supposed to get the include/library paths directly from pkg-config,
>> but rather use
>> https://mesonbuild.com/Reference-manual_functions.html#dependency and
>> meson will take care of any needed prefixes to the paths.
>>
>> For the custom variables defined in .pc that happen to contain paths,
>> PKG_CONFIG_SYSROOT_DIR has no effect at all, so you need to manually
>> prepend it anyway everywhere where they're used. pkg-config does not know
>> what variable is a path and what isn't.
>>
>> Alex
>>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158987): 
https://lists.openembedded.org/g/openembedded-core/message/158987
Mute This Topic: https://lists.openembedded.org/mt/87407703/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] [RFC] meson needs a pkg-config wrapper script

2021-11-30 Thread Alexander Kanavin
On Tue, 30 Nov 2021 at 18:20, Joel Winarske  wrote:

> Meson does not expose PKG_CONFIG_SYSROOT_DIR to the pkg-config process.
>
> Currently meson.cross as generated in meson.bbclass points directly to the
> pkg-config executable (no wrapper script).
>
> PKG_CONFIG_SYSROOT_DIR behaves like a simple string prepend to all package
> config variable queries.  So if you want to determine the absolute path of
> a variable in .pc you set PKG_CONFIG_SYSROOT_DIR and make your query.
> Currently this is not possible with Yocto+Meson.
>
> I think a simple wrapper script would resolve this.  This is from
> https://autotools.io/pkgconfig/cross-compiling.html:
>
> #!/bin/sh
>
> SYSROOT=/build/root
>
> export PKG_CONFIG_PATH=
> export 
> PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig
> export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}
>
> exec pkg-config "$@"
>
>
> The wrapper script would be generated per recipe via meson.bbclass,
> meson.cross would then reference this wrapper instead of the pkg-config
> executable.
>
> Thoughts?
>

I don't think this is correct. Meson's way of doing things is that you are
not supposed to get the include/library paths directly from pkg-config, but
rather use
https://mesonbuild.com/Reference-manual_functions.html#dependency and meson
will take care of any needed prefixes to the paths.

For the custom variables defined in .pc that happen to contain paths,
PKG_CONFIG_SYSROOT_DIR has no effect at all, so you need to manually
prepend it anyway everywhere where they're used. pkg-config does not know
what variable is a path and what isn't.

Alex

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



Re: [OE-core] [PATCH 0/6] Pull request (cover letter only)

2021-11-30 Thread Alexander Kanavin
The patchset is now under testing:
https://git.yoctoproject.org/poky/log/?h=master-next

If there are issues, you'll hear about them, otherwise the patches will
quietly land in master :)

Alex

On Tue, 30 Nov 2021 at 09:14, Vyacheslav Yurkov  wrote:

> Just pinging to check if anyone had a chance to take a look at it
>
> Thanks,
> Vyacheslav
>
> On 19.11.2021 07:15, Vyacheslav Yurkov via lists.openembedded.org wrote:
> > This is a V1 of overlayfs-etc image feature implementation, that allows
> > to setup the whole /etc under overlayfs. Please review and merge if you
> > find it OK
> >
> > The following changes since commit
> 0d15632f3db787d3f08eb260732567e62f52ffb3:
> >
> >libtasn1: upgrade 4.17.0 -> 4.18.0 (2021-11-16 22:19:47 +)
> >
> > are available in the Git repository at:
> >
> >git://github.com/UVV-gh/openembedded-core feature/overlayfs-etc
> >
> https://github.com/UVV-gh/openembedded-core/tree/feature/overlayfs-etc
> >
> > Vyacheslav Yurkov (6):
> >overlayfs-etc: mount etc as overlayfs
> >wic: image for overlayfs-etc tests
> >image: add overlayfs-etc image feature
> >oeqa/selftest: overlayfs helper function
> >oeqa/selftest: unit tests for overlayfs-etc
> >overlayfs: update notes on /etc
> >
> >   meta-selftest/wic/overlayfs_etc.wks.in|   4 +
> >   meta/classes/image.bbclass|   3 +-
> >   meta/classes/overlayfs-etc.bbclass|  93 
> >   meta/classes/overlayfs.bbclass|   1 +
> >   meta/lib/oeqa/selftest/cases/overlayfs.py | 173 --
> >   5 files changed, 257 insertions(+), 17 deletions(-)
> >   create mode 100644 meta-selftest/wic/overlayfs_etc.wks.in
> >   create mode 100644 meta/classes/overlayfs-etc.bbclass
> >
> >
> >
> >
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158979): 
https://lists.openembedded.org/g/openembedded-core/message/158979
Mute This Topic: https://lists.openembedded.org/mt/87162486/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] vulkan-loader

2021-11-29 Thread Alexander Kanavin
Can you show what vulkan.pc contains please, and why is that a problem?

Alex

On Tue, 30 Nov 2021 at 00:51, Joel Winarske  wrote:

> I discovered an upstream problem with vulkan-loader today.
>
> Effectively since 1.2.162 vulkan.pc is broken for cross compilation
> scenarios.
>
> This example illustrates current problem with vulkan.pc installed by
> vulkan-loader:
>
> $ pkg-config --print-errors --define-variable=prefix=/opt 
> --variable=includedir vulkan
> /usr/include
>
> It should return /opt/usr/include
> So doing this in a meson project does not produce the expected result:
>
> vulkan_hpp = join_paths([
> vulkan_dep.get_pkgconfig_variable('includedir', define_variable: 
> ['prefix', get_option('prefix')])
> 'vulkan',
> 'vulkan.hpp'
> ])
>
>
> What is the suggested approach to address this?  A patch for each branch
> up to master?
>
> Joel
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158970): 
https://lists.openembedded.org/g/openembedded-core/message/158970
Mute This Topic: https://lists.openembedded.org/mt/87391647/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] [RFC PATCH 4/9] perl/perlcross: Improve native reproducability

2021-11-29 Thread Alexander Kanavin
I have fixed this differently, and more reliably - you can cherry-pick into
your branch:
https://git.yoctoproject.org/poky-contrib/commit/?h=akanavin/package-version-updates=40e8c7af7e32045805bab318e66b644c0e8ed3f2

Alex

On Mon, 29 Nov 2021 at 20:43, Alexander Kanavin via lists.openembedded.org
 wrote:

> On Mon, 29 Nov 2021 at 17:44, Jacob Kroon  wrote:
>
>> On 11/29/21 10:07, Alexander Kanavin wrote:
>> > Can you split the determinism patch fix into a separate patch please?
>> >
>>
>> I don't know what exactly is the right fix here. Should both
>> "determinism.patch":es be applied when building perl-native ?
>>
>
>
> Right, I'll take a look at this myself then.
>
> Alex
>
>
>>
>> Jacob
>>
>> > Alex
>> >
>> > On Sun, 28 Nov 2021 at 10:46, Jacob Kroon > > <mailto:jacob.kr...@gmail.com>> wrote:
>> >
>> > In order to make perlcross-native independent of build path we need
>> > to follow
>> > the symlinks when copying the patches, otherwise they will point to
>> > whereever
>> > oe-core is checked out for that particular build.
>> >
>> > Doing this reveals an issue in perl-native, where it copies the
>> patches
>> > from perlcross-native's sysroot, but both perlcross and perl have a
>> > patch called "determinism.patch", so one of them gets overridden.
>> Rename
>> > the patch in perlcross so that this doesn't happen.
>> >
>> > Signed-off-by: Jacob Kroon > > <mailto:jacob.kr...@gmail.com>>
>> > ---
>> >  .../{determinism.patch => perl-cross-determinism.patch}  | 0
>> >  meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
>> > <http://perlcross_1.3.6.bb>  | 4 ++--
>> >  meta/recipes-devtools/perl/perl_5.34.0.bb <http://perl_5.34.0.bb>
>> >   | 5 +
>> >  3 files changed, 7 insertions(+), 2 deletions(-)
>> >  rename meta/recipes-devtools/perl-cross/files/{determinism.patch =>
>> > perl-cross-determinism.patch} (100%)
>> >
>> > diff --git
>> > a/meta/recipes-devtools/perl-cross/files/determinism.patch
>> >
>>  b/meta/recipes-devtools/perl-cross/files/perl-cross-determinism.patch
>> > similarity index 100%
>> > rename from meta/recipes-devtools/perl-cross/files/determinism.patch
>> > rename to
>> > meta/recipes-devtools/perl-cross/files/perl-cross-determinism.patch
>> > diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
>> > <http://perlcross_1.3.6.bb>
>> > b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
>> > <http://perlcross_1.3.6.bb>
>> > index 2759ef8a53..dab7f4558f 100644
>> > --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
>> > <http://perlcross_1.3.6.bb>
>> > +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
>> > <http://perlcross_1.3.6.bb>
>> > @@ -15,7 +15,7 @@ SRC_URI =
>> > "
>> https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross
>> > <
>> https://github.com/arsv/perl-cross/releases/download/$%7BPV%7D/perl-cross
>> >
>> >
>> >
>>  file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
>> >
>> > file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
>> >
>> >
>>  file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
>> > -   file://determinism.patch \
>> > +   file://perl-cross-determinism.patch \
>> >
>> >
>>  file://0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch \
>> >
>> > file://0001-Makefile-check-the-file-if-patched-or-not.patch \
>> > "
>> > @@ -33,7 +33,7 @@ do_compile () {
>> >
>> >  do_install:class-native() {
>> >  mkdir -p ${D}/${datadir}/perl-cross/
>> > -cp -rf ${S}/* ${D}/${datadir}/perl-cross/
>> > +cp -rfL ${S}/* ${D}/${datadir}/perl-cross/
>> >  }
>> >
>> >  BBCLASSEXTEND = "native"
>> > diff --git a/meta/recipes-devtools/perl/perl_5.34.0.bb
>> > <http://perl_5.34.0.bb> b/meta/recipes-devtools/perl/perl_5.34.0.bb
>> > <http://perl_5.34.0.bb>
>> > index 16d45ccff3..0b74d5f072 100644

Re: [OE-core] [RFC PATCH 4/9] perl/perlcross: Improve native reproducability

2021-11-29 Thread Alexander Kanavin
On Mon, 29 Nov 2021 at 17:44, Jacob Kroon  wrote:

> On 11/29/21 10:07, Alexander Kanavin wrote:
> > Can you split the determinism patch fix into a separate patch please?
> >
>
> I don't know what exactly is the right fix here. Should both
> "determinism.patch":es be applied when building perl-native ?
>


Right, I'll take a look at this myself then.

Alex


>
> Jacob
>
> > Alex
> >
> > On Sun, 28 Nov 2021 at 10:46, Jacob Kroon  > <mailto:jacob.kr...@gmail.com>> wrote:
> >
> > In order to make perlcross-native independent of build path we need
> > to follow
> > the symlinks when copying the patches, otherwise they will point to
> > whereever
> > oe-core is checked out for that particular build.
> >
> > Doing this reveals an issue in perl-native, where it copies the
> patches
> > from perlcross-native's sysroot, but both perlcross and perl have a
> > patch called "determinism.patch", so one of them gets overridden.
> Rename
> > the patch in perlcross so that this doesn't happen.
> >
> > Signed-off-by: Jacob Kroon  > <mailto:jacob.kr...@gmail.com>>
> > ---
> >  .../{determinism.patch => perl-cross-determinism.patch}  | 0
> >  meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> > <http://perlcross_1.3.6.bb>  | 4 ++--
> >  meta/recipes-devtools/perl/perl_5.34.0.bb <http://perl_5.34.0.bb>
> >   | 5 +
> >  3 files changed, 7 insertions(+), 2 deletions(-)
> >  rename meta/recipes-devtools/perl-cross/files/{determinism.patch =>
> > perl-cross-determinism.patch} (100%)
> >
> > diff --git
> > a/meta/recipes-devtools/perl-cross/files/determinism.patch
> > b/meta/recipes-devtools/perl-cross/files/perl-cross-determinism.patch
> > similarity index 100%
> > rename from meta/recipes-devtools/perl-cross/files/determinism.patch
> > rename to
> > meta/recipes-devtools/perl-cross/files/perl-cross-determinism.patch
> > diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> > <http://perlcross_1.3.6.bb>
> > b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> > <http://perlcross_1.3.6.bb>
> > index 2759ef8a53..dab7f4558f 100644
> > --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> > <http://perlcross_1.3.6.bb>
> > +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> > <http://perlcross_1.3.6.bb>
> > @@ -15,7 +15,7 @@ SRC_URI =
> > "
> https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross
> > <
> https://github.com/arsv/perl-cross/releases/download/$%7BPV%7D/perl-cross>
> >
> >
>  file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
> >
> > file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
> >
> >
>  file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
> > -   file://determinism.patch \
> > +   file://perl-cross-determinism.patch \
> >
> >
>  file://0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch \
> >
> > file://0001-Makefile-check-the-file-if-patched-or-not.patch \
> > "
> > @@ -33,7 +33,7 @@ do_compile () {
> >
> >  do_install:class-native() {
> >  mkdir -p ${D}/${datadir}/perl-cross/
> > -cp -rf ${S}/* ${D}/${datadir}/perl-cross/
> > +cp -rfL ${S}/* ${D}/${datadir}/perl-cross/
> >  }
> >
> >  BBCLASSEXTEND = "native"
> > diff --git a/meta/recipes-devtools/perl/perl_5.34.0.bb
> > <http://perl_5.34.0.bb> b/meta/recipes-devtools/perl/perl_5.34.0.bb
> > <http://perl_5.34.0.bb>
> > index 16d45ccff3..0b74d5f072 100644
> > --- a/meta/recipes-devtools/perl/perl_5.34.0.bb <
> http://perl_5.34.0.bb>
> > +++ b/meta/recipes-devtools/perl/perl_5.34.0.bb <
> http://perl_5.34.0.bb>
> > @@ -97,6 +97,9 @@ do_configure:class-native() {
> >  -Dvendorprefix=${prefix} \
> >  -Ui_xlocale \
> >  ${PACKAGECONFIG_CONFARGS}
> > +
> > +# See the comment above
> > +sed -i -e "s,${STAGING_DIR_NATIVE},/non/existent,g" config.h
> >  }
> >
> >  do_configure:append() {
> > @@ -395,3 +398,5 @@ SSTATE_HASHEQUIV_FILEMAP = " \
> >  populate_sysroot:*/lib*/perl5/config.sh:${TMPDIR} \
> >  populate_sysroot:*/lib*/perl5/config.sh:${COREBASE} \
> >  "
> > +
> > +EXTRA_STAGING_FIXMES:append:class-native = " RPATH_PADDING"
> >
> > 
> >
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158959): 
https://lists.openembedded.org/g/openembedded-core/message/158959
Mute This Topic: https://lists.openembedded.org/mt/87352797/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] [RFC PATCH 0/9] Improve native/cross reproducibility

2021-11-29 Thread Alexander Kanavin
Thanks Jacob. When looking at this patchset I kept asking myself, why is
this or that change necessary for -native but not for -target. I think it
would help if you include that information in the commits, particularly, in
1/9 as it is the most invasive change of all. Maybe we can then figure out
a better way.

Alex

On Sun, 28 Nov 2021 at 10:46, Jacob Kroon  wrote:

> This patch series is not intended for merge. I only send it out to
> highlight where the problems are and to get some discussion going on
> how/if we want to improve the sitation.
>
> This is a patch series that tries to improve the reproducibility of the
> native/cross binaries when building in different directories. This has
> been tested on a Fedora 35 system which uses gcc 11.2.1 at the time of
> writing.
>
> The RUNTIME hack is questionable, maybe there is a better way to enforce
> a fixed RUNTIME entry size during linking. It probably breaks for
> recipes that do additional rpath manipulations at link-time.
>
> If in the end we do come up with a solution, then it should be tested on
> the autobuilders, since otherwise this is going to degrade overtime. It
> would then be important that the build paths are of significantly different
> lengths. TMPDIR=/tmp/sysrootA/ and TMPDIR=/tmp/sysrootB/ will *not*
> uncover all
> rpath problems.
>
> The end result of this patch series is that I can build python3-native
> in two different build paths, and the resuling sysroot-components/x86_64/
> directories are identical, except for the 'fixmepath.cmd' files, which
> are not included in the hash equiv calculations. Even so, there remains a
> lot of
> other native builds that are going to need to be fixed in similar ways
> as the ones in this patch series.
>
> For my images to build I had to avoid the rpath-hack for icedtea7-native
> and openjdk-8-native.
>
> /Jacob
>
> Jacob Kroon (9):
>   bitbake.conf: Pad rpath and remove build ID in native binaries
>   libtool: Improve native reproducibility
>   openssl: Improve native reproducibility
>   perl/perlcross: Improve native reproducability
>   pkgconfig: Improve native reproducibility
>   ncurses: Improve native reproducibility
>   util-linux: Improve native reproducibility
>   python3: Improve native reproducibility
>   bitbake.conf: Avoid rpath hack for Java recipes
>
>  meta/classes/chrpath.bbclass  |  3 +
>  meta/conf/bitbake.conf|  8 +-
>  ...sysroot-and-debug-prefix-map-from-co.patch | 78 ---
>  .../openssl/openssl/strip-buildinfo.patch | 13 
>  .../openssl/openssl_3.0.0.bb  | 10 +--
>  meta/recipes-core/ncurses/ncurses.inc |  4 +
>  .../util-linux/util-linux_2.37.2.bb   |  2 +-
>  .../libtool/libtool-native_2.4.6.bb   |  1 +
>  ...ism.patch => perl-cross-determinism.patch} |  0
>  .../perl-cross/perlcross_1.3.6.bb |  4 +-
>  meta/recipes-devtools/perl/perl_5.34.0.bb |  5 ++
>  .../pkgconfig/pkgconfig_git.bb|  1 +
>  .../python/python3/determinism.patch  | 15 
>  .../recipes-devtools/python/python3_3.10.0.bb |  8 ++
>  14 files changed, 65 insertions(+), 87 deletions(-)
>  delete mode 100644
> meta/recipes-connectivity/openssl/openssl/0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch
>  create mode 100644
> meta/recipes-connectivity/openssl/openssl/strip-buildinfo.patch
>  rename meta/recipes-devtools/perl-cross/files/{determinism.patch =>
> perl-cross-determinism.patch} (100%)
>  create mode 100644 meta/recipes-devtools/python/python3/determinism.patch
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158933): 
https://lists.openembedded.org/g/openembedded-core/message/158933
Mute This Topic: https://lists.openembedded.org/mt/87352786/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] [RFC PATCH 4/9] perl/perlcross: Improve native reproducability

2021-11-29 Thread Alexander Kanavin
Can you split the determinism patch fix into a separate patch please?

Alex

On Sun, 28 Nov 2021 at 10:46, Jacob Kroon  wrote:

> In order to make perlcross-native independent of build path we need to
> follow
> the symlinks when copying the patches, otherwise they will point to
> whereever
> oe-core is checked out for that particular build.
>
> Doing this reveals an issue in perl-native, where it copies the patches
> from perlcross-native's sysroot, but both perlcross and perl have a
> patch called "determinism.patch", so one of them gets overridden. Rename
> the patch in perlcross so that this doesn't happen.
>
> Signed-off-by: Jacob Kroon 
> ---
>  .../{determinism.patch => perl-cross-determinism.patch}  | 0
>  meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb  | 4 ++--
>  meta/recipes-devtools/perl/perl_5.34.0.bb| 5 +
>  3 files changed, 7 insertions(+), 2 deletions(-)
>  rename meta/recipes-devtools/perl-cross/files/{determinism.patch =>
> perl-cross-determinism.patch} (100%)
>
> diff --git a/meta/recipes-devtools/perl-cross/files/determinism.patch
> b/meta/recipes-devtools/perl-cross/files/perl-cross-determinism.patch
> similarity index 100%
> rename from meta/recipes-devtools/perl-cross/files/determinism.patch
> rename to
> meta/recipes-devtools/perl-cross/files/perl-cross-determinism.patch
> diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> index 2759ef8a53..dab7f4558f 100644
> --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
> @@ -15,7 +15,7 @@ SRC_URI = "
> https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross
>
> file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
> file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
>
> file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
> -   file://determinism.patch \
> +   file://perl-cross-determinism.patch \
>
> file://0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch \
> file://0001-Makefile-check-the-file-if-patched-or-not.patch \
> "
> @@ -33,7 +33,7 @@ do_compile () {
>
>  do_install:class-native() {
>  mkdir -p ${D}/${datadir}/perl-cross/
> -cp -rf ${S}/* ${D}/${datadir}/perl-cross/
> +cp -rfL ${S}/* ${D}/${datadir}/perl-cross/
>  }
>
>  BBCLASSEXTEND = "native"
> diff --git a/meta/recipes-devtools/perl/perl_5.34.0.bb
> b/meta/recipes-devtools/perl/perl_5.34.0.bb
> index 16d45ccff3..0b74d5f072 100644
> --- a/meta/recipes-devtools/perl/perl_5.34.0.bb
> +++ b/meta/recipes-devtools/perl/perl_5.34.0.bb
> @@ -97,6 +97,9 @@ do_configure:class-native() {
>  -Dvendorprefix=${prefix} \
>  -Ui_xlocale \
>  ${PACKAGECONFIG_CONFARGS}
> +
> +# See the comment above
> +sed -i -e "s,${STAGING_DIR_NATIVE},/non/existent,g" config.h
>  }
>
>  do_configure:append() {
> @@ -395,3 +398,5 @@ SSTATE_HASHEQUIV_FILEMAP = " \
>  populate_sysroot:*/lib*/perl5/config.sh:${TMPDIR} \
>  populate_sysroot:*/lib*/perl5/config.sh:${COREBASE} \
>  "
> +
> +EXTRA_STAGING_FIXMES:append:class-native = " RPATH_PADDING"
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158931): 
https://lists.openembedded.org/g/openembedded-core/message/158931
Mute This Topic: https://lists.openembedded.org/mt/87352797/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 02/13] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-27 Thread Alexander Kanavin
I would like to get RPs blessing for the patch as it is first, there were
concerns about state signatures (oe selftest is fine though).

Alex

On Sat 27. Nov 2021 at 12.01, Konrad Weihmann  wrote:

>
>
> On 27.11.21 10:53, Alexander Kanavin wrote:
> > Signed-off-by: Alexander Kanavin 
> > ---
> >   meta/classes/insane.bbclass | 4 +++-
> >   1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
> > index 240f3aad62..8a47da5a09 100644
> > --- a/meta/classes/insane.bbclass
> > +++ b/meta/classes/insane.bbclass
> > @@ -1176,7 +1176,9 @@ python do_qa_patch() {
> >  (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url)
> >
> >  # skip patches not in oe-core
> > -   if '/meta/' not in fullpath:
>
> Last time my morning coffee didn't fully work, so let's try it again...
> What I would want to see (maybe in a followup patch) is to have the
> layers, where this check is performed, configurable (not just core), as
> I think also other people would want to make use of this very nice check.
>
> Maybe something like
>
> INSANE_PATCH_US_PATTERN ??= "BBFILE_PATTERN_core"
>
> and then
>
> match_oecore = any(re.search(re.compile(x), fullpath)) for x in
> (d.getVar('INSANE_PATCH_US_PATTERN' or '').split(" "))
>
> > +   oecore_re = re.compile(d.getVar('BBFILE_PATTERN_core'))
> > +   match_oecore = oecore_re.search(fullpath)
> > +   if not match_oecore:
> >  continue
> >
> >  content = open(fullpath, encoding='utf-8',
> errors='ignore').read()
> >
> >
> >
> > 
> >
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158864): 
https://lists.openembedded.org/g/openembedded-core/message/158864
Mute This Topic: https://lists.openembedded.org/mt/87335190/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/13] go: update 1.16.10 -> 1.17.3

2021-11-27 Thread Alexander Kanavin
This was additionally verified with meta-virtualization:
$ bitbake packagegroup-container packagegroup-kubernetes
$ bitbake container-base kvm-image-minimal xen-guest-image-minimal

Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 .../go/{go-1.16.10.inc => go-1.17.3.inc}  |  6 +-
 ...ow-CC-and-CXX-to-have-multiple-words.patch |  0
 ...ent-based-hash-generation-less-pedan.patch | 64 ---
 ...-to-be-overridden-in-the-environment.patch | 15 +++--
 ...4-ld-add-soname-to-shareable-objects.patch |  0
 ...de-CC-when-building-dist-and-go_boot.patch | 16 +++--
 ...dist-separate-host-and-target-builds.patch | 61 ++
 ...d-go-make-GOROOT-precious-by-default.patch |  0
 ...008-use-GOBUILDMODE-to-set-buildmode.patch |  0
 ...go-make-sure-CC-and-CXX-are-absolute.patch | 27 
 ..._1.16.10.bb => go-binary-native_1.17.3.bb} |  4 +-
 ...1.16.10.bb => go-cross-canadian_1.17.3.bb} |  0
 ...go-cross_1.16.10.bb => go-cross_1.17.3.bb} |  0
 ...sssdk_1.16.10.bb => go-crosssdk_1.17.3.bb} |  0
 ...-native_1.16.10.bb => go-native_1.17.3.bb} |  0
 ...untime_1.16.10.bb => go-runtime_1.17.3.bb} |  0
 .../go/{go_1.16.10.bb => go_1.17.3.bb}|  0
 18 files changed, 113 insertions(+), 82 deletions(-)
 rename meta/recipes-devtools/go/{go-1.16.10.inc => go-1.17.3.inc} (82%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0001-allow-CC-and-CXX-to-have-multiple-words.patch (100%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0002-cmd-go-make-content-based-hash-generation-less-pedan.patch (80%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch (76%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0004-ld-add-soname-to-shareable-objects.patch (100%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0005-make.bash-override-CC-when-building-dist-and-go_boot.patch (72%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0006-cmd-dist-separate-host-and-target-builds.patch (89%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0007-cmd-go-make-GOROOT-precious-by-default.patch (100%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0008-use-GOBUILDMODE-to-set-buildmode.patch (100%)
 rename meta/recipes-devtools/go/{go-1.16 => 
go-1.17}/0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch (83%)
 rename meta/recipes-devtools/go/{go-binary-native_1.16.10.bb => 
go-binary-native_1.17.3.bb} (83%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.16.10.bb => 
go-cross-canadian_1.17.3.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.16.10.bb => go-cross_1.17.3.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.16.10.bb => 
go-crosssdk_1.17.3.bb} (100%)
 rename meta/recipes-devtools/go/{go-native_1.16.10.bb => go-native_1.17.3.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-runtime_1.16.10.bb => 
go-runtime_1.17.3.bb} (100%)
 rename meta/recipes-devtools/go/{go_1.16.10.bb => go_1.17.3.bb} (100%)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index d5167ee9ad..946dec74b6 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -23,7 +23,7 @@ GDBVERSION ?= "11.%"
 GLIBCVERSION ?= "2.34"
 LINUXLIBCVERSION ?= "5.15%"
 QEMUVERSION ?= "6.1%"
-GOVERSION ?= "1.16%"
+GOVERSION ?= "1.17%"
 # This can not use wildcards like 8.0.% since it is also used in mesa to denote
 # llvm version being used, so always bump it with llvm recipe version bump
 LLVMVERSION ?= "12.0.1"
diff --git a/meta/recipes-devtools/go/go-1.16.10.inc 
b/meta/recipes-devtools/go/go-1.17.3.inc
similarity index 82%
rename from meta/recipes-devtools/go/go-1.16.10.inc
rename to meta/recipes-devtools/go/go-1.17.3.inc
index 7549ffc211..4fe091787b 100644
--- a/meta/recipes-devtools/go/go-1.16.10.inc
+++ b/meta/recipes-devtools/go/go-1.17.3.inc
@@ -1,8 +1,6 @@
 require go-common.inc
 
-GO_BASEVERSION = "1.16"
-PV = "1.16.10"
-FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
+FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-1.17:"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
 
@@ -17,7 +15,7 @@ SRC_URI += "\
 file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
 file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \
 "
-SRC_URI[main.sha256sum] = 
"a905472011585e403d00d2a41de7ced29b8884309d73482a307f689fd0f320b5"
+SRC_URI[main.sha256sum] = 
"705c64251e5b25d5d55ede1039c6aa22bea40a7a931d14c370339853643c3df0"
 
 # Upstream don't believe it is a signifiant real world issue and will only
 # fix in 1.17 onwards where we can drop this.
diff --git 
a/meta/recipes-devtools/go/go-1.16/0001-allow-

[OE-core] [PATCH 13/13] python3-rfc3339/3986-validator: correct upstream version check

2021-11-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb | 1 +
 meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb 
b/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
index 7f1bbaf97d..9bc5fed921 100644
--- a/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
+++ b/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
@@ -8,6 +8,7 @@ FILESEXTRAPATHS:prepend := 
"${THISDIR}/python-rfc3339-validator:"
 SRC_URI[sha256sum] = 
"138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b"
 
 PYPI_PACKAGE = "rfc3339_validator"
+UPSTREAM_CHECK_REGEX = "/rfc3339-validator/(?P(\d+[\.\-_]*)+)/"
 
 inherit pypi setuptools3
 
diff --git a/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb 
b/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
index 68b3db1f48..4abd181acf 100644
--- a/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
+++ b/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
@@ -9,6 +9,7 @@ SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
 SRC_URI[sha256sum] = 
"3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
 
 PYPI_PACKAGE = "rfc3986_validator"
+UPSTREAM_CHECK_REGEX = "/rfc3986-validator/(?P(\d+[\.\-_]*)+)/"
 
 inherit pypi setuptools3
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158862): 
https://lists.openembedded.org/g/openembedded-core/message/158862
Mute This Topic: https://lists.openembedded.org/mt/87335202/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/13] go-helloworld: update to latest revision

2021-11-27 Thread Alexander Kanavin
Adjust SRC_URI, github is only a mirror.

Adjust GO_IMPORT, as it does not match either github
or the official repo.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb 
b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
index 4e582edcf1..b3a8631794 100644
--- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
+++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
@@ -5,11 +5,11 @@ HOMEPAGE = "https://golang.org/;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-SRC_URI = "git://${GO_IMPORT};branch=master;protocol=https"
-SRCREV = "46695d81d1fae905a270fb7db8a4d11a334562fe"
+SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https"
+SRCREV = "787a929d5a0dfb8bbfcdd2c4a62e0fd89466113f"
 UPSTREAM_CHECK_COMMITS = "1"
 
-GO_IMPORT = "github.com/golang/example"
+GO_IMPORT = "golang.org/x/example"
 GO_INSTALL = "${GO_IMPORT}/hello"
 GO_WORKDIR = "${GO_INSTALL}"
 export GO111MODULE="off"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158859): 
https://lists.openembedded.org/g/openembedded-core/message/158859
Mute This Topic: https://lists.openembedded.org/mt/87335198/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/13] go-helloworld: test at runtime

2021-11-27 Thread Alexander Kanavin
This adds a smoke check for whether the Go toolchain actually
produces working executables across a range of architectures.

Signed-off-by: Alexander Kanavin 
---
 meta/classes/testimage.bbclass|  2 +-
 meta/lib/oeqa/runtime/cases/go.py | 19 +++
 .../packagegroup-core-tools-testapps.bb   |  7 +++
 3 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 meta/lib/oeqa/runtime/cases/go.py

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index e606de25fc..66de0e07c6 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -61,7 +61,7 @@ BASICTESTSUITE = "\
 ping date df ssh scp python perl gi ptest parselogs \
 logrotate connman systemd oe_syslog pam stap ldd xorg \
 kernelmodule gcc buildcpio buildlzip buildgalculator \
-dnf rpm opkg apt weston"
+dnf rpm opkg apt weston go"
 
 DEFAULT_TEST_SUITES = "${BASICTESTSUITE}"
 
diff --git a/meta/lib/oeqa/runtime/cases/go.py 
b/meta/lib/oeqa/runtime/cases/go.py
new file mode 100644
index 00..89ba2c3ecb
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/go.py
@@ -0,0 +1,19 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+
+class GoHelloworldTest(OERuntimeTestCase):
+@OETestDepends(['ssh.SSHTest.test_ssh'])
+@OEHasPackage(['go-helloworld'])
+def test_gohelloworld(self):
+cmd = "go-helloworld"
+status, output = self.target.run(cmd)
+msg = 'Exit status was not 0. Output: %s' % output
+self.assertEqual(status, 0, msg=msg)
+
+msg = 'Incorrect output: %s' % output
+self.assertEqual(output, "Hello, Go examples!", msg=msg)
diff --git 
a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb 
b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
index 94405fd8fe..e8f0811485 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
@@ -18,6 +18,12 @@ KEXECTOOLS:nios2 ?= ""
 KEXECTOOLS:riscv64 ?= ""
 KEXECTOOLS:riscv32 ?= ""
 
+# go does not support ppc32, only ppc64
+# https://github.com/golang/go/issues/22885
+# gccgo may do better
+GOTOOLS ?= "go-helloworld"
+GOTOOLS:powerpc ?= ""
+
 GSTEXAMPLES ?= "gst-examples"
 GSTEXAMPLES:riscv64 = ""
 
@@ -49,4 +55,5 @@ RDEPENDS:${PN} = "\
 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", 
d)} \
 ${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \
+${GOTOOLS} \
 "
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158860): 
https://lists.openembedded.org/g/openembedded-core/message/158860
Mute This Topic: https://lists.openembedded.org/mt/87335200/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/13] perl: submitted patch upstream

2021-11-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...1-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch
 
b/meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch
index 7d5c079b2d..1acf3ddfaa 100644
--- 
a/meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch
+++ 
b/meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch
@@ -4,7 +4,7 @@ Date: Mon, 4 Jun 2018 18:33:50 +0300
 Subject: [PATCH] ExtUtils-MakeMaker: add $(LDFLAGS) when linking binary
  modules
 
-Upstream-Status: Pending
+Upstream-Status: Submitted 
[https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/405]
 Signed-off-by: Alexander Kanavin 
 
 ---
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158857): 
https://lists.openembedded.org/g/openembedded-core/message/158857
Mute This Topic: https://lists.openembedded.org/mt/87335196/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/13] testimage.bbclass: request the use of kvm by default

2021-11-27 Thread Alexander Kanavin
In almost all cases there is no need to explicitly ask for it via local.conf
or similar custom config:
it is enabled in qemu_use_kvm() if target_arch == build_arch or both of them 
are x86 archs,
and QEMU_USE_KVM is set.

If that heuristic doesn't work, QEMU_USE_KVM = "" will do the disabling.

Signed-off-by: Alexander Kanavin 
---
 meta/classes/testimage.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 9980b3f626..e606de25fc 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -36,6 +36,7 @@ TESTIMAGE_AUTO ??= "0"
 # TEST_OVERALL_TIMEOUT can be used to set the maximum time in seconds the 
tests will be allowed to run (defaults to no limit).
 # TEST_QEMUPARAMS can be used to pass extra parameters to qemu, e.g. "-m 1024" 
for setting the amount of ram to 1 GB.
 # TEST_RUNQEMUPARAMS can be used to pass extra parameters to runqemu, e.g. 
"gl" to enable OpenGL acceleration.
+# QEMU_USE_KVM can be set to "" to disable the use of kvm (by default it is 
enabled if target_arch == build_arch or both of them are x86 archs)
 
 # TESTIMAGE_BOOT_PATTERNS can be used to override certain patterns used to 
communicate with the target when booting,
 # if a pattern is not specifically present on this variable a default will be 
used when booting the target.
@@ -75,6 +76,7 @@ DEFAULT_TEST_SUITES:remove:qemumips64 = "${MIPSREMOVE}"
 
 TEST_SUITES ?= "${DEFAULT_TEST_SUITES}"
 
+QEMU_USE_KVM ?= "1"
 TEST_QEMUBOOT_TIMEOUT ?= "1000"
 TEST_OVERALL_TIMEOUT ?= ""
 TEST_TARGET ?= "qemu"
-- 
2.20.1


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



[OE-core] [PATCH 05/13] libdnf: submit patches upstream

2021-11-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libdnf/libdnf/0001-Add-WITH_TESTS-option.patch  | 2 +-
 ...1-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch 
b/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
index 384add5e12..607995a394 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Add WITH_TESTS option
 
 This makes a dependency on cppunit optional.
 
-Upstream-Status: Pending
+Upstream-Status: Submitted 
[https://github.com/rpm-software-management/libdnf/pull/1382]
 Signed-off-by: Alexander Kanavin 
 
 ---
diff --git 
a/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
 
b/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
index 6dd7c71aae..2d8213cc87 100644
--- 
a/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
+++ 
b/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
@@ -3,7 +3,7 @@ From: Alexander Kanavin 
 Date: Tue, 19 Nov 2019 13:46:09 +0100
 Subject: [PATCH] Look fo sphinx only if documentation is actually enabled
 
-Upstream-Status: Pending
+Upstream-Status: Submitted 
[https://github.com/rpm-software-management/libdnf/pull/1383]
 Signed-off-by: Alexander Kanavin 
 ---
  docs/hawkey/CMakeLists.txt | 20 +++-
-- 
2.20.1


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

2021-11-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...1-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch | 2 +-
 ...1-configure_tool.sh-do-not-quote-the-argument-to-comma.patch | 2 +-
 .../0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/meta/recipes-devtools/perl-cross/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
 
b/meta/recipes-devtools/perl-cross/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
index 3b0fc453e5..386ea3f27f 100644
--- 
a/meta/recipes-devtools/perl-cross/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
+++ 
b/meta/recipes-devtools/perl-cross/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
@@ -4,7 +4,7 @@ Date: Wed, 2 Jan 2019 17:55:35 +0100
 Subject: [PATCH] configure_path.sh: do not hardcode $prefix/lib as library
  path
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/123]
 Signed-off-by: Alexander Kanavin 
 
 ---
diff --git 
a/meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch
 
b/meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch
index 0aaeaa29eb..1d90b0fda7 100644
--- 
a/meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch
+++ 
b/meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] configure_tool.sh: do not quote the argument 
to 'command'
 
 As it seems to break things if the argument has spaces and arguments in it.
 
-Upstream-Status: Pending
+Upstream-Status: Backport [443f7bd08b19e71a2e838dcb6cde176998cd350f]
 Signed-off-by: Alexander Kanavin 
 ---
  cnf/configure_tool.sh | 2 +-
diff --git 
a/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
 
b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
index e7985036a0..6c3f08c432 100644
--- 
a/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
+++ 
b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
@@ -3,7 +3,7 @@ From: Alexander Kanavin 
 Date: Tue, 27 Nov 2018 15:37:40 +0100
 Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/122]
 Signed-off-by: Alexander Kanavin 
 ---
  Makefile | 2 +-
-- 
2.20.1


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

2021-11-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...oc-fix-issues-that-arise-when-cross-compiling.patch | 10 ++
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git 
a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
 
b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
index ce90e515da..ab4d5969d9 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
@@ -3,16 +3,10 @@ From: Alexander Kanavin 
 Date: Fri, 4 Aug 2017 16:16:41 +0300
 Subject: [PATCH] gtkdoc: fix issues that arise when cross-compiling
 
-Specifically:
-1) Make it possible to specify a wrapper for executing binaries
+Make it possible to specify a wrapper for executing binaries
 (usually, some kind of target hardware emulator, such as qemu)
-2) Explicitly provide CC and LD via command line, as otherwise gtk-doc will
-try to guess them, incorrectly.
-3) If things break down, print the full command with arguments,
-not just the binary name.
-4) Correctly determine the compiler/linker executables and cross-options when 
cross-compiling
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/9627]
 Signed-off-by: Alexander Kanavin 
 
 ---
-- 
2.20.1


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

2021-11-27 Thread Alexander Kanavin
Somewhere along the way the issue was fixed upstream.

Signed-off-by: Alexander Kanavin 
---
 .../0001-Add-crc32.c-to-sources-list.patch| 50 ---
 .../libcomps/libcomps_0.1.18.bb   |  1 -
 2 files changed, 51 deletions(-)
 delete mode 100644 
meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch

diff --git 
a/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch
 
b/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch
deleted file mode 100644
index 76fce19767..00
--- 
a/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 72065bb2b5881dc224299f302379391aebdfca3d Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Wed, 21 Nov 2018 13:09:05 +0100
-Subject: [PATCH 1/2] Add crc32.c to sources list
-
-Otherwise, there is a missing symbol runtime error under musl C library.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- libcomps/src/python/src/CMakeLists.txt | 4 ++--
- libcomps/src/python/src/crc32.c| 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/libcomps/src/python/src/CMakeLists.txt 
b/libcomps/src/python/src/CMakeLists.txt
-index 89b9c91..08cd6b5 100644
 a/libcomps/src/python/src/CMakeLists.txt
-+++ b/libcomps/src/python/src/CMakeLists.txt
-@@ -9,13 +9,13 @@ set (pycomps_SRCDIR ${CMAKE_CURRENT_SOURCE_DIR})
- set (pycomps_SRC pycomps.c pycomps_sequence.c
-  pycomps_envs.c pycomps_categories.c pycomps_groups.c
-  pycomps_gids.c pycomps_utils.c pycomps_dict.c pycomps_mdict.c
-- pycomps_hash.c pycomps_exc.c pycomps_lbw.c)
-+ pycomps_hash.c pycomps_exc.c pycomps_lbw.c crc32.c)
- 
- set (pycomps_HEADERS pycomps_macros.h pycomps_sequence.h
-  pycomps_envs.h pycomps_categories.h pycomps_groups.h
-  pycomps_gids.h pycomps_utils.h pycomps_dict.h pycomps_mdict.h
-  pycomps_hash.h pycomps_exc.h pycomps_lbw.h
-- pycomps_types.h)
-+ pycomps_types.h crc32.h)
- 
- #set(TEST_FILES ../__init__.py __test.py test_merge_comps.py test_libcomps.py
- #   utest.py)
-diff --git a/libcomps/src/python/src/crc32.c b/libcomps/src/python/src/crc32.c
-index d8f5e34..f266067 100644
 a/libcomps/src/python/src/crc32.c
-+++ b/libcomps/src/python/src/crc32.c
-@@ -41,7 +41,7 @@
-  */
- 
- #include 
--#include 
-+#include 
- 
- static uint32_t crc32_tab[] = {
-   0x, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
--- 
-2.25.1
-
diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.18.bb 
b/meta/recipes-devtools/libcomps/libcomps_0.1.18.bb
index 3fd4d5b83d..ff6ecc7601 100644
--- a/meta/recipes-devtools/libcomps/libcomps_0.1.18.bb
+++ b/meta/recipes-devtools/libcomps/libcomps_0.1.18.bb
@@ -5,7 +5,6 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = 
"git://github.com/rpm-software-management/libcomps.git;branch=master;protocol=https
 \
-   file://0001-Add-crc32.c-to-sources-list.patch \
file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
"
 
-- 
2.20.1


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



[OE-core] [PATCH 03/13] ovmf: remove patch merged upstream

2021-11-27 Thread Alexander Kanavin
See here:
https://github.com/tianocore/edk2/pull/1513/files

The change was thus applied twice to the same file.

Signed-off-by: Alexander Kanavin 
---
 .../ovmf/ovmf/0004-Strip-build-paths.patch| 32 ---
 meta/recipes-core/ovmf/ovmf_git.bb|  1 -
 2 files changed, 33 deletions(-)
 delete mode 100644 meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch

diff --git a/meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch 
b/meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch
deleted file mode 100644
index dfb8a73398..00
--- a/meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From b7cfe97895e0586d14403ba98e62a0cd9373da96 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 14 Jun 2021 19:55:08 +0200
-Subject: [PATCH 4/6] Strip build paths
-
-Pass --zero to GenFw in release builds so that the sections that link back to
-the intermediate binaries (containing build paths) are removed.
-
-Upstream-Status: Pending (discussion at 
https://bugzilla.tianocore.org/show_bug.cgi?id=3256)
-Signed-off-by: Ross Burton 
-
-Signed-off-by: Alexander Kanavin 

- OvmfPkg/OvmfPkgIa32.dsc | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
-index 33fbd76790..06c6d5ce60 100644
 a/OvmfPkg/OvmfPkgIa32.dsc
-+++ b/OvmfPkg/OvmfPkgIa32.dsc
-@@ -91,6 +91,8 @@
- 
- !include NetworkPkg/NetworkBuildOptions.dsc.inc
- 
-+  RELEASE_*_*_GENFW_FLAGS = --zero
-+
- [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
-   GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
-   XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
--- 
-2.32.0
-
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb 
b/meta/recipes-core/ovmf/ovmf_git.bb
index ce3b650ddf..80b9c1447f 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -19,7 +19,6 @@ SRC_URI = 
"gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https \
file://0001-ovmf-update-path-to-native-BaseTools.patch \

file://0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \
file://0003-ovmf-Update-to-latest.patch \
-   file://0004-Strip-build-paths.patch \
file://0005-debug-prefix-map.patch \
file://0006-reproducible.patch \
file://0001-Fix-VLA-parameter-warning.patch \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158852): 
https://lists.openembedded.org/g/openembedded-core/message/158852
Mute This Topic: https://lists.openembedded.org/mt/87335191/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/13] insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed

2021-11-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/classes/insane.bbclass | 24 
 1 file changed, 24 insertions(+)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 27b1a00fb9..240f3aad62 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1167,6 +1167,30 @@ python do_qa_patch() {
 bb.warn(msg)
 msg = "Patch log indicates that patches do not apply cleanly."
 oe.qa.handle_error("patch-fuzz", msg, d)
+
+# Check if the patch contains a correctly formatted and spelled 
Upstream-Status
+import re
+from oe import patch
+
+for url in patch.src_patches(d):
+   (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url)
+
+   # skip patches not in oe-core
+   if '/meta/' not in fullpath:
+   continue
+
+   content = open(fullpath, encoding='utf-8', errors='ignore').read()
+   kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | 
re.MULTILINE)
+   strict_status_re = re.compile(r"^Upstream-Status: 
(Pending|Submitted|Denied|Accepted|Inappropriate|Backport)( .+)?$", 
re.MULTILINE)
+   match_kinda = kinda_status_re.search(content)
+   match_strict = strict_status_re.search(content)
+   guidelines = 
"https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status;
+
+   if not match_strict:
+   if match_kinda:
+   bb.error("Malformed Upstream-Status in patch\n%s\nPlease 
correct according to %s :\n%s" % (fullpath, guidelines, match_kinda.group(0)))
+   else:
+   bb.error("Missing Upstream-Status in patch\n%s\nPlease add 
according to %s ." % (fullpath, guidelines))
 }
 
 python do_qa_configure() {
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158850): 
https://lists.openembedded.org/g/openembedded-core/message/158850
Mute This Topic: https://lists.openembedded.org/mt/87335189/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/13] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/classes/insane.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 240f3aad62..8a47da5a09 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1176,7 +1176,9 @@ python do_qa_patch() {
(_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url)
 
# skip patches not in oe-core
-   if '/meta/' not in fullpath:
+   oecore_re = re.compile(d.getVar('BBFILE_PATTERN_core'))
+   match_oecore = oecore_re.search(fullpath)
+   if not match_oecore:
continue
 
content = open(fullpath, encoding='utf-8', errors='ignore').read()
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158851): 
https://lists.openembedded.org/g/openembedded-core/message/158851
Mute This Topic: https://lists.openembedded.org/mt/87335190/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] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 18:11, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

>
> > and shouldn't the tarball be fixed instead?
>
> How should we fix a tarball from npmjs.com?
>

By submitting a bug report or (better) a patch to the maintainers of the
tarball?

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158728): 
https://lists.openembedded.org/g/openembedded-core/message/158728
Mute This Topic: https://lists.openembedded.org/mt/87282285/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] [RFC PATCH 14/15] node-red: Add version 2.1.3

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 17:53, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> I will add tests after we agree on the fetcher and the structure of the
> npm classes. At the moment there are too much possible solution and too
> little feedback.
>

I think it's better to start by thinking how you want to test end-to-end
what you're implementing, and write the tests together with the initial
submission, as they also serve as examples of typical use cases. This also
allows reviewers to experiment with the code and not just passively read
it, as it's otherwise not entirely clear how to actually try it out.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158727): 
https://lists.openembedded.org/g/openembedded-core/message/158727
Mute This Topic: https://lists.openembedded.org/mt/87282289/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] [RFC PATCH 12/15] recipetool: npm: Add dependencies to SRC_URI and auto select classes

2021-11-24 Thread Alexander Kanavin
A description of the changes and how the new code works is missing. How is
the SRC_URI formed? How is the appropriate class selected?

Alex

On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
>
> ---
>
>  scripts/lib/recipetool/create_npm.py | 243 ---
>  1 file changed, 222 insertions(+), 21 deletions(-)
>
> diff --git a/scripts/lib/recipetool/create_npm.py
> b/scripts/lib/recipetool/create_npm.py
> index 3394a89970..296b84340e 100644
> --- a/scripts/lib/recipetool/create_npm.py
> +++ b/scripts/lib/recipetool/create_npm.py
> @@ -39,6 +39,14 @@ class NpmRecipeHandler(RecipeHandler):
>  name = name.strip("-")
>  return name
>
> +@staticmethod
> +def _node_recipe_name(name):
> +"""Generate a OE friendly Node.js recipe name"""
> +name = NpmRecipeHandler._npm_name(name)
> +if not name.startswith("node-"):
> +name = "node-" + name
> +return name
> +
>  @staticmethod
>  def _get_registry(lines):
>  """Get the registry value from the 'npm://registry' url"""
> @@ -54,6 +62,24 @@ class NpmRecipeHandler(RecipeHandler):
>
>  return registry
>
> +@staticmethod
> +def _get_srcdir(lines):
> +"""Get the source directory value from the url"""
> +srcdir = ""
> +
> +def _handle_srcdir(varname, origvalue, op, newlines):
> +nonlocal srcdir
> +if origvalue.startswith("${WORKDIR}"):
> +srcdir = origvalue[11:]
> +else:
> +srcdir = "${BP}"
> +
> +return origvalue, None, 0, True
> +
> +bb.utils.edit_metadata(lines, ["S"], _handle_srcdir)
> +
> +return srcdir
> +
>  @staticmethod
>  def _ensure_npm():
>  """Check if the 'npm' command is available in the recipes"""
> @@ -116,6 +142,118 @@ class NpmRecipeHandler(RecipeHandler):
>
>  return os.path.join(srctree, "npm-shrinkwrap.json")
>
> +def _process_shrinkwrap(self, srctree, shrinkwrap, srcdir):
> +"""
> +Extract package urls from shrinkwrap dependencies
> +"""
> +
> +urls = []
> +
> +def _populate_modules(name, params, deptree):
> +from bb.fetch2 import URI
> +from bb.fetch2.npm import npm_integrity
> +from bb.fetch2.npm import npm_localfile
> +
> +destsubdirs = [os.path.join("node_modules", dep) for dep in
> deptree]
> +destsuffix = os.path.join(srcdir, *destsubdirs)
> +
> +dev = params.get("dev", False)
> +integrity = params.get("integrity")
> +resolved = params.get("resolved")
> +version = params.get("version")
> +requires = params.get("requires", {})
> +
> +# Handle registry sources
> +if bb.utils.is_semver(version) and integrity:
> +# Skip dependencies without url
> +if not resolved:
> +return
> +
> +pkgv = version
> +
> +uri = URI(resolved)
> +uri.params["downloadfilename"] = npm_localfile(name,
> version)
> +
> +checksum_name, checksum_expected =
> npm_integrity(integrity)
> +uri.params[checksum_name] = checksum_expected
> +
> +uri.params["subdir"] = destsuffix
> +uri.params["striplevel"] = "1"
> +
> +url = str(uri)
> +
> +# Handle http tarball sources
> +elif version.startswith("http") and integrity:
> +checksum_name, checksum_expected =
> npm_integrity(integrity)
> +
> +pkgv = checksum_expected[:13]
> +
> +uri = URI(version)
> +uri.params["downloadfilename"] = npm_localfile(name, pkgv)
> +
> +uri.params[checksum_name] = checksum_expected
> +
> +uri.params["destsuffix"] = destsuffix
> +uri.params["striplevel"] = "1"
> +
> +url = str(uri)
> +
> +# Handle git sources
> +elif version.startswith("git"):
> +if version.startswith("github:"):
> +version = "git+https://github.com/; +
> version[len("github:"):]
> +regex = re.compile(r"""
> +^
> +git\+
> +(?P[a-z]+)
> +://
> +(?P[^#]+)
> +\#
> +(?P[0-9a-f]+)
> +$
> +""", re.VERBOSE)
> +
> +match = regex.match(version)
> +
> +if not match:
> +raise Exception("Invalid git url: %s - %s" %
> (version, url))
> +
> +groups = match.groupdict()
> +
> +pkgv = 

Re: [OE-core] [RFC PATCH 06/15] npm: Rework to use plain npm commands and avoid npm cache

2021-11-24 Thread Alexander Kanavin
I think a longer commit message would be beneficial here as well, and in
7/8/9/10/11 patches. What has changed? How does the new class work and what
does it do at each step? What problems does it solve compared to the old
implementation? Please keep in mind that getting code to work is only half
the job, the other half is explaining it to other human beings.

Alex

On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Rework the npm class to use plain npm commands and remove the usage of
> the npm cache to speed-up builds.
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
> ---
>
>  meta/classes/npm.bbclass| 340 +++-
>  scripts/lib/devtool/standard.py |   6 +-
>  2 files changed, 119 insertions(+), 227 deletions(-)
>
> diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass
> index ba50fcac20..cb22dc6998 100644
> --- a/meta/classes/npm.bbclass
> +++ b/meta/classes/npm.bbclass
> @@ -1,7 +1,12 @@
>  # Copyright (C) 2020 Savoir-Faire Linux
>  #
> +# Copyright (C) 2021 Weidmüller Interface GmbH & Co. KG
> +# Author: Stefan Herbrechtsmeier 
> +#
>  # SPDX-License-Identifier: GPL-2.0-only
>  #
> +# A bbclass to install an npm package and build its dependencies.
> +#
>  # This bbclass builds and installs an npm package to the target. The
> package
>  # sources files should be fetched in the calling recipe by using the
> SRC_URI
>  # variable. The ${S} variable should be updated depending of your fetcher.
> @@ -16,18 +21,29 @@
>  #
>  #  NPM_INSTALL_DEV:
>  #   Set to 1 to also install devDependencies.
> +#
> +#  NPM_BUILD_PRUNE_FOR_PRODUCTION
> +#   Set to 0 to keep installed devDependencies.
>
>  inherit python3native
>
>  DEPENDS:prepend = "nodejs-native "
> -RDEPENDS:${PN}:append:class-target = " nodejs"
> +NPM_RDEPENDS = "nodejs"
> +RDEPENDS:${PN}:append:class-target = " ${NPM_RDEPENDS}"
>
> -EXTRA_OENPM = ""
> +EXTRA_OENPM ?= ""
> +EXTRA_OENPM_BUILD ?= ""
>
>  NPM_INSTALL_DEV ?= "0"
>
>  NPM_NODEDIR ?= "${RECIPE_SYSROOT_NATIVE}${prefix_native}"
>
> +def npm_flag_dev(value):
> +if bb.utils.to_boolean(value, False):
> +return "--also=development"
> +else:
> +return "--only=production"
> +
>  def npm_target_arch_map(target_arch):
>  """Maps arch names to npm arch names"""
>  import re
> @@ -43,247 +59,124 @@ def npm_target_arch_map(target_arch):
>
>  NPM_ARCH ?= "${@npm_target_arch_map(d.getVar("TARGET_ARCH"))}"
>
> -NPM_PACKAGE = "${WORKDIR}/npm-package"
>  NPM_CACHE = "${WORKDIR}/npm-cache"
> -NPM_BUILD = "${WORKDIR}/npm-build"
> -
> -def npm_global_configs(d):
> -"""Get the npm global configuration"""
> -configs = []
> -# Ensure no network access is done
> -configs.append(("offline", "true"))
> -configs.append(("proxy", "http://invalid;))
> -# Configure the cache directory
> -configs.append(("cache", d.getVar("NPM_CACHE")))
> -return configs
> -
> -def npm_pack(env, srcdir, workdir):
> -"""Run 'npm pack' on a specified directory"""
> -import shlex
> -cmd = "npm pack %s" % shlex.quote(srcdir)
> -args = [("ignore-scripts", "true")]
> -tarball = env.run(cmd, args=args, workdir=workdir).strip("\n")
> -return os.path.join(workdir, tarball)
> -
> -python npm_do_configure() {
> -"""
> -Step one: configure the npm cache and the main npm package
> -
> -Every dependencies have been fetched and patched in the source
> directory.
> -They have to be packed (this remove unneeded files) and added to the
> npm
> -cache to be available for the next step.
> -
> -The main package and its associated manifest file and shrinkwrap file
> have
> -to be configured to take into account these cached dependencies.
> -"""
> -import base64
> -import copy
> -import json
> -import re
> -import shlex
> -import tempfile
> -from bb.fetch2.npm import NpmEnvironment
> -from bb.fetch2.npm import npm_unpack
> -from bb.fetch2.npmsw import foreach_dependencies
> -from bb.progress import OutOfProgressHandler
> -
> -bb.utils.remove(d.getVar("NPM_CACHE"), recurse=True)
> -bb.utils.remove(d.getVar("NPM_PACKAGE"), recurse=True)
> -
> -env = NpmEnvironment(d, configs=npm_global_configs(d))
> -
> -def _npm_cache_add(tarball):
> -"""Run 'npm cache add' for a specified tarball"""
> -cmd = "npm cache add %s" % shlex.quote(tarball)
> -env.run(cmd)
> -
> -def _npm_integrity(tarball):
> -"""Return the npm integrity of a specified tarball"""
> -sha512 = bb.utils.sha512_file(tarball)
> -return "sha512-" +
> base64.b64encode(bytes.fromhex(sha512)).decode()
> -
> -def _npm_version(tarball):
> -"""Return the version of a specified tarball"""
> -regex = r"-(\d+\.\d+\.\d+(-.*)?(\+.*)?)\.tgz"
> -return re.search(regex, tarball).group(1)
> -
> 

Re: [OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Alexander Kanavin
Is it the missing x bit on directories? If you've encountered this, then
where did it happen, and shouldn't the tarball be fixed instead?

Alex

On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
> ---
>
>  bitbake/lib/bb/fetch2/__init__.py | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/bitbake/lib/bb/fetch2/__init__.py
> b/bitbake/lib/bb/fetch2/__init__.py
> index 05b2d2e924..8ad4e3a5ec 100644
> --- a/bitbake/lib/bb/fetch2/__init__.py
> +++ b/bitbake/lib/bb/fetch2/__init__.py
> @@ -1554,6 +1554,7 @@ class FetchMethod(object):
>  path = data.getVar('PATH')
>  if path:
>  cmd = "PATH=\"%s\" %s" % (path, cmd)
> +cmd += " && chmod -R +X %s" % (unpackdir)
>  bb.note("Unpacking %s to %s/" % (file, unpackdir))
>  ret = subprocess.call(cmd, preexec_fn=subprocess_setup,
> shell=True, cwd=unpackdir)
>
> --
> 2.20.1
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158718): 
https://lists.openembedded.org/g/openembedded-core/message/158718
Mute This Topic: https://lists.openembedded.org/mt/87282285/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] [RFC PATCH 04/15] bitbake: fetch2: Add striplevel support to unpack

2021-11-24 Thread Alexander Kanavin
Please extend the explanation a bit: how would a typical SRC_URI look that
uses the feature, what is the typical tarball structure and how it maps to
the unpacked tree.

Alex

On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Add striplevel support to unpack tar archives into specified sub
> directories. The node package manager (npm) need this feature to unpack
> packages into its node_modules directory.
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
> ---
>
>  bitbake/lib/bb/fetch2/__init__.py | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/bitbake/lib/bb/fetch2/__init__.py
> b/bitbake/lib/bb/fetch2/__init__.py
> index ded3106173..05b2d2e924 100644
> --- a/bitbake/lib/bb/fetch2/__init__.py
> +++ b/bitbake/lib/bb/fetch2/__init__.py
> @@ -1462,6 +1462,9 @@ class FetchMethod(object):
>  cmd = 'tar x --no-same-owner -f %s' % file
>  elif file.endswith('.tgz') or file.endswith('.tar.gz') or
> file.endswith('.tar.Z'):
>  cmd = 'tar xz --no-same-owner -f %s' % file
> +striplevel = urldata.parm.get('striplevel')
> +if striplevel:
> +cmd += ' --strip-components=%s' % striplevel
>  elif file.endswith('.tbz') or file.endswith('.tbz2') or
> file.endswith('.tar.bz2'):
>  cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
>  elif file.endswith('.gz') or file.endswith('.Z') or
> file.endswith('.z'):
> --
> 2.20.1
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158717): 
https://lists.openembedded.org/g/openembedded-core/message/158717
Mute This Topic: https://lists.openembedded.org/mt/87282281/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] [RFC PATCH 03/15] externalsrc: Remove subsequent slash from B

2021-11-24 Thread Alexander Kanavin
Please explain what problem occurs if this change is not applied (again, in
the commit message, not in the response to me).

Alex

On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
> ---
>
>  meta/classes/externalsrc.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/externalsrc.bbclass
> b/meta/classes/externalsrc.bbclass
> index abfe24bace..959f2d7bc3 100644
> --- a/meta/classes/externalsrc.bbclass
> +++ b/meta/classes/externalsrc.bbclass
> @@ -60,7 +60,7 @@ python () {
>  if externalsrcbuild:
>  d.setVar('B', externalsrcbuild)
>  else:
> -d.setVar('B', '${WORKDIR}/${BPN}-${PV}/')
> +d.setVar('B', '${WORKDIR}/${BPN}-${PV}')
>
>  local_srcuri = []
>  fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d)
> --
> 2.20.1
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158716): 
https://lists.openembedded.org/g/openembedded-core/message/158716
Mute This Topic: https://lists.openembedded.org/mt/87282278/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] [RFC PATCH 02/15] recipetool: Skip hbs extension in guess license

2021-11-24 Thread Alexander Kanavin
Please explain what .hbs is and why it needs to be skipped.

Alex

On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
> ---
>
>  scripts/lib/recipetool/create.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/lib/recipetool/create.py
> b/scripts/lib/recipetool/create.py
> index b6c4564761..d41653e7ce 100644
> --- a/scripts/lib/recipetool/create.py
> +++ b/scripts/lib/recipetool/create.py
> @@ -1191,7 +1191,7 @@ def guess_license(srctree, d):
>
>  licenses = []
>  licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*',
> '[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*',
> 'e[dp]l-v10']
> -skip_extensions = (".html", ".js", ".json", ".svg", ".ts")
> +skip_extensions = (".hbs", ".html", ".js", ".json", ".svg", ".ts")
>  licfiles = []
>  for root, dirs, files in os.walk(srctree):
>  for fn in files:
> --
> 2.20.1
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158715): 
https://lists.openembedded.org/g/openembedded-core/message/158715
Mute This Topic: https://lists.openembedded.org/mt/87282276/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] [RFC PATCH 01/15] openssh: Extend to provide native recipe

2021-11-24 Thread Alexander Kanavin
The use case for native openssh needs to be provided in the commit message.
Just say that 'this is needed so that X can work properly'.

Alex

On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
> ---
>
>  meta/recipes-connectivity/openssh/openssh_8.8p1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-connectivity/openssh/openssh_8.8p1.bb
> b/meta/recipes-connectivity/openssh/openssh_8.8p1.bb
> index ee86bb92ab..33fdf1e8ab 100644
> --- a/meta/recipes-connectivity/openssh/openssh_8.8p1.bb
> +++ b/meta/recipes-connectivity/openssh/openssh_8.8p1.bb
> @@ -182,4 +182,4 @@ ALTERNATIVE_PRIORITY = "90"
>  ALTERNATIVE:${PN}-scp = "scp"
>  ALTERNATIVE:${PN}-ssh = "ssh"
>
> -BBCLASSEXTEND += "nativesdk"
> +BBCLASSEXTEND += "native nativesdk"
> --
> 2.20.1
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158713): 
https://lists.openembedded.org/g/openembedded-core/message/158713
Mute This Topic: https://lists.openembedded.org/mt/87282274/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] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 10:40, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> > # skip patches not in oe-core
> > -   if '/meta/' not in fullpath:
> > +   oecore_re = re.compile(d.getVar('BBFILE_PATTERN_core'))
> > +   match_oecore = oecore_re.search(fullpath)
> > +   if not match_oecore:
> > continue
> >
>
> Does this pass the sstate tests? I have a feeling it may encode a path
> into the
> sstate checksums :/
>

I just ran 'oe-selftest -r sstatetests' with this and they all passed.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158688): 
https://lists.openembedded.org/g/openembedded-core/message/158688
Mute This Topic: https://lists.openembedded.org/mt/87277978/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] meson: drop redundant patch

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 11:20, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> > Sure, and they pass --libdir.  I did a build of Sato and nothing
> > moved, so I'm struggling to find the actual problem here.
>
> Did we start setting libdir for native builds after that change merged?
>
> I've spent half the last week chasing phantom issues so I'm just not
> feeling
> keen on doing it with yet another issue but I guess we can queue this and
> wait
> for something to break...
>

The actual problem was something entirely different and nothing to do with
libdirs that was added in 0.59.2 and removed in 0.60.x:
https://github.com/mesonbuild/meson/commit/142b741384347dd31ee2008726b3b3d237e2588f

Once again, given that the offending is_debianlike() function is still in
place and upstream may add more (broken) uses of it, I do not want this
patch removed.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158686): 
https://lists.openembedded.org/g/openembedded-core/message/158686
Mute This Topic: https://lists.openembedded.org/mt/87266402/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] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/classes/insane.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 240f3aad62..8a47da5a09 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1176,7 +1176,9 @@ python do_qa_patch() {
(_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url)
 
# skip patches not in oe-core
-   if '/meta/' not in fullpath:
+   oecore_re = re.compile(d.getVar('BBFILE_PATTERN_core'))
+   match_oecore = oecore_re.search(fullpath)
+   if not match_oecore:
continue
 
content = open(fullpath, encoding='utf-8', errors='ignore').read()
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158682): 
https://lists.openembedded.org/g/openembedded-core/message/158682
Mute This Topic: https://lists.openembedded.org/mt/87277978/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/21] insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 09:19, Konrad Weihmann  wrote:

> > +   # skip patches not in oe-core
> > +   if '/meta/' not in fullpath:
> > +   continue
>
> Can we have that configurable please?
> This is somehow a hardcoded assumption I don't really like.
> Maybe it's worth a shot to match it against BBFILE_PATTERN_core...
>

Sure, I can adjust this.


> > +   if not match_strict:
> > +   if match_kinda:
> > +   bb.error("Malformed Upstream-Status in patch\n%s\nPlease
> correct according to %s :\n%s" % (fullpath, guidelines,
> match_kinda.group(0)))
> > +   else:
> > +   bb.error("Missing Upstream-Status in patch\n%s\nPlease
> add according to %s ." % (fullpath, guidelines))
>
> Why is there such a fuzzy (kinda) pattern? - IMO the strict pattern
> should be enough, stating Malformed or missing - both cases are equally
> wrong, aren't they?
>

It's to give a more precise diagnostic. If the line is present but
malformed, it helps to say that and print it; if it's missing, there is
nothing to print.

Alex

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



[OE-core] [PATCH 20/21] python3-packaging: update 21.2 -> 21.3

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...dbf19e2b76ab025efc11208bd50e09e8223e.patch | 37 ---
 ...ging_21.2.bb => python3-packaging_21.3.bb} |  4 +-
 2 files changed, 1 insertion(+), 40 deletions(-)
 delete mode 100644 
meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
 rename meta/recipes-devtools/python/{python3-packaging_21.2.bb => 
python3-packaging_21.3.bb} (69%)

diff --git 
a/meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
 
b/meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
deleted file mode 100644
index 42b1dc133f..00
--- 
a/meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-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.2.bb 
b/meta/recipes-devtools/python/python3-packaging_21.3.bb
similarity index 69%
rename from meta/recipes-devtools/python/python3-packaging_21.2.bb
rename to meta/recipes-devtools/python/python3-packaging_21.3.bb
index 5e9541082f..446edf04e1 100644
--- a/meta/recipes-devtools/python/python3-packaging_21.2.bb
+++ b/meta/recipes-devtools/python/python3-packaging_21.3.bb
@@ -3,9 +3,7 @@ HOMEPAGE = "https://github.com/pypa/packaging;
 LICENSE = "Apache-2.0 | BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
 
-SRC_URI[sha256sum] = 
"096d689d78ca690e4cd8a89568ba06d07ca097e3306a4381635073ca91479966"
-
-SRC_URI += "file://8cb9dbf19e2b76ab025efc11208bd50e09e8223e.patch"
+SRC_URI[sha256sum] = 
"dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"
 
 inherit pypi setuptools3
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158676): 
https://lists.openembedded.org/g/openembedded-core/message/158676
Mute This Topic: https://lists.openembedded.org/mt/87277253/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/21] python3-setuptools: update 58.5.3 -> 59.2.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...tionally-do-not-fetch-code-by-easy_install.patch |  4 ++--
 ...-sysconfig-append-STAGING_LIBDIR-python-sy.patch | 13 +++--
 ...tools_58.5.3.bb => python3-setuptools_59.2.0.bb} |  2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_58.5.3.bb => 
python3-setuptools_59.2.0.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 c5d6c64eda..4958e8e63d 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 dd77d2f4486079380235ed0466d2eab110f7bdc5 Mon Sep 17 00:00:00 2001
+From 1f578f993aae157f42923624042fafe4b01add10 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
@@ -15,7 +15,7 @@ Signed-off-by: Hongxu Jia 
  1 file changed, 5 insertions(+)
 
 diff --git a/setuptools/command/easy_install.py 
b/setuptools/command/easy_install.py
-index 1aed0e8..f491c0a 100644
+index fc848d0..c04a5de 100644
 --- a/setuptools/command/easy_install.py
 +++ b/setuptools/command/easy_install.py
 @@ -642,6 +642,11 @@ class easy_install(Command):
diff --git 
a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch
 
b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch
index 565cf8ae8d..3150187951 100644
--- 
a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch
+++ 
b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch
@@ -1,4 +1,4 @@
-From 44349672cbff8945693c8d2821c82e9f04bfc8b5 Mon Sep 17 00:00:00 2001
+From 1ff575308248b183639c8cb14afee7c8572bd2b8 Mon Sep 17 00:00:00 2001
 From: Tim Orling 
 Date: Wed, 20 Oct 2021 17:38:10 +
 Subject: [PATCH] _distutils/sysconfig: append
@@ -15,18 +15,19 @@ from Alex Kanavin 
 Upstream-Status: Inappropriate [oe-specific]
 
 Signed-off-by: Tim Orling 
+
 ---
  setuptools/_distutils/sysconfig.py | 2 ++
  1 file changed, 2 insertions(+)
 
 diff --git a/setuptools/_distutils/sysconfig.py 
b/setuptools/_distutils/sysconfig.py
-index 8832b3e..bbc7c08 100644
+index d36d94f..616eb91 100644
 --- a/setuptools/_distutils/sysconfig.py
 +++ b/setuptools/_distutils/sysconfig.py
-@@ -461,6 +461,8 @@ def _init_posix():
- platform=sys.platform,
- multiarch=getattr(sys.implementation, '_multiarch', ''),
- ))
+@@ -484,6 +484,8 @@ def _init_posix():
+ multiarch=getattr(sys.implementation, '_multiarch', ''),
+ ),
+ )
 +if 'STAGING_LIBDIR' in os.environ:
 +sys.path.append(os.environ['STAGING_LIBDIR']+'/python-sysconfigdata')
  try:
diff --git a/meta/recipes-devtools/python/python3-setuptools_58.5.3.bb 
b/meta/recipes-devtools/python/python3-setuptools_59.2.0.bb
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_58.5.3.bb
rename to meta/recipes-devtools/python/python3-setuptools_59.2.0.bb
index ddc3fca354..704f58abd3 100644
--- a/meta/recipes-devtools/python/python3-setuptools_58.5.3.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_59.2.0.bb
@@ -13,7 +13,7 @@ SRC_URI += "\
 file://0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch \
 "
 
-SRC_URI[sha256sum] = 
"dae6b934a965c8a59d6d230d3867ec408bb95e73bd538ff77e71fedf1eaca729"
+SRC_URI[sha256sum] = 
"157d21de9d055ab9e8ea3186d91e7f4f865e11f42deafa952d90842671fc2576"
 
 DEPENDS += "${PYTHON_PN}"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158677): 
https://lists.openembedded.org/g/openembedded-core/message/158677
Mute This Topic: https://lists.openembedded.org/mt/87277254/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/21] bind: update 9.16.22 -> 9.16.23

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...d-V-and-start-log-hide-build-options.patch | 35 --
 ...1-avoid-start-failure-with-bind-user.patch |  0
 ...d-V-and-start-log-hide-build-options.patch | 37 +++
 ...ching-for-json-headers-searches-sysr.patch |  0
 .../bind/{bind-9.16.22 => bind-9.16.23}/bind9 |  0
 .../{bind-9.16.22 => bind-9.16.23}/conf.patch |  0
 .../generate-rndc-key.sh  |  0
 ...t.d-add-support-for-read-only-rootfs.patch |  0
 .../make-etc-initd-bind-stop-work.patch   |  0
 .../named.service |  0
 .../bind/{bind_9.16.22.bb => bind_9.16.23.bb} |  2 +-
 11 files changed, 38 insertions(+), 36 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/bind/bind-9.16.22/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => 
bind-9.16.23}/0001-avoid-start-failure-with-bind-user.patch (100%)
 create mode 100644 
meta/recipes-connectivity/bind/bind-9.16.23/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => 
bind-9.16.23}/bind-ensure-searching-for-json-headers-searches-sysr.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => bind-9.16.23}/bind9 
(100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => 
bind-9.16.23}/conf.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => 
bind-9.16.23}/generate-rndc-key.sh (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => 
bind-9.16.23}/init.d-add-support-for-read-only-rootfs.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => 
bind-9.16.23}/make-etc-initd-bind-stop-work.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.22 => 
bind-9.16.23}/named.service (100%)
 rename meta/recipes-connectivity/bind/{bind_9.16.22.bb => bind_9.16.23.bb} 
(98%)

diff --git 
a/meta/recipes-connectivity/bind/bind-9.16.22/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 
b/meta/recipes-connectivity/bind/bind-9.16.22/0001-named-lwresd-V-and-start-log-hide-build-options.patch
deleted file mode 100644
index 5bcc16c9b2..00
--- 
a/meta/recipes-connectivity/bind/bind-9.16.22/0001-named-lwresd-V-and-start-log-hide-build-options.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From a3af4a405baf5ff582e82aaba392dd9667d94bdc Mon Sep 17 00:00:00 2001
-From: Hongxu Jia 
-Date: Mon, 27 Aug 2018 21:24:20 +0800
-Subject: [PATCH] `named/lwresd -V' and start log hide build options
-
-The build options expose build path directories, so hide them.
-[snip]
-$ named -V
-|built by make with *** (options are hidden)
-[snip]
-
-Upstream-Status: Inappropriate [oe-core specific]
-
-Signed-off-by: Hongxu Jia 
-
-Refreshed for 9.16.0
-Signed-off-by: Armin Kuster 
-

- bin/named/include/named/globals.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: bind-9.16.0/bin/named/include/named/globals.h
-===
 bind-9.16.0.orig/bin/named/include/named/globals.h
-+++ bind-9.16.0/bin/named/include/named/globals.h
-@@ -69,7 +69,7 @@ EXTERN const char *named_g_version I
- EXTERN const char *named_g_product INIT(PRODUCT);
- EXTERN const char *named_g_description INIT(DESCRIPTION);
- EXTERN const char *named_g_srcid   INIT(SRCID);
--EXTERN const char *named_g_configargs  INIT(CONFIGARGS);
-+EXTERN const char *named_g_configargs  INIT("*** (options are hidden)");
- EXTERN const char *named_g_builder INIT(BUILDER);
- EXTERN in_port_t named_g_portINIT(0);
- EXTERN isc_dscp_t named_g_dscp   INIT(-1);
diff --git 
a/meta/recipes-connectivity/bind/bind-9.16.22/0001-avoid-start-failure-with-bind-user.patch
 
b/meta/recipes-connectivity/bind/bind-9.16.23/0001-avoid-start-failure-with-bind-user.patch
similarity index 100%
rename from 
meta/recipes-connectivity/bind/bind-9.16.22/0001-avoid-start-failure-with-bind-user.patch
rename to 
meta/recipes-connectivity/bind/bind-9.16.23/0001-avoid-start-failure-with-bind-user.patch
diff --git 
a/meta/recipes-connectivity/bind/bind-9.16.23/0001-named-lwresd-V-and-start-log-hide-build-options.patch
 
b/meta/recipes-connectivity/bind/bind-9.16.23/0001-named-lwresd-V-and-start-log-hide-build-options.patch
new file mode 100644
index 00..4dc6a5a2ae
--- /dev/null
+++ 
b/meta/recipes-connectivity/bind/bind-9.16.23/0001-named-lwresd-V-and-start-log-hide-build-options.patch
@@ -0,0 +1,37 @@
+From f5761bbaf743d291f3e7e859e69ebe61a1718cbf Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Mon, 27 Aug 2018 21:24:20 +0800
+Subject: [PATCH] `named/lwresd -V' and start log hide build options
+
+The build options expose build path directories, so hide them.
+[snip]
+$ named -V
+|built by make with *** (options are hidden)
+[snip]
+
+Upstream-Status: Inappropriate [oe-core specific]
+
+Signed-off-by: Hongxu Jia 
+
+Refreshed for 9.16.0
+Signed-off-by

[OE-core] [PATCH 17/21] systemd: update 249.6 -> 249.7

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{systemd-boot_249.6.bb => systemd-boot_249.7.bb}  | 0
 meta/recipes-core/systemd/systemd.inc | 2 +-
 .../systemd/0002-don-t-use-glibc-specific-qsort_r.patch   | 2 +-
 ...ing_type.h-add-__compare_fn_t-and-comparison_fn_.patch | 2 +-
 ...-add-fallback-parse_printf_format-implementation.patch | 2 +-
 ...5-src-basic-missing.h-check-for-missing-strndupa.patch | 8 
 .../systemd/systemd/0006-Include-netinet-if_ether.h.patch | 2 +-
 ...t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch | 2 +-
 .../systemd/0008-add-missing-FTW_-macros-for-musl.patch   | 2 +-
 ...missing-of-__register_atfork-for-non-glibc-build.patch | 2 +-
 .../systemd/0010-Use-uintmax_t-for-handling-rlim_t.patch  | 2 +-
 ...-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch | 2 +-
 ...don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch | 2 +-
 ...ne-glibc-compatible-basename-for-non-glibc-syste.patch | 2 +-
 ...ot-disable-buffering-when-writing-to-oom_score_a.patch | 2 +-
 ...inguish-XSI-compliant-strerror_r-from-GNU-specif.patch | 2 +-
 ...e-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch | 2 +-
 ...17-missing_type.h-add-__compar_d_fn_t-definition.patch | 2 +-
 ...018-avoid-redefinition-of-prctl_mm_map-structure.patch | 2 +-
 .../systemd/systemd/0019-Handle-missing-LOCK_EX.patch | 2 +-
 ...Fix-incompatible-pointer-type-struct-sockaddr_un.patch | 2 +-
 .../systemd/systemd/0021-test-json.c-define-M_PIl.patch   | 2 +-
 .../0022-do-not-disable-buffer-in-writing-files.patch | 4 ++--
 .../systemd/systemd/0025-Handle-__cpu_mask-usage.patch| 2 +-
 .../systemd/systemd/0026-Handle-missing-gshadow.patch | 2 +-
 ...ssing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch | 2 +-
 .../systemd/{systemd_249.6.bb => systemd_249.7.bb}| 0
 27 files changed, 29 insertions(+), 29 deletions(-)
 rename meta/recipes-core/systemd/{systemd-boot_249.6.bb => 
systemd-boot_249.7.bb} (100%)
 rename meta/recipes-core/systemd/{systemd_249.6.bb => systemd_249.7.bb} (100%)

diff --git a/meta/recipes-core/systemd/systemd-boot_249.6.bb 
b/meta/recipes-core/systemd/systemd-boot_249.7.bb
similarity index 100%
rename from meta/recipes-core/systemd/systemd-boot_249.6.bb
rename to meta/recipes-core/systemd/systemd-boot_249.7.bb
diff --git a/meta/recipes-core/systemd/systemd.inc 
b/meta/recipes-core/systemd/systemd.inc
index f3ce32efc2..b77f847abd 100644
--- a/meta/recipes-core/systemd/systemd.inc
+++ b/meta/recipes-core/systemd/systemd.inc
@@ -14,7 +14,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 
file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
 
-SRCREV = "deda69dad784f9c4367533555ff4d7bf6308c0ff"
+SRCREV = "d4406e94a32d423d8a73deb7757fb09890afe2c4"
 SRCBRANCH = "v249-stable"
 SRC_URI = 
"git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} 
\
 "
diff --git 
a/meta/recipes-core/systemd/systemd/0002-don-t-use-glibc-specific-qsort_r.patch 
b/meta/recipes-core/systemd/systemd/0002-don-t-use-glibc-specific-qsort_r.patch
index 47ac24ab04..d03a1d9e76 100644
--- 
a/meta/recipes-core/systemd/systemd/0002-don-t-use-glibc-specific-qsort_r.patch
+++ 
b/meta/recipes-core/systemd/systemd/0002-don-t-use-glibc-specific-qsort_r.patch
@@ -1,4 +1,4 @@
-From 10e00305eef277310e9cbb219080b53ea6ea9c6f Mon Sep 17 00:00:00 2001
+From 5d730902f47498a2866b46875352f6810a01d67c Mon Sep 17 00:00:00 2001
 From: Chen Qi 
 Date: Mon, 25 Feb 2019 13:41:41 +0800
 Subject: [PATCH] don't use glibc-specific qsort_r
diff --git 
a/meta/recipes-core/systemd/systemd/0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
 
b/meta/recipes-core/systemd/systemd/0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
index 26f05fd50a..eca52d0bda 100644
--- 
a/meta/recipes-core/systemd/systemd/0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
+++ 
b/meta/recipes-core/systemd/systemd/0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
@@ -1,4 +1,4 @@
-From 8a64ec1087c161be3985f16e7f37e1beed6623f6 Mon Sep 17 00:00:00 2001
+From 3b42a888685aee1776a12cff84a5fe0063378483 Mon Sep 17 00:00:00 2001
 From: Chen Qi 
 Date: Mon, 25 Feb 2019 13:55:12 +0800
 Subject: [PATCH] missing_type.h: add __compare_fn_t and comparison_fn_t
diff --git 
a/meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch
 
b/meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch
index 51cfc355c0..40ee43b155 100644
--- 
a/meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch
+++ 
b/meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch
@@ -1,4 +1,4 @@
-From b5e4f966f95ddb793316fe9d494a8a4c56247e23 Mon Sep 17 00:00:00 2001
+From 3e0df2c22bfd37bc62bf09a01ec498e40d

[OE-core] [PATCH 18/21] vulkan: update 1.2.191.0 -> 1.2.198.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...lkan-headers_1.2.191.0.bb => vulkan-headers_1.2.198.0.bb} | 2 +-
 ...vulkan-loader_1.2.191.0.bb => vulkan-loader_1.2.198.0.bb} | 5 ++---
 .../{vulkan-tools_1.2.191.0.bb => vulkan-tools_1.2.198.0.bb} | 4 ++--
 3 files changed, 5 insertions(+), 6 deletions(-)
 rename meta/recipes-graphics/vulkan/{vulkan-headers_1.2.191.0.bb => 
vulkan-headers_1.2.198.0.bb} (93%)
 rename meta/recipes-graphics/vulkan/{vulkan-loader_1.2.191.0.bb => 
vulkan-loader_1.2.198.0.bb} (94%)
 rename meta/recipes-graphics/vulkan/{vulkan-tools_1.2.191.0.bb => 
vulkan-tools_1.2.198.0.bb} (93%)

diff --git a/meta/recipes-graphics/vulkan/vulkan-headers_1.2.191.0.bb 
b/meta/recipes-graphics/vulkan/vulkan-headers_1.2.198.0.bb
similarity index 93%
rename from meta/recipes-graphics/vulkan/vulkan-headers_1.2.191.0.bb
rename to meta/recipes-graphics/vulkan/vulkan-headers_1.2.198.0.bb
index 897064d51e..43c0cdb53d 100644
--- a/meta/recipes-graphics/vulkan/vulkan-headers_1.2.191.0.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-headers_1.2.198.0.bb
@@ -11,7 +11,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
 SRC_URI = 
"git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol=https"
 
-SRCREV = "4fee3efc189c83ccd26a9cd8265185c98458c94d"
+SRCREV = "8c1c27d5a9b9de8a17f500053bd08c7ca6bba19c"
 
 S = "${WORKDIR}/git"
 
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.2.191.0.bb 
b/meta/recipes-graphics/vulkan/vulkan-loader_1.2.198.0.bb
similarity index 94%
rename from meta/recipes-graphics/vulkan/vulkan-loader_1.2.191.0.bb
rename to meta/recipes-graphics/vulkan/vulkan-loader_1.2.198.0.bb
index c5e77b3a90..a538f6b270 100644
--- a/meta/recipes-graphics/vulkan/vulkan-loader_1.2.191.0.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.2.198.0.bb
@@ -9,9 +9,8 @@ SECTION = "libs"
 
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac"
-SRC_URI = 
"git://github.com/KhronosGroup/Vulkan-Loader.git;branch=master;protocol=https \
-   "
-SRCREV = "7d7cdaa17bc8c349102cfee1d5062d6b7185c172"
+SRC_URI = 
"git://github.com/KhronosGroup/Vulkan-Loader.git;branch=sdk-1.2.198;protocol=https"
+SRCREV = "fe8479aa022a011d74fd862749825e07891e854e"
 
 S = "${WORKDIR}/git"
 
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.2.191.0.bb 
b/meta/recipes-graphics/vulkan/vulkan-tools_1.2.198.0.bb
similarity index 93%
rename from meta/recipes-graphics/vulkan/vulkan-tools_1.2.191.0.bb
rename to meta/recipes-graphics/vulkan/vulkan-tools_1.2.198.0.bb
index 85dd99888d..09f75383c2 100644
--- a/meta/recipes-graphics/vulkan/vulkan-tools_1.2.191.0.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.2.198.0.bb
@@ -6,8 +6,8 @@ SECTION = "libs"
 
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
-SRC_URI = 
"git://github.com/KhronosGroup/Vulkan-Tools.git;branch=master;protocol=https"
-SRCREV = "f4974ccd170cf2338c0582f607af5d8dfc3dac51"
+SRC_URI = 
"git://github.com/KhronosGroup/Vulkan-Tools.git;branch=sdk-1.2.198;protocol=https"
+SRCREV = "8040a7af8919a47346cfeaf1fbc2ebfe09cfea09"
 
 S = "${WORKDIR}/git"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158674): 
https://lists.openembedded.org/g/openembedded-core/message/158674
Mute This Topic: https://lists.openembedded.org/mt/87277251/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/21] git: update 2.33.1 -> 2.34.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/git/{git_2.33.1.bb => git_2.34.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/git/{git_2.33.1.bb => git_2.34.0.bb} (51%)

diff --git a/meta/recipes-devtools/git/git_2.33.1.bb 
b/meta/recipes-devtools/git/git_2.34.0.bb
similarity index 51%
rename from meta/recipes-devtools/git/git_2.33.1.bb
rename to meta/recipes-devtools/git/git_2.34.0.bb
index 0dbde7fdc1..fa9299b494 100644
--- a/meta/recipes-devtools/git/git_2.33.1.bb
+++ b/meta/recipes-devtools/git/git_2.34.0.bb
@@ -5,6 +5,6 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
  "
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
-SRC_URI[tarball.sha256sum] = 
"02047f8dc8934d57ff5e02aadd8a2fe8e0bcf94a7158da375e48086cc46fce1d"
-SRC_URI[manpages.sha256sum] = 
"292b08ca1b79422ff478a6221980099c5e3c0a38aba39d952063eedb68e27d93"
+SRC_URI[tarball.sha256sum] = 
"0ce6222bfd31938b29360150286b51c77c643fa97740b1d35b6d1ceef8b0ecd7"
+SRC_URI[manpages.sha256sum] = 
"fe66a69244def488306c3e05c1362ea53d8626d2a7e57cd7311df2dab1ef8356"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158671): 
https://lists.openembedded.org/g/openembedded-core/message/158671
Mute This Topic: https://lists.openembedded.org/mt/87277247/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/21] cmake: update 3.21.4 -> 3.22.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../cmake/{cmake-native_3.21.4.bb => cmake-native_3.22.0.bb}| 0
 meta/recipes-devtools/cmake/cmake.inc   | 2 +-
 .../recipes-devtools/cmake/{cmake_3.21.4.bb => cmake_3.22.0.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/cmake/{cmake-native_3.21.4.bb => 
cmake-native_3.22.0.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.21.4.bb => cmake_3.22.0.bb} (100%)

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.21.4.bb 
b/meta/recipes-devtools/cmake/cmake-native_3.22.0.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_3.21.4.bb
rename to meta/recipes-devtools/cmake/cmake-native_3.22.0.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc 
b/meta/recipes-devtools/cmake/cmake.inc
index 8b1b0db30d..2cd8193d6f 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -21,7 +21,7 @@ SRC_URI = 
"https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch 
\
 "
 
-SRC_URI[sha256sum] = 
"d9570a95c215f4c9886dd0f0564ca4ef8d18c30750f157238ea12669c2985978"
+SRC_URI[sha256sum] = 
"998c7ba34778d2dfdb3df8a695469e24b11e2bfa21fbe41b361a3f45e1c9345e"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_3.21.4.bb 
b/meta/recipes-devtools/cmake/cmake_3.22.0.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_3.21.4.bb
rename to meta/recipes-devtools/cmake/cmake_3.22.0.bb
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158672): 
https://lists.openembedded.org/g/openembedded-core/message/158672
Mute This Topic: https://lists.openembedded.org/mt/87277248/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/21] weston: mark patch as denied

2021-11-24 Thread Alexander Kanavin
upstream has explained in the patch submisstion how the issue should be solved 
differently;
we should work towards that.

Signed-off-by: Alexander Kanavin 
---
 ...1-weston-launch-Provide-a-default-version-that-doesn-t.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
 
b/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
index 548611d933..f6ebfd8f61 100644
--- 
a/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
+++ 
b/meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
@@ -11,7 +11,7 @@ Since starting weston as root is a valid use case by itself, 
if
 PAM is not available, provide a default version of weston-launch
 without non-root-user support.
 
-Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725]
+Upstream-Status: Denied 
[https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725]
 
 Signed-off-by: Tom Hochstein 
 Signed-off-by: Jussi Kukkonen 
-- 
2.20.1


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

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch
 
b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch
index 9d0443e524..cbd1365080 100644
--- 
a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch
+++ 
b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch
@@ -3,7 +3,7 @@ From: Alexander Kanavin 
 Date: Mon, 25 Oct 2021 17:27:51 +0200
 Subject: [PATCH] gptcurses: correct ncurses 6.3 errors
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [by email to rodsm...@rodsbooks.com]
 Signed-off-by: Alexander Kanavin 
 ---
  gptcurses.cc | 28 ++--
-- 
2.20.1


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

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...clocal.m4-add-missing-header-defines.patch | 24 ---
 .../diffstat/diffstat_1.64.bb |  1 -
 2 files changed, 25 deletions(-)
 delete mode 100644 
meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch

diff --git 
a/meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch
 
b/meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch
deleted file mode 100644
index 5bd94d7de4..00
--- 
a/meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 004bd80d2523f538467b5ada2623eb207b55dad7 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 20 Dec 2019 15:44:28 +0100
-Subject: [PATCH] aclocal.m4: add missing header defines
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- aclocal.m4 | 5 +
- 1 file changed, 5 insertions(+)
-
-diff --git a/aclocal.m4 b/aclocal.m4
-index 3b19e82..c0c4acb 100644
 a/aclocal.m4
-+++ b/aclocal.m4
-@@ -1927,3 +1927,8 @@ make an error
- fi
- fi # cf_cv_posix_visible
- ])
-+
-+AC_DEFINE([HAVE_TCGETATTR], [], [Description])
-+AC_DEFINE([HAVE_TCSETATTR], [], [Description])
-+AC_DEFINE([HAVE_TERMIOS_H], [], [Description])
-+
diff --git a/meta/recipes-devtools/diffstat/diffstat_1.64.bb 
b/meta/recipes-devtools/diffstat/diffstat_1.64.bb
index 76ca30c20a..717f503039 100644
--- a/meta/recipes-devtools/diffstat/diffstat_1.64.bb
+++ b/meta/recipes-devtools/diffstat/diffstat_1.64.bb
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=f605b1986cc3b808ec0e4fa9d0e0f2d9"
 SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
file://run-ptest \
file://avoid-check-user-break-cc.patch \
-   file://0001-aclocal.m4-add-missing-header-defines.patch \
"
 
 SRC_URI[sha256sum] = 
"b8aee38d9d2e1d05926e6b55810a9d2c2dd407f24d6a267387563a4436e3f7fc"
-- 
2.20.1


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

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...infod-client.c-correct-string-format.patch | 21 ++-
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git 
a/meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-correct-string-format.patch
 
b/meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-correct-string-format.patch
index 5b225c532d..85f22cb395 100644
--- 
a/meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-correct-string-format.patch
+++ 
b/meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-correct-string-format.patch
@@ -1,4 +1,4 @@
-From c3055ce9eb32d0d24abc5cea5e1d231c499312a7 Mon Sep 17 00:00:00 2001
+From 38ddd0d1863f83e8ec545d0160bdf00bbb5569ba Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Mon, 19 Apr 2021 23:29:10 +0200
 Subject: [PATCH] debuginfod/debuginfod-client.c: correct string format on
@@ -12,20 +12,20 @@ architectures, therefore directly using integer printf 
formats will not
 work portably, use intmax_t to typecast time_t into printf family of
 functions
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [via email to 
m...@klomp.org,elfutils-de...@sourceware.org]
 
 Signed-off-by: Alexander Kanavin 
 Signed-off-by: Khem Raj 
 
 ---
- debuginfod/debuginfod-client.c | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
+ debuginfod/debuginfod-client.c | 10 +-
+ 1 file changed, 5 insertions(+), 5 deletions(-)
 
 diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
-index ee7eda2..083ec2c 100644
+index c875ee6..df9737d 100644
 --- a/debuginfod/debuginfod-client.c
 +++ b/debuginfod/debuginfod-client.c
-@@ -226,7 +226,7 @@ debuginfod_config_cache(char *config_path,
+@@ -231,15 +231,15 @@ debuginfod_config_cache(char *config_path,
if (fd < 0)
  return -errno;
  
@@ -34,16 +34,17 @@ index ee7eda2..083ec2c 100644
  return -errno;
  }
  
-@@ -234,7 +234,7 @@ debuginfod_config_cache(char *config_path,
+-  long cache_config;
++  int cache_config;
FILE *config_file = fopen(config_path, "r");
if (config_file)
  {
 -  if (fscanf(config_file, "%ld", _config) != 1)
-+  if (fscanf(config_file, "%jd", (intmax_t*)(_config)) != 1)
++  if (fscanf(config_file, "%d", _config) != 1)
  cache_config = cache_config_default_s;
fclose(config_file);
  }
-@@ -267,7 +267,7 @@ debuginfod_init_cache (char *cache_path, char 
*interval_path, char *maxage_path)
+@@ -272,7 +272,7 @@ debuginfod_init_cache (char *cache_path, char 
*interval_path, char *maxage_path)
if (fd < 0)
  return -errno;
  
@@ -52,7 +53,7 @@ index ee7eda2..083ec2c 100644
  return -errno;
  
/* init max age config file.  */
-@@ -275,7 +275,7 @@ debuginfod_init_cache (char *cache_path, char 
*interval_path, char *maxage_path)
+@@ -280,7 +280,7 @@ debuginfod_init_cache (char *cache_path, char 
*interval_path, char *maxage_path)
&& (fd = open(maxage_path, O_CREAT | O_RDWR, DEFFILEMODE)) < 0)
  return -errno;
  
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158668): 
https://lists.openembedded.org/g/openembedded-core/message/158668
Mute This Topic: https://lists.openembedded.org/mt/87277244/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/21] dpkg: replace a patch with a tweak to an already existing sed fixup

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/dpkg/dpkg.inc   |  4 ++--
 ...kg-fsys-usrunmess.pl-correct-shebang.patch | 23 ---
 meta/recipes-devtools/dpkg/dpkg_1.20.9.bb |  1 -
 3 files changed, 2 insertions(+), 26 deletions(-)
 delete mode 100644 
meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc 
b/meta/recipes-devtools/dpkg/dpkg.inc
index 74074cfdd7..80865a31a1 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -49,9 +49,9 @@ do_install:append () {
if [ "${PN}" = "dpkg-native" ]; then
# update-alternatives doesn't have an offline mode
rm ${D}${bindir}/update-alternatives
-   sed -i -e 
's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env nativeperl|' 
${D}${bindir}/dpkg-*
+   sed -i -e 
's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env nativeperl|' 
${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-*
else
-   sed -i -e 
's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env perl|' 
${D}${bindir}/dpkg-*
+   sed -i -e 
's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env perl|' 
${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-*
fi
 }
 
diff --git 
a/meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch
 
b/meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch
deleted file mode 100644
index 292b72ab5d..00
--- 
a/meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 0decc62904571582147f2273fa1b521e00485dda Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Wed, 3 Feb 2021 20:47:58 +0100
-Subject: [PATCH] scripts/dpkg-fsys-usrunmess.pl: correct shebang
-
-Otherwise automake will write the full native perl path into it.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- scripts/dpkg-fsys-usrunmess.pl | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/scripts/dpkg-fsys-usrunmess.pl b/scripts/dpkg-fsys-usrunmess.pl
-index 9220df3c0..9ce368955 100755
 a/scripts/dpkg-fsys-usrunmess.pl
-+++ b/scripts/dpkg-fsys-usrunmess.pl
-@@ -1,4 +1,4 @@
--#!/usr/bin/perl
-+#!/usr/bin/env perl
- #
- # dpkg-fsys-usrunmess - Undoes the merged-/usr-via-aliased-dirs mess
- #
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb 
b/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb
index 34b6bfe0a8..4c587f2bf2 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb
@@ -14,7 +14,6 @@ SRC_URI = 
"git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=1.20.
file://0001-dpkg-Support-muslx32-build.patch \
file://pager.patch \
file://0001-Add-support-for-riscv32-CPU.patch \
-   file://0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch \
file://0014-arch-Add-support-for-ARCv2-CPU.patch \
"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158667): 
https://lists.openembedded.org/g/openembedded-core/message/158667
Mute This Topic: https://lists.openembedded.org/mt/87277243/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/21] ovmf: remove patch merged upstream

2021-11-24 Thread Alexander Kanavin
See here:
https://github.com/tianocore/edk2/pull/1513/files

The change was thus applied twice to the same file.

Signed-off-by: Alexander Kanavin 
---
 .../ovmf/ovmf/0004-Strip-build-paths.patch| 32 ---
 meta/recipes-core/ovmf/ovmf_git.bb|  1 -
 2 files changed, 33 deletions(-)
 delete mode 100644 meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch

diff --git a/meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch 
b/meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch
deleted file mode 100644
index dfb8a73398..00
--- a/meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From b7cfe97895e0586d14403ba98e62a0cd9373da96 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 14 Jun 2021 19:55:08 +0200
-Subject: [PATCH 4/6] Strip build paths
-
-Pass --zero to GenFw in release builds so that the sections that link back to
-the intermediate binaries (containing build paths) are removed.
-
-Upstream-Status: Pending (discussion at 
https://bugzilla.tianocore.org/show_bug.cgi?id=3256)
-Signed-off-by: Ross Burton 
-
-Signed-off-by: Alexander Kanavin 

- OvmfPkg/OvmfPkgIa32.dsc | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
-index 33fbd76790..06c6d5ce60 100644
 a/OvmfPkg/OvmfPkgIa32.dsc
-+++ b/OvmfPkg/OvmfPkgIa32.dsc
-@@ -91,6 +91,8 @@
- 
- !include NetworkPkg/NetworkBuildOptions.dsc.inc
- 
-+  RELEASE_*_*_GENFW_FLAGS = --zero
-+
- [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
-   GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
-   XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
--- 
-2.32.0
-
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb 
b/meta/recipes-core/ovmf/ovmf_git.bb
index ce3b650ddf..80b9c1447f 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -19,7 +19,6 @@ SRC_URI = 
"gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https \
file://0001-ovmf-update-path-to-native-BaseTools.patch \

file://0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \
file://0003-ovmf-Update-to-latest.patch \
-   file://0004-Strip-build-paths.patch \
file://0005-debug-prefix-map.patch \
file://0006-reproducible.patch \
file://0001-Fix-VLA-parameter-warning.patch \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158664): 
https://lists.openembedded.org/g/openembedded-core/message/158664
Mute This Topic: https://lists.openembedded.org/mt/87277240/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/21] apt: drop unneeded chunk from a musl patch, submit the rest upstream

2021-11-24 Thread Alexander Kanavin
Upstream has inserted guards around the use of offending constant.

Signed-off-by: Alexander Kanavin 
---
 .../apt/apt/0001-Fix-musl-build.patch | 35 +--
 1 file changed, 9 insertions(+), 26 deletions(-)

diff --git a/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch 
b/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch
index a6e8ef1e51..0cefbedd6d 100644
--- a/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch
@@ -1,22 +1,18 @@
-From 081c6be2f2f1cd77f399ea414f8d89c107826624 Mon Sep 17 00:00:00 2001
+From 6b8547161b902b01b639d05a4cdf849d7694556f Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Fri, 22 May 2020 15:29:23 +
-Subject: [PATCH] Fix musl build
+Subject: [PATCH] apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h
 
-methods/connect.cc: Musl doesn't support AI_IDN flag in netdb.h
-header so define it manually.
-apt-pkg/contrib/srvrec.h: Add explicity include of sys/types.h
-to avoid errors in types u_int_SIZE.
+This avoids type errors with musl C library.
 
-Upstream-Status: Pending
+Upstream-Status: Submitted 
[https://salsa.debian.org/apt-team/apt/-/merge_requests/200]
 Signed-off-by: Alexander Kanavin 
 ---
  apt-pkg/contrib/srvrec.h | 1 +
- methods/connect.cc   | 5 +
- 2 files changed, 6 insertions(+)
+ 1 file changed, 1 insertion(+)
 
 diff --git a/apt-pkg/contrib/srvrec.h b/apt-pkg/contrib/srvrec.h
-index e22b7a1..b1115f5 100644
+index e5d0f43..2010184 100644
 --- a/apt-pkg/contrib/srvrec.h
 +++ b/apt-pkg/contrib/srvrec.h
 @@ -9,6 +9,7 @@
@@ -27,19 +23,6 @@ index e22b7a1..b1115f5 100644
  #include 
  #include 
  #include 
-diff --git a/methods/connect.cc b/methods/connect.cc
-index 1d6f891..122df35 100644
 a/methods/connect.cc
-+++ b/methods/connect.cc
-@@ -42,6 +42,11 @@
- #include "connect.h"
- #include "rfc2553emu.h"
- #include 
-+
-+#ifndef AI_IDN
-+#define AI_IDN 0x0040
-+#endif
-+
-   /*}}}*/
- 
- static std::string LastHost;
+-- 
+2.20.1
+
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158665): 
https://lists.openembedded.org/g/openembedded-core/message/158665
Mute This Topic: https://lists.openembedded.org/mt/87277241/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/21] groff: include references to corresponding upstream commits in a patch

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../groff/files/0001-Include-config.h.patch | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/groff/files/0001-Include-config.h.patch 
b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
index 34fca1eb2f..99f590bef3 100644
--- a/meta/recipes-extended/groff/files/0001-Include-config.h.patch
+++ b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
@@ -20,7 +20,11 @@ In file included from 
TOPDIR/build/tmp/work/aarch64-yoe-linux-musl/groff/1.22.4-
 We delete eqn.cpp and qen.hpp in do_configure
 to ensure they're regenerated and deterministic.
 
-Upstream-Status: Inappropriate [issue fixed upstream with a similar patch]
+Issue is fixed upstream with similar patches:
+https://git.savannah.gnu.org/cgit/groff.git/commit/?id=979f3f4266151c7681a68a40d2c4913842a7271d
+https://git.savannah.gnu.org/cgit/groff.git/commit/?id=fe121eeacd53c96105f23209b2c205f436f97359
+
+Upstream-Status: Backport [see links above]
 Signed-off-by: Khem Raj 
 ---
  src/libs/libgroff/assert.cpp  |   4 +
-- 
2.20.1


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

2021-11-24 Thread Alexander Kanavin
Upstream added internal implementation shortly after the patch was added.

Signed-off-by: Alexander Kanavin 
---
 .../ell/0001-pem.c-do-not-use-rawmemchr.patch | 27 ---
 meta/recipes-core/ell/ell_0.45.bb |  1 -
 2 files changed, 28 deletions(-)
 delete mode 100644 
meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch

diff --git a/meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch 
b/meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch
deleted file mode 100644
index f0ce6f1364..00
--- a/meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 277e1eca67fcc23cb31be7b826d83a19d9b89bd2 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 22 Dec 2020 10:30:54 +
-Subject: [PATCH] pem.c: do not use rawmemchr()
-
-This is a glibc-only function, and causes build failures with
-alternative libc implementations such as musl.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- ell/pem.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ell/pem.c b/ell/pem.c
-index 790f2c2..237ae02 100644
 a/ell/pem.c
-+++ b/ell/pem.c
-@@ -224,7 +224,7 @@ static uint8_t *pem_load_buffer(const void *buf, size_t 
buf_len,
- 
-   /* Check that each header line has a key and a colon */
-   while (start < end) {
--  const char *lf = rawmemchr(start, '\n');
-+  const char *lf = memchr(start, '\n', end - start);
-   const char *colon = memchr(start, ':', lf - start);
- 
-   if (!colon)
diff --git a/meta/recipes-core/ell/ell_0.45.bb 
b/meta/recipes-core/ell/ell_0.45.bb
index 8453720f42..64434c278c 100644
--- a/meta/recipes-core/ell/ell_0.45.bb
+++ b/meta/recipes-core/ell/ell_0.45.bb
@@ -15,7 +15,6 @@ DEPENDS = "dbus"
 inherit autotools pkgconfig
 
 SRC_URI = 
"https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz \
-   file://0001-pem.c-do-not-use-rawmemchr.patch \
"
 SRC_URI[sha256sum] = 
"fedfcceee56eb63ab1eb98bf120a3cfbecee50bcd893874328c889f1b381e7d7"
 
-- 
2.20.1


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



[OE-core] [PATCH 05/21] glib-2.0: submit patch upstream

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
index fbdd4c2660..7690bb37a6 100644
--- 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] gio/tests/codegen.py: bump timeout to 100 
seconds
 
 This may be necessary on overloaded CI systems.
 
-Upstream-Status: Pending
+Upstream-Status: Submitted 
[https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2348]
 Signed-off-by: Alexander Kanavin 
 ---
  gio/tests/codegen.py | 2 +-
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158661): 
https://lists.openembedded.org/g/openembedded-core/message/158661
Mute This Topic: https://lists.openembedded.org/mt/87277237/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 04/21] insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/classes/insane.bbclass | 24 
 1 file changed, 24 insertions(+)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 27b1a00fb9..240f3aad62 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1167,6 +1167,30 @@ python do_qa_patch() {
 bb.warn(msg)
 msg = "Patch log indicates that patches do not apply cleanly."
 oe.qa.handle_error("patch-fuzz", msg, d)
+
+# Check if the patch contains a correctly formatted and spelled 
Upstream-Status
+import re
+from oe import patch
+
+for url in patch.src_patches(d):
+   (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url)
+
+   # skip patches not in oe-core
+   if '/meta/' not in fullpath:
+   continue
+
+   content = open(fullpath, encoding='utf-8', errors='ignore').read()
+   kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | 
re.MULTILINE)
+   strict_status_re = re.compile(r"^Upstream-Status: 
(Pending|Submitted|Denied|Accepted|Inappropriate|Backport)( .+)?$", 
re.MULTILINE)
+   match_kinda = kinda_status_re.search(content)
+   match_strict = strict_status_re.search(content)
+   guidelines = 
"https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status;
+
+   if not match_strict:
+   if match_kinda:
+   bb.error("Malformed Upstream-Status in patch\n%s\nPlease 
correct according to %s :\n%s" % (fullpath, guidelines, match_kinda.group(0)))
+   else:
+   bb.error("Missing Upstream-Status in patch\n%s\nPlease add 
according to %s ." % (fullpath, guidelines))
 }
 
 python do_qa_configure() {
-- 
2.20.1


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



[OE-core] [PATCH 03/21] elfutils: update 0.185 -> 0.186

2021-11-24 Thread Alexander Kanavin
Drop glibc-2.34-fix.patch merged upstream.

Rework support for error() on non-glibc targets:
upstream now provides its own implementation, so we can drop
the patch that adds ours; said implementation isn't
build-tested with tests, so ptest has to be disabled on musl.
This, in turns, allows dropping 0004-Fix-error-on-musl.patch.

License-Update: copyright years
Signed-off-by: Alexander Kanavin 
---
 .../{elfutils_0.185.bb => elfutils_0.186.bb}  |  12 +-
 ...ompilation-on-platforms-without-erro.patch |  54 +++
 .../elfutils/files/0002-musl-libs.patch   | 118 ---
 .../elfutils/files/0003-musl-utils.patch  |   6 +-
 .../files/0004-Fix-error-on-musl.patch|  36 -
 .../0015-config-eu.am-do-not-use-Werror.patch |   8 +-
 .../elfutils/files/glibc-2.34-fix.patch   | 138 --
 7 files changed, 65 insertions(+), 307 deletions(-)
 rename meta/recipes-devtools/elfutils/{elfutils_0.185.bb => elfutils_0.186.bb} 
(95%)
 create mode 100644 
meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
 delete mode 100644 meta/recipes-devtools/elfutils/files/0002-musl-libs.patch
 delete mode 100644 
meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch
 delete mode 100644 meta/recipes-devtools/elfutils/files/glibc-2.34-fix.patch

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.185.bb 
b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
similarity index 95%
rename from meta/recipes-devtools/elfutils/elfutils_0.185.bb
rename to meta/recipes-devtools/elfutils/elfutils_0.186.bb
index f4769e3632..b3588a2196 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.185.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "elfutils is a collection of utilities and 
libraries to read, crea
 SECTION = "base"
 LICENSE = "GPLv2 & GPLv2+ & LGPLv3+ & GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
-
file://debuginfod/debuginfod-client.c;endline=27;md5=f8e9d171c401c493ec45a0b2992ea2ed
 \
+
file://debuginfod/debuginfod-client.c;endline=27;md5=d2adfd8f5347d4c96e3c280393ce66da
 \
 "
 DEPENDS = "zlib virtual/libintl"
 DEPENDS:append:libc-musl = " argp-standalone fts musl-obstack "
@@ -22,20 +22,16 @@ SRC_URI = 
"https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
file://ptest.patch \

file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \

file://0001-debuginfod-debuginfod-client.c-correct-string-format.patch \
-   file://glibc-2.34-fix.patch \
+   
file://0001-debuginfod-fix-compilation-on-platforms-without-erro.patch \
"
 SRC_URI:append:libc-musl = " \
-   file://0002-musl-libs.patch \
file://0003-musl-utils.patch \
-   file://0004-Fix-error-on-musl.patch \
file://0015-config-eu.am-do-not-use-Werror.patch \
"
-SRC_URI[sha256sum] = 
"dc8d3e74ab209465e7f568e1b3bb9a5a142f8656e2b57d10049a73da2ae6b5a6"
-
-# remove at next version upgrade or when output changes
-PR = "r1"
+SRC_URI[sha256sum] = 
"7f6fb9149b1673d38d9178a0d3e0fb8a1ec4f53a9f4c2ff89469609879641177"
 
 inherit autotools gettext ptest pkgconfig
+PTEST_ENABLED:libc-musl = "0"
 
 EXTRA_OECONF = "--program-prefix=eu-"
 
diff --git 
a/meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
 
b/meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
new file mode 100644
index 00..e80d96aaca
--- /dev/null
+++ 
b/meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
@@ -0,0 +1,54 @@
+From 99617d7ab5b01c322b0f27d4aa0dd91c61793a5e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=89rico=20Nogueira?= 
+Date: Wed, 10 Nov 2021 21:17:48 -0300
+Subject: [PATCH] debuginfod: fix compilation on platforms without 
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+"system.h" only declares the error() function, so it needs to be in an
+'extern "C"' block, otherwise linking fails.
+
+Since we are here, use quotes for "system.h" header, since it's a local
+header, not a system one.
+
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=elfutils.git;a=commit;h=90b9e91b961b794a4e58ab76d9191a5e7343584e]
+Signed-off-by: Érico Nogueira 
+Signed-off-by: Alexander Kanavin 
+---
+ debuginfod/ChangeLog  | 4 
+ debuginfod/debuginfod.cxx | 2 +-
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
+index f06d3ee..822bd63 100644
+--- a/debuginfod/ChangeLog
 b/debuginfod/ChangeLog
+@@ -1,3 +1,7 @@
++2021-11-10  Érico N. Rol

[OE-core] [PATCH 02/21] logrotate: add a link to upstream review for one of the patch

2021-11-24 Thread Alexander Kanavin
The patch author (Robert Yang) has been asked by email
to rework the patch.

Signed-off-by: Alexander Kanavin 
---
 .../logrotate/logrotate/act-as-mv-when-rotate.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-extended/logrotate/logrotate/act-as-mv-when-rotate.patch 
b/meta/recipes-extended/logrotate/logrotate/act-as-mv-when-rotate.patch
index 671fce4ac8..4efd471906 100644
--- a/meta/recipes-extended/logrotate/logrotate/act-as-mv-when-rotate.patch
+++ b/meta/recipes-extended/logrotate/logrotate/act-as-mv-when-rotate.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Act as the "mv" command when rotate log
 Act as the "mv" command when rotate log, first rename, if failed, then
 read and write.
 
-Upstream-Status: Pending
+Upstream-Status: Inappropriate [needs a rework according to 
https://github.com/logrotate/logrotate/pull/429]
 
 Signed-off-by: Robert Yang 
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158658): 
https://lists.openembedded.org/g/openembedded-core/message/158658
Mute This Topic: https://lists.openembedded.org/mt/87277234/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/21] groff: mark patch as non-upstreamable

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/groff/files/0001-Include-config.h.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/groff/files/0001-Include-config.h.patch 
b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
index 46065bc513..34fca1eb2f 100644
--- a/meta/recipes-extended/groff/files/0001-Include-config.h.patch
+++ b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
@@ -20,7 +20,7 @@ In file included from 
TOPDIR/build/tmp/work/aarch64-yoe-linux-musl/groff/1.22.4-
 We delete eqn.cpp and qen.hpp in do_configure
 to ensure they're regenerated and deterministic.
 
-Upstream-Status: Pending
+Upstream-Status: Inappropriate [issue fixed upstream with a similar patch]
 Signed-off-by: Khem Raj 
 ---
  src/libs/libgroff/assert.cpp  |   4 +
-- 
2.20.1


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

2021-11-24 Thread Alexander Kanavin
Yocto is what you make it, and you shouldn't expect things to magically
happen if you wait for them.

If you are able to make rust work in SDK, adjust the docs, the readmes, add
the tests and examples, and send the patches, and then that's the new
status.

Alex

On Wed, 24 Nov 2021 at 08:59, Peter Bergin  wrote:

> Hi,
>
> I'm looking for information about how mature and tested it is to have
> rust tools in the SDK. In README-rust.md [1] there is a phrase "Once the
> Rust SDK support is added to oe-core..." which can be read that it is
> not ready yet. In the first bullet "What works:" it states "-buildsdk
> and -crosssdk" which I can't connect to oe-core terms.
>
> I have suceeded to add rust tools to a SDK by adding
> 'TOOLCHAIN_HOST_TASK:append = "
> packagegroup-rust-cross-canadian-${MACHINE}"' to my config. With this I
> have succeeded to cross-compile the simplest hello-world example for
> aarch64. Is this the way to go or is there work to do (reffering to
> README info)?
>
> Any information around rust and the status in oe-core are appreciated.
>
> Thanks,
> /Peter
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158656): 
https://lists.openembedded.org/g/openembedded-core/message/158656
Mute This Topic: https://lists.openembedded.org/mt/87277113/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] meson: drop redundant patch

2021-11-23 Thread Alexander Kanavin
Sorry, I have to say no. The offending is_debianlike function is still in
place, and I would not want to battle cryptic errors again if it is taken
in use somewhere else. The correct fix is to drop the function itself.

Alex

On Tue, 23 Nov 2021 at 20:39, Ross Burton  wrote:

> This patch disables the debian-detection to use the correct $libdir by
> default on that platform.  However in cross builds this is always
> overridden to be $prefix/lib, and all recipes that inherit meson pass
> the correct libdir explicitly.
>
> Signed-off-by: Ross Burton 
> ---
>  meta/recipes-devtools/meson/meson.inc |  1 -
>  ...01-is_debianlike-always-return-False.patch | 26 ---
>  2 files changed, 27 deletions(-)
>  delete mode 100644
> meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch
>
> diff --git a/meta/recipes-devtools/meson/meson.inc
> b/meta/recipes-devtools/meson/meson.inc
> index f383ad9f74..757295a50a 100644
> --- a/meta/recipes-devtools/meson/meson.inc
> +++ b/meta/recipes-devtools/meson/meson.inc
> @@ -13,7 +13,6 @@ SRC_URI = "
> https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
> file://disable-rpath-handling.patch \
> file://0001-Make-CPU-family-warnings-fatal.patch \
> file://0002-Support-building-allarch-recipes-again.patch \
> -   file://0001-is_debianlike-always-return-False.patch \
> "
>  SRC_URI[sha256sum] =
> "5add789c953d984b500858b2851ee3d7add0460cf1a6f852f0a721af17384e13"
>
> diff --git
> a/meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch
> b/meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch
> deleted file mode 100644
> index 83c4782a61..00
> ---
> a/meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -From 667b9ede638677fb37911306937ea62f05897581 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin 
> -Date: Mon, 18 Oct 2021 15:55:59 +0200
> -Subject: [PATCH] is_debianlike(): always return False
> -
> -Otherwise, host contamination happens.
> -
> -Upstream-Status: Inappropriate [oe-core specific]
> -Signed-off-by: Alexander Kanavin 
> 
> - mesonbuild/mesonlib/universal.py | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/mesonbuild/mesonlib/universal.py
> b/mesonbuild/mesonlib/universal.py
> -index d670d04..47d1b52 100644
>  a/mesonbuild/mesonlib/universal.py
> -+++ b/mesonbuild/mesonlib/universal.py
> -@@ -651,7 +651,7 @@ def is_cygwin() -> bool:
> -
> -
> - def is_debianlike() -> bool:
> --return os.path.isfile('/etc/debian_version')
> -+return False
> -
> -
> - def is_dragonflybsd() -> bool:
> --
> 2.25.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158617): 
https://lists.openembedded.org/g/openembedded-core/message/158617
Mute This Topic: https://lists.openembedded.org/mt/87266402/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] buildhistory: Fix do_package race issues

2021-11-23 Thread Alexander Kanavin
Thanks Richard, this should remove occasional false failures from AUH runs
:)

Alex

On Tue, 23 Nov 2021 at 14:59, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> The buildhistory_list_pkg_files function uses data from do_package, not
> do_packagedata. Usally the two are restored together but it may see
> a half complete directory or other races issues depending on timing.
>
> Rework the function so that it uses the correct task dependencies. This
> should avoid races but means the data is only restored to buildhistory
> if the do_package or do_package_setscene tasks are restored.
>
> Signed-off-by: Richard Purdie 
> ---
>  meta/classes/buildhistory.bbclass | 12 
>  1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/meta/classes/buildhistory.bbclass
> b/meta/classes/buildhistory.bbclass
> index 64df432f136..daa96f3b63b 100644
> --- a/meta/classes/buildhistory.bbclass
> +++ b/meta/classes/buildhistory.bbclass
> @@ -91,13 +91,19 @@ buildhistory_emit_sysroot() {
>  python buildhistory_emit_pkghistory() {
>  if d.getVar('BB_CURRENTTASK') in ['populate_sysroot',
> 'populate_sysroot_setscene']:
>  bb.build.exec_func("buildhistory_emit_sysroot", d)
> -
> -if not d.getVar('BB_CURRENTTASK') in ['packagedata',
> 'packagedata_setscene']:
>  return 0
>
>  if not "package" in (d.getVar('BUILDHISTORY_FEATURES') or "").split():
>  return 0
>
> +if d.getVar('BB_CURRENTTASK') in ['package', 'package_setscene']:
> +# Create files-in-.txt files containing a list of
> files of each recipe's package
> +bb.build.exec_func("buildhistory_list_pkg_files", d)
> +return 0
> +
> +if not d.getVar('BB_CURRENTTASK') in ['packagedata',
> 'packagedata_setscene']:
> +return 0
> +
>  import re
>  import json
>  import shlex
> @@ -319,8 +325,6 @@ python buildhistory_emit_pkghistory() {
>
>  write_pkghistory(pkginfo, d)
>
> -# Create files-in-.txt files containing a list of files
> of each recipe's package
> -bb.build.exec_func("buildhistory_list_pkg_files", d)
>  oe.qa.exit_if_errors(d)
>  }
>
> --
> 2.32.0
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158608): 
https://lists.openembedded.org/g/openembedded-core/message/158608
Mute This Topic: https://lists.openembedded.org/mt/87258776/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] systemtap: upgrade 4.5 -> 4.6

2021-11-22 Thread Alexander Kanavin
Thank you Wang, glad you are able to find time to include the changelogs
into your upgrades - I'm something of a 'last resort' person for them, and
usually do not do it.

Alex

On Mon, 22 Nov 2021 at 16:00, wangmy  wrote:

> support for 64-bit RISC-V architecture, liveness analysis for guru-mode
> write operations,
> bpf syscall_any and abort() tapsets, bpf foreach iteration of multi-key
> arrays,
> return of inter-cpu output ordering
>
> Changelog is as follows:
> = SystemTap frontend (stap) changes
> - stap-prep now tries to download the main kernel debuginfo file from
>   a debuginfod server, if configured.
>
> = SystemTap backend changes
> - SystemTap has added support for the 64-bit RISC-V architecture.
> - SystemTap now uses DynInst to perform a liveness analysis on
>   target variables and warn when a guru-mode modification to a variable
>   will have no effect. The liveness analysis is currently done on
>   x86_64, PowerPC, and AArch64.
> - The kernel-user relayfs transport again sorts messages into a total
>   time order across CPUs.  High output-volume scripts may need a
>   larger "-s BUF" parameter to reliably transfer.  "-b" bulk mode
>   is also available again as an alternative.
> - The bpf backend now supports foreach iteration in multi-key associative
> arrays.
>
> = SystemTap tapset changes
> - Updated syscall_any tapset mapping to include newer syscalls.
> - syscall_any tapset can be used by the bpf backend.
> - abort() tapset can be used by the bpf backend.
>
> = Known issues with this release
> - There are known issues on kernel 5.10+ after adapting to set_fs()
>   removal, with some memory accesses that previously returned valid data
>   instead returning -EFAULT (see PR26811).
> - An sdt probe cannot parse a parameter that uses a segment register.
>   (PR13429)
> - The presence of a line such as
>   *CFLAGS += $(call cc-option, -fno-var-tracking-assignments)
>   in older linux kernel Makefile unnecessarily reduces debuginfo quality,
>   consider removing that line if you build kernels.  Linux 5.10+ fixes
> this.
>
> = Bugs fixed for this release 
> 6562 $SYSTEMTAP_DEBUGINFO_PATH does not work
> 15724 stapdyn looking for libdyninstAPI_RT.a
> 26839 Systemtap build failures with clang
> 27820 abort() tapset not implemented in the bpf mode
> 27829 support for floating point values passed through sdt.h markers
> 27864 loc2stap.cxx assertion failure on loc_unavailable type location,
> rawhide
> 27881 failed to extend vma mapped entry when the address is adjacent
> 27903 handle f33 glibc $$parms
> 27932 List Python as a prerequisite in README
> 27933 Use of unitialized functioncall synthetic field in
> 27934 failure to attach statement
> 27940 The /* pc=0x... */ is no longer printed by "stap -v -L
> 'kernel.function("*")'
> 27942 testsuite/systemtap.base/perf.sh drop bashism
> 27984 stap skipping partially-inlined instance, but it is not inline
> function actually
> 28070 extend vma end address to the different module
> 28079 adapt to kernel 5.14 task_struct.__state change
> 28084 autoconf-x86-uniregs.c compile failled with -Werror cause
> STAPCONF_X86_UNIREGS missing
> 28140 kernel panic on tracepoint activation in stap module
> 28184 task_fd_lookup failed on linux 5.11
> 28244 linux objtool imposes symbol length limits on generated function
> names
> 28384 finish nfs_proc tapset port 4.3 string server_ip
> 28443 Provide syscall_any tapset for bpf
> 28449 loss of cross-cpu output ordering
> 28544 procfs_bpf.exp regression due to string handling error
> 28557 module kprobe insertion on modern kernels
>
> Signed-off-by: Wang Mingyu 
> ---
>  meta/recipes-kernel/systemtap/systemtap_git.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc
> b/meta/recipes-kernel/systemtap/systemtap_git.inc
> index 25546f7cb2..22b07f1516 100644
> --- a/meta/recipes-kernel/systemtap/systemtap_git.inc
> +++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
> @@ -1,7 +1,7 @@
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> -SRCREV = "7f6992539fb22c93c21ac30c94508bf655d496a7"
> -PV = "4.5"
> +SRCREV = "2e9f2f6967e44ce2bf8f34932b5bdd738ece2161"
> +PV = "4.6"
>
>  SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master \
>
> file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
> --
> 2.25.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158578): 
https://lists.openembedded.org/g/openembedded-core/message/158578
Mute This Topic: https://lists.openembedded.org/mt/87236592/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 v2 1/7] systemd: skip chown when building for nativesdk

2021-11-22 Thread Alexander Kanavin
Indeed; in the absence of tests that exercise this functionality - either
SDK tests, or direct bitbake tests - it's hard to say if
this is an experiment that may not be sustainable long term, or something
systemd upstream is actually committed to.

Alex

On Mon, 22 Nov 2021 at 14:57, Konrad Weihmann  wrote:

> I have sort of a general question regarding this patch series.
>
> Last time I checked (and yeah it's been a while back) systemd-analyze
> wasn't self-containing, meaning it would have to have a running systemd
> process and at least a running dbus iirc.
>
> Is that still the case?
> If yes, how should that work here?
> Do we want to spawn a systemd per workspace/SDK?
> What about the weird setting that systemd somehow requires us to assign
> PID 1 to it?
> What about systems that have already a systemd instance running - and
> what about the systems that don't?
>
> And if not (and all of sudden systemd project finally decided to
> recognize the cross-compile use case), does this only apply to
> systemd-analyze?
>
> I would be happy if you could shed some light on these questions. Thx
>
> On 19.11.21 12:34, Luca Bocassi wrote:
> > From: Luca Boccassi 
> >
> > The useradd class is a no-op in the nativesdk case, so chown will fail.
> > Skip them.
> >
> > Signed-off-by: Luca Boccassi 
> > ---
> > v2: use "${PN}" = "${BPN}" as suggested by reviewers
> >
> >   meta/recipes-core/systemd/systemd_249.5.bb | 10 --
> >   1 file changed, 8 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-core/systemd/systemd_249.5.bb
> b/meta/recipes-core/systemd/systemd_249.5.bb
> > index 8bdc0ca028..2df2de0cf3 100644
> > --- a/meta/recipes-core/systemd/systemd_249.5.bb
> > +++ b/meta/recipes-core/systemd/systemd_249.5.bb
> > @@ -275,7 +275,10 @@ do_install() {
> >   # which is expected to be empty.
> >   rm -rf ${D}${localstatedir}/log
> >   else
> > - chown root:systemd-journal ${D}${localstatedir}/log/journal
> > + # The useradd class is a no-op in the nativesdk case, so
> chown will fail
> > + if [ "${PN}" = "${BPN}" ]; then
> > + chown root:systemd-journal
> ${D}${localstatedir}/log/journal
> > + fi
> >
> >   # journal-remote creates this at start
> >   rm -rf ${D}${localstatedir}/log/journal/remote
> > @@ -319,7 +322,10 @@ do_install() {
> >   if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true',
> 'false', d)}; then
> >   if [ -d ${D}${datadir}/polkit-1/rules.d ]; then
> >   chmod 700 ${D}${datadir}/polkit-1/rules.d
> > - chown polkitd:root ${D}${datadir}/polkit-1/rules.d
> > + # The useradd class is a no-op in the nativesdk
> case, so chown will fail
> > + if [ "${PN}" = "${BPN}" ]; then
> > + chown polkitd:root
> ${D}${datadir}/polkit-1/rules.d
> > + fi
> >   fi
> >   fi
> >
> >
> >
> >
> >
> >
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158570): 
https://lists.openembedded.org/g/openembedded-core/message/158570
Mute This Topic: https://lists.openembedded.org/mt/87165491/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] pls comment on weston non-PAM patch (link inside)

2021-11-19 Thread Alexander Kanavin
Hello guys,

reminding you to speak up in the patch submission; if you don't, upstream
will close it without merging, and I will start working towards removing
the patch from Yocto as well.

Alex

On Fri, 12 Nov 2021 at 10:48, Alexander Kanavin 
wrote:

> Hello folks,
>
> I sent the weston non-PAM patch upstream and they have raised questions
> about its validity, can you please comment on it?
> https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725
>
> Thanks,
> Alex
>
>
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158524): 
https://lists.openembedded.org/g/openembedded-core/message/158524
Mute This Topic: https://lists.openembedded.org/mt/87003161/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 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Alexander Kanavin
On Fri, 19 Nov 2021 at 13:29, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Fri, 2021-11-19 at 13:08 +0100, Alexander Kanavin wrote:
> > I checked; the patches are the same, except the upstream one misses one
> file,
> > which is fixed in a different upstream patch. I'd say we can keep things
> as
> > they are.
>
> Can we mark as a backport of those two commits then?
>

Right, I will add the upstream references to the patch.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158520): 
https://lists.openembedded.org/g/openembedded-core/message/158520
Mute This Topic: https://lists.openembedded.org/mt/87121973/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 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Alexander Kanavin
I checked; the patches are the same, except the upstream one misses one
file, which is fixed in a different upstream patch. I'd say we can keep
things as they are.

Alex

On Fri, 19 Nov 2021 at 12:34, Alexander Kanavin via lists.openembedded.org
 wrote:

> This is the upstream fix:
>
> https://git.savannah.gnu.org/cgit/groff.git/commit/?id=979f3f4266151c7681a68a40d2c4913842a7271d
>
> I can backport that, rebase the existing patch on top and see what's left,
> sure.
>
> Alex
> On Fri, 19 Nov 2021 at 12:15, Richard Purdie <
> richard.pur...@linuxfoundation.org> wrote:
>
>> On Wed, 2021-11-17 at 16:34 +0100, Alexander Kanavin wrote:
>> > Signed-off-by: Alexander Kanavin 
>> > ---
>> >  meta/recipes-extended/groff/files/0001-Include-config.h.patch | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git
>> a/meta/recipes-extended/groff/files/0001-Include-config.h.patch
>> b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
>> > index 46065bc513..34fca1eb2f 100644
>> > --- a/meta/recipes-extended/groff/files/0001-Include-config.h.patch
>> > +++ b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
>> > @@ -20,7 +20,7 @@ In file included from
>> TOPDIR/build/tmp/work/aarch64-yoe-linux-musl/groff/1.22.4-
>> >  We delete eqn.cpp and qen.hpp in do_configure
>> >  to ensure they're regenerated and deterministic.
>> >
>> > -Upstream-Status: Pending
>> > +Upstream-Status: Inappropriate [issue fixed upstream with a similar
>> patch]
>> >  Signed-off-by: Khem Raj 
>> >  ---
>> >   src/libs/libgroff/assert.cpp  |   4 +
>>
>>
>> Should we replace this with the upstream patch? That way we'd have a clean
>> backport which would help at upgrade time?
>>
>> Is the upstream patch exactly functionally equivalent?
>>
>> Sometimes it can be good to test the upstream version so we know come
>> upgrade
>> time we're ok and we don't need to ask upstream to make any further
>> tweaks.
>>
>
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158518): 
https://lists.openembedded.org/g/openembedded-core/message/158518
Mute This Topic: https://lists.openembedded.org/mt/87121973/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 v2 7/7] systemd: add nativesdk

2021-11-19 Thread Alexander Kanavin
Once again, I do not want this accepted in oe-core, not until there's
equivalent native functionality.

Alex

On Fri, 19 Nov 2021 at 12:35, Luca Bocassi  wrote:

> From: Luca Boccassi 
>
> Allows using tools like systemd-analyze at build time and in
> CI systems
>
> Signed-off-by: Luca Boccassi 
> ---
>  meta/recipes-core/systemd/systemd-conf_1.0.bb| 2 ++
>  meta/recipes-core/systemd/systemd-serialgetty.bb | 2 ++
>  meta/recipes-core/systemd/systemd_249.5.bb   | 2 ++
>  3 files changed, 6 insertions(+)
>
> diff --git a/meta/recipes-core/systemd/systemd-conf_1.0.bb
> b/meta/recipes-core/systemd/systemd-conf_1.0.bb
> index 61ce7939d3..84de4d17cf 100644
> --- a/meta/recipes-core/systemd/systemd-conf_1.0.bb
> +++ b/meta/recipes-core/systemd/systemd-conf_1.0.bb
> @@ -41,3 +41,5 @@ FILES:${PN} = "\
>  ${systemd_unitdir}/system.conf.d/ \
>  ${systemd_unitdir}/network/ \
>  "
> +
> +BBCLASSEXTEND = "nativesdk"
> diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb
> b/meta/recipes-core/systemd/systemd-serialgetty.bb
> index 7ca951cdbd..f877e6ad18 100644
> --- a/meta/recipes-core/systemd/systemd-serialgetty.bb
> +++ b/meta/recipes-core/systemd/systemd-serialgetty.bb
> @@ -50,3 +50,5 @@ FILES:${PN} = "${systemd_system_unitdir}/*.service
> ${sysconfdir}"
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>  ALLOW_EMPTY:${PN} = "1"
> +
> +BBCLASSEXTEND = "nativesdk"
> diff --git a/meta/recipes-core/systemd/systemd_249.5.bb
> b/meta/recipes-core/systemd/systemd_249.5.bb
> index 2928a85c93..445a50b1e3 100644
> --- a/meta/recipes-core/systemd/systemd_249.5.bb
> +++ b/meta/recipes-core/systemd/systemd_249.5.bb
> @@ -773,6 +773,8 @@ ALTERNATIVE_TARGET[runlevel] =
> "${base_bindir}/systemctl"
>  ALTERNATIVE_LINK_NAME[runlevel] = "${base_sbindir}/runlevel"
>  ALTERNATIVE_PRIORITY[runlevel] ?= "300"
>
> +BBCLASSEXTEND = "nativesdk"
> +
>  # Nothing picks up /var in the nativesdk case
>  do_install_append_class-nativesdk () {
> rm -rf ${D}/var
> --
> 2.30.2
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158516): 
https://lists.openembedded.org/g/openembedded-core/message/158516
Mute This Topic: https://lists.openembedded.org/mt/87165499/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 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Alexander Kanavin
This is the upstream fix:
https://git.savannah.gnu.org/cgit/groff.git/commit/?id=979f3f4266151c7681a68a40d2c4913842a7271d

I can backport that, rebase the existing patch on top and see what's left,
sure.

Alex
On Fri, 19 Nov 2021 at 12:15, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Wed, 2021-11-17 at 16:34 +0100, Alexander Kanavin wrote:
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  meta/recipes-extended/groff/files/0001-Include-config.h.patch | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git
> a/meta/recipes-extended/groff/files/0001-Include-config.h.patch
> b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
> > index 46065bc513..34fca1eb2f 100644
> > --- a/meta/recipes-extended/groff/files/0001-Include-config.h.patch
> > +++ b/meta/recipes-extended/groff/files/0001-Include-config.h.patch
> > @@ -20,7 +20,7 @@ In file included from
> TOPDIR/build/tmp/work/aarch64-yoe-linux-musl/groff/1.22.4-
> >  We delete eqn.cpp and qen.hpp in do_configure
> >  to ensure they're regenerated and deterministic.
> >
> > -Upstream-Status: Pending
> > +Upstream-Status: Inappropriate [issue fixed upstream with a similar
> patch]
> >  Signed-off-by: Khem Raj 
> >  ---
> >   src/libs/libgroff/assert.cpp  |   4 +
>
>
> Should we replace this with the upstream patch? That way we'd have a clean
> backport which would help at upgrade time?
>
> Is the upstream patch exactly functionally equivalent?
>
> Sometimes it can be good to test the upstream version so we know come
> upgrade
> time we're ok and we don't need to ask upstream to make any further tweaks.
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158506): 
https://lists.openembedded.org/g/openembedded-core/message/158506
Mute This Topic: https://lists.openembedded.org/mt/87121973/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 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-19 Thread Alexander Kanavin
On Fri, 19 Nov 2021 at 00:14, Andre McCurdy  wrote:

> > So everything that is supposed to be there is actually present, and the
> patch is indeed unneeded.
>
> Looks good. If you have the full strace logs for both cases then it
> might still be useful to check which (if any) command lines are
> changed by removing the patch, but if not then removing the whole
> patch does seem OK.
>

There is no tooling to compare strace files, they have process ids, and
probably other unrelated files that needs to be stripped out or matched.

Just to reiterate: this is for the master branch, and I do insist on "if AB
is green then it works as intended" - if issues are found later, then the
right way to deal with them is to improve the AB tests, not ask maintainers
do even more manual work. Can you help me review the remaining 400
"upstream-status: pending" patches?

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158499): 
https://lists.openembedded.org/g/openembedded-core/message/158499
Mute This Topic: https://lists.openembedded.org/mt/87122011/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] how to "prune" dead sstate-cache?

2021-11-18 Thread Alexander Kanavin
There is a caveat here. This will touch all sstate that is needed to
construct an image, but won't touch sstate needed to build components that
go into the image. So target packages are guaranteed to be kept, but native
items may be deleted - I've seen this with e.g. java compiler that is used
for few specific, rarely changing items.

Alex

On Thu, 18 Nov 2021 at 12:11, Ross Burton  wrote:

> If you can say that you've touched all the sstate you'll need then the
> find trick is sufficient.  I use it on our CI to prune any sstate that
> hasn't been touched in a month, for example.
>
> The script is more powerful and can selectively save or destroy
> things, but can potentially be more complicated than just nuking
> anything old.
>
> Ross
>
> On Thu, 18 Nov 2021 at 10:38, Robert P. J. Day 
> wrote:
> >
> >
> >   assuming my (correct) understanding of sstate-cache is that, as time
> > goes by, it just gets larger and larger, it will increasingly contain
> > content that is of little value anymore, what is the simplest way to
> > purge or prune entries that are no longer involved in any desired
> > builds?
> >
> >   i'm guessing a simple way to do that is to first delete tmp/, then
> > build any current targets/images, immediately followed by something
> > like:
> >
> >   $ find sstate-cache -type f -atime +1 -delete
> >
> > is there anything fancier than that?
> >
> > rday
> >
> >
> >
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158475): 
https://lists.openembedded.org/g/openembedded-core/message/158475
Mute This Topic: https://lists.openembedded.org/mt/87140377/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] how to "prune" dead sstate-cache?

2021-11-18 Thread Alexander Kanavin
It would be also nice to confirm that the script is in use by someone, and
functions properly. There's a ton of stuff under scripts/  that isn't
getting a lot of attention or testing.

Alex

On Thu, 18 Nov 2021 at 11:43, Robert P. J. Day 
wrote:

> On Thu, 18 Nov 2021, Martin Jansa wrote:
>
> > openembedded-core/scripts/sstate-cache-management.sh
>
>   i just now found that script, and noticed that it is not documented
> anywhere in the YP docs. perhaps we need a short section on
> sstate-cache management somewhere in the docs.
>
> rday
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158472): 
https://lists.openembedded.org/g/openembedded-core/message/158472
Mute This Topic: https://lists.openembedded.org/mt/87140377/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] how to "prune" dead sstate-cache?

2021-11-18 Thread Alexander Kanavin
Not really, no. It's also important to stop all builds while this is
running - sstate artefacts vanishing during a build will cause chaos.

Alex

On Thu, 18 Nov 2021 at 11:38, Robert P. J. Day 
wrote:

>
>   assuming my (correct) understanding of sstate-cache is that, as time
> goes by, it just gets larger and larger, it will increasingly contain
> content that is of little value anymore, what is the simplest way to
> purge or prune entries that are no longer involved in any desired
> builds?
>
>   i'm guessing a simple way to do that is to first delete tmp/, then
> build any current targets/images, immediately followed by something
> like:
>
>   $ find sstate-cache -type f -atime +1 -delete
>
> is there anything fancier than that?
>
> rday
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158470): 
https://lists.openembedded.org/g/openembedded-core/message/158470
Mute This Topic: https://lists.openembedded.org/mt/87140377/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 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-18 Thread Alexander Kanavin
I double checked, with strace (can't trust the logs as they don't show the
actual linker invocation :)

execve("/home/alex/development/poky/build-64-alt/tmp/work/core2-64-poky-linux/busybox/1.34.1-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc",
["x86_64-poky-linux-gcc", "-m64", "-march=core2", "-mtune=core2", "-msse3",
"-mfpmath=sse", "-fstack-protector-strong", "-O2", "-D_FORTIFY_SOURCE=2",
"--sysroot=/home/alex/development/poky/build-64-alt/tmp/work/core2-64-poky-linux/busybox/1.34.1-r0/recipe-sysroot",
"-malign-data=abi", "-Wall", "-Wshadow", "-Wwrite-strings", "-Wundef",
"-Wstrict-prototypes", "-Wunused", "-Wunused-parameter",
"-Wunused-function", "-Wunused-value", "-Wmissing-prototypes",
"-Wmissing-declarations", "-Wno-format-security",
"-Wdeclaration-after-statement", "-Wold-style-definition",
"-finline-limit=0", "-fno-builtin-strlen", "-fomit-frame-pointer",
"-ffunction-sections", "-fdata-sections", "-fno-guess-branch-probability",
"-funsigned-char", "-static-libgcc", "-falign-functions=1",
"-falign-jumps=1", "-falign-labels=1", "-falign-loops=1",
"-fno-unwind-tables", "-fno-asynchronous-unwind-tables",
"-fno-builtin-printf", "-Os", "-O2", "-pipe", "-g",
"-feliminate-unused-debug-types", "-m64", "-march=core2", "-mtune=core2",
"-msse3", "-mfpmath=sse", "-fstack-protector-strong", "-O2",
"-D_FORTIFY_SOURCE=2", "-Wl,-O1", "-Wl,--hash-style=gnu",
"-Wl,--as-needed",
"-fmacro-prefix-map=/home/alex/development/poky/build-64-alt/tmp/work/core2-64-poky-linux/busybox/1.34.1-r0=/usr/src/debug/busybox/1.34.1-r0",
"-fdebug-prefix-map=/home/alex/development/poky/build-64-alt/tmp/work/core2-64-poky-linux/busybox/1.34.1-r0=/usr/src/debug/busybox/1.34.1-r0",
"-fdebug-prefix-map=/home/alex/development/poky/build-64-alt/tmp/work/core2-64-poky-linux/busybox/1.34.1-r0/recipe-sysroot=",
"-fdebug-prefix-map=/home/alex/development/poky/build-64-alt/tmp/work/core2-64-poky-linux/busybox/1.34.1-r0/recipe-sysroot-native=",
"-Wl,-z,relro,-z,now", "-o", "busybox_unstripped", "-Wl,--sort-common",
"-Wl,--sort-section,alignment", "-Wl,--gc-sections", "-Wl,--start-group",
"applets/built-in.o", "archival/lib.a", "archival/libarchive/lib.a",
"console-tools/lib.a", "coreutils/lib.a", "coreutils/libcoreutils/lib.a",
"debianutils/lib.a", "klibc-utils/lib.a", "e2fsprogs/lib.a",
"editors/lib.a", "findutils/lib.a", "init/lib.a", "libbb/lib.a",
"libpwdgrp/lib.a", "loginutils/lib.a", "mailutils/lib.a",
"miscutils/lib.a", "modutils/lib.a", "networking/lib.a",
"networking/libiproute/lib.a", "networking/udhcp/lib.a",
"printutils/lib.a", "procps/lib.a", "runit/lib.a", "selinux/lib.a",
"shell/lib.a", "sysklogd/lib.a", "util-linux/lib.a",
"util-linux/volume_id/lib.a", "archival/built-in.o",
"archival/libarchive/built-in.o", "console-tools/built-in.o",
"coreutils/built-in.o", "coreutils/libcoreutils/built-in.o",
"debianutils/built-in.o", "klibc-utils/built-in.o", "e2fsprogs/built-in.o",
"editors/built-in.o", "findutils/built-in.o", "init/built-in.o",
"libbb/built-in.o", "libpwdgrp/built-in.o", "loginutils/built-in.o",
"mailutils/built-in.o", "miscutils/built-in.o", "modutils/built-in.o",
"networking/built-in.o", "networking/libiproute/built-in.o",
"networking/udhcp/built-in.o", "printutils/built-in.o",
"procps/built-in.o", "runit/built-in.o", "selinux/built-in.o",
"shell/built-in.o", "sysklogd/built-in.o", "util-linux/built-in.o",
"util-linux/volume_id/built-in.o", "-Wl,--end-group", "-Wl,--start-group",
"-lcrypt", "-lm", "-lrt", "-Wl,--end-group"], 0x5654941e7a98 /* 138 vars
*/) = 0

So everything that is supposed to be there is actually present, and the
patch is indeed unneeded.

Alex

On Wed, 17 Nov 2021 at 23:05, Alexander Kanavin

Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-17 Thread Alexander Kanavin
On Wed, 17 Nov 2021 at 21:43, Andre McCurdy  wrote:

> On Wed, Nov 17, 2021 at 7:36 AM Alexander Kanavin
>  wrote:
> >
> > This was added 10 years ago, is almost certainly non-upstreamable
> > and it isn't clear what the issues it aims to fix are:
> > the AB revealed no problems when the patch is removed.
>
> The comment in the patch was: This fixes the issue where LDFLAGS
> escaped with -Wl are ignored during compilation. Seems fairly clear!
>
> Checking that the AB run didn't fail is probably not enough to justify
> removing this patch. You should also confirm that LDFLAGS escaped with
> -Wl (e.g. -Wl,-z,relro,-z,now when security flags are enabled, etc)
> are still passed to the linker.
>

Thanks, I will double check.

Alex


>
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  ...ing-instead-of-LD-and-use-CFLAGS-and.patch | 114 --
> >  meta/recipes-core/busybox/busybox_1.34.1.bb   |   1 -
> >  2 files changed, 115 deletions(-)
> >  delete mode 100644
> meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
> >
> > diff --git
> a/meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
> b/meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
> > deleted file mode 100644
> > index 2bf2b91c7e..00
> > ---
> a/meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
> > +++ /dev/null
> > @@ -1,114 +0,0 @@
> > -From a9333eb6a7b8dbda735947cd5bc981ff9352a2c9 Mon Sep 17 00:00:00 2001
> > -From: Nathan Phillip Brink 
> > -Date: Thu, 10 Mar 2011 00:27:08 -0500
> > -Subject: [PATCH 1/2] Use $(CC) when linking instead of $(LD) and use
> $(CFLAGS)
> > - and $(EXTRA_CFLAGS) when linking.
> > -
> > -This fixes the issue where LDFLAGS escaped with -Wl are ignored during
> > -compilation. It also simplifies using CFLAGS or EXTRA_CFLAGS (such as
> > --m32 on x86_64 or -flto) which apply to both compilation and linking
> > -situations.
> > -
> > -Signed-off-by: Nathan Phillip Brink 
> > 
> > -Upstream-Status: Pending
> > -
> > - Makefile   |  7 ---
> > - scripts/Makefile.build |  8 
> > - scripts/Makefile.lib   | 13 +++--
> > - 3 files changed, 11 insertions(+), 17 deletions(-)
> > -
> > -Index: busybox-1.23.2/Makefile
> > -===
> >  busybox-1.23.2.orig/Makefile
> > -+++ busybox-1.23.2/Makefile
> > -@@ -309,7 +309,8 @@ CHECKFLAGS := -D__linux__ -Dlinux -D
> > - MODFLAGS  = -DMODULE
> > - CFLAGS_MODULE   = $(MODFLAGS)
> > - AFLAGS_MODULE   = $(MODFLAGS)
> > --LDFLAGS_MODULE  = -r
> > -+LDFLAGS_RELOCATABLE = -r -nostdlib
> > -+LDFLAGS_MODULE  = $(LDFLAGS_RELOCATABLE)
> > - CFLAGS_KERNEL =
> > - AFLAGS_KERNEL =
> > -
> > -@@ -331,7 +332,7 @@ KERNELVERSION = $(VERSION).$(PATCHLEVEL)
> > - exportVERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION \
> > -   ARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC \
> > -   CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL
> UTS_MACHINE \
> > --  HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
> > -+  HOSTCXX HOSTCXXFLAGS LDFLAGS_RELOCATABLE LDFLAGS_MODULE CHECK
> CHECKFLAGS
> > -
> > - export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
> > - export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
> > -@@ -610,7 +611,7 @@ quiet_cmd_busybox__ ?= LINK$@
> > -   cmd_busybox__ ?= $(srctree)/scripts/trylink \
> > -   "$@" \
> > -   "$(CC)" \
> > --  "$(CFLAGS) $(CFLAGS_busybox)" \
> > -+  "$(CFLAGS) $(CFLAGS_busybox) $(EXTRA_CFLAGS)" \
> > -   "$(LDFLAGS) $(EXTRA_LDFLAGS)" \
> > -   "$(core-y)" \
> > -   "$(libs-y)" \
> > -Index: busybox-1.23.2/scripts/Makefile.build
> > -===
> >  busybox-1.23.2.orig/scripts/Makefile.build
> > -+++ busybox-1.23.2/scripts/Makefile.build
> > -@@ -174,7 +174,7 @@ cmd_modversions =
> \
> > -   | $(GENKSYMS) -a $(ARCH)\
> > -   > $(@D)/.tmp_$(@F:.o=.ver); \
> > -   \
> > --  $(LD) $(LDFLAGS) -r -o $@ $(@D)/.tmp_$(@F)  \
> > -

Re: [OE-core] [PATCH 33/36] expect: do not install examples, drop related patch

2021-11-17 Thread Alexander Kanavin
On Wed, 17 Nov 2021 at 20:05, Khem Raj  wrote:

> yes perhaps as part of main PN package its not but as a separate package
> something like PN-examples or some such it will be better
>

If upstream doesn't install them, there's no need to override that; they're
just example code snippets that serve no purpose on embedded targets.

Alex



>
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >   .../expect/expect/01-example-shebang.patch| 144 --
> >   meta/recipes-devtools/expect/expect_5.45.4.bb |   2 -
> >   2 files changed, 146 deletions(-)
> >   delete mode 100644
> meta/recipes-devtools/expect/expect/01-example-shebang.patch
> >
> > diff --git
> a/meta/recipes-devtools/expect/expect/01-example-shebang.patch
> b/meta/recipes-devtools/expect/expect/01-example-shebang.patch
> > deleted file mode 100644
> > index 8597f31387..00
> > --- a/meta/recipes-devtools/expect/expect/01-example-shebang.patch
> > +++ /dev/null
> > @@ -1,144 +0,0 @@
> > -Author: Mike Markley 
> > -Author: Sergei Golovan 
> > -Description: Fixes shebangs in examples (Closes: #152367).
> > -
> > -Backported from Debian
> > -
> > -Upstream-Status: Pending
> > -Index: expect5.45/example/beer.exp
> > -===
> >  expect5.45.orig/example/beer.exp 2006-01-25 13:51:39.0 -0800
> > -+++ expect5.45/example/beer.exp  2013-11-01 17:35:19.817318341 -0700
> > -@@ -1,4 +1,9 @@
> > --#!/depot/path/expect -f
> > -+#!/bin/sh
> > -+# -*- tcl -*-
> > -+# The next line is executed by /bin/sh, but not tcl \
> > -+exec tclsh "$0" ${1+"$@"}
> > -+
> > -+package require Expect
> > -
> > - # 99 bottles of beer on the wall, Expect-style
> > - # Author: Don Libes 
> > -Index: expect5.45/example/expectd.proto
> > -===
> >  expect5.45.orig/example/expectd.proto2010-07-02
> 09:03:31.0 -0700
> > -+++ expect5.45/example/expectd.proto 2013-11-01 17:35:19.821318341 -0700
> > -@@ -1,4 +1,10 @@
> > --#!/depot/tcl/src/expect/e --
> > -+#!/bin/sh
> > -+# -*- tcl -*-
> > -+# The next line is executed by /bin/sh, but not tcl \
> > -+exec tclsh "$0" ${1+"$@"}
> > -+
> > -+package require Expect
> > -+
> > - # Description: Simple fragment to begin a telnet daemon
> > - # For more information, see Chapter 17 of "Exploring Expect"
> > - # Author: Don Libes, NIST
> > -Index: expect5.45/example/irsh
> > -===
> >  expect5.45.orig/example/irsh 2010-07-02 09:03:31.0 -0700
> > -+++ expect5.45/example/irsh  2013-11-01 17:35:19.821318341 -0700
> > -@@ -1,4 +1,9 @@
> > --#!/depot/path/expect --
> > -+#!/bin/sh
> > -+# -*- tcl -*-
> > -+# The next line is executed by /bin/sh, but not tcl \
> > -+exec tclsh "$0" ${1+"$@"}
> > -+
> > -+package require Expect
> > -
> > - # Do rsh interactively.  For example, consider the following command:
> > - #rsh  ls -l "|" more
> > -Index: expect5.45/example/passwd.cgi
> > -===
> >  expect5.45.orig/example/passwd.cgi   2000-01-06
> 15:22:07.0 -0800
> > -+++ expect5.45/example/passwd.cgi2013-11-01 17:35:19.821318341 -0700
> > -@@ -1,4 +1,9 @@
> > --#!/depot/path/expect --
> > -+#!/bin/sh
> > -+# -*- tcl -*-
> > -+# The next line is executed by /bin/sh, but not tcl \
> > -+exec tclsh "$0" ${1+"$@"}
> > -+
> > -+package require Expect
> > -
> > - # This is a CGI script to process requests created by the accompanying
> > - # passwd.html form.  This script is pretty basic, although it is
> > -Index: expect5.45/example/passwdprompt
> > -===
> >  expect5.45.orig/example/passwdprompt 2003-09-05
> 12:01:59.0 -0700
> > -+++ expect5.45/example/passwdprompt  2013-11-01 17:35:19.821318341 -0700
> > -@@ -1,4 +1,9 @@
> > --#!/depot/path/expect
> > -+#!/bin/sh
> > -+# -*- tcl -*-
> > -+# The next line is executed by /bin/sh, but not tcl \
> > -+exec tclsh "$0" ${1+"$@"}
> > -+
> > -+package require Expect
> > -
> > - # This script prompts for a passwd from stdin while echoing *'s
> > -
> > -Index: expect5.45/example/r

Re: [OE-core] [PATCH 0/8] systemd: allow building for nativesdk

2021-11-17 Thread Alexander Kanavin
On Wed, 17 Nov 2021 at 19:05, Luca Boccassi  wrote:

> > This patchset allows systemd binaries to be used in SDKs; what I
> > would like to see is that those binaries are built and used directly
> > in yocto builds. E.g. systemd recipe gains BBCLASSEXTEND = "native",
> > systemd.bbclass gets DEPENDS = "systemd-native" and then uses the
> > native systemd binaries in the same way you want to use them in your
> > private SDK-based pipelines.
>
> Sounds good to me, feel free to go ahead and send patches to do that.
> It's unrelated to this series and to my requirements, and I have no use
> for it, so I will not be spending any time chasing down various rabbit
> holes to make it work, sorry.
>

Please consider the needs of the project and the community too. From that
perspective I do think any QA enhancement must be available to users of
bitbake before it's available to users of SDK (and even then, without any
regression testing upstream, and only if they set up special SDK plumbing
in private CI pipelines). Doing otherwise sets a bad precedent in my
opinion.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158458): 
https://lists.openembedded.org/g/openembedded-core/message/158458
Mute This Topic: https://lists.openembedded.org/mt/87118013/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 22/36] elfutils: update 0.185 -> 0.186

2021-11-17 Thread Alexander Kanavin
Another problem is that who will run those tests with musl regularly and
ensure they won't regress again? We don't do it, upstream doesn't do it, so
then why spend time fixing them?

Alex

On Wed, 17 Nov 2021 at 20:18, Khem Raj  wrote:

> On Wed, Nov 17, 2021 at 11:11 AM Mark Wielaard  wrote:
> >
> > Hi,
> >
> > I hack on elfutils upstream.
> >
> > On Wed, Nov 17, 2021 at 06:32:40PM +0100, Alexander Kanavin wrote:
> > > On Wed, 17 Nov 2021 at 18:15, Khem Raj  wrote:
> > > > > Rework support for error() on non-glibc targets:
> > > > > upstream now provides its own implementation, so we can drop
> > > > > the patch that adds ours; said implementation isn't
> > > > > build-tested with tests, so ptest has to be disabled on musl.
> > > >
> > > > Overall this is an improvement so I am good with this patch.
> > > > if upstream implementation does not pass ptests
> > > > perhaps worth reporting upstream.
> > >
> > > I would if upstream would be interested in tests with anything except
> > > glibc, but I'm fairly sure they're not. The tests don't even build with
> > > musl without invasive patching.
> >
> > If you don't report issues we won't know there are any.  elfutils
> > upstream is certainly focussed on glibc. And some of the musl
> > developers are pretty hostile and agresssive, which certainly isn't
> > appreciated. But we do appreciate bug reports and patches to support
> > alternative libc implementations where they make sense and help
> > others.
>
> Thanks Mark, good point about creating bug reports at least.
>
> >
> > Cheers,
> >
> > Mark
> >
>

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



Re: [OE-core] [PATCH 0/8] systemd: allow building for nativesdk

2021-11-17 Thread Alexander Kanavin
On Wed, 17 Nov 2021 at 18:41, Luca Boccassi  wrote:

> > This is packaging the tool for the target images; what I propose is
> > that it's built and used natively.
>
> Which is what this patchset does? Again you can't build these recipes
> to run locally without these changes, that's the entire point
>

This patchset allows systemd binaries to be used in SDKs; what I would like
to see is that those binaries are built and used directly in yocto builds.
E.g. systemd recipe gains BBCLASSEXTEND = "native", systemd.bbclass gets
DEPENDS = "systemd-native" and then uses the native systemd binaries in the
same way you want to use them in your private SDK-based pipelines.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158446): 
https://lists.openembedded.org/g/openembedded-core/message/158446
Mute This Topic: https://lists.openembedded.org/mt/87118013/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 22/36] elfutils: update 0.185 -> 0.186

2021-11-17 Thread Alexander Kanavin
On Wed, 17 Nov 2021 at 18:15, Khem Raj  wrote:

> > Rework support for error() on non-glibc targets:
> > upstream now provides its own implementation, so we can drop
> > the patch that adds ours; said implementation isn't
> > build-tested with tests, so ptest has to be disabled on musl.
>
> Overall this is an improvement so I am good with this patch.
> if upstream implementation does not pass ptests
> perhaps worth reporting upstream.
>

I would if upstream would be interested in tests with anything except
glibc, but I'm fairly sure they're not. The tests don't even build with
musl without invasive patching.

Alex



>
> > This, in turns, allows dropping 0004-Fix-error-on-musl.patch.
> >
> > License-Update: copyright years
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  .../{elfutils_0.185.bb => elfutils_0.186.bb}  |  12 +-
> >  ...ompilation-on-platforms-without-erro.patch |  54 +++
> >  .../elfutils/files/0002-musl-libs.patch   | 118 ---
> >  .../elfutils/files/0003-musl-utils.patch  |   6 +-
> >  .../files/0004-Fix-error-on-musl.patch|  36 -
> >  .../0015-config-eu.am-do-not-use-Werror.patch |   8 +-
> >  .../elfutils/files/glibc-2.34-fix.patch   | 138 --
> >  7 files changed, 65 insertions(+), 307 deletions(-)
> >  rename meta/recipes-devtools/elfutils/{elfutils_0.185.bb =>
> elfutils_0.186.bb} (95%)
> >  create mode 100644
> meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
> >  delete mode 100644
> meta/recipes-devtools/elfutils/files/0002-musl-libs.patch
> >  delete mode 100644
> meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch
> >  delete mode 100644
> meta/recipes-devtools/elfutils/files/glibc-2.34-fix.patch
> >
> > diff --git a/meta/recipes-devtools/elfutils/elfutils_0.185.bb
> b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
> > similarity index 95%
> > rename from meta/recipes-devtools/elfutils/elfutils_0.185.bb
> > rename to meta/recipes-devtools/elfutils/elfutils_0.186.bb
> > index f4769e3632..b3588a2196 100644
> > --- a/meta/recipes-devtools/elfutils/elfutils_0.185.bb
> > +++ b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
> > @@ -4,7 +4,7 @@ DESCRIPTION = "elfutils is a collection of utilities and
> libraries to read, crea
> >  SECTION = "base"
> >  LICENSE = "GPLv2 & GPLv2+ & LGPLv3+ & GPLv3+"
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504
> \
> > -
> file://debuginfod/debuginfod-client.c;endline=27;md5=f8e9d171c401c493ec45a0b2992ea2ed
> \
> > +
> file://debuginfod/debuginfod-client.c;endline=27;md5=d2adfd8f5347d4c96e3c280393ce66da
> \
> >  "
> >  DEPENDS = "zlib virtual/libintl"
> >  DEPENDS:append:libc-musl = " argp-standalone fts musl-obstack "
> > @@ -22,20 +22,16 @@ SRC_URI = "
> https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
> > file://ptest.patch \
> >
>  file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
> >
>  file://0001-debuginfod-debuginfod-client.c-correct-string-format.patch \
> > -   file://glibc-2.34-fix.patch \
> > +
>  file://0001-debuginfod-fix-compilation-on-platforms-without-erro.patch \
> > "
> >  SRC_URI:append:libc-musl = " \
> > -   file://0002-musl-libs.patch \
> > file://0003-musl-utils.patch \
> > -   file://0004-Fix-error-on-musl.patch \
> > file://0015-config-eu.am-do-not-use-Werror.patch \
> > "
> > -SRC_URI[sha256sum] =
> "dc8d3e74ab209465e7f568e1b3bb9a5a142f8656e2b57d10049a73da2ae6b5a6"
> > -
> > -# remove at next version upgrade or when output changes
> > -PR = "r1"
> > +SRC_URI[sha256sum] =
> "7f6fb9149b1673d38d9178a0d3e0fb8a1ec4f53a9f4c2ff89469609879641177"
> >
> >  inherit autotools gettext ptest pkgconfig
> > +PTEST_ENABLED:libc-musl = "0"
> >
> >  EXTRA_OECONF = "--program-prefix=eu-"
> >
> > diff --git
> a/meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
> b/meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
> > new file mode 100644
> > index 00..e80d96aaca
> > --- /dev/null
> > +++
> b/meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
> > @@ -0,0 +1,54 @@
> > +From

Re: [OE-core] [PATCH 0/8] systemd: allow building for nativesdk

2021-11-17 Thread Alexander Kanavin
On Wed, 17 Nov 2021 at 17:11, Luca Boccassi  wrote:

> > What I'm trying to say is running those systemd analyzers should be
> > enabled in regular yocto builds first before it's enabled in SDKs.
> > It's not a good idea to have a feature that is available in SDKs but
> > not available in direct use of bitbake to build recipes.
> >
> > Alex
>
> But it is already available? And it has been for a long time:
>
>
> https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/systemd/systemd_249.5.bb#n411


This is packaging the tool for the target images; what I propose is that
it's built and used natively.

Alex

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



[OE-core] [PATCH 36/36] librsvg: submit system-deps patch upstream

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...endor-system-deps-sort-dependencies-before-using-th.patch | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/meta/recipes-gnome/librsvg/librsvg/0001-vendor-system-deps-sort-dependencies-before-using-th.patch
 
b/meta/recipes-gnome/librsvg/librsvg/0001-vendor-system-deps-sort-dependencies-before-using-th.patch
index 9fe11930d3..21565c8faa 100644
--- 
a/meta/recipes-gnome/librsvg/librsvg/0001-vendor-system-deps-sort-dependencies-before-using-th.patch
+++ 
b/meta/recipes-gnome/librsvg/librsvg/0001-vendor-system-deps-sort-dependencies-before-using-th.patch
@@ -6,10 +6,7 @@ Subject: [PATCH] vendor/system-deps: sort dependencies before 
using them
 Otherwise they come out in non-reproducible order, leaking into
 target binaries.
 
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 
-
-
+Upstream-Status: Submitted [https://github.com/gdesmott/system-deps/pull/56]
 Signed-off-by: Alexander Kanavin 
 ---
  vendor/system-deps/.cargo-checksum.json | 3 ++-
-- 
2.20.1


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



[OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-17 Thread Alexander Kanavin
This was added 10 years ago, is almost certainly non-upstreamable
and it isn't clear what the issues it aims to fix are:
the AB revealed no problems when the patch is removed.

Signed-off-by: Alexander Kanavin 
---
 ...ing-instead-of-LD-and-use-CFLAGS-and.patch | 114 --
 meta/recipes-core/busybox/busybox_1.34.1.bb   |   1 -
 2 files changed, 115 deletions(-)
 delete mode 100644 
meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

diff --git 
a/meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
 
b/meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
deleted file mode 100644
index 2bf2b91c7e..00
--- 
a/meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
+++ /dev/null
@@ -1,114 +0,0 @@
-From a9333eb6a7b8dbda735947cd5bc981ff9352a2c9 Mon Sep 17 00:00:00 2001
-From: Nathan Phillip Brink 
-Date: Thu, 10 Mar 2011 00:27:08 -0500
-Subject: [PATCH 1/2] Use $(CC) when linking instead of $(LD) and use $(CFLAGS)
- and $(EXTRA_CFLAGS) when linking.
-
-This fixes the issue where LDFLAGS escaped with -Wl are ignored during
-compilation. It also simplifies using CFLAGS or EXTRA_CFLAGS (such as
--m32 on x86_64 or -flto) which apply to both compilation and linking
-situations.
-
-Signed-off-by: Nathan Phillip Brink 

-Upstream-Status: Pending
-
- Makefile   |  7 ---
- scripts/Makefile.build |  8 
- scripts/Makefile.lib   | 13 +++--
- 3 files changed, 11 insertions(+), 17 deletions(-)
-
-Index: busybox-1.23.2/Makefile
-===
 busybox-1.23.2.orig/Makefile
-+++ busybox-1.23.2/Makefile
-@@ -309,7 +309,8 @@ CHECKFLAGS := -D__linux__ -Dlinux -D
- MODFLAGS  = -DMODULE
- CFLAGS_MODULE   = $(MODFLAGS)
- AFLAGS_MODULE   = $(MODFLAGS)
--LDFLAGS_MODULE  = -r
-+LDFLAGS_RELOCATABLE = -r -nostdlib
-+LDFLAGS_MODULE  = $(LDFLAGS_RELOCATABLE)
- CFLAGS_KERNEL =
- AFLAGS_KERNEL =
- 
-@@ -331,7 +332,7 @@ KERNELVERSION = $(VERSION).$(PATCHLEVEL)
- exportVERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION \
-   ARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC \
-   CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE \
--  HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
-+  HOSTCXX HOSTCXXFLAGS LDFLAGS_RELOCATABLE LDFLAGS_MODULE CHECK CHECKFLAGS
- 
- export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
- export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
-@@ -610,7 +611,7 @@ quiet_cmd_busybox__ ?= LINK$@
-   cmd_busybox__ ?= $(srctree)/scripts/trylink \
-   "$@" \
-   "$(CC)" \
--  "$(CFLAGS) $(CFLAGS_busybox)" \
-+  "$(CFLAGS) $(CFLAGS_busybox) $(EXTRA_CFLAGS)" \
-   "$(LDFLAGS) $(EXTRA_LDFLAGS)" \
-   "$(core-y)" \
-   "$(libs-y)" \
-Index: busybox-1.23.2/scripts/Makefile.build
-===
 busybox-1.23.2.orig/scripts/Makefile.build
-+++ busybox-1.23.2/scripts/Makefile.build
-@@ -174,7 +174,7 @@ cmd_modversions =  
\
-   | $(GENKSYMS) -a $(ARCH)\
-   > $(@D)/.tmp_$(@F:.o=.ver); \
-   \
--  $(LD) $(LDFLAGS) -r -o $@ $(@D)/.tmp_$(@F)  \
-+   $(CC) $(ld_flags_partial) $(LDFLAGS_RELOCATABLE) -o $@ 
$(@D)/.tmp_$(@F)\
-   -T $(@D)/.tmp_$(@F:.o=.ver);\
-   rm -f $(@D)/.tmp_$(@F) $(@D)/.tmp_$(@F:.o=.ver);\
-   else\
-@@ -257,7 +257,7 @@ quiet_cmd_link_o_target = LD  $@
- # If the list of objects to link is empty, just create an empty built-in.o
- # -nostdlib is added to make "make LD=gcc ..." work (some people use that)
- cmd_link_o_target = $(if $(strip $(obj-y)),\
--  $(LD) -nostdlib $(ld_flags) -r -o $@ $(filter $(obj-y), $^),\
-+  $(CC) $(ld_flags_partial) $(LDFLAGS_RELOCATABLE) -o $@ $(filter 
$(obj-y), $^),\
-   rm -f $@; $(AR) rcs $@)
- 
- $(builtin-target): $(obj-y) FORCE
-@@ -292,10 +292,10 @@ $($(subst $(obj)/,,$(@:.o=-objs)))\
- $($(subst $(obj)/,,$(@:.o=-y, $^)
- 
- quiet_cmd_link_multi-y = LD  $@
--cmd_link_multi-y = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps)
-+cmd_link_multi-y = $(CC) $(ld_flags_partial) $(LDFLAGS_RELOCATABLE) -o $@ 
$(link_multi_deps)
- 
- quiet_cmd_link_multi-m = LD [M]  $@
--cmd_link_multi-m = $(LD) $(ld_flags) $(LDFLAGS_MODULE) -o $@ 
$(link_multi_deps)
-+cmd_link_multi-m = $(CC) $(ld_flags) $(LDFLAGS_MODULE) -o $@ 
$(link_multi_deps)
- 
- # We would

[OE-core] [PATCH 35/36] slang: mark patch as inappropriate for upstream submission

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/slang/slang/terminfo_fixes.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/slang/slang/terminfo_fixes.patch 
b/meta/recipes-extended/slang/slang/terminfo_fixes.patch
index 3e6d15aa79..3ca20a8cab 100644
--- a/meta/recipes-extended/slang/slang/terminfo_fixes.patch
+++ b/meta/recipes-extended/slang/slang/terminfo_fixes.patch
@@ -2,7 +2,9 @@ Do not use the JD_TERMCAP macro since we cannot get the 
terminfo from
 ncurses pkg-config, but fix the macro to not reference host directories.
 Also add src/test/Makefile.in so that we can use -ltermcap if we want to.
 
-Upstream-Status: Pending
+Upstream isn't going to take this, as it forces blank values and
+removes functionality without replacing it.
+Upstream-Status: Inappropriate [see above]
 
 Signed-off-by: Joe Slater 
 
-- 
2.20.1


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



[OE-core] [PATCH 32/36] insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/classes/insane.bbclass | 24 
 1 file changed, 24 insertions(+)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 27b1a00fb9..240f3aad62 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1167,6 +1167,30 @@ python do_qa_patch() {
 bb.warn(msg)
 msg = "Patch log indicates that patches do not apply cleanly."
 oe.qa.handle_error("patch-fuzz", msg, d)
+
+# Check if the patch contains a correctly formatted and spelled 
Upstream-Status
+import re
+from oe import patch
+
+for url in patch.src_patches(d):
+   (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url)
+
+   # skip patches not in oe-core
+   if '/meta/' not in fullpath:
+   continue
+
+   content = open(fullpath, encoding='utf-8', errors='ignore').read()
+   kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | 
re.MULTILINE)
+   strict_status_re = re.compile(r"^Upstream-Status: 
(Pending|Submitted|Denied|Accepted|Inappropriate|Backport)( .+)?$", 
re.MULTILINE)
+   match_kinda = kinda_status_re.search(content)
+   match_strict = strict_status_re.search(content)
+   guidelines = 
"https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status;
+
+   if not match_strict:
+   if match_kinda:
+   bb.error("Malformed Upstream-Status in patch\n%s\nPlease 
correct according to %s :\n%s" % (fullpath, guidelines, match_kinda.group(0)))
+   else:
+   bb.error("Missing Upstream-Status in patch\n%s\nPlease add 
according to %s ." % (fullpath, guidelines))
 }
 
 python do_qa_configure() {
-- 
2.20.1


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



[OE-core] [PATCH 33/36] expect: do not install examples, drop related patch

2021-11-17 Thread Alexander Kanavin
There is really no reason to install them; this was done
in the original recipe submission for unexplained reasons.

Signed-off-by: Alexander Kanavin 
---
 .../expect/expect/01-example-shebang.patch| 144 --
 meta/recipes-devtools/expect/expect_5.45.4.bb |   2 -
 2 files changed, 146 deletions(-)
 delete mode 100644 meta/recipes-devtools/expect/expect/01-example-shebang.patch

diff --git a/meta/recipes-devtools/expect/expect/01-example-shebang.patch 
b/meta/recipes-devtools/expect/expect/01-example-shebang.patch
deleted file mode 100644
index 8597f31387..00
--- a/meta/recipes-devtools/expect/expect/01-example-shebang.patch
+++ /dev/null
@@ -1,144 +0,0 @@
-Author: Mike Markley 
-Author: Sergei Golovan 
-Description: Fixes shebangs in examples (Closes: #152367).
-
-Backported from Debian
-
-Upstream-Status: Pending
-Index: expect5.45/example/beer.exp
-===
 expect5.45.orig/example/beer.exp   2006-01-25 13:51:39.0 -0800
-+++ expect5.45/example/beer.exp2013-11-01 17:35:19.817318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect -f
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
- 
- # 99 bottles of beer on the wall, Expect-style
- # Author: Don Libes 
-Index: expect5.45/example/expectd.proto
-===
 expect5.45.orig/example/expectd.proto  2010-07-02 09:03:31.0 
-0700
-+++ expect5.45/example/expectd.proto   2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,10 @@
--#!/depot/tcl/src/expect/e --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-+
- # Description: Simple fragment to begin a telnet daemon
- # For more information, see Chapter 17 of "Exploring Expect"
- # Author: Don Libes, NIST
-Index: expect5.45/example/irsh
-===
 expect5.45.orig/example/irsh   2010-07-02 09:03:31.0 -0700
-+++ expect5.45/example/irsh2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
- 
- # Do rsh interactively.  For example, consider the following command:
- #rsh  ls -l "|" more
-Index: expect5.45/example/passwd.cgi
-===
 expect5.45.orig/example/passwd.cgi 2000-01-06 15:22:07.0 -0800
-+++ expect5.45/example/passwd.cgi  2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
- 
- # This is a CGI script to process requests created by the accompanying
- # passwd.html form.  This script is pretty basic, although it is
-Index: expect5.45/example/passwdprompt
-===
 expect5.45.orig/example/passwdprompt   2003-09-05 12:01:59.0 
-0700
-+++ expect5.45/example/passwdprompt2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
- 
- # This script prompts for a passwd from stdin while echoing *'s
- 
-Index: expect5.45/example/reprompt
-===
 expect5.45.orig/example/reprompt   2000-01-06 15:22:07.0 -0800
-+++ expect5.45/example/reprompt2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
- 
- # Name: reprompt
- # Description: reprompt every so often until user enters something
-Index: expect5.45/example/term_expect
-===
 expect5.45.orig/example/term_expect2005-02-15 10:11:31.0 
-0800
-+++ expect5.45/example/term_expect 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expectk
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec wish "$0" ${1+"$@"}
-+
-+package require Expect
- 
- # Name: tkterm - terminal emulator using Expect and Tk text widget, v3.0
- # Author: Don Libes, July '94
-Index: expect5.45/example/vrfy
-===
 expect5.45.orig/examp

[OE-core] [PATCH 27/36] unfs3: add missing Upstream-Status tag

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/unfs3/unfs3/no-yywrap.patch | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/unfs3/unfs3/no-yywrap.patch 
b/meta/recipes-devtools/unfs3/unfs3/no-yywrap.patch
index e0746ad518..e3496814d8 100644
--- a/meta/recipes-devtools/unfs3/unfs3/no-yywrap.patch
+++ b/meta/recipes-devtools/unfs3/unfs3/no-yywrap.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Backport 
[https://github.com/unfs3/unfs3/commit/3fa0568e6ef96e045286afe18444bc28fe93962b]
+
 diff --git a/Config/exports.l b/Config/exports.l
 index 662603c..7e7c4fc 100644
 --- a/Config/exports.l
-- 
2.20.1


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



[OE-core] [PATCH 26/36] libxml2: add missing Upstream-Status tag

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch 
b/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch
index e80c46054e..66694af388 100644
--- a/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch
+++ b/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch
@@ -9,6 +9,7 @@ folder fuzz. These tests are not required for ptests of this 
package.
 This patch removes the fuzz testing targets from the Makefile.
 Otherwise, running the ptests will fail due to the invalid directory.
 
+Upstream-Status: Inappropriate [oe specific]
 Signed-off-by: Tony Tascioglu 
 ---
  Makefile.am | 5 ++---
-- 
2.20.1


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



[OE-core] [PATCH 29/36] kea: add missing Upstream-Status to a patch

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-connectivity/kea/files/fix-multilib-conflict.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/kea/files/fix-multilib-conflict.patch 
b/meta/recipes-connectivity/kea/files/fix-multilib-conflict.patch
index 8de9fce4b4..78f475a495 100644
--- a/meta/recipes-connectivity/kea/files/fix-multilib-conflict.patch
+++ b/meta/recipes-connectivity/kea/files/fix-multilib-conflict.patch
@@ -12,6 +12,7 @@ Subject: [PATCH] There are conflict of config files between 
kea and lib32-kea:
 Because they are all commented out, replace the expanded libdir path with
 '$libdir' in the config files to avoid conflict.
 
+Upstream-Status: Pending
 Signed-off-by: Kai Kang 
 
 ---
-- 
2.20.1


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



[OE-core] [PATCH 30/36] rust-hello-world: add missing Upstream-Status to a patch

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../rust-hello-world/rust-hello-world/0001-enable-LTO.patch  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch 
b/meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch
index 56ef9e73e6..f319545ee1 100644
--- 
a/meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch
+++ 
b/meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch
@@ -3,6 +3,7 @@ From: Dan Callaghan 
 Date: Fri, 5 Feb 2021 08:56:34 +1000
 Subject: [PATCH] enable LTO
 
+Upstream-Status: Pending
 ---
  Cargo.toml | 3 +++
  1 file changed, 3 insertions(+)
-- 
2.20.1


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



[OE-core] [PATCH 31/36] numactl: add missing Upstream-Status to a patch

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../numactl/numactl/0001-define-run-test-target.patch   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch 
b/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch
index 78ffb22f89..9e65a45133 100644
--- a/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch
+++ b/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch
@@ -1,6 +1,6 @@
 rename test target as run-test
 
-Upstream-Statue: Pending
+Upstream-Status: Pending
 
 test target not only compile the test files, but also run them, which is
 not suitable for cross-compile environment, so rename it as run-test.
-- 
2.20.1


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



[OE-core] [PATCH 28/36] libnl: add missing Upstream-Status tag

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-support/libnl/files/enable-serial-tests.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/libnl/files/enable-serial-tests.patch 
b/meta/recipes-support/libnl/files/enable-serial-tests.patch
index 8ea53f8748..db774ad821 100644
--- a/meta/recipes-support/libnl/files/enable-serial-tests.patch
+++ b/meta/recipes-support/libnl/files/enable-serial-tests.patch
@@ -5,6 +5,7 @@ Subject: [PATCH] Add ptest for libnl
 
 serial-tests is required to generate those targets.
 
+Upstream-Status: Inappropriate [oe-specific]
 Signed-off-by: Eric Xu 
 ---
  configure.ac | 2 +-
-- 
2.20.1


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



[OE-core] [PATCH 25/36] autoconf: add missing Upstream-Status to patches

2021-11-17 Thread Alexander Kanavin
All of them seem like very old, very oe specific tweaks; please adjust 
otherwise.

Signed-off-by: Alexander Kanavin 
---
 .../recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch | 1 +
 .../autoconf/autoconf/autotest-automake-result-format.patch | 1 +
 meta/recipes-devtools/autoconf/autoconf/preferbash.patch| 2 ++
 meta/recipes-devtools/autoconf/autoconf/program_prefix.patch| 1 +
 .../autoconf/autoconf/remove-usr-local-lib-from-m4.patch| 1 +
 5 files changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch 
b/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
index 374b939404..c73aca41ee 100644
--- a/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
@@ -3,6 +3,7 @@ From: Ross Burton 
 Date: Thu, 12 Mar 2020 17:25:23 +
 Subject: [PATCH 4/7] autoreconf-exclude.patch
 
+Upstream-Status: Inappropriate [oe specific]
 ---
  bin/autoreconf.in | 26 ++
  1 file changed, 26 insertions(+)
diff --git 
a/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch 
b/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch
index de048d23d7..23329f7927 100644
--- 
a/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch
+++ 
b/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch
@@ -3,6 +3,7 @@ From: Ross Burton 
 Date: Thu, 12 Mar 2020 17:25:45 +
 Subject: [PATCH 6/7] autotest-automake-result-format.patch
 
+Upstream-Status: Inappropriate [oe specific]
 ---
  lib/autotest/general.m4 | 39 +--
  1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/meta/recipes-devtools/autoconf/autoconf/preferbash.patch 
b/meta/recipes-devtools/autoconf/autoconf/preferbash.patch
index 3979e83f70..cfb145a279 100644
--- a/meta/recipes-devtools/autoconf/autoconf/preferbash.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/preferbash.patch
@@ -14,6 +14,8 @@ known for their conciseness).
 
 Change the search order to bash then sh, so that a known-good shell (bash)
 is used if available over something which is merely POSIX compliant.
+
+Upstream-Status: Inappropriate [oe specific]
 ---
  lib/m4sugar/m4sh.m4 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch 
b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
index 4ff535fc15..657cbb351b 100644
--- a/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
@@ -3,6 +3,7 @@ From: Ross Burton 
 Date: Thu, 12 Mar 2020 17:28:38 +
 Subject: [PATCH 3/7] program_prefix.patch
 
+Upstream-Status: Inappropriate [oe specific]
 Signed-off-by: Ross Burton 
 ---
  lib/autoconf/general.m4 | 2 +-
diff --git 
a/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch 
b/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch
index b842f14f4f..f38780130a 100644
--- a/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch
@@ -3,6 +3,7 @@ From: Ross Burton 
 Date: Thu, 12 Mar 2020 17:25:37 +
 Subject: [PATCH 1/7] remove-usr-local-lib-from-m4.patch
 
+Upstream-Status: Inappropriate [oe specific]
 Signed-off-by: Ross Burton 
 ---
  lib/autoconf/functions.m4 | 9 -
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158420): 
https://lists.openembedded.org/g/openembedded-core/message/158420
Mute This Topic: https://lists.openembedded.org/mt/87121999/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/36] patches: correct whitespace/spelling for Upstream-Status tags

2021-11-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...001-Makefile.am-fix-undefined-function-for-libnsm.a.patch | 2 +-
 ...-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch | 2 +-
 ...ysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch | 2 +-
 meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch | 2 +-
 meta/recipes-core/sysvinit/sysvinit/realpath.patch   | 2 +-
 ...fd-Close-the-file-descriptor-if-there-is-no-archive.patch | 2 +-
 .../bootchart2/0001-bootchart2-support-usrmerge.patch| 2 +-
 .../dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch  | 2 +-
 .../files/0001-skip-the-test-when-gcc-not-deployed.patch | 2 +-
 .../recipes-devtools/gcc/gcc/0004-64-bit-multilib-hack.patch | 2 +-
 meta/recipes-devtools/patch/patch/CVE-2019-13636.patch   | 2 +-
 meta/recipes-devtools/patch/patch/CVE-2019-20633.patch   | 2 +-
 meta/recipes-devtools/perl/files/native-perlinc.patch| 2 +-
 meta/recipes-devtools/perl/files/perl-dynloader.patch| 2 +-
 .../strace/0001-Avoid-relying-on-presence-of-ipx.h.patch | 2 +-
 .../0001-configure-use-pkg-config-for-pcre-detection.patch   | 2 +-
 ...evert-tests-wait-for-complete-rebuild-in-integrity-.patch | 2 +-
 .../mdadm/files/0001-mdadm-skip-test-11spare-migration.patch | 2 +-
 .../tcp-wrappers/tcp-wrappers-7.6/socklen_t.patch| 5 ++---
 .../jpeg/files/0001-libjpeg-turbo-fix-package_qa-error.patch | 2 +-
 .../xf86-video-vmware/0002-add-option-for-vmwgfx.patch   | 2 +-
 ...ix-cpu-hotplug-Remove-deprecated-CPU-hotplug-functi.patch | 2 +-
 ...ix-Revert-Makefile-Enable-Wimplicit-fallthrough-for.patch | 2 +-
 .../apr/apr-util/0001-Fix-error-handling-in-gdbm.patch   | 3 +--
 ...001-confiure.ac-Believe-the-cflags-from-environment.patch | 2 +-
 .../recipes-support/vim/files/disable_acl_header_check.patch | 2 +-
 26 files changed, 27 insertions(+), 29 deletions(-)

diff --git 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
 
b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
index bd350144e3..7603eb680d 100644
--- 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
+++ 
b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
@@ -19,7 +19,7 @@ As there is already one source file named file.c
 as support/nsm/file.c in support/nsm/Makefile.am,
 so rename ../support/misc/file.c to ../support/misc/misc.c.
 
-Upstream-Status: 
Submitted[https://marc.info/?l=linux-nfs=154502780423058=2]
+Upstream-Status: Submitted 
[https://marc.info/?l=linux-nfs=154502780423058=2]
 
 Signed-off-by: Mingli Yu 
 
diff --git 
a/meta/recipes-core/glibc/glibc/0013-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
 
b/meta/recipes-core/glibc/glibc/0013-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
index c2766ef4c3..474cea5a0d 100644
--- 
a/meta/recipes-core/glibc/glibc/0013-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
+++ 
b/meta/recipes-core/glibc/glibc/0013-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
@@ -10,7 +10,7 @@ 
${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/
 aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs
 in ${S}.
 
-Upstream-Status: inappropriate [OE specific]
+Upstream-Status: Inappropriate [OE specific]
 
 Signed-off-by: Ting Liu 
 ---
diff --git 
a/meta/recipes-core/glibc/glibc/0015-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
 
b/meta/recipes-core/glibc/glibc/0015-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
index e8332a53c2..1b99af7110 100644
--- 
a/meta/recipes-core/glibc/glibc/0015-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
+++ 
b/meta/recipes-core/glibc/glibc/0015-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
@@ -4,7 +4,7 @@ Date: Wed, 18 Mar 2015 00:27:10 +
 Subject: [PATCH] sysdeps/gnu/configure.ac: handle correctly
  $libc_cv_rootsbindir
 
-Upstream-Status:Pending
+Upstream-Status: Pending
 
 Signed-off-by: Matthieu Crapet 
 Signed-off-by: Khem Raj 
diff --git a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch 
b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
index 494aa0e012..17f72b4829 100644
--- a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
+++ b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
@@ -10,7 +10,7 @@ each other's pids.
 
 https://bugzilla.redhat.com/show_bug.cgi?id=883856
 
-Upstream-Status: backport
+Upstream-Status: Backport
 Imported patch from: https://bugzilla.redhat.com/attachment.cgi?id=658166
 
 Signed-off-by: Hongxu Jia 
diff --git a/meta/recipes-core/sysvinit/sysvinit/realpath.patch 
b/meta/recipes-core/sysvinit/sysvinit/realpath.patch
index 859fd8baad..b559aa3b49 100644
--- a/meta/recipes-core/sysvinit/sysvinit/realpath.patch
+++ b/meta/recipes-core/sysvinit/sysvinit/realpath.patch

  1   2   3   4   5   6   7   8   9   10   >