[OE-core] [honister][PATCH 00/37] Pull request (cover letter only)

2021-10-27 Thread Anuj Mittal
Please merge these changes.

Thanks,

Anuj

The following changes since commit bb1dea6806f084364b6017db2567f438e805aef0:

  build-appliance-image: Update to honister head revision (2021-10-11 11:06:36 
+0100)

are available in the Git repository at:

  git://push.openembedded.org/openembedded-core-contrib stable/honister-next

Alexander Kanavin (5):
  lttng-tools: replace ad hoc ptest fixup with upstream fixes
  ca-certificates: update 20210119 -> 20211016
  ovmf: update 202105 -> 202108
  linux-firmware: upgrade 20210818 -> 20210919
  wireless-regdb: upgrade 2021.07.14 -> 2021.08.28

Alexandre Belloni (1):
  oeqa/selftest/sstatetests: fix typo ware -> were

Andrej Valek (1):
  busybox: 1.34.0 -> 1.34.1

Andres Beltran (1):
  buildhistory: Fix package output files for SDKs

Jose Quaresma (14):
  gstreamer1.0-plugins-base: 1.18.4 -> 1.18.5
  gstreamer1.0-plugins-good: 1.18.4 -> 1.18.5
  gstreamer1.0-plugins-bad: 1.18.4 -> 1.18.5
  gstreamer1.0-plugins-ugly: 1.18.4 -> 1.18.5
  gstreamer1.0-rtsp-server: 1.18.4 -> 1.18.5
  gstreamer1.0-libav: 1.18.4 -> 1.18.5
  gstreamer1.0-vaapi: 1.18.4 -> 1.18.5
  gstreamer1.0-omx: 1.18.4 -> 1.18.5
  gstreamer1.0-python: 1.18.4 -> 1.18.5
  gst-devtools: 1.18.4 -> 1.18.5
  gst-examples: 1.18.4 -> 1.18.5
  gstreamer1.0: 1.18.4 -> 1.18.5
  patch.bbclass: when the patch fails show more info on the fatal error
  sstate: fix touching files inside pseudo

Khem Raj (1):
  mesa: Enable svga for x86 only

Kiran Surendran (1):
  ffmpeg: fix CVE-2021-38114

Oleksandr Kravchuk (1):
  python3: update to 3.9.7

Pablo Saavedra Rodi?o (1):
  mesa: upgrade 21.2.1 -> 21.2.4

Ralph Siemsen (1):
  tar: filter CVEs using vendor name

Richard Purdie (5):
  libxml2: Use python3targetconfig to fix reproducibility issue
  libnewt: Use python3targetconfig to fix reproducibility issue
  linux-yocto-dev: Ensure DEPENDS matches recent 5.14 kernel changes
  oeqa: Update cleanup code to wait for hashserv exit
  bootchart2: Don't compile python modules

Ross Burton (3):
  linux-yocto: add libmpc-native to DEPENDS
  curl: fix CVE-2021-22945 through -22947
  testimage: fix unclosed testdata file

Sakib Sajal (1):
  go: upgrade 1.16.7 -> 1.16.8

Yureka (1):
  systemd: add missing include for musl

 meta/classes/buildhistory.bbclass |  21 +-
 meta/classes/cross-canadian.bbclass   |   2 +-
 meta/classes/nativesdk.bbclass|   2 +-
 meta/classes/patch.bbclass|   7 +-
 meta/classes/sstate.bbclass   |   4 +-
 meta/classes/testimage.bbclass|   7 +-
 meta/conf/bitbake.conf|   1 +
 meta/lib/oe/package_manager/__init__.py   |   2 +-
 meta/lib/oeqa/sdk/buildtools-cases/build.py   |   2 +-
 meta/lib/oeqa/selftest/cases/eSDK.py  |   2 +-
 meta/lib/oeqa/selftest/cases/sstatetests.py   |  12 +-
 meta/lib/oeqa/selftest/context.py |   2 +-
 ...ab_1.34.0.bb => busybox-inittab_1.34.1.bb} |   0
 .../{busybox_1.34.0.bb => busybox_1.34.1.bb}  |   2 +-
 meta/recipes-core/libxml/libxml2_2.9.12.bb|   2 +-
 meta/recipes-core/ovmf/ovmf_git.bb|   4 +-
 ...008-add-missing-FTW_-macros-for-musl.patch |  16 +-
 .../bootchart2/bootchart2_0.14.9.bb   |   6 +-
 .../go/{go-1.16.7.inc => go-1.16.8.inc}   |   4 +-
 ...e_1.16.7.bb => go-binary-native_1.16.8.bb} |   4 +-
 ..._1.16.7.bb => go-cross-canadian_1.16.8.bb} |   0
 ...{go-cross_1.16.7.bb => go-cross_1.16.8.bb} |   0
 ...osssdk_1.16.7.bb => go-crosssdk_1.16.8.bb} |   0
 ...o-native_1.16.7.bb => go-native_1.16.8.bb} |   0
 ...runtime_1.16.7.bb => go-runtime_1.16.8.bb} |   0
 .../go/{go_1.16.7.bb => go_1.16.8.bb} |   0
 .../{python3_3.9.6.bb => python3_3.9.7.bb}|   2 +-
 meta/recipes-extended/newt/libnewt_0.52.21.bb |   2 +-
 meta/recipes-extended/tar/tar_1.34.bb |   6 +-
 .../mesa/files/without-neon.patch |  53 ---
 .../{mesa-gl_21.2.1.bb => mesa-gl_21.2.4.bb}  |   0
 meta/recipes-graphics/mesa/mesa.inc   |   7 +-
 .../mesa/{mesa_21.2.1.bb => mesa_21.2.4.bb}   |   0
 ...20210818.bb => linux-firmware_20210919.bb} |   4 +-
 meta/recipes-kernel/linux/linux-yocto-dev.bb  |   1 +
 meta/recipes-kernel/linux/linux-yocto_5.14.bb |   2 +-
 ...race-condition-in-test_event_tracker.patch | 221 +++
 ...more-before-analysing-traces-or-star.patch |  88 -
 ...condition-in-test_ns_contexts_change.patch |  46 +++
 .../lttng/lttng-tools_2.13.0.bb   |   3 +-
 07.14.bb => wireless-regdb_2021.08.28.bb} |   2 +-
 .../ffmpeg/ffmpeg/fix-CVE-2021-38114.patch|  67 
 meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb  |   3 +-
 ...tools_1.18.4.bb => gst-devtools_1.18.5.bb} |   2 +-
 ...mples_1.18.4.bb => gst-examples_1.18.5.bb} |   2 +-
 ...1.18.4.bb => gstreamer1.0-libav_1.18.5.bb} |   2 +-
 ...x_1.18.4.bb => gstreamer1.0-omx_1.18.5.bb} |   2 +-
 bb => gstreamer1.0-plugins-bad_1.18.5.bb} |   2 +-
 ...c91697a141fea7317aff7f0f28e5a861db99.patch |  50 ---
 ...bb => 

Re: [OE-core] [PATCH] libxcvt: add recipe

2021-10-27 Thread Khem Raj
On Wed, Oct 27, 2021 at 2:18 PM Oleksandr Kravchuk <
open.sou...@oleksandr-kravchuk.com> wrote:

> On 27/10/2021 23:15, Khem Raj wrote:
>
>
>
> On Wed, Oct 27, 2021 at 2:12 PM Oleksandr Kravchuk <
> open.sou...@oleksandr-kravchuk.com> wrote:
>
>> On 27/10/2021 23:09, Khem Raj wrote:
>>
>>
>>
>> On Wed, Oct 27, 2021 at 2:03 PM Oleksandr Kravchuk <
>> open.sou...@oleksandr-kravchuk.com> wrote:
>>
>>> This library is a dependancy of xserver-xorg 21.1.0.
>>>
>>
>> I wonder if we need this to be in core layer though
>>
>> Could you please clarify why it shouldn't if the package that needs is
>> part of the core layer?
>>
>
> I read the dependency in reverse however the next question is that is this
> new dependency or else how did we manage up until this point?
>
> I am sorry if I was not clear enough. This is a dependency of the v21.1.0
> that was released a couple of hours ago. I have started working on
> upgrading xserver-xorg, but since I'm not sure I will have enough patience
> and expertise to finish it, I thought I would at least help with this small
> part.
>

Ok thanks for adding the context, it clarifies it so I guess we can queue
it along with xorg update whenever we do that


>
>>
>>> Signed-off-by: Oleksandr Kravchuk 
>>> ---
>>>  .../xorg-lib/libxcvt_0.1.1.bb | 19 +++
>>>  1 file changed, 19 insertions(+)
>>>  create mode 100644 meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>>>
>>> diff --git a/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>>> b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>>> new file mode 100644
>>> index 00..628ccfb647
>>> --- /dev/null
>>> +++ b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>>> @@ -0,0 +1,19 @@
>>> +SUMMARY = "Library providing a standalone version of the X server \
>>> +implementation of the VESA CVT standard timing modelines generator"
>>> +HOMEPAGE = "https://gitlab.freedesktop.org/xorg/lib/libxcvt;
>>> +BUGTRACKER = "https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/issues;
>>> +LICENSE = "MIT"
>>> +LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f"
>>> +SECTION = "x11/libs"
>>> +
>>> +SRC_URI = "git://
>>> gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https"
>>> +SRCREV = "6fe840b9295cfdc41bd734586c5b8756f6af6f9b"
>>> +
>>> +S = "${WORKDIR}/git"
>>> +
>>> +inherit meson
>>> +
>>> +FILES:${PN} = " \
>>> +${libdir}/libxcvt.so.0* \
>>> +${bindir}/cvt \
>>> +"
>>> --
>>> 2.25.1
>>>
>>>
>>> 
>>>
>>>

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

2021-10-27 Thread Oleksandr Kravchuk

On 27/10/2021 23:15, Khem Raj wrote:



On Wed, Oct 27, 2021 at 2:12 PM Oleksandr Kravchuk 
 wrote:


On 27/10/2021 23:09, Khem Raj wrote:



On Wed, Oct 27, 2021 at 2:03 PM Oleksandr Kravchuk
 wrote:

This library is a dependancy of xserver-xorg 21.1.0.


I wonder if we need this to be in core layer though

Could you please clarify why it shouldn't if the package that
needs is part of the core layer?


I read the dependency in reverse however the next question is that is 
this new dependency or else how did we manage up until this point?
I am sorry if I was not clear enough. This is a dependency of the 
v21.1.0 that was released a couple of hours ago. I have started working 
on upgrading xserver-xorg, but since I'm not sure I will have enough 
patience and expertise to finish it, I thought I would at least help 
with this small part.





Signed-off-by: Oleksandr Kravchuk

---
 .../xorg-lib/libxcvt_0.1.1.bb     
       | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644
meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb


diff --git a/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb

b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb

new file mode 100644
index 00..628ccfb647
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb

@@ -0,0 +1,19 @@
+SUMMARY = "Library providing a standalone version of the X
server \
+implementation of the VESA CVT standard timing modelines
generator"
+HOMEPAGE = "https://gitlab.freedesktop.org/xorg/lib/libxcvt;
+BUGTRACKER =
"https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/issues;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =
"file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f"
+SECTION = "x11/libs"
+
+SRC_URI =
"git://gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https
"
+SRCREV = "6fe840b9295cfdc41bd734586c5b8756f6af6f9b"
+
+S = "${WORKDIR}/git"
+
+inherit meson
+
+FILES:${PN} = " \
+    ${libdir}/libxcvt.so.0* \
+    ${bindir}/cvt \
+"
-- 
2.25.1






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

2021-10-27 Thread Khem Raj
On Wed, Oct 27, 2021 at 2:12 PM Oleksandr Kravchuk <
open.sou...@oleksandr-kravchuk.com> wrote:

> On 27/10/2021 23:09, Khem Raj wrote:
>
>
>
> On Wed, Oct 27, 2021 at 2:03 PM Oleksandr Kravchuk <
> open.sou...@oleksandr-kravchuk.com> wrote:
>
>> This library is a dependancy of xserver-xorg 21.1.0.
>>
>
> I wonder if we need this to be in core layer though
>
> Could you please clarify why it shouldn't if the package that needs is
> part of the core layer?
>

I read the dependency in reverse however the next question is that is this
new dependency or else how did we manage up until this point?

>
>
>> Signed-off-by: Oleksandr Kravchuk 
>> ---
>>  .../xorg-lib/libxcvt_0.1.1.bb | 19 +++
>>  1 file changed, 19 insertions(+)
>>  create mode 100644 meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>>
>> diff --git a/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>> b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>> new file mode 100644
>> index 00..628ccfb647
>> --- /dev/null
>> +++ b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>> @@ -0,0 +1,19 @@
>> +SUMMARY = "Library providing a standalone version of the X server \
>> +implementation of the VESA CVT standard timing modelines generator"
>> +HOMEPAGE = "https://gitlab.freedesktop.org/xorg/lib/libxcvt;
>> +BUGTRACKER = "https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/issues;
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f"
>> +SECTION = "x11/libs"
>> +
>> +SRC_URI = "git://
>> gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https"
>> +SRCREV = "6fe840b9295cfdc41bd734586c5b8756f6af6f9b"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +inherit meson
>> +
>> +FILES:${PN} = " \
>> +${libdir}/libxcvt.so.0* \
>> +${bindir}/cvt \
>> +"
>> --
>> 2.25.1
>>
>>
>> 
>>
>>

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

2021-10-27 Thread Oleksandr Kravchuk

On 27/10/2021 23:09, Khem Raj wrote:



On Wed, Oct 27, 2021 at 2:03 PM Oleksandr Kravchuk 
 wrote:


This library is a dependancy of xserver-xorg 21.1.0.


I wonder if we need this to be in core layer though
Could you please clarify why it shouldn't if the package that needs is 
part of the core layer?



Signed-off-by: Oleksandr Kravchuk 
---
 .../xorg-lib/libxcvt_0.1.1.bb           
     | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644
meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb


diff --git a/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb

b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb

new file mode 100644
index 00..628ccfb647
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb

@@ -0,0 +1,19 @@
+SUMMARY = "Library providing a standalone version of the X server \
+implementation of the VESA CVT standard timing modelines generator"
+HOMEPAGE = "https://gitlab.freedesktop.org/xorg/lib/libxcvt;
+BUGTRACKER =
"https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/issues;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =
"file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f"
+SECTION = "x11/libs"
+
+SRC_URI =
"git://gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https
"
+SRCREV = "6fe840b9295cfdc41bd734586c5b8756f6af6f9b"
+
+S = "${WORKDIR}/git"
+
+inherit meson
+
+FILES:${PN} = " \
+    ${libdir}/libxcvt.so.0* \
+    ${bindir}/cvt \
+"
-- 
2.25.1






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

2021-10-27 Thread Khem Raj
On Wed, Oct 27, 2021 at 2:03 PM Oleksandr Kravchuk <
open.sou...@oleksandr-kravchuk.com> wrote:

> This library is a dependancy of xserver-xorg 21.1.0.
>

I wonder if we need this to be in core layer though


> Signed-off-by: Oleksandr Kravchuk 
> ---
>  .../xorg-lib/libxcvt_0.1.1.bb | 19 +++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
>
> diff --git a/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
> b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
> new file mode 100644
> index 00..628ccfb647
> --- /dev/null
> +++ b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "Library providing a standalone version of the X server \
> +implementation of the VESA CVT standard timing modelines generator"
> +HOMEPAGE = "https://gitlab.freedesktop.org/xorg/lib/libxcvt;
> +BUGTRACKER = "https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/issues;
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f"
> +SECTION = "x11/libs"
> +
> +SRC_URI = "git://
> gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https"
> +SRCREV = "6fe840b9295cfdc41bd734586c5b8756f6af6f9b"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit meson
> +
> +FILES:${PN} = " \
> +${libdir}/libxcvt.so.0* \
> +${bindir}/cvt \
> +"
> --
> 2.25.1
>
>
> 
>
>

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

2021-10-27 Thread Oleksandr Kravchuk
This library is a dependancy of xserver-xorg 21.1.0.

Signed-off-by: Oleksandr Kravchuk 
---
 .../xorg-lib/libxcvt_0.1.1.bb | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb

diff --git a/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb 
b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
new file mode 100644
index 00..628ccfb647
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Library providing a standalone version of the X server \
+implementation of the VESA CVT standard timing modelines generator"
+HOMEPAGE = "https://gitlab.freedesktop.org/xorg/lib/libxcvt;
+BUGTRACKER = "https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/issues;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f"
+SECTION = "x11/libs"
+
+SRC_URI = "git://gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https"
+SRCREV = "6fe840b9295cfdc41bd734586c5b8756f6af6f9b"
+
+S = "${WORKDIR}/git"
+
+inherit meson
+
+FILES:${PN} = " \
+${libdir}/libxcvt.so.0* \
+${bindir}/cvt \
+"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157569): 
https://lists.openembedded.org/g/openembedded-core/message/157569
Mute This Topic: https://lists.openembedded.org/mt/86638516/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] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-10-27 Thread Alexandre Belloni
Hello,

I'm sorry for the late reply but this still failed on the AB:

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2719/steps/11/logs/stdio

On 19/10/2021 14:43:00+0200, ?ukasz Majewski wrote:
> This patch introduces new recipe - namely 'glibc-tests', which
> builds and installs time related (to check if Y2038 support works) glibc
> test suite to OE/Yocto built image.
> 
> It reuses code from already available 'glibc-testsuite' recipe,
> which is run with 'bitbake glibc-testsuite -c check' and uses qemu
> to execute remotely (via SSH) tests on some emulated machine.
> 
> This recipe installs time related glibc tests on some rootfs image.
> Afterwards, those tests can be executed on the real hardware, to
> facilitate validation of it with Y2038 problem compliance.
> 
> To test time related subset - one needs to call:
> ptest-runner glibc-tests
> then change the date after Y2038 threshold for 32 bit systems:
> date -s "20 JAN 2038 18:00:00"
> and then run ptest-runner again.
> 
> To facilitate debugging, source files are provided by default with
> the unstripped debugging symbols. Such approach would reduce the
> already complex recipe (as it inherits base glibc one), so there
> is no need to also install *-dbg and *-src packages.
> 
> Signed-off-by: Lukasz Majewski 
> 
> ---
> Changes for v2:
> - Just focus on time related set of tests as those can be run as
>   standalone
> - Reuse of already built tests (from glibc-tests.inc) and depoloy
>   them on the HW target.
> - Provide single 'run-ptest' script.
> - Update the recipe to run with newest poky's -master
> ---
>  .../distro/include/ptest-packagelists.inc |   1 +
>  meta/recipes-core/glibc/glibc-tests_2.34.bb   | 112 ++
>  meta/recipes-core/glibc/glibc/run-ptest   |  37 ++
>  3 files changed, 150 insertions(+)
>  create mode 100644 meta/recipes-core/glibc/glibc-tests_2.34.bb
>  create mode 100755 meta/recipes-core/glibc/glibc/run-ptest
> 
> diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
> b/meta/conf/distro/include/ptest-packagelists.inc
> index 2e324f8da4..fd52fa72a4 100644
> --- a/meta/conf/distro/include/ptest-packagelists.inc
> +++ b/meta/conf/distro/include/ptest-packagelists.inc
> @@ -61,6 +61,7 @@ PTESTS_FAST = "\
>  slang-ptest \
>  wayland-ptest \
>  zlib-ptest \
> +glibc-tests-ptest \
>  "
>  PTESTS_FAST:remove:mips64 = "qemu-ptest"
>  PTESTS_PROBLEMS:append:mips64 = "qemu-ptest"
> diff --git a/meta/recipes-core/glibc/glibc-tests_2.34.bb 
> b/meta/recipes-core/glibc/glibc-tests_2.34.bb
> new file mode 100644
> index 00..f1d5d073b6
> --- /dev/null
> +++ b/meta/recipes-core/glibc/glibc-tests_2.34.bb
> @@ -0,0 +1,112 @@
> +require glibc_${PV}.bb
> +require glibc-tests.inc
> +
> +inherit ptest
> +
> +SRC_URI:append = " \
> + file://run-ptest \
> +"
> +
> +SUMMARY = "glibc tests to be run with ptest"
> +
> +# Erase some variables already set by glibc_${PV}
> +python __anonymous() {
> +   # Remove packages provided by glibc build, we only need a subset of 
> them
> +   d.setVar("PACKAGES", "${PN}")
> +
> +   d.setVar("PROVIDES", "${PN}")
> +   d.setVar("RPROVIDES", "${PN} glibc-ptest")
> +
> +   d.setVar("RRECOMMENDS", "")
> +}
> +
> +# Remove any lefovers from original glibc recipe
> +RPROVIDES:${PN} = "${PN}"
> +RRECOMMENDS:${PN} = ""
> +RDEPENDS:${PN} = " glibc sed"
> +DEPENDS:append = " sed"
> +
> +# Just build tests for target - do not run them
> +do_check:append () {
> + oe_runmake -i check run-built-tests=no
> +}
> +addtask do_check after do_compile before do_install_ptest_base
> +
> +glibc_strip_build_directory () {
> + # Delete all non executable files from build directory
> + find ${B} ! -executable -type f -delete
> +
> + # Remove build dynamic libraries and links to them as
> + # those are already installed in the target device
> + find ${B} -type f -name "*.so" -delete
> + find ${B} -type l -name "*.so*" -delete
> +
> + # Remove headers (installed with glibc)
> + find ${B} -type f -name "*.h" -delete
> +
> + find ${B} -type f -name "isomac" -delete
> + find ${B} -type f -name "annexc" -delete
> +}
> +
> +do_install_ptest_base () {
> + glibc_strip_build_directory
> +
> + ls -r ${B}/*/*-time64 > ${B}/tst_time64
> +
> + # Remove '-time64' suffix - those tests are also time related
> + sed -e "s/-time64$//" ${B}/tst_time64 > ${B}/tst_time_tmp
> + tst_time=$(cat ${B}/tst_time_tmp ${B}/tst_time64)
> +
> + rm ${B}/tst_time_tmp ${B}/tst_time64
> + echo "${tst_time}"
> +
> + # Install build test programs to the image
> + install -d ${D}${PTEST_PATH}/tests/glibc-ptest/
> +
> + for f in "${tst_time}"
> + do
> + cp -r ${f} ${D}${PTEST_PATH}/tests/glibc-ptest/
> + done
> +
> + install -d ${D}${PTEST_PATH}
> + cp ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/
> +
> +}
> +
> +# The datadir directory is required to allow core (and reused)
> 

[OE-core] [PATCH] gcc: Update patches submitted upstream

2021-10-27 Thread Richard Purdie
I took 5 of our patches and submitted to upstream gcc. This highlighted that
patches 0026 and 0018 should be merged together and some tweaks were made to
try and make it acceptable to upstream. The other patches have their headers
updated to match what was submitted.

The libstdc++ option patch was also cleaned up ready for upstream as the
documentation wasn't quite right.

Signed-off-by: Richard Purdie 
---
 meta/recipes-devtools/gcc/gcc-11.2.inc|   1 -
 .../gcc/gcc/0005-optional-libstdc.patch   | 120 +-
 .../gcc/gcc/0009-cpp-honor-sysroot.patch  |  56 +++--
 ...gcc-Fix-argument-list-too-long-error.patch |  43 ++--
 .../gcc/gcc/0018-export-CPP.patch | 225 +++---
 ...ous-_FOR_BUILD-and-related-variables.patch | 134 ---
 ...027-nios2-Define-MUSL_DYNAMIC_LINKER.patch |  27 ++-
 7 files changed, 311 insertions(+), 295 deletions(-)
 delete mode 100644 
meta/recipes-devtools/gcc/gcc/0026-Fix-various-_FOR_BUILD-and-related-variables.patch

diff --git a/meta/recipes-devtools/gcc/gcc-11.2.inc 
b/meta/recipes-devtools/gcc/gcc-11.2.inc
index 23dfea2319e..59af2eaeea2 100644
--- a/meta/recipes-devtools/gcc/gcc-11.2.inc
+++ b/meta/recipes-devtools/gcc/gcc-11.2.inc
@@ -51,7 +51,6 @@ SRC_URI = "\
file://0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch \
file://0024-handle-sysroot-support-for-nativesdk-gcc.patch \

file://0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch \
-   file://0026-Fix-various-_FOR_BUILD-and-related-variables.patch \
file://0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch \

file://0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch \
file://0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \
diff --git a/meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch 
b/meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch
index c921ac3340c..b856c5dea36 100644
--- a/meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch
+++ b/meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch
@@ -1,34 +1,54 @@
-From 57e2c5e35732988c0b287289eb0997b4e9769371 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Fri, 29 Mar 2013 09:12:56 +0400
-Subject: [PATCH] optional libstdc
+From: Richard Purdie 
+Subject: [PATCH 3/5] gcc: Add --nostdlib++ option
 
-gcc-runtime builds libstdc++ separately from gcc-cross-*. Its configure tests 
using g++
+[gcc-runtime builds libstdc++ separately from gcc-cross-*. Its configure tests 
using g++
 will not run correctly since by default the linker will try to link against 
libstdc++
 which shouldn't exist yet. We need an option to disable -lstdc++
 option whilst leaving -lc, -lgcc and other automatic library dependencies 
added by gcc
-driver. This patch adds such an option which only disables the -lstdc++.
+driver. This patch adds such an option which only disables the -lstdc++.]
 
-A "standard" gcc build uses xgcc and hence avoids this. We should ask upstream 
how to
-do this officially, the likely answer is don't build libstdc++ separately.
+[A "standard" gcc build uses xgcc and hence avoids this. We should ask 
upstream how to
+do this officially, the likely answer is don't build libstdc++ separately.]
 
-RP 29/6/10
+OpenEmbedded/Yocto Project builds libgcc and the other gcc runtime libraries
+separately from the compiler and slightly differently to the standard gcc 
build.
 
-Signed-off-by: Khem Raj 
+In general this works well but in trying to build them separately we run into
+an issue since we're using our gcc, not xgcc and there is no way to tell 
configure
+to use libgcc but not look for libstdc++.
 
-Upstream-Status: Inappropriate [embedded specific]
+This adds such an option allowing such configurations to work.
+
+2021-10-26 Richard Purdie 
+
+gcc/c-family/ChangeLog:
+
+* c.opt: Add --nostdlib++ option
+
+gcc/cp/ChangeLog:
+
+* g++spec.c (lang_specific_driver): Add --nostdlib++ option
+
+gcc/ChangeLog:
+
+* doc/invoke.texi: Document --nostdlib++ option
+* gcc.c: Add --nostdlib++ option
+
+Signed-off-by: Richard Purdie 
+
+Upstream-Status: Submitted 
[https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582724.html]
 ---
- gcc/c-family/c.opt  |  4 
- gcc/cp/g++spec.c|  1 +
- gcc/doc/invoke.texi | 32 +++-
- gcc/gcc.c   |  1 +
- 4 files changed, 37 insertions(+), 1 deletion(-)
+ gcc/c-family/c.opt  | 4 
+ gcc/cp/g++spec.c| 1 +
+ gcc/doc/invoke.texi | 8 +++-
+ gcc/gcc.c   | 1 +
+ 4 files changed, 13 insertions(+), 1 deletion(-)
 
-diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
-index 64e46e7573e..1824380f27a 100644
 a/gcc/c-family/c.opt
-+++ b/gcc/c-family/c.opt
-@@ -2166,6 +2166,10 @@ nostdinc++
+Index: gcc-11.2.0/gcc/c-family/c.opt
+===
+--- gcc-11.2.0.orig/gcc/c-family/c.opt
 gcc-11.2.0/gcc/c-family/c.opt
+@@ -2153,6 +2153,10 @@ nostdinc++
  

[OE-core] [PATCH] runqemu: unbreak non-gl displays

2021-10-27 Thread Alexander Kanavin
Correct two issues:
1. Looking for dri.pc is only needed when gl is enabled.
2. virtio-vga-gl works only when gl is enabled via -display,
otherwise virtio-vga needs to be selected.

Signed-off-by: Alexander Kanavin 
---
 scripts/runqemu | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 54f2336ba9..1143509975 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1349,9 +1349,14 @@ class BaseConfig(object):
 raise RunQemuError('Option gl/gl-es needs gtk or sdl option.')
 
 if self.sdl == True or self.gtk == True or self.egl_headless == True:
-self.set_dri_path()
-self.qemu_opt += ' -device virtio-vga-gl -display '
+if self.gl or self.gl_es or self.egl_headless:
+self.qemu_opt += ' -device virtio-vga-gl '
+else:
+self.qemu_opt += ' -device virtio-vga '
+
+self.qemu_opt += '-display '
 if self.egl_headless == True:
+self.set_dri_path()
 self.qemu_opt += 'egl-headless,'
 else:
 if self.sdl == True:
@@ -1360,8 +1365,10 @@ class BaseConfig(object):
 self.qemu_opt += 'gtk,'
 
 if self.gl == True:
+self.set_dri_path()
 self.qemu_opt += 'gl=on,'
 elif self.gl_es == True:
+self.set_dri_path()
 self.qemu_opt += 'gl=es,'
 self.qemu_opt += 'show-cursor=on'
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157566): 
https://lists.openembedded.org/g/openembedded-core/message/157566
Mute This Topic: https://lists.openembedded.org/mt/86637598/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] musl: Update to tip of trunk

2021-10-27 Thread Khem Raj
This brings following fixes

* b76f37fd add qsort_r and make qsort a wrapper around it
* 7be59733 add SPE FPU support to powerpc-sf
* e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and 
memcpy
* b713b8b2 fix excessively slow TLS performance on some mips models
* 3eed6a6f fix error checking in pthread_getname_np

Signed-off-by: Khem Raj 
---
 meta/recipes-core/musl/musl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/musl/musl_git.bb 
b/meta/recipes-core/musl/musl_git.bb
index 06b0e060d0..82fd9e9079 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -4,7 +4,7 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "3f701faace7addc75d16dea8a6cd769fa5b3f260"
+SRCREV = "b76f37fd5625d038141b52184956fb4b7838e9a5"
 
 BASEVER = "1.2.2"
 
-- 
2.33.1


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



[OE-core] [PATCHv2 2/2] insane.bbclass: Add a check for directories that are expected to be empty

2021-10-27 Thread Peter Kjellerstedt
The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.

Signed-off-by: Peter Kjellerstedt 
---

PATCHv2: No changes.

 meta/classes/insane.bbclass  | 33 -
 meta/conf/documentation.conf |  2 ++
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1e2f1b768a..1675adf6ac 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -37,7 +37,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch 
pkgconfig la \
 configure-gettext perllocalpod shebang-size \
 already-stripped installed-vs-shipped ldflags compile-host-path \
 install-host-path pn-overrides unknown-configure-option \
-useless-rpaths rpaths staticdev \
+useless-rpaths rpaths staticdev empty-dirs \
 "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' 
usrmerge', '', d)}"
@@ -50,6 +50,21 @@ ALL_QA = "${WARN_QA} ${ERROR_QA}"
 
 UNKNOWN_CONFIGURE_WHITELIST ?= "--enable-nls --disable-nls 
--disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot 
--disable-static"
 
+# This is a list of directories that are expected to be empty.
+QA_EMPTY_DIRS ?= " \
+/dev/pts \
+/media \
+/proc \
+/run \
+/tmp \
+${localstatedir}/run \
+${localstatedir}/volatile \
+"
+# It is possible to specify why a directory is expected to be empty by defining
+# QA_EMPTY_DIRS_RECOMMENDATION:, which will then be included in the error
+# message if the directory is not empty. If it is not specified for a 
directory,
+# then "but it is expected to be empty" will be used.
+
 def package_qa_clean_path(path, d, pkg=None):
 """
 Remove redundant paths from the path for display.  If pkg isn't set then
@@ -885,6 +900,22 @@ def package_qa_check_unlisted_pkg_lics(package, d, 
messages):
"listed in LICENSE" % (package, ' '.join(unlisted)))
 return False
 
+QAPKGTEST[empty-dirs] = "package_qa_check_empty_dirs"
+def package_qa_check_empty_dirs(pkg, d, messages):
+"""
+Check for the existence of files in directories that are expected to be
+empty.
+"""
+
+pkgd = oe.path.join(d.getVar('PKGDEST'), pkg)
+for dir in (d.getVar('QA_EMPTY_DIRS') or "").split():
+empty_dir = oe.path.join(pkgd, dir)
+if os.path.exists(empty_dir) and os.listdir(empty_dir):
+recommendation = (d.getVar('QA_EMPTY_DIRS_RECOMMENDATION:' + dir) 
or
+  "but it is expected to be empty")
+msg = "%s installs files in %s, %s" % (pkg, dir, recommendation)
+oe.qa.add_message(messages, "empty-dirs", msg)
+
 def package_qa_check_encoding(keys, encode, d):
 def check_encoding(key, enc):
 sane = True
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index 80ad8e10d5..45cd01374a 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -345,6 +345,8 @@ PYPI_SRC_URI[doc] = "The URI to use to fetch from pypi, 
default uses pythonhoste
 
 #Q
 
+QA_EMPTY_DIRS[doc] = "A list of directories that are expected to be empty."
+QA_EMPTY_DIRS_RECOMMENDATION[doc] = "This specifies a recommendation for a 
directory why it must be empty, which will be included in the error message if 
the directory is not empty."
 QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for 
use with qmake."
 
 #R

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



[OE-core] [PATCHv2 1/2] systemd: Do not install anything in /var/volatile

2021-10-27 Thread Peter Kjellerstedt
/var/log is typically a symbolic link to inside /var/volatile, which
is expected to be empty. Check ${VOLATILE_LOG_DIR} to see if it is ok
to install /var/log.

Signed-off-by: Peter Kjellerstedt 
---

PATCHv2: Added check for ${VOLATILE_LOG_DIR} before removing /var/log.

 meta/recipes-core/systemd/systemd_249.5.bb | 15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_249.5.bb 
b/meta/recipes-core/systemd/systemd_249.5.bb
index d87f54bf16..c0c1f9bcfc 100644
--- a/meta/recipes-core/systemd/systemd_249.5.bb
+++ b/meta/recipes-core/systemd/systemd_249.5.bb
@@ -270,13 +270,16 @@ do_install() {
install -Dm 0755 
${S}/src/systemctl/systemd-sysv-install.SKELETON 
${D}${systemd_system_unitdir}d-sysv-install
fi
 
-   chown root:systemd-journal ${D}/${localstatedir}/log/journal
-
-   # Delete journal README, as log can be symlinked inside volatile.
-   rm -f ${D}/${localstatedir}/log/README
+   if "${@'true' if oe.types.boolean(d.getVar('VOLATILE_LOG_DIR')) else 
'false'}"; then
+   # /var/log is typically a symbolic link to inside /var/volatile,
+   # which is expected to be empty.
+   rm -rf ${D}${localstatedir}/log
+   else
+   chown root:systemd-journal ${D}${localstatedir}/log/journal
 
-   # journal-remote creates this at start
-   rm -rf ${D}/${localstatedir}/log/journal/remote
+   # journal-remote creates this at start
+   rm -rf ${D}${localstatedir}/log/journal/remote
+   fi
 
install -d ${D}${systemd_system_unitdir}/graphical.target.wants
install -d ${D}${systemd_system_unitdir}/multi-user.target.wants

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157563): 
https://lists.openembedded.org/g/openembedded-core/message/157563
Mute This Topic: https://lists.openembedded.org/mt/86634476/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] uboot-sign: fix the concatenation when multiple U-BOOT configurations are specified

2021-10-27 Thread Richard Purdie
On Wed, 2021-10-27 at 16:04 +0200, Thomas Perrot wrote:
> Some BSPs, especially those of meta-freescale and meta-ti allow to build 
> U-Boot
> binaries using different configuration for a given target, for example:
> - UBOOT_CONFIG ??= "tfa-secure-boot tfa"
> - UBOOT_CONFIG ??= "nand sdcard spi nor"
> 
> When this is the case the public key wasn't concatenated to all U-Boot 
> binaries
> built.
> 
> Signed-off-by: Thomas Perrot 
> ---
>  meta/classes/uboot-sign.bbclass | 16 +++-
>  1 file changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass
> index bae8cada0ac3..8d136e940589 100644
> --- a/meta/classes/uboot-sign.bbclass
> +++ b/meta/classes/uboot-sign.bbclass
> @@ -131,6 +131,20 @@ concat_dtb_helper() {
>   elif [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e 
> "$deployed_uboot_dtb_binary" ]; then
>   cd ${DEPLOYDIR}
>   cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | 
> tee ${B}/${CONFIG_B_PATH}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
> +
> + if [ -n "${UBOOT_CONFIG}" ]
> + then
> + for config in ${UBOOT_MACHINE}; do
> + i=$(expr $i + 1);
> + for type in ${UBOOT_CONFIG}; do
> + j=$(expr $j + 1);
> + if [ $j -eq $i ]
> + then
> + cp ${UBOOT_IMAGE} 
> ${B}/${CONFIG_B_PATH}/u-boot-$type.${UBOOT_SUFFIX}
> + fi
> + done
> + done
> + fi
>   else
>   bbwarn "Failure while adding public key to u-boot 
> binary. Verified boot won't be available."
>   fi
> @@ -205,7 +219,7 @@ install_helper() {
>   fi
>  }
>  
> -# Install SPL dtb and u-boot nodtb to datadir, 
> +# Install SPL dtb and u-boot nodtb to datadir,
>  install_spl_helper() {
>   if [ -f "${SPL_DIR}/${SPL_DTB_BINARY}" ]; then
>   install -Dm 0644 ${SPL_DIR}/${SPL_DTB_BINARY} 
> ${D}${datadir}/${SPL_DTB_IMAGE}


We seem to be just piling more and more conditional code into these classes for
different weird corner cases.

Are there some tests we should be adding to ensure people understand why this
code is here and if/as/when something else changes it and regresses it?

Cheers,

Richard



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

2021-10-27 Thread Richard Purdie
On Wed, 2021-10-27 at 07:09 -0700, Oleksiy Obitotskyy via lists.openembedded.org
wrote:
> Checksum depends on options that could be
> different from build to build, e.g. absolute patch.
> Remove checksum-options from
> executable checksum calculation.
> 
> Change-Id: Ifa184febecd2d517826beee784ca5ac7a1fb17fe
> Signed-off-by: Oleksiy Obitotskyy 
> ---
>  meta/recipes-devtools/gcc/gcc-11.2.inc|  1 +
>  ...emove-checksum-options-from-checksum.patch | 77 +++
>  2 files changed, 78 insertions(+)
>  create mode 100644 
> meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-11.2.inc 
> b/meta/recipes-devtools/gcc/gcc-11.2.inc
> index 23dfea2319..ecac893980 100644
> --- a/meta/recipes-devtools/gcc/gcc-11.2.inc
> +++ b/meta/recipes-devtools/gcc/gcc-11.2.inc
> @@ -64,6 +64,7 @@ SRC_URI = "\
> file://0036-mingw32-Enable-operation_not_supported.patch \
> file://0037-libatomic-Do-not-enforce-march-on-aarch64.patch \
> 
> file://0041-apply-debug-prefix-maps-before-checksumming-DIEs.patch \
> +   file://0050-gcc-Remove-checksum-options-from-checksum.patch \
>  "
>  SRC_URI[sha256sum] = 
> "d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b"
>  
> diff --git 
> a/meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch
>  
> b/meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch
> new file mode 100644
> index 00..50cff38c68
> --- /dev/null
> +++ 
> b/meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch
> @@ -0,0 +1,77 @@
> +From 67402bb4013ea886b68a9f4ee1c2cb1472652dbf Mon Sep 17 00:00:00 2001
> +From: Oleksiy Obitotskyy 
> +Date: Tue, 26 Jan 2021 04:32:27 -0800
> +Subject: [PATCH] gcc: Remove checksum-options from checksum
> +
> +Executable checksum calculated from object
> +files and options. Options could contain
> +absolute path and affect reproducibility.
> +To improve reproducibility remove
> +checksum-options conditionally from
> +executable checksum generation.
> +
> +Upstream-Status: Pending
> +Signed-off-by: Oleksiy Obitotskyy 
> +---
> + gcc/c/Make-lang.in | 2 +-
> + gcc/cp/Make-lang.in| 2 +-
> + gcc/objc/Make-lang.in  | 3 ++-
> + gcc/objcp/Make-lang.in | 2 +-
> + 4 files changed, 5 insertions(+), 4 deletions(-)
> +
> +diff --git a/gcc/c/Make-lang.in b/gcc/c/Make-lang.in
> +index a1cdee872..6ee5c103b 100644
> +--- a/gcc/c/Make-lang.in
>  b/gcc/c/Make-lang.in
> +@@ -78,7 +78,7 @@ cc1-checksum.c : build/genchecksum$(build_exeext) 
> checksum-options \
> +   cp ../prev-gcc/cc1-checksum.c cc1-checksum.c; \
> + else \
> +   build/genchecksum$(build_exeext) $(C_OBJS) $(BACKEND) $(LIBDEPS) \
> +- checksum-options > cc1-checksum.c.tmp &&   
>  \
> ++ $(if $(SOURCE_DATE_EPOCH),,checksum-options) > 
> cc1-checksum.c.tmp &&\
> +   $(srcdir)/../move-if-change cc1-checksum.c.tmp cc1-checksum.c; \
> + fi
> + 
> +diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
> +index 155be74ef..0ac6daa53 100644
> +--- a/gcc/cp/Make-lang.in
>  b/gcc/cp/Make-lang.in
> +@@ -127,7 +127,7 @@ cc1plus-checksum.c : build/genchecksum$(build_exeext) 
> checksum-options \
> +cp ../prev-gcc/cc1plus-checksum.c cc1plus-checksum.c; \
> + else \
> +   build/genchecksum$(build_exeext) $(CXX_OBJS) $(BACKEND) $(CODYLIB) 
> $(LIBDEPS) \
> +- checksum-options > cc1plus-checksum.c.tmp &&  \
> ++ $(if $(SOURCE_DATE_EPOCH),,checksum-options) > 
> cc1plus-checksum.c.tmp &&  \
> +   $(srcdir)/../move-if-change cc1plus-checksum.c.tmp 
> cc1plus-checksum.c; \
> + fi
> + 
> +diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in
> +index c91148a57..a83938ee7 100644
> +--- a/gcc/objc/Make-lang.in
>  b/gcc/objc/Make-lang.in
> +@@ -60,7 +60,8 @@ objc_OBJS = $(OBJC_OBJS) cc1obj-checksum.o
> + cc1obj-checksum.c : build/genchecksum$(build_exeext) checksum-options \
> + $(OBJC_OBJS) $(C_AND_OBJC_OBJS) $(BACKEND) $(LIBDEPS)
> + build/genchecksum$(build_exeext) $(OBJC_OBJS) $(C_AND_OBJC_OBJS) \
> +-$(BACKEND) $(LIBDEPS) checksum-options > cc1obj-checksum.c.tmp && \
> ++$(BACKEND) $(LIBDEPS) \
> ++$(if $(SOURCE_DATE_EPOCH),,checksum-options) > 
> cc1obj-checksum.c.tmp && \
> + $(srcdir)/../move-if-change cc1obj-checksum.c.tmp cc1obj-checksum.c
> + 
> + cc1obj$(exeext): $(OBJC_OBJS) $(C_AND_OBJC_OBJS) cc1obj-checksum.o 
> $(BACKEND) \
> +diff --git a/gcc/objcp/Make-lang.in b/gcc/objcp/Make-lang.in
> +index dfa4d230e..ef16001c2 100644
> +--- a/gcc/objcp/Make-lang.in
>  b/gcc/objcp/Make-lang.in
> +@@ -63,7 +63,7 @@ obj-c++_OBJS = $(OBJCXX_OBJS) cc1objplus-checksum.o
> + cc1objplus-checksum.c : build/genchecksum$(build_exeext) checksum-options \
> + $(OBJCXX_OBJS) $(BACKEND) $(CODYLIB) 

Re: [OE-core] [PATCH v6 2/2] core-image.bbclass: add default IMAGE_QA_PROHIBIT_PATHS variable

2021-10-27 Thread Martyn Welch
On Wed, 2021-10-27 at 16:43 +, Peter Kjellerstedt wrote:
> > -Original Message-
> > From: Martyn Welch 
> > Sent: den 26 oktober 2021 17:32
> > To: Peter Kjellerstedt ; Konrad
> > Weihmann
> > ; OE-core  > c...@lists.openembedded.org>
> > Subject: Re: [OE-core] [PATCH v6 2/2] core-image.bbclass: add
> > default
> > IMAGE_QA_PROHIBIT_PATHS variable
> > 
> > On Tue, 2021-10-26 at 14:59 +, Peter Kjellerstedt wrote:
> > > > -Original Message-
> > > > From: openembedded-core@lists.openembedded.org  > > > c...@lists.openembedded.org> On Behalf Of Konrad Weihmann
> > > > Sent: den 26 oktober 2021 13:24
> > > > To: Martyn Welch ; OE-core
> > > >  > > > c...@lists.openembedded.org>
> > > > Subject: Re: [OE-core] [PATCH v6 2/2] core-image.bbclass: add
> > > > default
> > > > IMAGE_QA_PROHIBIT_PATHS variable
> > > > 
> > > > 
> > > > 
> > > > On 26.10.21 13:21, Martyn Welch wrote:
> > > > > Note to self - remember to reply to list...
> > > > > 
> > > > >  Forwarded Message 
> > > > > From: Martyn Welch 
> > > > > To: Konrad Weihmann 
> > > > > Subject: Re: [OE-core] [PATCH v6 2/2] core-image.bbclass: add
> > > > > default
> > > > > IMAGE_QA_PROHIBIT_PATHS variable
> > > > > Date: Tue, 26 Oct 2021 12:12:11 +0100
> > > > > 
> > > > > On Tue, 2021-10-26 at 12:56 +0200, Konrad Weihmann wrote:
> > > > > > 
> > > > > > 
> > > > > > On 26.10.21 12:50, Martyn Welch wrote:
> > 
> > 
> > 
> > > > > > > +# IMAGE_QA_PROHIBITED_PATHS
> > > > > > > +# Ensure images aren't including files in places that
> > > > > > > will
> > > > > > > be used as mount points or that are
> > > > > > > +# reserved for runtime data.
> > > > > > > +IMAGE_QA_PROHIBITED_PATHS ?=
> > > > > > > "/dev/pts/*:/media/*:/mnt/*:/proc/*:/run/*:/tmp/*:/var/ru
> > > > > > > n/*:
> > > > > > > /var/tmp/*:/var/volatile/*"
> > > > > > 
> > > > > > I like the idea, but wouldn't make more sense to do that on
> > > > > > a
> > > > > > package
> > > > > > level, as here the user is more or less left alone in
> > > > > > guessing
> > > > > > where
> > > > > > the file actually does come from
> > > > > 
> > > > > I like that idea, however it would make to assumption that
> > > > > there
> > > > > wasn't
> > > > > any tweaks being made as part of image generation that would
> > > > > end
> > > > > up
> > > > > violating this. A quick check suggests the "build-appliance-
> > > > > image_15.0.0.bb" image does this kind of thing in the core
> > > > > image
> > > > > types.
> > > > 
> > > > As Alex just wrote, I might be beneficial to do both
> > > > 
> > > > > Martyn
> > > 
> > > We have an alternative solution that hooks into the package QA.
> > > It
> > > focuses on directories that are supposed to be empty. In addition
> > > to
> > > failing the build if there are files in such a directory, it also
> > > allows to specify for each directory why it should be empty. We
> > > have
> > > used this, e.g., to mark common directories that have been
> > > renamed
> > > to give an indication of where the files were supposed to have
> > > been
> > > installed.
> > > 
> > > Do you want me to generalize this and send a patch for it?
> > 
> > Hi Peter,
> > 
> > It would be great if we could merge these approaches, i.e. have one
> > way
> > to specify directories that need to be empty and test both as part
> > of
> > package QA and also image QA.
> > 
> > I was just working on adding some package QA support to what I've
> > had,
> > but can pause that.
> > 
> > Would you be able to provide show how you'd propose managing the
> > prohibited directories? I'll try and tweak the image QA stuff
> > already
> > posted to fit that.
> > 
> > Martyn
> > 
> > > //Peter
> 
> I have sent two patches now. The first makes systemd not install 
> anything in /var/log, as it otherwise conflicts with the suggested 
> defaults. And then one patch that adds the package QA check for 
> empty directories. I used the same defaults as suggested in your 
> patch, except I removed /mnt since it is not obvious it should be 
> empty. At least we use subdirectories in /mnt for our mountpoints.
> 

Thanks Peter,

Looks good to me. I'll adapt the mine to be an image QA test that
complements this.

Martyn

> //Peter
> 


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



Re: [OE-core] [PATCH 1/2] systemd: Do not install anything in /var/log

2021-10-27 Thread Martyn Welch
On Wed, 2021-10-27 at 18:37 +0200, Peter Kjellerstedt wrote:
> /var/log is typically a symbolic link to inside /var/volatile, which
> is expected to be empty.
> 
> Signed-off-by: Peter Kjellerstedt 
> ---
>  meta/recipes-core/systemd/systemd_249.5.bb | 11 ---
>  1 file changed, 4 insertions(+), 7 deletions(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd_249.5.bb
> b/meta/recipes-core/systemd/systemd_249.5.bb
> index d87f54bf16..f2e6a79d6c 100644
> --- a/meta/recipes-core/systemd/systemd_249.5.bb
> +++ b/meta/recipes-core/systemd/systemd_249.5.bb
> @@ -270,13 +270,10 @@ do_install() {
> install -Dm 0755 ${S}/src/systemctl/systemd-sysv-
> install.SKELETON ${D}${systemd_system_unitdir}d-sysv-install
> fi
>  
> -   chown root:systemd-journal ${D}/${localstatedir}/log/journal

Having /var/log/journal exist (on systems that don't symbolically link
/var/log inside /var/volatile) by default will cause systemd to
persistently log data. I suspect removing this is going to negatively
impact some users.

> -
> -   # Delete journal README, as log can be symlinked inside
> volatile.
> -   rm -f ${D}/${localstatedir}/log/README
> -
> -   # journal-remote creates this at start
> -   rm -rf ${D}/${localstatedir}/log/journal/remote
> +   # /var/log is typically a symbolic link to inside
> /var/volatile, which
> +   # is expected to be empty. This remove /var/log/README and
> +   # /var/log/journal/.
> +   rm -rf ${D}${localstatedir}/log
>  
> install -d
> ${D}${systemd_system_unitdir}/graphical.target.wants
> install -d ${D}${systemd_system_unitdir}/multi-
> user.target.wants
> 
> 
> 


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



Re: [OE-core] [PATCH 2/2] insane.bbclass: Add a check for directories that are expected to be empty

2021-10-27 Thread Konrad Weihmann
Thanks for the patch, that looks like a better approach to me than the 
previously suggested


On 27.10.21 18:37, Peter Kjellerstedt wrote:

The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.

Signed-off-by: Peter Kjellerstedt 
---
  meta/classes/insane.bbclass  | 33 -
  meta/conf/documentation.conf |  2 ++
  2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1e2f1b768a..1675adf6ac 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -37,7 +37,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch 
pkgconfig la \
  configure-gettext perllocalpod shebang-size \
  already-stripped installed-vs-shipped ldflags compile-host-path \
  install-host-path pn-overrides unknown-configure-option \
-useless-rpaths rpaths staticdev \
+useless-rpaths rpaths staticdev empty-dirs \
  "
  # Add usrmerge QA check based on distro feature
  ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' 
usrmerge', '', d)}"
@@ -50,6 +50,21 @@ ALL_QA = "${WARN_QA} ${ERROR_QA}"
  
  UNKNOWN_CONFIGURE_WHITELIST ?= "--enable-nls --disable-nls --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot --disable-static"
  
+# This is a list of directories that are expected to be empty.

+QA_EMPTY_DIRS ?= " \
+/dev/pts \


Not sure why just /dev/pts should be empty, IMHO all of /dev shouldn't 
be prepopulated at build time



+/media \
+/proc \
+/run \
+/tmp \
+${localstatedir}/run \
+${localstatedir}/volatile \
+"
+# It is possible to specify why a directory is expected to be empty by defining
+# QA_EMPTY_DIRS_RECOMMENDATION:, which will then be included in the error
+# message if the directory is not empty. If it is not specified for a 
directory,
+# then "but it is expected to be empty" will be used.
+
  def package_qa_clean_path(path, d, pkg=None):
  """
  Remove redundant paths from the path for display.  If pkg isn't set then
@@ -885,6 +900,22 @@ def package_qa_check_unlisted_pkg_lics(package, d, 
messages):
 "listed in LICENSE" % (package, ' 
'.join(unlisted)))
  return False
  
+QAPKGTEST[empty-dirs] = "package_qa_check_empty_dirs"

+def package_qa_check_empty_dirs(pkg, d, messages):
+"""
+Check for the existence of files in directories that are expected to be
+empty.
+"""
+
+pkgd = oe.path.join(d.getVar('PKGDEST'), pkg)
+for dir in (d.getVar('QA_EMPTY_DIRS') or "").split():
+empty_dir = oe.path.join(pkgd, dir)
+if os.path.exists(empty_dir) and os.listdir(empty_dir):
+recommendation = (d.getVar('QA_EMPTY_DIRS_RECOMMENDATION:' + dir) 
or
+  "but it is expected to be empty")
+msg = "%s installs files in %s, %s" % (pkg, dir, recommendation)
+oe.qa.add_message(messages, "empty-dirs", msg)
+
  def package_qa_check_encoding(keys, encode, d):
  def check_encoding(key, enc):
  sane = True
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index 80ad8e10d5..45cd01374a 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -345,6 +345,8 @@ PYPI_SRC_URI[doc] = "The URI to use to fetch from pypi, 
default uses pythonhoste
  
  #Q
  
+QA_EMPTY_DIRS[doc] = "A list of directories that are expected to be empty."

+QA_EMPTY_DIRS_RECOMMENDATION[doc] = "This specifies a recommendation for a 
directory why it must be empty, which will be included in the error message if the 
directory is not empty."
  QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for use 
with qmake."
  
  #R







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157558): 
https://lists.openembedded.org/g/openembedded-core/message/157558
Mute This Topic: https://lists.openembedded.org/mt/86632212/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 v6 2/2] core-image.bbclass: add default IMAGE_QA_PROHIBIT_PATHS variable

2021-10-27 Thread Peter Kjellerstedt
> -Original Message-
> From: Martyn Welch 
> Sent: den 26 oktober 2021 17:32
> To: Peter Kjellerstedt ; Konrad Weihmann
> ; OE-core  c...@lists.openembedded.org>
> Subject: Re: [OE-core] [PATCH v6 2/2] core-image.bbclass: add default
> IMAGE_QA_PROHIBIT_PATHS variable
> 
> On Tue, 2021-10-26 at 14:59 +, Peter Kjellerstedt wrote:
> > > -Original Message-
> > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Konrad Weihmann
> > > Sent: den 26 oktober 2021 13:24
> > > To: Martyn Welch ; OE-core
> > >  > > c...@lists.openembedded.org>
> > > Subject: Re: [OE-core] [PATCH v6 2/2] core-image.bbclass: add
> > > default
> > > IMAGE_QA_PROHIBIT_PATHS variable
> > >
> > >
> > >
> > > On 26.10.21 13:21, Martyn Welch wrote:
> > > > Note to self - remember to reply to list...
> > > >
> > > >  Forwarded Message 
> > > > From: Martyn Welch 
> > > > To: Konrad Weihmann 
> > > > Subject: Re: [OE-core] [PATCH v6 2/2] core-image.bbclass: add
> > > > default
> > > > IMAGE_QA_PROHIBIT_PATHS variable
> > > > Date: Tue, 26 Oct 2021 12:12:11 +0100
> > > >
> > > > On Tue, 2021-10-26 at 12:56 +0200, Konrad Weihmann wrote:
> > > > >
> > > > >
> > > > > On 26.10.21 12:50, Martyn Welch wrote:
> 
> 
> 
> > > > > > +# IMAGE_QA_PROHIBITED_PATHS
> > > > > > +# Ensure images aren't including files in places that will
> > > > > > be used as mount points or that are
> > > > > > +# reserved for runtime data.
> > > > > > +IMAGE_QA_PROHIBITED_PATHS ?=
> > > > > > "/dev/pts/*:/media/*:/mnt/*:/proc/*:/run/*:/tmp/*:/var/run/*:
> > > > > > /var/tmp/*:/var/volatile/*"
> > > > >
> > > > > I like the idea, but wouldn't make more sense to do that on a
> > > > > package
> > > > > level, as here the user is more or less left alone in guessing
> > > > > where
> > > > > the file actually does come from
> > > >
> > > > I like that idea, however it would make to assumption that there
> > > > wasn't
> > > > any tweaks being made as part of image generation that would end
> > > > up
> > > > violating this. A quick check suggests the "build-appliance-
> > > > image_15.0.0.bb" image does this kind of thing in the core image
> > > > types.
> > >
> > > As Alex just wrote, I might be beneficial to do both
> > >
> > > > Martyn
> >
> > We have an alternative solution that hooks into the package QA. It
> > focuses on directories that are supposed to be empty. In addition to
> > failing the build if there are files in such a directory, it also
> > allows to specify for each directory why it should be empty. We have
> > used this, e.g., to mark common directories that have been renamed
> > to give an indication of where the files were supposed to have been
> > installed.
> >
> > Do you want me to generalize this and send a patch for it?
> 
> Hi Peter,
> 
> It would be great if we could merge these approaches, i.e. have one way
> to specify directories that need to be empty and test both as part of
> package QA and also image QA.
> 
> I was just working on adding some package QA support to what I've had,
> but can pause that.
> 
> Would you be able to provide show how you'd propose managing the
> prohibited directories? I'll try and tweak the image QA stuff already
> posted to fit that.
> 
> Martyn
> 
> > //Peter

I have sent two patches now. The first makes systemd not install 
anything in /var/log, as it otherwise conflicts with the suggested 
defaults. And then one patch that adds the package QA check for 
empty directories. I used the same defaults as suggested in your 
patch, except I removed /mnt since it is not obvious it should be 
empty. At least we use subdirectories in /mnt for our mountpoints.

//Peter


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



[OE-core] [PATCH 2/2] insane.bbclass: Add a check for directories that are expected to be empty

2021-10-27 Thread Peter Kjellerstedt
The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.

Signed-off-by: Peter Kjellerstedt 
---
 meta/classes/insane.bbclass  | 33 -
 meta/conf/documentation.conf |  2 ++
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1e2f1b768a..1675adf6ac 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -37,7 +37,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch 
pkgconfig la \
 configure-gettext perllocalpod shebang-size \
 already-stripped installed-vs-shipped ldflags compile-host-path \
 install-host-path pn-overrides unknown-configure-option \
-useless-rpaths rpaths staticdev \
+useless-rpaths rpaths staticdev empty-dirs \
 "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' 
usrmerge', '', d)}"
@@ -50,6 +50,21 @@ ALL_QA = "${WARN_QA} ${ERROR_QA}"
 
 UNKNOWN_CONFIGURE_WHITELIST ?= "--enable-nls --disable-nls 
--disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot 
--disable-static"
 
+# This is a list of directories that are expected to be empty.
+QA_EMPTY_DIRS ?= " \
+/dev/pts \
+/media \
+/proc \
+/run \
+/tmp \
+${localstatedir}/run \
+${localstatedir}/volatile \
+"
+# It is possible to specify why a directory is expected to be empty by defining
+# QA_EMPTY_DIRS_RECOMMENDATION:, which will then be included in the error
+# message if the directory is not empty. If it is not specified for a 
directory,
+# then "but it is expected to be empty" will be used.
+
 def package_qa_clean_path(path, d, pkg=None):
 """
 Remove redundant paths from the path for display.  If pkg isn't set then
@@ -885,6 +900,22 @@ def package_qa_check_unlisted_pkg_lics(package, d, 
messages):
"listed in LICENSE" % (package, ' '.join(unlisted)))
 return False
 
+QAPKGTEST[empty-dirs] = "package_qa_check_empty_dirs"
+def package_qa_check_empty_dirs(pkg, d, messages):
+"""
+Check for the existence of files in directories that are expected to be
+empty.
+"""
+
+pkgd = oe.path.join(d.getVar('PKGDEST'), pkg)
+for dir in (d.getVar('QA_EMPTY_DIRS') or "").split():
+empty_dir = oe.path.join(pkgd, dir)
+if os.path.exists(empty_dir) and os.listdir(empty_dir):
+recommendation = (d.getVar('QA_EMPTY_DIRS_RECOMMENDATION:' + dir) 
or
+  "but it is expected to be empty")
+msg = "%s installs files in %s, %s" % (pkg, dir, recommendation)
+oe.qa.add_message(messages, "empty-dirs", msg)
+
 def package_qa_check_encoding(keys, encode, d):
 def check_encoding(key, enc):
 sane = True
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index 80ad8e10d5..45cd01374a 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -345,6 +345,8 @@ PYPI_SRC_URI[doc] = "The URI to use to fetch from pypi, 
default uses pythonhoste
 
 #Q
 
+QA_EMPTY_DIRS[doc] = "A list of directories that are expected to be empty."
+QA_EMPTY_DIRS_RECOMMENDATION[doc] = "This specifies a recommendation for a 
directory why it must be empty, which will be included in the error message if 
the directory is not empty."
 QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for 
use with qmake."
 
 #R

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



[OE-core] [PATCH 1/2] systemd: Do not install anything in /var/log

2021-10-27 Thread Peter Kjellerstedt
/var/log is typically a symbolic link to inside /var/volatile, which
is expected to be empty.

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

diff --git a/meta/recipes-core/systemd/systemd_249.5.bb 
b/meta/recipes-core/systemd/systemd_249.5.bb
index d87f54bf16..f2e6a79d6c 100644
--- a/meta/recipes-core/systemd/systemd_249.5.bb
+++ b/meta/recipes-core/systemd/systemd_249.5.bb
@@ -270,13 +270,10 @@ do_install() {
install -Dm 0755 
${S}/src/systemctl/systemd-sysv-install.SKELETON 
${D}${systemd_system_unitdir}d-sysv-install
fi
 
-   chown root:systemd-journal ${D}/${localstatedir}/log/journal
-
-   # Delete journal README, as log can be symlinked inside volatile.
-   rm -f ${D}/${localstatedir}/log/README
-
-   # journal-remote creates this at start
-   rm -rf ${D}/${localstatedir}/log/journal/remote
+   # /var/log is typically a symbolic link to inside /var/volatile, which
+   # is expected to be empty. This remove /var/log/README and
+   # /var/log/journal/.
+   rm -rf ${D}${localstatedir}/log
 
install -d ${D}${systemd_system_unitdir}/graphical.target.wants
install -d ${D}${systemd_system_unitdir}/multi-user.target.wants

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157555): 
https://lists.openembedded.org/g/openembedded-core/message/157555
Mute This Topic: https://lists.openembedded.org/mt/86632211/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] oeqa/runtime/parselogs: whitelist drm failure in common errors list

2021-10-27 Thread Khem Raj
On Wed, Oct 27, 2021 at 2:24 AM Jose Quaresma  wrote:
>
>
>
> Teoh, Jay Shen  escreveu no dia quarta, 27/10/2021 
> à(s) 10:12:
>>
>> From: Teoh Jay Shen 
>>
>> Add the following line to common_errors list.
>>
>>   [drm] Cannot find any crtc or sizes
>>
>> This message is not harmful, it extended the coverage for drm error message.
>>
>> Signed-off-by: Teoh Jay Shen 
>> ---
>>  meta/lib/oeqa/runtime/cases/parselogs.py | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py 
>> b/meta/lib/oeqa/runtime/cases/parselogs.py
>> index 2b8893d842..96da0b4f5c 100644
>> --- a/meta/lib/oeqa/runtime/cases/parselogs.py
>> +++ b/meta/lib/oeqa/runtime/cases/parselogs.py
>> @@ -32,6 +32,7 @@ common_errors = [
>>  "Failed to load module \"fbdev\"",
>>  "Failed to load module fbdev",
>>  "Failed to load module glx",
>> +"[drm] Cannot find any crtc or sizes",
>>  "[drm] Cannot find any crtc or sizes - going 1024x768",
>
>
> I think this one ^ can be removed

will the first entry cover the case when a fallback size is set ?

>
>>
>>  "_OSC failed (AE_NOT_FOUND); disabling ASPM",
>>  "Open ACPI failed (/var/run/acpid.socket) (No such file or directory)",
>> --
>> 2.33.1
>>
>>
>>
>>
>
>
> --
> Best regards,
>
> José Quaresma
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157554): 
https://lists.openembedded.org/g/openembedded-core/message/157554
Mute This Topic: https://lists.openembedded.org/mt/86623483/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] [PATCHv2 1/2] meson.bblcass: Remove empty egg-info directories before running meson

2021-10-27 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core@lists.openembedded.org 
>  On Behalf Of Peter Kjellerstedt
> Sent: den 25 oktober 2021 16:07
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCHv2 1/2] meson.bblcass: Remove empty egg-info 
> directories before running meson
> 
> sstate.bbclass no longer removes empty directories to avoid a race (see
> commit 4f94d929 "sstate/staging: Handle directory creation race issue").
> Unfortunately Python apparently treats an empty egg-info directory as if
> the version it previously contained still exists and fails if a newer
> version is required, which Meson does. To avoid this, make sure there
> are no empty egg-info directories from previous versions left behind.
> 
> Signed-off-by: Peter Kjellerstedt 
> ---
> 
> PATCHv2: Ignore all errors from rmdir since apparently egg-info may be
>  files rather than directories.
> 
>  meta/classes/meson.bbclass | 10 ++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
> index e124d18144..da58cb4bec 100644
> --- a/meta/classes/meson.bbclass
> +++ b/meta/classes/meson.bbclass
> @@ -103,6 +103,16 @@ meson_do_configure() {
>  # 
> https://github.com/mesonbuild/meson/commit/ef9aeb188ea2bc7353e59916c18901cde90fa2b3
>  unset LD
> 
> +# sstate.bbclass no longer removes empty directories to avoid a race (see
> +# commit 4f94d929 "sstate/staging: Handle directory creation race 
> issue").
> +# Unfortunately Python apparently treats an empty egg-info directory as 
> if
> +# the version it previously contained still exists and fails if a newer
> +# version is required, which Meson does. To avoid this, make sure there 
> are
> +# no empty egg-info directories from previous versions left behind. 
> Ignore
> +# all errors from rmdir since the egg-info may be a file rather than a
> +# directory.
> +rmdir ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/*.egg-info 
> 2>/dev/null || :
> +
>  # Work around "Meson fails if /tmp is mounted with noexec #2972"
>  mkdir -p "${B}/meson-private/tmp"
>  export TMPDIR="${B}/meson-private/tmp"

Can this patch and the corresponding qemu.inc patch please be backported 
to Honister now that they have been accepted for master?

//Peter


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



[OE-core] [hardknott][PATCH 24/36] gpgme: Use glibc provided closefrom API when available

2021-10-27 Thread Anuj Mittal
From: Khem Raj 

glibc 2.34+ has added this API new

Signed-off-by: Khem Raj 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit a2b2479d20d029f5a11dba8cf7f7ca3e4a5bbbe2)
Signed-off-by: Anuj Mittal 
---
 ...se-closefrom-on-linux-and-glibc-2.34.patch | 24 +++
 meta/recipes-support/gpgme/gpgme_1.15.1.bb|  3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch

diff --git 
a/meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch
 
b/meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch
new file mode 100644
index 00..1c46684c6d
--- /dev/null
+++ 
b/meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch
@@ -0,0 +1,24 @@
+From adb1d4e5498a19e9d591ac8f42f9ddfdb23a1354 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Thu, 15 Jul 2021 12:33:13 -0700
+Subject: [PATCH] use closefrom() on linux and glibc 2.34+
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ src/posix-io.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/posix-io.c b/src/posix-io.c
+index e712ef2..ab8ded9 100644
+--- a/src/posix-io.c
 b/src/posix-io.c
+@@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], 
unsigned int flags,
+   if (fd_list[i].fd > fd)
+ fd = fd_list[i].fd;
+ fd++;
+-#if defined(__sun) || defined(__FreeBSD__)
++#if defined(__sun) || defined(__FreeBSD__) || (defined(__GLIBC__) && 
__GNUC_PREREQ(2, 34))
+ closefrom (fd);
+ max_fds = fd;
+ #else /*!__sun */
diff --git a/meta/recipes-support/gpgme/gpgme_1.15.1.bb 
b/meta/recipes-support/gpgme/gpgme_1.15.1.bb
index dc38aa8e3c..f207e81687 100644
--- a/meta/recipes-support/gpgme/gpgme_1.15.1.bb
+++ b/meta/recipes-support/gpgme/gpgme_1.15.1.bb
@@ -20,7 +20,8 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
file://0006-fix-build-path-issue.patch \
file://0007-python-Add-variables-to-tests.patch \
file://0008-do-not-auto-check-var-PYTHON.patch \
-  "
+   file://0001-use-closefrom-on-linux-and-glibc-2.34.patch \
+   "
 
 SRC_URI[sha256sum] = 
"eebc3c1b27f1c8979896ff361ba9bb4778b508b2496c2fc10e3775a40b1de1ad"
 
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 36/36] reproducible_build: Work around caching issues

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

SOURCE_DATE_EPOCH can be expanded early in the parsing process before
the class extensions are applied. This can mean the directory pointed
to for the SDE can be incorrect until later in parsing. Cache the file
name in the cached value and allow it to dynamically update.

This isn't ideal but avoding expansion of the variable likely isn't
possible and I'm not sure how else to handle this. This works around
the issue until a better solution can be found.

Signed-off-by: Richard Purdie 
(cherry picked from commit 44dc97cd1223e4d2b635669627ec5f796838d42d)
Signed-off-by: Anuj Mittal 
---
 meta/classes/reproducible_build.bbclass | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/meta/classes/reproducible_build.bbclass 
b/meta/classes/reproducible_build.bbclass
index 1277764fab..62655c2a5b 100644
--- a/meta/classes/reproducible_build.bbclass
+++ b/meta/classes/reproducible_build.bbclass
@@ -90,11 +90,14 @@ python create_source_date_epoch_stamp() {
 }
 
 def get_source_date_epoch_value(d):
-cached = d.getVar('__CACHED_SOURCE_DATE_EPOCH')
-if cached:
+epochfile = d.getVar('SDE_FILE')
+cached, efile = d.getVar('__CACHED_SOURCE_DATE_EPOCH') or (None, None)
+if cached and efile == epochfile:
 return cached
 
-epochfile = d.getVar('SDE_FILE')
+if cached and epochfile != efile:
+bb.debug(1, "Epoch file changed from %s to %s" % (efile, epochfile))
+
 source_date_epoch = int(d.getVar('SOURCE_DATE_EPOCH_FALLBACK'))
 try:
 with open(epochfile, 'r') as f:
@@ -112,7 +115,7 @@ def get_source_date_epoch_value(d):
 except FileNotFoundError:
 bb.debug(1, "Cannot find %s. SOURCE_DATE_EPOCH will default to %d" % 
(epochfile, source_date_epoch))
 
-d.setVar('__CACHED_SOURCE_DATE_EPOCH', str(source_date_epoch))
+d.setVar('__CACHED_SOURCE_DATE_EPOCH', (str(source_date_epoch), epochfile))
 return str(source_date_epoch)
 
 export SOURCE_DATE_EPOCH ?= "${@get_source_date_epoch_value(d)}"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 35/36] rpm: Deterministically set vendor macro entry

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

On an aarch64 build host, vendor is found to be "unknown", on x86 systems
it is "pc". This filters through to the PLATFORM tag in target rpms.

We saw reproducibility test failures where the PLATFORM tags in noarch
rpms were changing depending upon which host built them. Forcing the
vendor value to a consistent one makes things deterministic.

Signed-off-by: Richard Purdie 
(cherry picked from commit f6434075b2bdfc23c683d22281b674b1e6abde77)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-devtools/rpm/rpm_4.16.1.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb 
b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
index 0b58a24b99..ea1cc38806 100644
--- a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
@@ -59,7 +59,8 @@ AUTOTOOLS_AUXDIR = "${S}/build-aux"
 # OE-core patches autoreconf to additionally run gnu-configize, which fails 
with this recipe
 EXTRA_AUTORECONF_append = " --exclude=gnu-configize"
 
-EXTRA_OECONF_append = " --without-lua --enable-python --with-crypto=libgcrypt"
+# Vendor is detected differently on x86 and aarch64 hosts and can feed into 
target packages
+EXTRA_OECONF_append = " --without-lua --enable-python --with-crypto=libgcrypt 
--with-vendor=pc"
 EXTRA_OECONF_append_libc-musl = " --disable-nls --disable-openmp"
 
 # --sysconfdir prevents rpm from attempting to access machine-specific 
configuration in sysroot/etc; we need to have it in rootfs
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 34/36] go: upgrade 1.16.7 -> 1.16.8

2021-10-27 Thread Anuj Mittal
From: Sakib Sajal 

Signed-off-by: Sakib Sajal 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 97a2f406635f51bad1ab070f018a6466209f257b)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-devtools/go/{go-1.16.7.inc => go-1.16.8.inc} | 4 ++--
 ...{go-binary-native_1.16.7.bb => go-binary-native_1.16.8.bb} | 4 ++--
 ...o-cross-canadian_1.16.7.bb => go-cross-canadian_1.16.8.bb} | 0
 .../go/{go-cross_1.16.7.bb => go-cross_1.16.8.bb} | 0
 .../go/{go-crosssdk_1.16.7.bb => go-crosssdk_1.16.8.bb}   | 0
 .../go/{go-native_1.16.7.bb => go-native_1.16.8.bb}   | 0
 .../go/{go-runtime_1.16.7.bb => go-runtime_1.16.8.bb} | 0
 meta/recipes-devtools/go/{go_1.16.7.bb => go_1.16.8.bb}   | 0
 8 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/go/{go-1.16.7.inc => go-1.16.8.inc} (91%)
 rename meta/recipes-devtools/go/{go-binary-native_1.16.7.bb => 
go-binary-native_1.16.8.bb} (83%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.16.7.bb => 
go-cross-canadian_1.16.8.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.16.7.bb => go-cross_1.16.8.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.16.7.bb => 
go-crosssdk_1.16.8.bb} (100%)
 rename meta/recipes-devtools/go/{go-native_1.16.7.bb => go-native_1.16.8.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-runtime_1.16.7.bb => go-runtime_1.16.8.bb} 
(100%)
 rename meta/recipes-devtools/go/{go_1.16.7.bb => go_1.16.8.bb} (100%)

diff --git a/meta/recipes-devtools/go/go-1.16.7.inc 
b/meta/recipes-devtools/go/go-1.16.8.inc
similarity index 91%
rename from meta/recipes-devtools/go/go-1.16.7.inc
rename to meta/recipes-devtools/go/go-1.16.8.inc
index 9eca1caeeb..acc2300a28 100644
--- a/meta/recipes-devtools/go/go-1.16.7.inc
+++ b/meta/recipes-devtools/go/go-1.16.8.inc
@@ -1,7 +1,7 @@
 require go-common.inc
 
 GO_BASEVERSION = "1.16"
-PV = "1.16.7"
+PV = "1.16.8"
 FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -18,7 +18,7 @@ SRC_URI += "\
 file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \
 file://0001-encoding-xml-handle-leading-trailing-or-double-colon.patch \
 "
-SRC_URI[main.sha256sum] = 
"1a9f2894d3d878729f7045072f30becebe243524cf2fce4e0a7b248b1e0654ac"
+SRC_URI[main.sha256sum] = 
"8f2a8c24b793375b3243df82fdb0c8387486dcc8a892ca1c991aa99ace086b98"
 
 # Upstream don't believe it is a signifiant real world issue and will only
 # fix in 1.17 onwards where we can drop this.
diff --git a/meta/recipes-devtools/go/go-binary-native_1.16.7.bb 
b/meta/recipes-devtools/go/go-binary-native_1.16.8.bb
similarity index 83%
rename from meta/recipes-devtools/go/go-binary-native_1.16.7.bb
rename to meta/recipes-devtools/go/go-binary-native_1.16.8.bb
index cb54c2868e..926222089d 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.16.7.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.16.8.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
 PROVIDES = "go-native"
 
 SRC_URI = 
"https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE};
-SRC_URI[go_linux_amd64.sha256sum] = 
"7fe7a73f55ba3e2285da36f8b085e5c0159e9564ef5f63ee0ed6b818ade8ef04"
-SRC_URI[go_linux_arm64.sha256sum] = 
"63d6b53ecbd2b05c1f0e9903c92042663f2f68afdbb67f4d0d12700156869bac"
+SRC_URI[go_linux_amd64.sha256sum] = 
"f32501aeb8b7b723bc7215f6c373abb6981bbc7e1c7b44e9f07317e1a300dce2"
+SRC_URI[go_linux_arm64.sha256sum] = 
"430dbe185417204f6788913197ab3b189b6deae9c9b524f262858e53dab239c2"
 
 UPSTREAM_CHECK_URI = "https://golang.org/dl/;
 UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.16.7.bb 
b/meta/recipes-devtools/go/go-cross-canadian_1.16.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross-canadian_1.16.7.bb
rename to meta/recipes-devtools/go/go-cross-canadian_1.16.8.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.16.7.bb 
b/meta/recipes-devtools/go/go-cross_1.16.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross_1.16.7.bb
rename to meta/recipes-devtools/go/go-cross_1.16.8.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.16.7.bb 
b/meta/recipes-devtools/go/go-crosssdk_1.16.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-crosssdk_1.16.7.bb
rename to meta/recipes-devtools/go/go-crosssdk_1.16.8.bb
diff --git a/meta/recipes-devtools/go/go-native_1.16.7.bb 
b/meta/recipes-devtools/go/go-native_1.16.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-native_1.16.7.bb
rename to meta/recipes-devtools/go/go-native_1.16.8.bb
diff --git a/meta/recipes-devtools/go/go-runtime_1.16.7.bb 
b/meta/recipes-devtools/go/go-runtime_1.16.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-runtime_1.16.7.bb
rename to meta/recipes-devtools/go/go-runtime_1.16.8.bb
diff --git 

[OE-core] [hardknott][PATCH 33/36] ruby: fix the reproducibility issue

2021-10-27 Thread Anuj Mittal
From: Thomas Perrot 

Apply some changes on the Ruby makefiles in order to fix the reproducibility:
- use a fixed timestamp,
- sort linked objects,
- doesn't use the current date,
- and use UTC date.

[YOCTO #14268]

Signed-off-by: Thomas Perrot 
Signed-off-by: Richard Purdie 
(cherry picked from commit 59b07ab51ff932a4632a31675445ba4192bae36b)
Signed-off-by: Anuj Mittal 
---
 ...doc-build-reproducible-documentation.patch | 35 ++
 ...-list-of-object-files-in-generated-M.patch | 28 
 ...eproducible-change-fixing-784225-too.patch | 28 
 .../0006-Make-gemspecs-reproducible.patch | 67 +++
 meta/recipes-devtools/ruby/ruby_3.0.1.bb  |  4 ++
 5 files changed, 162 insertions(+)
 create mode 100644 
meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
 create mode 100644 
meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
 create mode 100644 
meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
 create mode 100644 
meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch

diff --git 
a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
 
b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
new file mode 100644
index 00..f92f0e1ba6
--- /dev/null
+++ 
b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
@@ -0,0 +1,35 @@
+From: Christian Hofstaedtler 
+Date: Tue, 10 Oct 2017 15:04:34 -0300
+Subject: rdoc: build reproducible documentation
+
+- provide a fixed timestamp to the gzip compression
+
+Upstream-Status: Backport [debian]
+
+Signed-off-by: Antonio Terceiro 
+Signed-off-by: Christian Hofstaedtler 
+---
+ lib/rdoc/generator/json_index.rb | 4 ++--
+ lib/rdoc/rdoc.rb | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+--- a/lib/rdoc/generator/json_index.rb
 b/lib/rdoc/generator/json_index.rb
+@@ -178,7 +178,7 @@
+ debug_msg "Writing gzipped search index to %s" % outfile
+
+ Zlib::GzipWriter.open(outfile) do |gz|
+-  gz.mtime = File.mtime(search_index_file)
++  gz.mtime = -1
+   gz.orig_name = search_index_file.basename.to_s
+   gz.write search_index
+   gz.close
+@@ -196,7 +196,7 @@
+ debug_msg "Writing gzipped file to %s" % outfile
+
+ Zlib::GzipWriter.open(outfile) do |gz|
+-  gz.mtime = File.mtime(dest)
++  gz.mtime = -1
+   gz.orig_name = dest.basename.to_s
+   gz.write data
+   gz.close
diff --git 
a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
 
b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
new file mode 100644
index 00..e0aca0dcfc
--- /dev/null
+++ 
b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
@@ -0,0 +1,28 @@
+From: Reiner Herrmann 
+Date: Tue, 10 Oct 2017 15:06:13 -0300
+Subject: lib/mkmf.rb: sort list of object files in generated Makefile
+
+Without sorting the list explicitly, its order is indeterministic,
+because readdir() is also not deterministic.
+When the list of object files varies between builds, they are linked
+in a different order, which results in an unreproducible build.
+
+Upstream-Status: Backport [debian]
+
+Signed-off-by: Antonio Terceiro 
+Signed-off-by: Reiner Herrmann 
+---
+ lib/mkmf.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/lib/mkmf.rb
 b/lib/mkmf.rb
+@@ -2315,7 +2315,7 @@
+ LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
+ ORIG_SRCS = #{orig_srcs.collect((:basename)).join(' ')}
+ SRCS = $(ORIG_SRCS) #{(srcs - 
orig_srcs).collect((:basename)).join(' ')}
+-OBJS = #{$objs.join(" ")}
++OBJS = #{$objs.sort.join(" ")}
+ HDRS = #{hdrs.map{|h| '$(srcdir)/' + File.basename(h)}.join(' ')}
+ LOCAL_HDRS = #{$headers.join(' ')}
+ TARGET = #{target}
diff --git 
a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
 
b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
new file mode 100644
index 00..b7faa58655
--- /dev/null
+++ 
b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
@@ -0,0 +1,28 @@
+From: Christian Hofstaedtler 
+Date: Tue, 10 Oct 2017 15:07:11 -0300
+Subject: Mark Gemspec-reproducible change fixing #784225, too
+
+I think the UTC date change will fix the Multi-Arch not-same file issue,
+too.
+
+Upstream-Status: Backport [debian]
+
+Signed-off-by: Antonio Terceiro 
+Signed-off-by: Christian Hofstaedtler 
+---
+ lib/rubygems/specification.rb | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- a/lib/rubygems/specification.rb
 b/lib/rubygems/specification.rb
+@@ -1695,7 +1695,9 @@
+ raise(Gem::InvalidSpecificationException,
+   "invalid 

[OE-core] [hardknott][PATCH 32/36] linux-yocto/5.10: update to v5.10.70

2021-10-27 Thread Anuj Mittal
From: Bruce Ashfield 

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

f93026b28e2a Linux 5.10.70
59094296058d qnx4: work around gcc false positive warning bug
35c0dfbbd344 xen/balloon: fix balloon kthread freezing
8373d58c89be USB: serial: cp210x: fix dropped characters with CP2102
67cdb51ab5e2 thermal/drivers/int340x: Do not set a wrong tcc offset on 
resume
cc71740ee4d4 EDAC/dmc520: Assign the proper type to dimm->edac_mode
9afad85a43f5 EDAC/synopsys: Fix wrong value type assignment for edac_mode
db76cb05c046 spi: Fix tegra20 build with CONFIG_PM=n
890e25c424ea net: 6pack: Fix tx timeout and slot time
044513c1fada alpha: Declare virt_to_phys and virt_to_bus parameter as 
pointer to volatile
0a511ba6d2a7 arm64: Mark __stack_chk_guard as __ro_after_init
fec3bd622db0 parisc: Use absolute_pointer() to define PAGE0
61454e7fd624 qnx4: avoid stringop-overread errors
5520d27f02a1 sparc: avoid stringop-overread errors
8d768beaf0ef net: i825xx: Use absolute_pointer for memcpy from fixed memory 
location
e99f9032715e compiler.h: Introduce absolute_pointer macro
f58d305887ad blk-cgroup: fix UAF by grabbing blkcg lock before destroying 
blkg pd
1ef68b84bc11 block: flush the integrity workqueue in 
blk_integrity_unregister
1963bdb7489c block: check if a profile is actually registered in 
blk_integrity_unregister
526261c1b706 amd/display: downgrade validation failure log level
54a4860c6257 sparc32: page align size in arch_dma_alloc
ecf0dc5a9048 nvme-rdma: destroy cm id before destroy qp to avoid use after 
free
2a08960577af nvme-multipath: fix ANA state updates when a namespace is not 
present
372d3e6ea1e1 xen/balloon: use a kernel thread instead a workqueue
6345a0bee801 bpf: Add oversize check before call kvcalloc()
e567d33508a9 cpufreq: intel_pstate: Override parameters if HWP forced by 
BIOS
9561bb98879e ipv6: delay fib6_sernum increase in fib6_add
31df1d037cfd m68k: Double cast io functions to unsigned long
cc3dd119d3cf blk-mq: avoid to iterate over stale request
de7e03003367 net: stmmac: allow CSR clock of 300MHz
7721221e87d2 net: macb: fix use after free on rmmod
a632288053b7 net: phylink: Update SFP selected interface on advertising 
changes
3815fe7371d2 blktrace: Fix uaf in blk_trace access after removing by sysfs
ce092350b452 io_uring: put provided buffer meta data under memcg accounting
7040b37a9630 x86/asm: Fix SETZ size enqcmds() build failure
54e85b6c287c x86/asm: Add a missing __iomem annotation in enqcmds()
b18ba3f477a2 md: fix a lock order reversal in md_alloc
568662e37f92 irqchip/gic-v3-its: Fix potential VPE leak on error
af7c9ffe2bee irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
0595fc4794c3 scsi: lpfc: Use correct scnprintf() limit
cb948b158a86 scsi: qla2xxx: Restore initiator in dual mode
3d42ed6b7905 cifs: fix a sign extension bug
8cba4c2698e2 thermal/core: Potential buffer overflow in 
thermal_build_list_of_policies()
215df4349916 nvme: keep ctrl->namespaces ordered
55e6f8b3c0f5 treewide: Change list_sort to use const pointers
419fab1cb086 nvme-tcp: fix incorrect h2cdata pdu offset accounting
c6ecdcba9da3 fpga: machxo2-spi: Fix missing error code in 
machxo2_write_complete()
5c6bfde245d8 fpga: machxo2-spi: Return an error on failure
4ea4925c70fd tty: synclink_gt: rename a conflicting function name
56a8f0b18f46 tty: synclink_gt, drop unneeded forward declarations
c64e6c307a76 scsi: target: Fix the pgr/alua_support_store functions
2d0305425179 scsi: iscsi: Adjust iface sysfs attr detection
0032f8b3cf2a atlantic: Fix issue in the pm resume flow.
c2598bce4152 net/mlx4_en: Don't allow aRFS for encapsulated packets
b4e54f5f4288 qed: rdma - don't wait for resources under hw error recovery 
flow
1bba406c07b3 gpio: uniphier: Fix void functions to remove return value
db94f89e1dad s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
3aa50241e1ed kselftest/arm64: signal: Skip tests if required features are 
missing
91d4da33c367 kselftest/arm64: signal: Add SVE to the set of features we can 
check for
2eaa39d83e30 net: dsa: realtek: register the MDIO bus under devres
43c880b860c7 net: dsa: don't allocate the slave_mii_bus using devres
b4561bd29e62 net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work
8a00c832ef88 net/smc: add missing error check in smc_clc_prfx_set()
4e0fd1d79534 net: hns3: check queue id range before using
ca435999bcaf net: hns3: fix change RSS 'hfunc' ineffective issue
1365a0dc5596 bnxt_en: Fix TX timeout when TX ring size is set to the 
smallest
d5afe3cf52e5 enetc: Fix uninitialized struct dim_sample field usage
6c3f1b741c6c enetc: Fix illegal access when reading affinity_hint
117661cb9d3a platform/x86/intel: punit_ipc: Drop wrong use of 

[OE-core] [hardknott][PATCH 31/36] linux-yocto/5.10: update to v5.10.69

2021-10-27 Thread Anuj Mittal
From: Bruce Ashfield 

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

5f4196eaa90c Linux 5.10.69
7c09505e9e6b drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
83a3cb200eff sched/idle: Make the idle timer expire in hard interrupt 
context
647c19bc6102 rtc: rx8010: select REGMAP_I2C
9a14014df72d blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for 
multiple_queues
23dfb959c6cb blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
a2551d0a29e9 pwm: stm32-lp: Don't modify HW state in .remove() callback
a6a2b36a8cc4 pwm: rockchip: Don't modify HW state in .remove() callback
0a2ea5c0e5d1 pwm: img: Don't modify HW state in .remove() callback
db8838e48a0a habanalabs: add validity check for event ID received from F/W
d7736e2faa13 nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
0f36028d0133 nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
5770b54b112e nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
5acb21e30d85 nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
0480f7a480bc nilfs2: fix NULL pointer in nilfs_##name##_attr_release
d95b50ff07b8 nilfs2: fix memory leak in nilfs_sysfs_create_device_group
aa1af89a6697 btrfs: fix lockdep warning while mounting sprout fs
c43803c1aa76 btrfs: update the bdev time directly when closing
921ef7cfef15 ceph: lockdep annotations for try_nonblocking_invalidate
487ead34a208 ceph: remove the capsnaps when removing caps
386fd6fd01bd ceph: request Fw caps before updating the mtime in 
ceph_write_iter
b26ced26251c dmaengine: xilinx_dma: Set DMA mask for coherent APIs
9c1ea8537730 dmaengine: ioat: depends on !UML
35492619e010 dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
c12cf7f9afe2 dmaengine: idxd: depends on !UML
b4bb0b171b6e iommu/amd: Relocate GAMSup check to early_enable_iommus
2a07348e9821 parisc: Move pci_dev_is_behind_card_dino to where it is used
ca907291e116 dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
b9a1526d5174 drivers: base: cacheinfo: Get rid of 
DEFINE_SMP_CALL_CACHE_FUNCTION()
45bd9dd1bee8 drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
c9538018cb2d thermal/core: Fix thermal_cooling_device_register() prototype
d1f9ecc00da1 tools/bootconfig: Fix tracing_on option checking in 
ftrace2bconf.sh
912afe602eac Kconfig.debug: drop selecting non-existing 
HARDLOCKUP_DETECTOR_ARCH
e418ce8b8dfd ceph: cancel delayed work instead of flushing on mdsc teardown
8193ad306ea0 ceph: allow ceph_put_mds_session to take NULL or ERR_PTR
41aa21573486 platform/chrome: cros_ec_trace: Fix format warnings
113a69460de5 platform/chrome: sensorhub: Add trace events for sample
48271d10bf4c dmaengine: idxd: fix wq slot allocation index check
777344da345a pwm: mxs: Don't modify HW state in .probe() after the PWM chip 
was registered
322b70b522ab pwm: lpc32xx: Don't modify HW state in .probe() after the PWM 
chip was registered
c63df77c40ca PM: sleep: core: Avoid setting power.must_resume to false
74190973ab01 profiling: fix shift-out-of-bounds bugs
0796d99c1b16 nilfs2: use refcount_dec_and_lock() to fix potential UAF
30417cbeccff prctl: allow to setup brk for et_dyn executables
e464b3876b02 9p/trans_virtio: Remove sysfs file on probe failure
375e779ec32a thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
38ab04186fb3 perf tools: Allow build-id with trailing zeros
87c4144450e6 tools lib: Adopt memchr_inv() from kernel
ebcd3fd9207c perf test: Fix bpf test sample mismatch reporting
fa64b08931ee dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
9d49973b0848 um: virtio_uml: fix memory leak on init failures
5d0e6a5e4441 coredump: fix memleak in dump_vma_snapshot()
6b24588708fe staging: rtl8192u: Fix bitwise vs logical operator in 
TranslateRxSignalStuff819xUsb()
ccb79116c372 sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
ffca46766850 sctp: validate chunk size in __rcv_asconf_lookup
473cea4983b5 Revert "net/mlx5: Register to devlink ingress VLAN filter trap"
5ce134e65f3b ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without 
DYNAMIC_FTRACE
f91d25a7c89e ARM: 9079/1: ftrace: Add MODULE_PLTS support
ad00533858f7 ARM: 9078/1: Add warn suppress parameter to 
arm_gen_branch_link()
ce90c6706d5a ARM: 9077/1: PLT: Move struct plt_entries definition to header
eb46d7c8ae83 ARM: Qualify enabling of swiotlb_init()
79286ea830b3 s390/pci_mmio: fully validate the VMA before calling 
follow_pte()
74d54e5ceba3 console: consume APC, DM, DCS
9493e92a3953 PCI: aardvark: Fix reporting CRS value
9e766b86a9ef PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
4d8524048a35 Linux 5.10.68
a23d3576215f net: dsa: bcm_sf2: Fix array overrun in 
bcm_sf2_num_active_ports()
9f2972e151dd bnxt_en: Fix 

[OE-core] [hardknott][PATCH 29/36] uninative: Upgrade to 3.3, support glibc 2.34

2021-10-27 Thread Anuj Mittal
From: Michael Halstead 

Signed-off-by: Michael Halstead 
Signed-off-by: Richard Purdie 
(cherry picked from commit 4aa4dcd5f31657073f2207a9a4a43247322c7eb1)
Signed-off-by: Anuj Mittal 
---
 meta/conf/distro/include/yocto-uninative.inc | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/conf/distro/include/yocto-uninative.inc 
b/meta/conf/distro/include/yocto-uninative.inc
index 740cca0ecf..76f4cff565 100644
--- a/meta/conf/distro/include/yocto-uninative.inc
+++ b/meta/conf/distro/include/yocto-uninative.inc
@@ -6,9 +6,9 @@
 # to the distro running on the build machine.
 #
 
-UNINATIVE_MAXGLIBCVERSION = "2.33"
+UNINATIVE_MAXGLIBCVERSION = "2.34"
 
-UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/3.2/;
-UNINATIVE_CHECKSUM[aarch64] ?= 
"4f0872cdca2775b637a8a99815ca5c8dd42146abe903a24a50ee0448358c764b"
-UNINATIVE_CHECKSUM[i686] ?= 
"e2eeab92e67263db37d9bb6d4c58579abd1f47ff4cded3171bde572fece124b2"
-UNINATIVE_CHECKSUM[x86_64] ?= 
"3ee8c7d55e2d4c7ae3887cddb97219f97b94efddfeee2e24923c0cb0e8ce84c6"
+UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/3.3/;
+UNINATIVE_CHECKSUM[aarch64] ?= 
"372d31264ea7ab8e08e0a9662f003b53e99b3813cc2d9f9a4cc5c2949a1de00b"
+UNINATIVE_CHECKSUM[i686] ?= 
"36436167eba8a5957a0bf9a32402dd1be8b69528c1ff25e711e6895b583b2b42"
+UNINATIVE_CHECKSUM[x86_64] ?= 
"92b5e465f74d7e195e0b60fe4146f0f1475fff87ab2649bf2d57a1526ef58aec"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 30/36] oeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test results

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

We dont control the test output and sometimes see badly encoded characters.
These don't affect the operation of the code we're running. Use
errors='replace' to avoid those issues and the resulting test failures.

Signed-off-by: Richard Purdie 
(cherry picked from commit 3939b1923387d3bc440118ed1663d28a03a1ea5d)
Signed-off-by: Anuj Mittal 
---
 meta/lib/oeqa/selftest/cases/glibc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/glibc.py 
b/meta/lib/oeqa/selftest/cases/glibc.py
index c687f6ef93..cf8c92887b 100644
--- a/meta/lib/oeqa/selftest/cases/glibc.py
+++ b/meta/lib/oeqa/selftest/cases/glibc.py
@@ -33,7 +33,7 @@ class GlibcSelfTestBase(OESelftestTestCase, 
OEPTestResultTestCase):
 
 ptestsuite = "glibc-user" if ssh is None else "glibc"
 self.ptest_section(ptestsuite)
-with open(os.path.join(builddir, "tests.sum"), "r") as f:
+with open(os.path.join(builddir, "tests.sum"), "r",  errors='replace') 
as f:
 for test, result in parse_values(f):
 self.ptest_result(ptestsuite, test, result)
 
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 28/36] uninative: Improve glob to handle glibc 2.34

2021-10-27 Thread Anuj Mittal
From: Ross Burton 

With glibc 2.34, the libraries were renamed. Tweak the glob to support both
as this is needed for newer uninative versions.

[RP: tweak commit message]
Signed-off-by: Ross Burton 
Signed-off-by: Richard Purdie 
(cherry picked from commit 98248306e4b5f023e96375293b60524574ebb686)
Signed-off-by: Anuj Mittal 
---
 meta/classes/uninative.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 1e19917a97..3c7ccd66f4 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -100,7 +100,7 @@ ${UNINATIVE_STAGING_DIR}-uninative/relocate_sdk.py \
   ${UNINATIVE_LOADER} \
   ${UNINATIVE_LOADER} \
   
${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux/${bindir_native}/patchelf-uninative
 \
-  
${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux${base_libdir_native}/libc*.so"
 % chksum)
+  
${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux${base_libdir_native}/libc*.so*"
 % chksum)
 subprocess.check_output(cmd, shell=True)
 
 with open(loaderchksum, "w") as f:
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 25/36] pseudo: Fix to work with glibc 2.34 systems

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix
that works around this issue.

Signed-off-by: Richard Purdie 
(cherry picked from commit dd3e46a043c81cd4d81731a0f691868d3c059742)
Signed-off-by: Anuj Mittal 
---
 .../pseudo/files/build-oldlibc| 20 
 .../pseudo/files/older-glibc-symbols.patch| 49 +++
 meta/recipes-devtools/pseudo/pseudo_git.bb|  4 ++
 3 files changed, 73 insertions(+)
 create mode 100755 meta/recipes-devtools/pseudo/files/build-oldlibc
 create mode 100644 meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch

diff --git a/meta/recipes-devtools/pseudo/files/build-oldlibc 
b/meta/recipes-devtools/pseudo/files/build-oldlibc
new file mode 100755
index 00..85c438de4e
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/build-oldlibc
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# Script to re-generate pseudo-prebuilt-2.33.tar.xz
+#
+# Copyright (C) 2021 Richard Purdie
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
+for i in x86_64 aarch64 i686; do
+if [ ! -e $i-nativesdk-libc.tar.xz ]; then
+wget 
http://downloads.yoctoproject.org/releases/uninative/3.2/$i-nativesdk-libc.tar.xz
+fi
+tar -xf $i-nativesdk-libc.tar.xz --wildcards \*/lib/libpthread\* 
\*/lib/libdl\*
+cd $i-linux/lib
+ln -s libdl.so.2 libdl.so
+ln -s libpthread.so.0 libpthread.so
+cd ../..
+done
+tar -cJf pseudo-prebuilt-2.33.tar.xz *-linux
\ No newline at end of file
diff --git a/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch 
b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
new file mode 100644
index 00..1552c69b52
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
@@ -0,0 +1,49 @@
+If we link against a newer glibc 2.34 and then try and our LD_PRELOAD is run 
against a
+binary on a host with an older libc, we see symbol errors since in glibc 2.34, 
pthread 
+and dl are merged into libc itself.
+
+We need to use the older form of linking so use glibc binaries from an older 
release
+to force this. We only use minimal symbols from these anyway.
+
+pthread_atfork is problematic, particularly on arm so use the internal glibc 
routine
+it maps too. This was always present in the main libc from 2.3.2 onwards.
+
+Yes this is horrible. Better solutions welcome.
+
+There is more info in the bug: [YOCTO #14521]
+
+Upstream-Status: Inappropriate [this patch is native only]
+Signed-off-by: Richard Purdie 
+
+Index: git/Makefile.in
+===
+--- git.orig/Makefile.in
 git/Makefile.in
+@@ -122,7 +122,7 @@ libpseudo: $(LIBPSEUDO)
+ $(LIBPSEUDO): $(WRAPOBJS) pseudo_client.o pseudo_ipc.o $(SHOBJS) | $(LIB)
+   $(CC) $(CFLAGS) $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
+   pseudo_client.o pseudo_ipc.o \
+-  $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) $(CLIENT_LDFLAGS)
++  $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) -Lprebuilt/$(shell uname 
-m)-linux/lib/ $(CLIENT_LDFLAGS)
+ 
+ # *everything* now relies on stuff that's generated in the
+ # wrapper process.
+Index: git/pseudo_wrappers.c
+===
+--- git.orig/pseudo_wrappers.c
 git/pseudo_wrappers.c
+@@ -100,10 +100,13 @@ static void libpseudo_atfork_child(void)
+   pseudo_mutex_holder = 0;
+ }
+ 
++extern void *__dso_handle;
++extern int __register_atfork (void (*) (void), void (*) (void), void (*) 
(void), void *);
++
+ static void
+ _libpseudo_init(void) {
+   if (!_libpseudo_initted)
+-  pthread_atfork(NULL, NULL, libpseudo_atfork_child);
++  __register_atfork (NULL, NULL, libpseudo_atfork_child, 
&__dso_handle == NULL ? NULL : __dso_handle);
+ 
+   pseudo_getlock();
+   pseudo_antimagic();
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 0ba460f3e6..64cbb40641 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -5,6 +5,10 @@ SRC_URI = "git://git.yoctoproject.org/pseudo;branch=oe-core \
file://fallback-passwd \
file://fallback-group \
"
+SRC_URI:append:class-native = " \
+
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt
 \
+file://older-glibc-symbols.patch"
+SRC_URI[prebuilt.sha256sum] = 
"ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
 
 SRCREV = "b988b0a6b8afd8d459bc9a2528e834f63a3d59b2"
 S = "${WORKDIR}/git"
-- 
2.31.1


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

[OE-core] [hardknott][PATCH 27/36] pseudo: Update with fcntl and glibc 2.34 fixes

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

Pull in the following changes:

* ports/linux/guts: Add closefrom support for glibc 2.34
* pseudo_client: Make msg static in pseudo_op_client
* ports/linux/guts: Add close_range wrapper for glibc 2.34
* pseudo_client: Do not pass null argument to pseudo_diag()
* test-openat: Consider device as well as inode number
* test: Add missing test-statx test case
* fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ

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

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


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



[OE-core] [hardknott][PATCH 26/36] nativesdk-pseudo: Fix to work with glibc 2.34 systems

2021-10-27 Thread Anuj Mittal
From: Hongxu Jia 

Since commit [df313aa810 pseudo: Fix to work with glibc 2.34
systems] applied, it fixed native only. And nativesdk has
the similar issue

Tweak library search order, make prebuilt lib ahead of recipe lib,
after apply the fix:
...
$ readelf -a lib/pseudo/lib64/libpseudo.so | grep 'Shared library'
 0x0001 (NEEDED) Shared library: [libdl.so.2]
 0x0001 (NEEDED) Shared library:[libpthread.so.0]
 0x0001 (NEEDED) Shared library: [libc.so.6]
...

Signed-off-by: Hongxu Jia 
Signed-off-by: Richard Purdie 
(cherry picked from commit d6d116b5db78645958ea30be3d0572e0f6d7bd92)
Signed-off-by: Anuj Mittal 
---
 .../pseudo/files/older-glibc-symbols.patch| 38 +++
 meta/recipes-devtools/pseudo/pseudo_git.bb|  3 ++
 2 files changed, 26 insertions(+), 15 deletions(-)

diff --git a/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch 
b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
index 1552c69b52..c453b5f735 100644
--- a/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
+++ b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
@@ -12,26 +12,31 @@ Yes this is horrible. Better solutions welcome.
 
 There is more info in the bug: [YOCTO #14521]
 
-Upstream-Status: Inappropriate [this patch is native only]
+Upstream-Status: Inappropriate [this patch is native and nativesdk]
 Signed-off-by: Richard Purdie 
 
-Index: git/Makefile.in
-===
 git.orig/Makefile.in
-+++ git/Makefile.in
-@@ -122,7 +122,7 @@ libpseudo: $(LIBPSEUDO)
+Tweak library search order, make prebuilt lib ahead of recipe lib
+Signed-off-by: Hongxu Jia 
+---
+ Makefile.in   | 2 +-
+ pseudo_wrappers.c | 5 -
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+--- a/Makefile.in
 b/Makefile.in
+@@ -120,7 +120,7 @@ $(PSEUDODB): pseudodb.o $(SHOBJS) $(DBOBJS) pseudo_ipc.o | 
$(BIN)
+ libpseudo: $(LIBPSEUDO)
+ 
  $(LIBPSEUDO): $(WRAPOBJS) pseudo_client.o pseudo_ipc.o $(SHOBJS) | $(LIB)
-   $(CC) $(CFLAGS) $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
+-  $(CC) $(CFLAGS) $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
++  $(CC) $(CFLAGS)  -Lprebuilt/$(shell uname -m)-linux/lib/ 
$(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
pseudo_client.o pseudo_ipc.o \
--  $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) $(CLIENT_LDFLAGS)
-+  $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) -Lprebuilt/$(shell uname 
-m)-linux/lib/ $(CLIENT_LDFLAGS)
+   $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) $(CLIENT_LDFLAGS)
  
- # *everything* now relies on stuff that's generated in the
- # wrapper process.
-Index: git/pseudo_wrappers.c
-===
 git.orig/pseudo_wrappers.c
-+++ git/pseudo_wrappers.c
+diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c
+--- a/pseudo_wrappers.c
 b/pseudo_wrappers.c
 @@ -100,10 +100,13 @@ static void libpseudo_atfork_child(void)
pseudo_mutex_holder = 0;
  }
@@ -47,3 +52,6 @@ Index: git/pseudo_wrappers.c
  
pseudo_getlock();
pseudo_antimagic();
+-- 
+2.27.0
+
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 64cbb40641..3a4cdbe794 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -8,6 +8,9 @@ SRC_URI = "git://git.yoctoproject.org/pseudo;branch=oe-core \
 SRC_URI:append:class-native = " \
 
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt
 \
 file://older-glibc-symbols.patch"
+SRC_URI:append:class-nativesdk = " \
+
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt
 \
+file://older-glibc-symbols.patch"
 SRC_URI[prebuilt.sha256sum] = 
"ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
 
 SRCREV = "b988b0a6b8afd8d459bc9a2528e834f63a3d59b2"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 18/36] libnewt: Use python3targetconfig to fix reproducibility issue

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

Signed-off-by: Richard Purdie 
(cherry picked from commit 3fe5101b335384ef83e96ccc58687fd631164075)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-extended/newt/libnewt_0.52.21.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/newt/libnewt_0.52.21.bb 
b/meta/recipes-extended/newt/libnewt_0.52.21.bb
index 88b4cf4a03..3d35a17c92 100644
--- a/meta/recipes-extended/newt/libnewt_0.52.21.bb
+++ b/meta/recipes-extended/newt/libnewt_0.52.21.bb
@@ -29,7 +29,7 @@ SRC_URI[sha256sum] = 
"265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac
 
 S = "${WORKDIR}/newt-${PV}"
 
-inherit autotools-brokensep python3native python3-dir
+inherit autotools-brokensep python3native python3-dir python3targetconfig
 
 EXTRA_OECONF = "--without-tcl --with-python"
 
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 19/36] python3: Add a fix for a make install race

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

Add a fix for reproducibility issues where pyc files for python-config.py
may not always be generated.

Signed-off-by: Richard Purdie 
(cherry picked from commit d1c3a87c48b598b6e5624d0affe8bd89320631bf)
Signed-off-by: Anuj Mittal 
---
 .../python/python3/makerace.patch | 23 +++
 meta/recipes-devtools/python/python3_3.9.5.bb |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3/makerace.patch

diff --git a/meta/recipes-devtools/python/python3/makerace.patch 
b/meta/recipes-devtools/python/python3/makerace.patch
new file mode 100644
index 00..96744cb557
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/makerace.patch
@@ -0,0 +1,23 @@
+libainstall installs python-config.py but the .pyc cache files are generated
+by the libinstall target. This means some builds may not generate the pyc files
+for python-config.py depending on the order things happen in. This means builds
+are not always reproducible.
+
+Add a dependency to avoid the race.
+
+Upstream-Status: Pending
+Signed-off-by: Richard Purdie 
+
+Index: Python-3.9.6/Makefile.pre.in
+===
+--- Python-3.9.6.orig/Makefile.pre.in
 Python-3.9.6/Makefile.pre.in
+@@ -1486,7 +1486,7 @@ LIBSUBDIRS=  tkinter tkinter/test tkinter
+   venv venv/scripts venv/scripts/common venv/scripts/posix \
+   curses pydoc_data \
+   zoneinfo
+-libinstall:   build_all $(srcdir)/Modules/xxmodule.c
++libinstall:   build_all $(srcdir)/Modules/xxmodule.c libainstall
+   @for i in $(SCRIPTDIR) $(LIBDEST); \
+   do \
+   if test ! -d $(DESTDIR)$$i; then \
diff --git a/meta/recipes-devtools/python/python3_3.9.5.bb 
b/meta/recipes-devtools/python/python3_3.9.5.bb
index 82177f4a18..2b05bd530e 100644
--- a/meta/recipes-devtools/python/python3_3.9.5.bb
+++ b/meta/recipes-devtools/python/python3_3.9.5.bb
@@ -31,6 +31,7 @@ SRC_URI = 
"http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \

file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \

file://0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch \

file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \
+   file://makerace.patch \
"
 
 SRC_URI_append_class-native = " \
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 20/36] rng-tools: add systemd-udev-settle wants to service

2021-10-27 Thread Anuj Mittal
From: Claudius Heine 

rngd needs to start after `systemd-udev-settle` in order for the kernel
modules of the random source hardware to be loaded before it is started.

However, since the `rngd.service` does not require or want
`systemd-udev-settle.service` it might not be scheduled for start and
the `After=systemd-udev-settle.service` there has no effect.

Adding `Wants=systemd-udev-settle.service` provides a weak requirement
to it, so that the `rngd` is started after it, if possible.

Signed-off-by: Claudius Heine 
Signed-off-by: Richard Purdie 
(cherry picked from commit e9715d4234eb7b45dee8b323799014646f0a1b07)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-support/rng-tools/rng-tools/rngd.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service 
b/meta/recipes-support/rng-tools/rng-tools/rngd.service
index 0559b97991..568686e80e 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rngd.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service
@@ -3,6 +3,7 @@ Description=Hardware RNG Entropy Gatherer Daemon
 DefaultDependencies=no
 After=systemd-udev-settle.service
 Before=sysinit.target shutdown.target
+Wants=systemd-udev-settle.service
 Conflicts=shutdown.target
 
 [Service]
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 17/36] libxml2: Use python3targetconfig to fix reproducibility issue

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

Signed-off-by: Richard Purdie 
(cherry picked from commit 1bc5378db760963e2ad46542f2907dd6a592eb66)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-core/libxml/libxml2_2.9.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/libxml/libxml2_2.9.10.bb 
b/meta/recipes-core/libxml/libxml2_2.9.10.bb
index ce4f9a3340..cabf911816 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.10.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.10.bb
@@ -47,7 +47,7 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 
 inherit autotools pkgconfig binconfig-disabled ptest
 
-inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', 
d)}
+inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3targetconfig', 
'', d)}
 
 RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 
'libgcc python3-core python3-logging python3-shell  python3-stringold 
python3-threading python3-unittest ${PN}-python', '', d)}"
 
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 16/36] oeqa/manual: Fix no longer valid URLs

2021-10-27 Thread Anuj Mittal
From: Jon Mason 

autobuilder.yoctoproject.org URLS no longer work.  Update them to a
working location.

Signed-off-by: Jon Mason 
Signed-off-by: Richard Purdie 
(cherry picked from commit 56f7bac1f0d1ced41e6908706be27149aa7b87e2)
Signed-off-by: Anuj Mittal 
---
 meta/lib/oeqa/manual/eclipse-plugin.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/manual/eclipse-plugin.json 
b/meta/lib/oeqa/manual/eclipse-plugin.json
index d77d0e673b..6c110d0656 100644
--- a/meta/lib/oeqa/manual/eclipse-plugin.json
+++ b/meta/lib/oeqa/manual/eclipse-plugin.json
@@ -44,7 +44,7 @@
 "expected_results": ""
 },
 "2": {
-"action": "wget  
autobuilder.yoctoproject.org/pub/releases//machines/qemu/qemux86/qemu 
(ex:core-image-sato-sdk-qemux86-date-rootfs-tar-bz2) \nsource 
/opt/poky/version/environment-setup-i585-poky-linux  \n\nExtract qemu with 
runqemu-extract-sdk /home/user/file(ex.core-image-sato-sdk-qemux86.bz2) 
\n/home/user/qemux86-sato-sdk  \n\n",
+"action": "wget  
https://downloads.yoctoproject.org/releases/yocto/yocto-$VERSION/machines/qemu/qemux86/
 (ex:core-image-sato-sdk-qemux86-date-rootfs-tar-bz2) \nsource 
/opt/poky/version/environment-setup-i585-poky-linux  \n\nExtract qemu with 
runqemu-extract-sdk /home/user/file(ex.core-image-sato-sdk-qemux86.bz2) 
\n/home/user/qemux86-sato-sdk  \n\n",
 "expected_results": " Qemu can be lauched normally."
 },
 "3": {
@@ -60,7 +60,7 @@
 "expected_results": ""
 },
 "6": {
-"action": "(d) QEMU: \nSelect this option if you will be 
using the QEMU emulator. Specify the Kernel matching the QEMU architecture you 
are using. \n  wget  
autobuilder.yoctoproject.org/pub/releases//machines/qemu/qemux86/bzImage-qemux86.bin
 \n  e.g: 
/home/$USER/yocto/adt-installer/download_image/bzImage-qemux86.bin  \n\n",
+"action": "(d) QEMU: \nSelect this option if you will be 
using the QEMU emulator. Specify the Kernel matching the QEMU architecture you 
are using. \n  wget  
https://downloads.yoctoproject.org/releases/yocto/yocto-$VERSION/machines/qemu/qemux86/bzImage-qemux86.bin
 \n  e.g: 
/home/$USER/yocto/adt-installer/download_image/bzImage-qemux86.bin  \n\n",
 "expected_results": ""
 }, 
 "7": {
@@ -247,7 +247,7 @@
 "execution": {
 "1": {
 "action": "Clone eclipse-poky source.   \n\n- git 
clone git://git.yoctoproject.org/eclipse-poky  \n\n",
-"expected_results": "Eclipse plugin is successfully 
installed  \n\nDocumentation is there. For example if you have release 
yocto-2.0.1 you will found on   
http://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.1/eclipse-plugin/mars/
  archive with documentation like org.yocto.doc-development-$date.zip  \n  \n"
+"expected_results": "Eclipse plugin is successfully 
installed  \n\nDocumentation is there. For example if you have release 
yocto-2.0.1 you will found on   
https://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/eclipse-plugin/mars/
  archive with documentation like org.yocto.doc-development-$date.zip  \n  \n"
 },
 "2": {
 "action": "Checkout correct tag.  \n\n- git checkout 
/ \n\n",
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 22/36] util-linux: disable raw

2021-10-27 Thread Anuj Mittal
From: Markus Volk 

raw.h has been dropped in linux-libc-headers-5.14 leading to:

configure: error: raw selected, but required raw.h header file not available
WARNING: exit code 1 from a shell command.

Signed-off-by: MarkusVolk 
Signed-off-by: Richard Purdie 
(cherry picked from commit 7f577c10913104860121f682b9b3754870c4db23)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-core/util-linux/util-linux_2.36.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/util-linux/util-linux_2.36.2.bb 
b/meta/recipes-core/util-linux/util-linux_2.36.2.bb
index c79cf782d1..82cc8a3dbf 100644
--- a/meta/recipes-core/util-linux/util-linux_2.36.2.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.36.2.bb
@@ -73,7 +73,7 @@ EXTRA_OECONF = "\
 \
 --disable-bfs --disable-chfn-chsh --disable-login \
 --disable-makeinstall-chown --disable-minix --disable-newgrp \
---disable-use-tty-group --disable-vipw \
+--disable-use-tty-group --disable-vipw --disable-raw \
 \
 --without-udev \
 \
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 21/36] patch.bbclass: when the patch fails show more info on the fatal error

2021-10-27 Thread Anuj Mittal
From: Jose Quaresma 

There are situations when the user have the 'patchdir' defined
as a parameter on SRC_URI. However he doesn't know that with this
the patch is applied relatively to the receipe source dir 'S'.

- When user have 'patchdir' defined check if this directory exist.
- If the patch fails show addition info to the user:
  - Import: show the striplevel
  - Resolver: show the expanded 'patchdir' to the user.

The next example is from opencv in meta-oe layer, here the
patch is applied on the target directory ${WORKDIR}/git/contrib.

S = "${WORKDIR}/git"
SRCREV_FORMAT = "opencv_contrib"
SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \
   
git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib \
   file://0001-sfm-link-with-Glog_LIBS.patch;patchdir=../contrib \
   "

* When the patch fail there are no message that indicates the real reason.
  patchdir=../no-found-on-file-system

ERROR: opencv-4.5.2-r0 do_patch: Command Error: 'quilt --quiltrc 
/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc
 push' exited with 0  Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?

* The check of the patchdir will add a new fatal error
  when the user specifies a wrong path than don't exist.
  patchdir=../no-found-on-file-system

ERROR: opencv-4.5.2-r0 do_patch: Target directory 
'/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../no-found-on-file-system'
 not found, patchdir '../no-found-on-file-system' is incorrect in patch file 
'0001-sfm-link-with-Glog_LIBS.patch'

* When we can't aplly the patch but the patchdir exist,
  show the expanded patchdir on fatal error.
  patchdir=../git

ERROR: opencv-4.5.2-r0 do_patch: Applying patch 
'0001-sfm-link-with-Glog_LIBS.patch' on target directory 
'/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../git'
Command Error: 'quilt --quiltrc 
/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc
 push' exited with 0  Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?

Signed-off-by: Jose Quaresma 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit c44bc7c0fb8b7c2e44dd93607a3bfd9733e1df80)
Signed-off-by: Anuj Mittal 
---
 meta/classes/patch.bbclass | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index cd491a563d..72bb1eb946 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -131,6 +131,9 @@ python patch_do_patch() {
 patchdir = parm["patchdir"]
 if not os.path.isabs(patchdir):
 patchdir = os.path.join(s, patchdir)
+if not os.path.isdir(patchdir):
+bb.fatal("Target directory '%s' not found, patchdir '%s' is 
incorrect in patch file '%s'" %
+(patchdir, parm["patchdir"], parm['patchname']))
 else:
 patchdir = s
 
@@ -147,12 +150,12 @@ python patch_do_patch() {
 patchset.Import({"file":local, "strippath": parm['striplevel']}, 
True)
 except Exception as exc:
 bb.utils.remove(process_tmpdir, True)
-bb.fatal(str(exc))
+bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % 
(parm['patchname'], parm['striplevel'], str(exc)))
 try:
 resolver.Resolve()
 except bb.BBHandledException as e:
 bb.utils.remove(process_tmpdir, True)
-bb.fatal(str(e))
+bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % 
(parm['patchname'], patchdir, str(e)))
 
 bb.utils.remove(process_tmpdir, True)
 del os.environ['TMPDIR']
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 23/36] m4: Do not use SIGSTKSZ

2021-10-27 Thread Anuj Mittal
From: Khem Raj 

Fixes
../../m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before 
token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
  |  ^~~~

Signed-off-by: Khem Raj 
Signed-off-by: Richard Purdie 
(cherry picked from commit 44ca8edd622782733d507e20a3d5ee9e44eb8be4)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-devtools/m4/m4-1.4.18.inc|  1 +
 .../m4/0001-c-stack-stop-using-SIGSTKSZ.patch | 84 +++
 2 files changed, 85 insertions(+)
 create mode 100644 
meta/recipes-devtools/m4/m4/0001-c-stack-stop-using-SIGSTKSZ.patch

diff --git a/meta/recipes-devtools/m4/m4-1.4.18.inc 
b/meta/recipes-devtools/m4/m4-1.4.18.inc
index a9b63c1bf6..6475b02f8b 100644
--- a/meta/recipes-devtools/m4/m4-1.4.18.inc
+++ b/meta/recipes-devtools/m4/m4-1.4.18.inc
@@ -9,6 +9,7 @@ inherit autotools texinfo ptest
 SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
file://ac_config_links.patch \
file://m4-1.4.18-glibc-change-work-around.patch \
+   file://0001-c-stack-stop-using-SIGSTKSZ.patch \
"
 SRC_URI_append_class-target = " 
file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
 file://run-ptest \
diff --git a/meta/recipes-devtools/m4/m4/0001-c-stack-stop-using-SIGSTKSZ.patch 
b/meta/recipes-devtools/m4/m4/0001-c-stack-stop-using-SIGSTKSZ.patch
new file mode 100644
index 00..883b8a2075
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4/0001-c-stack-stop-using-SIGSTKSZ.patch
@@ -0,0 +1,84 @@
+From 69238f15129f35eb4756ad8e2004e0d7907cb175 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 30 Apr 2021 17:40:36 -0700
+Subject: [PATCH] c-stack: stop using SIGSTKSZ
+
+This patch is required with glibc 2.34+
+based on gnulib [1]
+
+[1] 
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=f9e2b20a12a230efa30f1d479563ae07d276a94b
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ lib/c-stack.c | 22 +-
+ 1 file changed, 13 insertions(+), 9 deletions(-)
+
+diff --git a/lib/c-stack.c b/lib/c-stack.c
+index 5353c08..863f764 100644
+--- a/lib/c-stack.c
 b/lib/c-stack.c
+@@ -51,13 +51,14 @@
+ typedef struct sigaltstack stack_t;
+ #endif
+ #ifndef SIGSTKSZ
+-# define SIGSTKSZ 16384
+-#elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
++#define get_sigstksz()  (16384)
++#elif HAVE_LIBSIGSEGV
+ /* libsigsegv 2.6 through 2.8 have a bug where some architectures use
+more than the Linux default of an 8k alternate stack when deciding
+if a fault was caused by stack overflow.  */
+-# undef SIGSTKSZ
+-# define SIGSTKSZ 16384
++#define get_sigstksz() ((SIGSTKSZ) < 16384 ? 16384 : (SIGSTKSZ))
++#else
++#define get_sigstksz() ((SIGSTKSZ))
+ #endif
+ 
+ #include 
+@@ -131,7 +132,8 @@ die (int signo)
+ /* Storage for the alternate signal stack.  */
+ static union
+ {
+-  char buffer[SIGSTKSZ];
++  /* allocate buffer with size from get_sigstksz() */
++  char *buffer;
+ 
+   /* These other members are for proper alignment.  There's no
+  standard way to guarantee stack alignment, but this seems enough
+@@ -203,10 +205,11 @@ c_stack_action (void (*action) (int))
+   program_error_message = _("program error");
+   stack_overflow_message = _("stack overflow");
+ 
++  alternate_signal_stack.buffer = malloc(get_sigstksz());
+   /* Always install the overflow handler.  */
+   if (stackoverflow_install_handler (overflow_handler,
+  alternate_signal_stack.buffer,
+- sizeof alternate_signal_stack.buffer))
++ get_sigstksz()))
+ {
+   errno = ENOTSUP;
+   return -1;
+@@ -279,14 +282,15 @@ c_stack_action (void (*action) (int))
+   stack_t st;
+   struct sigaction act;
+   st.ss_flags = 0;
++  alternate_signal_stack.buffer = malloc(get_sigstksz());
+ # if SIGALTSTACK_SS_REVERSED
+   /* Irix mistakenly treats ss_sp as the upper bound, rather than
+  lower bound, of the alternate stack.  */
+-  st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ - sizeof (void *);
+-  st.ss_size = sizeof alternate_signal_stack.buffer - sizeof (void *);
++  st.ss_sp = alternate_signal_stack.buffer + get_sigstksz() - sizeof (void *);
++  st.ss_size = get_sigstksz() - sizeof (void *);
+ # else
+   st.ss_sp = alternate_signal_stack.buffer;
+-  st.ss_size = sizeof alternate_signal_stack.buffer;
++  st.ss_size = get_sigstksz();
+ # endif
+   r = sigaltstack (, NULL);
+   if (r != 0)
+-- 
+2.31.1
+
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 15/36] multilib: Avoid sysroot race issues when multilib enabled

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS
incorrect. Add the correct value, which fixes races over files in the sysroot.

[YOCTO #14581]

Signed-off-by: Richard Purdie 
(cherry picked from commit 64003e5e1b51c0cd561681b1ac13293546b8182b)
Signed-off-by: Anuj Mittal 
---
 meta/conf/multilib.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
index d231107f8b..e9767c73b6 100644
--- a/meta/conf/multilib.conf
+++ b/meta/conf/multilib.conf
@@ -11,6 +11,8 @@ STAGING_DIR_TARGET = "${WORKDIR}/${MLPREFIX}recipe-sysroot"
 RECIPE_SYSROOT = "${WORKDIR}/${MLPREFIX}recipe-sysroot"
 RECIPE_SYSROOT_class-native = "${WORKDIR}/recipe-sysroot"
 
+PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${MLPREFIX}recipe-sysroot"
+
 INHERIT += "multilib_global"
 
 BBCLASSEXTEND_append = " ${MULTILIBS}"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 14/36] externalsrc: Fix a source date epoch race in reproducible builds

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

When reproducible builds are enabled and externalsrc is in use, the
source date epoch function is added. The conditions on the conditional
code removing the unpack task need to match the deltask function, else
the source date epoch function can end up running twice and the functions
can race with each other causing build failures or corruption.

Signed-off-by: Richard Purdie 
(cherry picked from commit e82095c02881410035ca23dc12692f074d8ed39b)
Signed-off-by: Anuj Mittal 
---
 meta/classes/externalsrc.bbclass | 19 +--
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 1ea938fb62..9fe9d36f76 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -109,16 +109,15 @@ python () {
 if local_srcuri and task in fetch_tasks:
 continue
 bb.build.deltask(task, d)
-
-if bb.data.inherits_class('reproducible_build', d) and 'do_unpack' in 
d.getVar("SRCTREECOVEREDTASKS").split():
-# The reproducible_build's create_source_date_epoch_stamp function 
must
-# be run after the source is available and before the
-# do_deploy_source_date_epoch task.  In the normal case, it's 
attached
-# to do_unpack as a postfuncs, but since we removed do_unpack 
(above)
-# we need to move the function elsewhere.  The easiest thing to do 
is
-# move it into the prefuncs of the do_deploy_source_date_epoch 
task.
-# This is safe, as externalsrc runs with the source already 
unpacked.
-d.prependVarFlag('do_deploy_source_date_epoch', 'prefuncs', 
'create_source_date_epoch_stamp ')
+if bb.data.inherits_class('reproducible_build', d) and task == 
'do_unpack':
+# The reproducible_build's create_source_date_epoch_stamp 
function must
+# be run after the source is available and before the
+# do_deploy_source_date_epoch task.  In the normal case, it's 
attached
+# to do_unpack as a postfuncs, but since we removed do_unpack 
(above)
+# we need to move the function elsewhere.  The easiest thing 
to do is
+# move it into the prefuncs of the do_deploy_source_date_epoch 
task.
+# This is safe, as externalsrc runs with the source already 
unpacked.
+d.prependVarFlag('do_deploy_source_date_epoch', 'prefuncs', 
'create_source_date_epoch_stamp ')
 
 d.prependVarFlag('do_compile', 'prefuncs', 
"externalsrc_compile_prefunc ")
 d.prependVarFlag('do_configure', 'prefuncs', 
"externalsrc_configure_prefunc ")
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 13/36] externalsrc: Work with reproducible_build

2021-10-27 Thread Anuj Mittal
From: Mark Hatle 

Externalsrc removes do_fetch, do_unpack, and do_patch.  The system normally
discovers the correct reproducible date as a postfuncs of do_unpack, so this
date is never found, so it falls back to the default epoch.

Instead we can move the discovery function to a prefuncs on the epoch
deploy task.  This task will run before do_configure, and since the source
is already available can run safely at anytime.

Signed-off-by: Mark Hatle 
Signed-off-by: Mark Hatle 
Signed-off-by: Richard Purdie 
(cherry picked from commit 0b7dd711a54e92ce54abe99f59fc67e683d52dfe)
Signed-off-by: Anuj Mittal 
---
 meta/classes/externalsrc.bbclass | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 3d6b80bee2..1ea938fb62 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -110,6 +110,16 @@ python () {
 continue
 bb.build.deltask(task, d)
 
+if bb.data.inherits_class('reproducible_build', d) and 'do_unpack' in 
d.getVar("SRCTREECOVEREDTASKS").split():
+# The reproducible_build's create_source_date_epoch_stamp function 
must
+# be run after the source is available and before the
+# do_deploy_source_date_epoch task.  In the normal case, it's 
attached
+# to do_unpack as a postfuncs, but since we removed do_unpack 
(above)
+# we need to move the function elsewhere.  The easiest thing to do 
is
+# move it into the prefuncs of the do_deploy_source_date_epoch 
task.
+# This is safe, as externalsrc runs with the source already 
unpacked.
+d.prependVarFlag('do_deploy_source_date_epoch', 'prefuncs', 
'create_source_date_epoch_stamp ')
+
 d.prependVarFlag('do_compile', 'prefuncs', 
"externalsrc_compile_prefunc ")
 d.prependVarFlag('do_configure', 'prefuncs', 
"externalsrc_configure_prefunc ")
 
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 12/36] oeqa/selftest/bbtests: Add uuid to force build test

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

With hash equivalence working properly, this test breaks as it detects
an unchanged tasks and doesn't rerun subsequent tasks.

Add a uuid to the payload to ensure it doesn't ever match
equivalence and the test works as intended.

Signed-off-by: Richard Purdie 
(cherry picked from commit d19873b6b5d0068f857a8f9f3686729ba4e67f0f)
Signed-off-by: Anuj Mittal 
---
 meta/lib/oeqa/selftest/cases/bbtests.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py 
b/meta/lib/oeqa/selftest/cases/bbtests.py
index 79390acc0d..b932d5276b 100644
--- a/meta/lib/oeqa/selftest/cases/bbtests.py
+++ b/meta/lib/oeqa/selftest/cases/bbtests.py
@@ -83,8 +83,10 @@ class BitbakeTests(OESelftestTestCase):
 
 def test_force_task_1(self):
 # test 1 from bug 5875
+import uuid
 test_recipe = 'zlib'
-test_data = "Microsoft Made No Profit From Anyone's Zunes Yo"
+# Need to use uuid otherwise hash equivlance would change the workflow
+test_data = "Microsoft Made No Profit From Anyone's Zunes Yo %s" % 
uuid.uuid1()
 bb_vars = get_bb_vars(['D', 'PKGDEST', 'mandir'], test_recipe)
 image_dir = bb_vars['D']
 pkgsplit_dir = bb_vars['PKGDEST']
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 11/36] gobject-introspection: Don't write $HOME into scripts

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

Writing an expanded version of $HOME into the wrapper script breaks
reproducibility. We don't need this here so don't.

Signed-off-by: Richard Purdie 
(cherry picked from commit 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)
Signed-off-by: Anuj Mittal 
---
 .../gobject-introspection/gobject-introspection_1.66.1.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb 
b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb
index 3b884f03e9..8b752f7e7d 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb
@@ -94,7 +94,7 @@ EOF
 # from the target sysroot.
 cat > ${B}/g-ir-scanner-wrapper << EOF
 #!/bin/sh
-# This prevents g-ir-scanner from writing cache data to $HOME
+# This prevents g-ir-scanner from writing cache data to user's HOME dir
 export GI_SCANNER_DISABLE_CACHE=1
 
 g-ir-scanner --lib-dirs-envvar=GIR_EXTRA_LIBS_PATH 
--use-binary-wrapper=${STAGING_BINDIR}/g-ir-scanner-qemuwrapper 
--use-ldd-wrapper=${STAGING_BINDIR}/g-ir-scanner-lddwrapper 
--add-include-path=${STAGING_DATADIR}/gir-1.0 
--add-include-path=${STAGING_LIBDIR}/gir-1.0 "\$@"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 10/36] mesa: Ensure megadrivers runtime mappings are deterministic

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

Add a sort to ensure the package dependency output is determnistic.

Signed-off-by: Richard Purdie 
(cherry picked from commit 693e8d0dfe0b475bc233ccc1ad7674d39de346ce)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 7cba03cfcf..cfc1bc1d36 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -253,7 +253,7 @@ python mesa_populate_packages() {
 import re
 dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), 
"dri")
 if os.path.isdir(dri_drivers_root):
-dri_pkgs = os.listdir(dri_drivers_root)
+dri_pkgs = sorted(os.listdir(dri_drivers_root))
 lib_name = d.expand("${MLPREFIX}mesa-megadriver")
 for p in dri_pkgs:
 m = re.match(r'^(.*)_dri\.so$', p)
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 09/36] gnupg: Be deterministic about sendmail

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

Set a path to where sendmail would exist making the output deterministic
as it no longer depends on the build host and the presense of sendmail
there.

Signed-off-by: Richard Purdie 
(cherry picked from commit 32e03a430f13960fe07f08c04eaa58017d977f6c)
Signed-off-by: Anuj Mittal 
---
 meta/recipes-support/gnupg/gnupg_2.2.27.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/gnupg/gnupg_2.2.27.bb 
b/meta/recipes-support/gnupg/gnupg_2.2.27.bb
index 1181c8341b..18bb855769 100644
--- a/meta/recipes-support/gnupg/gnupg_2.2.27.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.2.27.bb
@@ -32,6 +32,7 @@ EXTRA_OECONF = "--disable-ldap \
--with-zlib=${STAGING_LIBDIR}/.. \
--with-bzip2=${STAGING_LIBDIR}/.. \
--with-readline=${STAGING_LIBDIR}/.. \
+   --with-mailprog=${sbindir}/sendmail \
--enable-gpg-is-gpg2 \
"
 
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 08/36] package: Ensure pclist files are deterministic and don't use full paths

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

Currently the pkgconfig pclist files contain full paths which are build
host specific and the order of entries is not deterministic.

Fix both these issues so the files are deterministic.

Signed-off-by: Richard Purdie 
(cherry picked from commit e422e29bca4af3ab4073e04490f38b05cd7c38c0)
Signed-off-by: Anuj Mittal 
---
 meta/classes/package.bbclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e3f0a7060b..5e51b89184 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -2079,12 +2079,12 @@ python package_do_pkgconfig () {
 for pkg in packages.split():
 pkgconfig_provided[pkg] = []
 pkgconfig_needed[pkg] = []
-for file in pkgfiles[pkg]:
+for file in sorted(pkgfiles[pkg]):
 m = pc_re.match(file)
 if m:
 pd = bb.data.init()
 name = m.group(1)
-pkgconfig_provided[pkg].append(name)
+pkgconfig_provided[pkg].append(os.path.basename(name))
 if not os.access(file, os.R_OK):
 continue
 with open(file, 'r') as f:
@@ -2107,7 +2107,7 @@ python package_do_pkgconfig () {
 pkgs_file = os.path.join(shlibswork_dir, pkg + ".pclist")
 if pkgconfig_provided[pkg] != []:
 with open(pkgs_file, 'w') as f:
-for p in pkgconfig_provided[pkg]:
+for p in sorted(pkgconfig_provided[pkg]):
 f.write('%s\n' % p)
 
 # Go from least to most specific since the last one found wins
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 06/36] linux-yocto/5.4: update to v5.4.153

2021-10-27 Thread Anuj Mittal
From: Bruce Ashfield 

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

940a14a7d844 Linux 5.4.153
6a89b1e0c250 x86/Kconfig: Correct reference to MWINCHIP3D
5b3b400741a5 x86/hpet: Use another crystalball to evaluate HPET usability
367f643191b3 x86/platform/olpc: Correct ifdef symbol to intended 
CONFIG_OLPC_XO15_SCI
9e2a9da532e0 RISC-V: Include clone3() on rv32
a326f9c01cfb bpf, s390: Fix potential memory leak about jit_data
60bacf259e8c i2c: acpi: fix resource leak in reconfiguration device addition
b723b34a9831 net: prefer socket bound to interface when not in VRF
17063cac4088 i40e: Fix freeing of uninitialized misc IRQ vector
0a1fcc981dec i40e: fix endless loop under rtnl
d6c066811921 gve: fix gve_get_stats()
d83787c26d21 rtnetlink: fix if_nlmsg_stats_size() under estimation
0311d9775390 gve: Correct available tx qpl check
11cd944bb87d drm/nouveau/debugfs: fix file release memory leak
cb7e65187983 video: fbdev: gbefb: Only instantiate device when built for 
IP32
04f981251e20 bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
809aa82ac64f netlink: annotate data races around nlk->bound
fd73c2e64b43 net: sfp: Fix typo in state machine debug string
c951c08a5996 net/sched: sch_taprio: properly cancel timer from 
taprio_destroy()
c2c45102ae19 net: bridge: use nla_total_size_64bit() in 
br_get_linkxstats_size()
8af0c7d3fb55 ARM: imx6: disable the GIC CPU interface before calling 
stby-poweroff sequence
ebe58e1c1a7f arm64: dts: ls1028a: add missing CAN nodes
1b9f0d242ab6 arm64: dts: freescale: Fix SP805 clock-names
27e53e23a3ce ptp_pch: Load module automatically if ID matches
a7b441a2e209 powerpc/fsl/dts: Fix phy-connection-type for fm1mac3
c951a3be5e88 net_sched: fix NULL deref in fifo_set_limit()
414bb4ead136 phy: mdio: fix memory leak
b14f28126c51 bpf: Fix integer overflow in prealloc_elems_and_freelist()
a3d68a42457a bpf, arm: Fix register clobbering in div/mod implementation
e0c6e864d28d xtensa: call irqchip_init only when CONFIG_USE_OF is selected
d10a2a8f8853 xtensa: use CONFIG_USE_OF instead of CONFIG_OF
73711563f5b5 xtensa: move XCHAL_KIO_* definitions to kmem_layout.h
c82cffe17124 arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding
14c9c75d4809 ARM: dts: imx: Fix USB host power regulator polarity on 
M53Menlo
720a4dceee22 ARM: dts: imx: Add missing pinctrl-names for panel on M53Menlo
6b2855ac7ef7 soc: qcom: mdt_loader: Drop PT_LOAD check on hash segment
1179cd690a76 ARM: dts: qcom: apq8064: Use 27MHz PXO clock as DSI PLL 
reference
bdc189d6b69f soc: qcom: socinfo: Fixed argument passed to 
platform_set_data()
1a0fe45501a2 bpf, mips: Validate conditional branch offsets
7ed040244595 MIPS: BPF: Restore MIPS32 cBPF JIT
4239cd380afd ARM: dts: qcom: apq8064: use compatible which contains chipid
30d68bf74d52 ARM: dts: omap3430-sdp: Fix NAND device node
2abb4077fa1b xen/balloon: fix cancelled balloon action
42fbcbaa8a99 nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
f88420197a04 nfsd: fix error handling of register_pernet_subsys() in 
init_nfsd()
fab338f33c25 ovl: fix missing negative dentry check in ovl_rename()
4920aae61bd9 mmc: meson-gx: do not use memcpy_to/fromio for 
dram-access-quirk
47f7bb3dc2a3 xen/privcmd: fix error handling in mmap-resource processing
9d93cfdaf8d4 usb: typec: tcpm: handle SRC_STARTUP state if cc changes
b53aa224ada2 USB: cdc-acm: fix break reporting
3135935b7f9a USB: cdc-acm: fix racy tty buffer accesses
7c2392f03f3b Partially revert "usb: Kconfig: using select for USB_COMMON 
dependency"
faaca480fd5c Linux 5.4.152
caff281e2073 libata: Add ATA_HORKAGE_NO_NCQ_ON_ATI for Samsung 860 and 870 
SSD.
fecbe957ef4d silence nfscache allocation warnings with kvzalloc
5546e3987dd1 perf/x86: Reset destroy callback on event init failure
2787cde6cb5b kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[]
ba58770c14e0 KVM: do not shrink halt_poll_ns below grow_start
d67e01e5e095 tools/vm/page-types: remove dependency on opt_file for idle 
page tracking
65c7e3c97378 scsi: ses: Retry failed Send/Receive Diagnostic commands
e4e756054d1a selftests:kvm: fix get_warnings_count() ignoring fscanf() 
return warn
1f830ab34585 selftests: be sure to make khdr before other targets
8b9c1c33e51d usb: dwc2: check return value after calling 
platform_get_resource()
5d124ee0d2d6 usb: testusb: Fix for showing the connection speed
350d048cc506 scsi: sd: Free scsi_disk device via put_device()
4f194b57696a ext2: fix sleeping in atomic bugs on error
2d8eb456742e sparc64: fix pci_iounmap() when CONFIG_PCI is not set
61504f62bb04 xen-netback: correct success/error reporting for the 
SKB-with-fraglist case
2ecca3b282c3 net: mdio: introduce a shutdown method to mdio device drivers
   

[OE-core] [hardknott][PATCH 07/36] rpm: Ensure compression parallelism isn't coded into rpms

2021-10-27 Thread Anuj Mittal
From: Richard Purdie 

We don't want the compression thread numbers to be encoded into the rpm
since this results in the rpm not being deterministic. Add a patch
from Alex Kanavin which addresses this issue (was queued for rpm 4.17
but we need to fix this with 4.16 too).

Signed-off-by: Richard Purdie 
(cherry picked from commit 1ba0bf50c72f2506dfa507559c49a70e16cd5124)
Signed-off-by: Anuj Mittal 
---
 ...not-insert-payloadflags-into-.rpm-me.patch | 28 +++
 meta/recipes-devtools/rpm/rpm_4.16.1.3.bb |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 
meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch

diff --git 
a/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
 
b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
new file mode 100644
index 00..79b168257e
--- /dev/null
+++ 
b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
@@ -0,0 +1,28 @@
+From 2d351c666f09cc1b9e368422653fb42ac8b86249 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Tue, 31 Aug 2021 10:37:05 +0200
+Subject: [PATCH] build/pack.c: do not insert payloadflags into .rpm metadata
+
+The flags look like '19T56' where 19 is the compression level
+(deterministic), and 56 is the amount of threads (varies from one
+host to the next and breaks reproducibility for .rpm).
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin 
+---
+ build/pack.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/pack.c b/build/pack.c
+index 932cb213e..b45d0726f 100644
+--- a/build/pack.c
 b/build/pack.c
+@@ -328,7 +328,7 @@ static char *getIOFlags(Package pkg)
+   headerPutString(pkg->header, RPMTAG_PAYLOADCOMPRESSOR, compr);
+   buf = xstrdup(rpmio_flags);
+   buf[s - rpmio_flags] = '\0';
+-  headerPutString(pkg->header, RPMTAG_PAYLOADFLAGS, buf+1);
++  headerPutString(pkg->header, RPMTAG_PAYLOADFLAGS, "");
+   free(buf);
+ }
+ exit:
diff --git a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb 
b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
index 7c03b41fc8..0b58a24b99 100644
--- a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
@@ -40,6 +40,7 @@ SRC_URI = 
"git://github.com/rpm-software-management/rpm;branch=rpm-4.16.x \

file://0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch \

file://0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch \
file://0001-tools-Add-error.h-for-non-glibc-case.patch \
+   
file://0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch \
"
 
 PE = "1"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 05/36] linux-yocto/5.4: update to v5.4.150

2021-10-27 Thread Anuj Mittal
From: Bruce Ashfield 

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

3a7dc5b4cfbd Linux 5.4.150
27f8c4402c4a qnx4: work around gcc false positive warning bug
3a0f951e3725 xen/balloon: fix balloon kthread freezing
f80b6793811d arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
04783de9c0f3 thermal/drivers/int340x: Do not set a wrong tcc offset on 
resume
de1c3506806d EDAC/synopsys: Fix wrong value type assignment for edac_mode
8ede848bc99e spi: Fix tegra20 build with CONFIG_PM=n
d193f7dbf4ec net: 6pack: Fix tx timeout and slot time
fa56f2c987c7 alpha: Declare virt_to_phys and virt_to_bus parameter as 
pointer to volatile
af4a142ab798 arm64: Mark __stack_chk_guard as __ro_after_init
aeb19da46c7d parisc: Use absolute_pointer() to define PAGE0
8cd34eb616d9 qnx4: avoid stringop-overread errors
1214ace61402 sparc: avoid stringop-overread errors
113a8edfb9c9 net: i825xx: Use absolute_pointer for memcpy from fixed memory 
location
2397ea2db22b compiler.h: Introduce absolute_pointer macro
d12ddd843f18 blk-cgroup: fix UAF by grabbing blkcg lock before destroying 
blkg pd
9d7798823264 sparc32: page align size in arch_dma_alloc
ec49f3f7f669 nvme-multipath: fix ANA state updates when a namespace is not 
present
29917bbb07c3 xen/balloon: use a kernel thread instead a workqueue
93937596e065 bpf: Add oversize check before call kvcalloc()
7273cb182f13 ipv6: delay fib6_sernum increase in fib6_add
7432ecc55fe9 m68k: Double cast io functions to unsigned long
29c70b0d335a net: stmmac: allow CSR clock of 300MHz
1da750d1e214 net: macb: fix use after free on rmmod
ebb8d26d93c3 blktrace: Fix uaf in blk_trace access after removing by sysfs
2b5befcd4045 md: fix a lock order reversal in md_alloc
42d3711c2378 irqchip/gic-v3-its: Fix potential VPE leak on error
71f323f60592 irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
1b59625da697 scsi: lpfc: Use correct scnprintf() limit
30d373dc3501 scsi: qla2xxx: Restore initiator in dual mode
d140ccb140c2 cifs: fix a sign extension bug
1c1062c5cf21 thermal/core: Potential buffer overflow in 
thermal_build_list_of_policies()
b869901caba4 fpga: machxo2-spi: Fix missing error code in 
machxo2_write_complete()
0ebc3e688f54 fpga: machxo2-spi: Return an error on failure
5bcead7cde68 tty: synclink_gt: rename a conflicting function name
c5f27aedf6bb tty: synclink_gt, drop unneeded forward declarations
1deb94d37a7e scsi: iscsi: Adjust iface sysfs attr detection
d0f4a2eeebbe net/mlx4_en: Don't allow aRFS for encapsulated packets
ae7b957ef003 qed: rdma - don't wait for resources under hw error recovery 
flow
23716d7153fc gpio: uniphier: Fix void functions to remove return value
f7fb7dbdfb25 net/smc: add missing error check in smc_clc_prfx_set()
363438ed5de0 bnxt_en: Fix TX timeout when TX ring size is set to the 
smallest
4c4c3052911b enetc: Fix illegal access when reading affinity_hint
cf9138c966dd platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
a8e8b1481930 afs: Fix incorrect triggering of sillyrename on 3rd-party 
invalidation
acce91ba0d9f net: hso: fix muxed tty registration
494260e20ac2 serial: mvebu-uart: fix driver's tx_empty callback
2d7c20db7220 xhci: Set HCD flag to defer primary roothub registration
381c8ce0abc0 btrfs: prevent __btrfs_dump_space_info() to underflow its free 
space
d4ec140e7158 erofs: fix up erofs_lookup tracepoint
7751f609eadf mcb: fix error handling in mcb_alloc_bus()
406ff5bf727d USB: serial: option: add device id for Foxconn T99W265
4b2cf0faffce USB: serial: option: remove duplicate USB device ID
59564b0183cb USB: serial: option: add Telit LN920 compositions
5cc674a3f18e USB: serial: mos7840: remove duplicated 0xac24 device ID
20c9fdde30fb usb: core: hcd: Add support for deferring roothub registration
a6c7d3c2d127 Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
4dc56951a8d9 staging: greybus: uart: fix tty use after free
aa2c274c279f binder: make sure fd closes complete
93fa08e9a32f USB: cdc-acm: fix minor-number release
0dc1cfa7b907 USB: serial: cp210x: add ID for GW Instek GDM-834x Digital 
Multimeter
85d3493085ab usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
d4e7647695c9 xen/x86: fix PV trap handling on secondary processors
8b06b0f17f35 cifs: fix incorrect check for null pointer in header_assemble
b1f6efa27b24 usb: musb: tusb6010: uninitialized data in 
tusb_fifo_write_unaligned()
b8c806065160 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
ff275c870e1b usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
f013a5001b4a usb: gadget: r8a66597: fix a loop in set_feature()
aa40438c7174 ocfs2: drop acl cache for directories too

Signed-off-by: Bruce Ashfield 
Signed-off-by: Anuj Mittal 
---
 

[OE-core] [hardknott][PATCH 04/36] linux-yocto/5.4: update to v5.4.149

2021-10-27 Thread Anuj Mittal
From: Bruce Ashfield 

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

e74e2950a0d6 Linux 5.4.149
382526348612 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
409cb0b3d45a rtc: rx8010: select REGMAP_I2C
43832bf76363 blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
c37a34d7975f pwm: stm32-lp: Don't modify HW state in .remove() callback
8a29e68ea8e8 pwm: rockchip: Don't modify HW state in .remove() callback
ed60d2db3171 pwm: img: Don't modify HW state in .remove() callback
b16f4acf6b65 nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
594addd4369e nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
237ca37ca5ac nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
288c8b5ba52d nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
dc70f0c8c3de nilfs2: fix NULL pointer in nilfs_##name##_attr_release
9c3ba404881d nilfs2: fix memory leak in nilfs_sysfs_create_device_group
fb4c7d2923de btrfs: fix lockdep warning while mounting sprout fs
3f2d5c11bef8 ceph: lockdep annotations for try_nonblocking_invalidate
3bbb11261a75 ceph: request Fw caps before updating the mtime in 
ceph_write_iter
2c89a856fa49 dmaengine: xilinx_dma: Set DMA mask for coherent APIs
2f3206199dc9 dmaengine: ioat: depends on !UML
644f1e87fe73 dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
445a3379f6df parisc: Move pci_dev_is_behind_card_dino to where it is used
2f7bfc07e386 drivers: base: cacheinfo: Get rid of 
DEFINE_SMP_CALL_CACHE_FUNCTION()
a12743d07249 thermal/core: Fix thermal_cooling_device_register() prototype
c7b9a866ee25 Kconfig.debug: drop selecting non-existing 
HARDLOCKUP_DETECTOR_ARCH
3c1d9b650c08 net: stmmac: reset Tx desc base address before restarting Tx
729f9d5ee374 phy: avoid unnecessary link-up delay in polling mode
81e6b51709da pwm: lpc32xx: Don't modify HW state in .probe() after the PWM 
chip was registered
b94def8a475f profiling: fix shift-out-of-bounds bugs
7e98111cb28e nilfs2: use refcount_dec_and_lock() to fix potential UAF
5607b1bae1c8 prctl: allow to setup brk for et_dyn executables
b40301607ca8 9p/trans_virtio: Remove sysfs file on probe failure
c3b45ea0a3c8 thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
e1060803039d dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
93f8a98ad89c um: virtio_uml: fix memory leak on init failures
4cd05e390a3b staging: rtl8192u: Fix bitwise vs logical operator in 
TranslateRxSignalStuff819xUsb()
2f4b67bceb09 sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
cbd10b118902 sctp: validate chunk size in __rcv_asconf_lookup
6a12918e9065 ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without 
DYNAMIC_FTRACE
2f7974cd7b12 ARM: 9079/1: ftrace: Add MODULE_PLTS support
1b27a03d1292 ARM: 9078/1: Add warn suppress parameter to 
arm_gen_branch_link()
490be340c86c ARM: 9077/1: PLT: Move struct plt_entries definition to header
278df0646003 apparmor: remove duplicate macro list_entry_is_head()
f23763ab464f ARM: Qualify enabling of swiotlb_init()
6bfdc3056ca8 s390/pci_mmio: fully validate the VMA before calling 
follow_pte()
bd292c687390 console: consume APC, DM, DCS
b0c813fbbf75 KVM: remember position in kvm->vcpus array
5163578e9d0b PCI/ACPI: Add Ampere Altra SOC MCFG quirk
ec29e33e5cba PCI: aardvark: Fix reporting CRS value
3f0e275e43f6 PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
296895c4f0c8 PCI: aardvark: Indicate error in 'val' when config read fails
2fcb7b7a1d20 PCI: pci-bridge-emul: Fix big-endian support
07e5f23d3fa6 Linux 5.4.148
54ac8339ae99 s390/bpf: Fix 64-bit subtraction of the -0x8000 constant
a5fc48000b0e s390/bpf: Fix optimizing out zero-extensions
f7f1bac8983f net: renesas: sh_eth: Fix freeing wrong tx descriptor
3d32ce5472bb ip_gre: validate csum_start only on pull
f9b308f7302e qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
93f54354ccc8 fq_codel: reject silly quantum parameters
d448b240b175 netfilter: socket: icmp6: fix use-after-scope
b79204169de5 net: dsa: b53: Fix calculating number of switch ports
d5c0f016ae85 perf unwind: Do not overwrite 
FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
114bf5776f56 ARC: export clear_user_page() for modules
9b63c27d6b70 mtd: rawnand: cafe: Fix a resource leak in the error handling 
path of 'cafe_nand_probe()'
14e0fdc43ddf PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
810f9b6f0a40 KVM: arm64: Handle PSCI resets before userspace touches vCPU 
state
5f289dcf0b02 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
e1746c27c373 PCI: Fix pci_dev_str_match_path() alloc while atomic bug
beaf65f0fe0c mfd: axp20x: Update AXP288 volatile ranges
4a6c7c818bcb NTB: perf: Fix an error code in perf_setup_inbuf()
5a1614194963 

[OE-core] [hardknott][PATCH 03/36] mesa: gallium/dri Make YUV formats we're going to emulate external-only

2021-10-27 Thread Anuj Mittal
From: Pablo Saavedra Rodi?o 

This patch fixes the red label issues on video for Raspberry 4-64 Mesa VC4
driver and for iMX53 Adreno A200 GPU using the Mesa Freedreno driver.

Issue was originally reported in meta-webkit [1] and later contributed
in Mesa [2] where it was already merged in master.

[1] https://github.com/Igalia/meta-webkit/issues/185
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038

Signed-off-by: Pablo Saavedra 
Signed-off-by: Anuj Mittal 
---
 ...-YUV-formats-we-re-going-to-emulate-.patch | 52 +++
 meta/recipes-graphics/mesa/mesa.inc   |  1 +
 2 files changed, 53 insertions(+)
 create mode 100644 
meta/recipes-graphics/mesa/files/0001-gallium-dri-Make-YUV-formats-we-re-going-to-emulate-.patch

diff --git 
a/meta/recipes-graphics/mesa/files/0001-gallium-dri-Make-YUV-formats-we-re-going-to-emulate-.patch
 
b/meta/recipes-graphics/mesa/files/0001-gallium-dri-Make-YUV-formats-we-re-going-to-emulate-.patch
new file mode 100644
index 00..899450eb2a
--- /dev/null
+++ 
b/meta/recipes-graphics/mesa/files/0001-gallium-dri-Make-YUV-formats-we-re-going-to-emulate-.patch
@@ -0,0 +1,52 @@
+commit 8bd63cd28939d79d6681943b840627eaa3614ee4
+Author: Pablo Saavedra 
+Date:   Mon Oct 18 15:48:42 2021 +0200
+
+gallium/dri: Make YUV formats we're going to emulate external-only.
+
+If we're going to have to bind them as separate planes with colorspace
+conversion for sampling on the frontend, then we need to report that
+they're only for external-image samplers, otherwise the lowering won't be
+applied.
+
+Fixes: 4e3a7dcf ("gallium: enable EGL_EXT_image_dma_buf_import_modifiers 
unconditionally")
+Reviewed-by: Jose Maria Casanova Crespo 
+Part-of: 
+
+Upstream-Status: Backport 
[https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038]
+
+diff --git a/src/gallium/frontends/dri/dri2.c 
b/src/gallium/frontends/dri/dri2.c
+index b0c0d7e..ef8df5a 100644
+--- a/src/gallium/frontends/dri/dri2.c
 b/src/gallium/frontends/dri/dri2.c
+@@ -1445,16 +1445,24 @@ dri2_query_dma_buf_modifiers(__DRIscreen *_screen, int 
fourcc, int max,
+ 
+format = map->pipe_format;
+ 
++   bool native_sampling = pscreen->is_format_supported(pscreen, format, 
screen->target, 0, 0,
++   
PIPE_BIND_SAMPLER_VIEW);
+if (pscreen->is_format_supported(pscreen, format, screen->target, 0, 0,
+- PIPE_BIND_RENDER_TARGET) ||
+-pscreen->is_format_supported(pscreen, format, screen->target, 0, 0,
+- PIPE_BIND_SAMPLER_VIEW) ||
+-dri2_yuv_dma_buf_supported(screen, map)) {
+-  if (pscreen->query_dmabuf_modifiers != NULL)
++PIPE_BIND_RENDER_TARGET) ||
++   native_sampling ||
++   dri2_yuv_dma_buf_supported(screen, map))  {
++  if (pscreen->query_dmabuf_modifiers != NULL) {
+  pscreen->query_dmabuf_modifiers(pscreen, format, max, modifiers,
+  external_only, count);
+-  else
++ if (!native_sampling && external_only) {
++/* To support it using YUV lowering, we need it to be 
samplerExternalOES.
++ */
++for (int i = 0; i < *count; i++)
++   external_only[i] = true;
++ }
++  } else {
+  *count = 0;
++  }
+   return true;
+}
+return false;
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index a85f94c75e..7cba03cfcf 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -19,6 +19,7 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0002-meson.build-make-TLS-ELF-optional.patch \
file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
+   
file://0001-gallium-dri-Make-YUV-formats-we-re-going-to-emulate-.patch \
"
 
 SRC_URI[sha256sum] = 
"565c6f4bd2d5747b919454fc1d439963024fc78ca56fd05158c3b2cde2f6912b"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 02/36] ncurses: fix CVE-2021-39537

2021-10-27 Thread Anuj Mittal
From: Mingli Yu 

Backport patch [1] to fix CVE-2021-39537 [2].

[1] 
https://github.com/mirror/ncurses/commit/790a85dbd4a81d5f5d8dd02a44d84f01512ef443
[2] 
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1=text/x-cvsweb-markup

Signed-off-by: Mingli Yu 
Signed-off-by: Anuj Mittal 
---
 .../ncurses/files/CVE-2021-39537.patch| 65 +++
 meta/recipes-core/ncurses/ncurses_6.2.bb  |  1 +
 2 files changed, 66 insertions(+)
 create mode 100644 meta/recipes-core/ncurses/files/CVE-2021-39537.patch

diff --git a/meta/recipes-core/ncurses/files/CVE-2021-39537.patch 
b/meta/recipes-core/ncurses/files/CVE-2021-39537.patch
new file mode 100644
index 00..d63bf57e8d
--- /dev/null
+++ b/meta/recipes-core/ncurses/files/CVE-2021-39537.patch
@@ -0,0 +1,65 @@
+From e83ecbd26252bac163fc4377ef30edbd4acb0bad Mon Sep 17 00:00:00 2001
+From: Sven Joachim 
+Date: Mon, 1 Jun 2020 08:03:52 +0200
+Subject: [PATCH] Import upstream patch 20200531
+
+20200531
+   + correct configure version-check/warnng for g++ to allow for 10.x
+   + re-enable "bel" in konsole-base (report by Nia Huang)
+   + add linux-s entry (patch by Alexandre Montaron).
+   + drop long-obsolete convert_configure.pl
+   + add test/test_parm.c, for checking tparm changes.
+   + improve parameter-checking for tparm, adding function _nc_tiparm() to
+ handle the most-used case, which accepts only numeric parameters
+ (report/testcase by "puppet-meteor").
+   + use a more conservative estimate of the buffer-size in lib_tparm.c's
+ save_text() and save_number(), in case the sprintf() function
+ passes-through unexpected characters from a format specifier
+ (report/testcase by "puppet-meteor").
+   + add a check for end-of-string in cvtchar to handle a malformed
+ string in infotocap (report/testcase by "puppet-meteor").
+
+CVE: CVE-2021-39537
+
+Upstream-Status: Backport 
[https://github.com/mirror/ncurses/commit/790a85dbd4a81d5f5d8dd02a44d84f01512ef443]
+
+Signed-off-by: Mingli Yu 
+---
+ ncurses/tinfo/captoinfo.c|   11 +-
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/ncurses/tinfo/captoinfo.c b/ncurses/tinfo/captoinfo.c
+index 8b3b83d1..9362105a 100644
+--- a/ncurses/tinfo/captoinfo.c
 b/ncurses/tinfo/captoinfo.c
+@@ -98,7 +98,7 @@
+ #include 
+ #include 
+ 
+-MODULE_ID("$Id: captoinfo.c,v 1.98 2020/02/02 23:34:34 tom Exp $")
++MODULE_ID("$Id: captoinfo.c,v 1.99 2020/05/25 21:28:29 tom Exp $")
+ 
+ #if 0
+ #define DEBUG_THIS(p) DEBUG(9, p)
+@@ -216,12 +216,15 @@ cvtchar(register const char *sp)
+   }
+   break;
+ case '^':
++  len = 2;
+   c = UChar(*++sp);
+-  if (c == '?')
++  if (c == '?') {
+   c = 127;
+-  else
++  } else if (c == '\0') {
++  len = 1;
++  } else {
+   c &= 0x1f;
+-  len = 2;
++  }
+   break;
+ default:
+   c = UChar(*sp);
+-- 
+2.17.1
+
diff --git a/meta/recipes-core/ncurses/ncurses_6.2.bb 
b/meta/recipes-core/ncurses/ncurses_6.2.bb
index e7d7396a20..598c51b00b 100644
--- a/meta/recipes-core/ncurses/ncurses_6.2.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.2.bb
@@ -3,6 +3,7 @@ require ncurses.inc
 SRC_URI += "file://0001-tic-hang.patch \
file://0002-configure-reproducible.patch \

file://0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch \
+   file://CVE-2021-39537.patch \
"
 # commit id corresponds to the revision in package version
 SRCREV = "a669013cd5e9d6434e5301348ea51baf306c93c4"
-- 
2.31.1


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



[OE-core] [hardknott][PATCH 01/36] glibc: upgrade glibc-2.33 to latest version

2021-10-27 Thread Anuj Mittal
From: Pgowda 

glibc-2.33 release version of Feb 2021 is used in Hardknott branch.
There are many bug fixes in the latest glibc-2.33 version. The patch
takes the latest glibc-2.33 version commit.
Regression tested on X86-64 without any new issues.

Signed-off-by: Pgowda 
Signed-off-by: Anuj Mittal 
---
 meta/recipes-core/glibc/glibc-version.inc |   2 +-
 .../glibc/glibc/0001-CVE-2021-38604.patch |  40 
 ...-private-futex-optimization-BZ-27304.patch |  49 -
 .../glibc/glibc/0002-CVE-2021-38604.patch | 147 --
 ...-ISA-support-for-x86-64-level-marker.patch | 116 ---
 ...ork-around-GCC-PR-98512-in-rawmemchr.patch |  58 --
 ...-_SC_LEVEL1_ICACHE_LINESIZE-BZ-27444.patch | 185 --
 .../glibc/glibc/CVE-2021-27318-revert.patch   | 174 
 .../glibc/glibc/CVE-2021-27645.patch  |  51 -
 .../glibc/glibc/CVE-2021-33574_1.patch|  76 ---
 .../glibc/glibc/CVE-2021-33574_2.patch|  61 --
 .../glibc/glibc/CVE-2021-35942.patch  |  44 -
 meta/recipes-core/glibc/glibc_2.33.bb |  10 -
 13 files changed, 175 insertions(+), 838 deletions(-)
 delete mode 100644 meta/recipes-core/glibc/glibc/0001-CVE-2021-38604.patch
 delete mode 100644 
meta/recipes-core/glibc/glibc/0001-nptl-Remove-private-futex-optimization-BZ-27304.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/0002-CVE-2021-38604.patch
 delete mode 100644 
meta/recipes-core/glibc/glibc/0031-x86-Require-full-ISA-support-for-x86-64-level-marker.patch
 delete mode 100644 
meta/recipes-core/glibc/glibc/0032-string-Work-around-GCC-PR-98512-in-rawmemchr.patch
 delete mode 100644 
meta/recipes-core/glibc/glibc/0033-x86-Handle-_SC_LEVEL1_ICACHE_LINESIZE-BZ-27444.patch
 create mode 100644 meta/recipes-core/glibc/glibc/CVE-2021-27318-revert.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/CVE-2021-27645.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/CVE-2021-33574_2.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/CVE-2021-35942.patch

diff --git a/meta/recipes-core/glibc/glibc-version.inc 
b/meta/recipes-core/glibc/glibc-version.inc
index 3a95173175..4d69187961 100644
--- a/meta/recipes-core/glibc/glibc-version.inc
+++ b/meta/recipes-core/glibc/glibc-version.inc
@@ -1,6 +1,6 @@
 SRCBRANCH ?= "release/2.33/master"
 PV = "2.33"
-SRCREV_glibc ?= "9826b03b747b841f5fc6de2054bf1ef3f5c4bdf3"
+SRCREV_glibc ?= "6090cf1330faf2deb17285758f327cb23b89ebf1"
 SRCREV_localedef ?= "bd644c9e6f3e20c5504da1488448173c69c56c28"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
diff --git a/meta/recipes-core/glibc/glibc/0001-CVE-2021-38604.patch 
b/meta/recipes-core/glibc/glibc/0001-CVE-2021-38604.patch
deleted file mode 100644
index 8a52ac957c..00
--- a/meta/recipes-core/glibc/glibc/0001-CVE-2021-38604.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From b805aebd42364fe696e417808a700fdb9800c9e8 Mon Sep 17 00:00:00 2001
-From: Nikita Popov 
-Date: Mon, 9 Aug 2021 20:17:34 +0530
-Subject: [PATCH] librt: fix NULL pointer dereference (bug 28213)
-
-Helper thread frees copied attribute on NOTIFY_REMOVED message
-received from the OS kernel.  Unfortunately, it fails to check whether
-copied attribute actually exists (data.attr != NULL).  This worked
-earlier because free() checks passed pointer before actually
-attempting to release corresponding memory.  But
-__pthread_attr_destroy assumes pointer is not NULL.
-
-So passing NULL pointer to __pthread_attr_destroy will result in
-segmentation fault.  This scenario is possible if
-notification->sigev_notify_attributes == NULL (which means default
-thread attributes should be used).
-
-Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commit;h=b805aebd42364fe696e417808a700fdb9800c9e8]
-CVE: CVE-2021-38604
-
-Signed-off-by: Nikita Popov 
-Reviewed-by: Siddhesh Poyarekar 
-Signed-off-by: Vinay Kumar 

- sysdeps/unix/sysv/linux/mq_notify.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/sysdeps/unix/sysv/linux/mq_notify.c 
b/sysdeps/unix/sysv/linux/mq_notify.c
-index 6f46d29d1d..1714e1cc5f 100644
 a/sysdeps/unix/sysv/linux/mq_notify.c
-+++ b/sysdeps/unix/sysv/linux/mq_notify.c
-@@ -132,7 +132,7 @@ helper_thread (void *arg)
-  to wait until it is done with it.  */
-   (void) __pthread_barrier_wait (_barrier);
-   }
--  else if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_REMOVED)
-+  else if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_REMOVED && data.attr 
!= NULL)
-   {
- /* The only state we keep is the copy of the thread attributes.  */
- pthread_attr_destroy (data.attr);
diff --git 
a/meta/recipes-core/glibc/glibc/0001-nptl-Remove-private-futex-optimization-BZ-27304.patch
 
b/meta/recipes-core/glibc/glibc/0001-nptl-Remove-private-futex-optimization-BZ-27304.patch
deleted file mode 100644
index 39fde5b785..00
--- 

[OE-core] [hardknott][PATCH 00/36] Review request

2021-10-27 Thread Anuj Mittal
Please review these changes for hardknott. No issues seen on autobuilder
except for an unrelated reproducibility failure that is currently being
debugged.

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2817

Thanks,

Anuj

The following changes since commit 366070c476405a1f49e22a02c21fd99fc0ec76d9:

  scriptutils.py: Add check before deleting path (2021-10-04 10:46:18 +0800)

are available in the Git repository at:

  git://push.openembedded.org/openembedded-core-contrib anujm/hardknott

Bruce Ashfield (5):
  linux-yocto/5.4: update to v5.4.149
  linux-yocto/5.4: update to v5.4.150
  linux-yocto/5.4: update to v5.4.153
  linux-yocto/5.10: update to v5.10.69
  linux-yocto/5.10: update to v5.10.70

Claudius Heine (1):
  rng-tools: add systemd-udev-settle wants to service

Hongxu Jia (1):
  nativesdk-pseudo: Fix to work with glibc 2.34 systems

Jon Mason (1):
  oeqa/manual: Fix no longer valid URLs

Jose Quaresma (1):
  patch.bbclass: when the patch fails show more info on the fatal error

Khem Raj (2):
  m4: Do not use SIGSTKSZ
  gpgme: Use glibc provided closefrom API when available

Mark Hatle (1):
  externalsrc: Work with reproducible_build

Markus Volk (1):
  util-linux: disable raw

Michael Halstead (1):
  uninative: Upgrade to 3.3, support glibc 2.34

Mingli Yu (1):
  ncurses: fix CVE-2021-39537

Pablo Saavedra Rodi?o (1):
  mesa: gallium/dri Make YUV formats we're going to emulate
external-only

Pgowda (1):
  glibc: upgrade glibc-2.33 to latest version

Richard Purdie (16):
  rpm: Ensure compression parallelism isn't coded into rpms
  package: Ensure pclist files are deterministic and don't use full
paths
  gnupg: Be deterministic about sendmail
  mesa: Ensure megadrivers runtime mappings are deterministic
  gobject-introspection: Don't write $HOME into scripts
  oeqa/selftest/bbtests: Add uuid to force build test
  externalsrc: Fix a source date epoch race in reproducible builds
  multilib: Avoid sysroot race issues when multilib enabled
  libxml2: Use python3targetconfig to fix reproducibility issue
  libnewt: Use python3targetconfig to fix reproducibility issue
  python3: Add a fix for a make install race
  pseudo: Fix to work with glibc 2.34 systems
  pseudo: Update with fcntl and glibc 2.34 fixes
  oeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test
results
  rpm: Deterministically set vendor macro entry
  reproducible_build: Work around caching issues

Ross Burton (1):
  uninative: Improve glob to handle glibc 2.34

Sakib Sajal (1):
  go: upgrade 1.16.7 -> 1.16.8

Thomas Perrot (1):
  ruby: fix the reproducibility issue

 meta/classes/externalsrc.bbclass  |   9 +
 meta/classes/package.bbclass  |   6 +-
 meta/classes/patch.bbclass|   7 +-
 meta/classes/reproducible_build.bbclass   |  11 +-
 meta/classes/uninative.bbclass|   2 +-
 meta/conf/distro/include/yocto-uninative.inc  |  10 +-
 meta/conf/multilib.conf   |   2 +
 meta/lib/oeqa/manual/eclipse-plugin.json  |   6 +-
 meta/lib/oeqa/selftest/cases/bbtests.py   |   4 +-
 meta/lib/oeqa/selftest/cases/glibc.py |   2 +-
 meta/recipes-core/glibc/glibc-version.inc |   2 +-
 .../glibc/glibc/0001-CVE-2021-38604.patch |  40 
 ...-private-futex-optimization-BZ-27304.patch |  49 -
 .../glibc/glibc/0002-CVE-2021-38604.patch | 147 --
 ...-ISA-support-for-x86-64-level-marker.patch | 116 ---
 ...ork-around-GCC-PR-98512-in-rawmemchr.patch |  58 --
 ...-_SC_LEVEL1_ICACHE_LINESIZE-BZ-27444.patch | 185 --
 .../glibc/glibc/CVE-2021-27318-revert.patch   | 174 
 .../glibc/glibc/CVE-2021-27645.patch  |  51 -
 .../glibc/glibc/CVE-2021-33574_1.patch|  76 ---
 .../glibc/glibc/CVE-2021-33574_2.patch|  61 --
 .../glibc/glibc/CVE-2021-35942.patch  |  44 -
 meta/recipes-core/glibc/glibc_2.33.bb |  10 -
 meta/recipes-core/libxml/libxml2_2.9.10.bb|   2 +-
 .../ncurses/files/CVE-2021-39537.patch|  65 ++
 meta/recipes-core/ncurses/ncurses_6.2.bb  |   1 +
 .../util-linux/util-linux_2.36.2.bb   |   2 +-
 .../go/{go-1.16.7.inc => go-1.16.8.inc}   |   4 +-
 ...e_1.16.7.bb => go-binary-native_1.16.8.bb} |   4 +-
 ..._1.16.7.bb => go-cross-canadian_1.16.8.bb} |   0
 ...{go-cross_1.16.7.bb => go-cross_1.16.8.bb} |   0
 ...osssdk_1.16.7.bb => go-crosssdk_1.16.8.bb} |   0
 ...o-native_1.16.7.bb => go-native_1.16.8.bb} |   0
 ...runtime_1.16.7.bb => go-runtime_1.16.8.bb} |   0
 .../go/{go_1.16.7.bb => go_1.16.8.bb} |   0
 meta/recipes-devtools/m4/m4-1.4.18.inc|   1 +
 .../m4/0001-c-stack-stop-using-SIGSTKSZ.patch |  84 
 .../pseudo/files/build-oldlibc|  20 ++
 .../pseudo/files/older-glibc-symbols.patch|  57 ++
 meta/recipes-devtools/pseudo/pseudo_git.bb|   9 +-
 .../python/python3/makerace.patch |  23 +++
 

Re: [OE-core] [hardknott][PATCH] binutils: Fix CVE-2021-3530

2021-10-27 Thread Anuj Mittal
On Wed, 2021-10-27 at 03:47 -0700, Pgowda wrote:
> Backport from binutils-2_37
> 
> Signed-off-by: Pgowda 
> ---
>  .../binutils/binutils-2.36.inc    |  1 +
>  .../binutils/0017-CVE-2021-3530.patch | 97 +++
>  2 files changed, 98 insertions(+)
>  create mode 100644 meta/recipes-devtools/binutils/binutils/0017-CVE-
> 2021-3530.patch
> 
> diff --git a/meta/recipes-devtools/binutils/binutils-2.36.inc
> b/meta/recipes-devtools/binutils/binutils-2.36.inc
> index 9d770db5a8..981692e457 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.36.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.36.inc
> @@ -44,5 +44,6 @@ SRC_URI = "\
>   file://0001-CVE-2021-20197.patch \
>   file://0002-CVE-2021-20197.patch \
>   file://0003-CVE-2021-20197.patch \
> + file://0017-CVE-2021-3530.patch \
>  "
>  S  = "${WORKDIR}/git"
> diff --git a/meta/recipes-devtools/binutils/binutils/0017-CVE-2021-
> 3530.patch b/meta/recipes-devtools/binutils/binutils/0017-CVE-2021-
> 3530.patch
> new file mode 100644
> index 00..f1934aa600
> --- /dev/null
> +++ b/meta/recipes-devtools/binutils/binutils/0017-CVE-2021-3530.patch
> @@ -0,0 +1,97 @@
> +From 25162c795b1a2becf936bb3581d86a307ea491eb Mon Sep 17 00:00:00 2001
> +From: Nick Clifton 
> +Date: Thu, 15 Jul 2021 16:51:56 +0100
> +Subject: [PATCH] Fix a stack exhaustion problem in the Rust demangling
> code in
> + the libiberty library.
> +
> +   PR 99935
> +   * rust-demangle.c: Add recursion limit.

This needs a CVE tag, your Signed-off-by and Upstream-Status. Please
see:

https://wiki.yoctoproject.org/wiki/Security#Patch_name_convention_and_commit_message

Also, it looks like this will break MinGW builds and would also need:

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=999566402e3

Please check.

Thanks,

Anuj

> +---
> + libiberty/ChangeLog   |  5 +
> + libiberty/rust-demangle.c | 31 +--
> + 2 files changed, 30 insertions(+), 6 deletions(-)
> +
> +diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
> +index bc1b35b97c4..8e39fd28eba 100644
> +--- a/libiberty/ChangeLog
>  b/libiberty/ChangeLog
> +@@ -1,3 +1,8 @@
> ++2021-07-15  Nick Clifton  
> ++
> ++  PR 99935
> ++  * rust-demangle.c: Add recursion limit.
> ++
> + 2021-01-04  Martin Liska  
> + 
> +   * strverscmp.c: Convert to utf8 from iso8859.
> +diff --git a/libiberty/rust-demangle.c b/libiberty/rust-demangle.c
> +index 449941b56dc..df09b7b8fdd 100644
> +--- a/libiberty/rust-demangle.c
>  b/libiberty/rust-demangle.c
> +@@ -74,6 +74,12 @@ struct rust_demangler
> +   /* Rust mangling version, with legacy mangling being -1. */
> +   int version;
> + 
> ++  /* Recursion depth.  */
> ++  uint recursion;
> ++  /* Maximum number of times demangle_path may be called
> recursively.  */
> ++#define RUST_MAX_RECURSION_COUNT  1024
> ++#define RUST_NO_RECURSION_LIMIT   ((uint) -1)
> ++
> +   uint64_t bound_lifetime_depth;
> + };
> + 
> +@@ -671,6 +677,15 @@ demangle_path (struct rust_demangler *rd
> +   if (rdm->errored)
> + return;
> + 
> ++  if (rdm->recursion != RUST_NO_RECURSION_LIMIT)
> ++    {
> ++  ++ rdm->recursion;
> ++  if (rdm->recursion > RUST_MAX_RECURSION_COUNT)
> ++  /* FIXME: There ought to be a way to report
> ++ that the recursion limit has been reached.  */
> ++  goto fail_return;
> ++    }
> ++
> +   switch (tag = next (rdm))
> + {
> + case 'C':
> +@@ -688,10 +703,7 @@ demangle_path (struct rust_demangler *rd
> + case 'N':
> +   ns = next (rdm);
> +   if (!ISLOWER (ns) && !ISUPPER (ns))
> +-    {
> +-  rdm->errored = 1;
> +-  return;
> +-    }
> ++  goto fail_return;
> + 
> +   demangle_path (rdm, in_value);
> + 
> +@@ -776,9 +788,15 @@ demangle_path (struct rust_demangler *rd
> + }
> +   break;
> + default:
> +-  rdm->errored = 1;
> +-  return;
> ++  goto fail_return;
> + }
> ++  goto pass_return;
> ++
> ++ fail_return:
> ++  rdm->errored = 1;
> ++ pass_return:
> ++  if (rdm->recursion != RUST_NO_RECURSION_LIMIT)
> ++    -- rdm->recursion;
> + }
> + 
> + static void
> +@@ -1317,6 +1335,7 @@ rust_demangle_callback (const char *mang
> +   rdm.skipping_printing = 0;
> +   rdm.verbose = (options & DMGL_VERBOSE) != 0;
> +   rdm.version = 0;
> ++  rdm.recursion = (options & DMGL_NO_RECURSE_LIMIT) ?
> RUST_NO_RECURSION_LIMIT : 0;
> +   rdm.bound_lifetime_depth = 0;
> + 
> +   /* Rust symbols always start with _R (v0) or _ZN (legacy). */


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

2021-10-27 Thread Oleksiy Obitotskyy via lists.openembedded.org
Checksum depends on options that could be
different from build to build, e.g. absolute patch.
Remove checksum-options from
executable checksum calculation.

Change-Id: Ifa184febecd2d517826beee784ca5ac7a1fb17fe
Signed-off-by: Oleksiy Obitotskyy 
---
 meta/recipes-devtools/gcc/gcc-11.2.inc|  1 +
 ...emove-checksum-options-from-checksum.patch | 77 +++
 2 files changed, 78 insertions(+)
 create mode 100644 
meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch

diff --git a/meta/recipes-devtools/gcc/gcc-11.2.inc 
b/meta/recipes-devtools/gcc/gcc-11.2.inc
index 23dfea2319..ecac893980 100644
--- a/meta/recipes-devtools/gcc/gcc-11.2.inc
+++ b/meta/recipes-devtools/gcc/gcc-11.2.inc
@@ -64,6 +64,7 @@ SRC_URI = "\
file://0036-mingw32-Enable-operation_not_supported.patch \
file://0037-libatomic-Do-not-enforce-march-on-aarch64.patch \
file://0041-apply-debug-prefix-maps-before-checksumming-DIEs.patch \
+   file://0050-gcc-Remove-checksum-options-from-checksum.patch \
 "
 SRC_URI[sha256sum] = 
"d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b"
 
diff --git 
a/meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch
 
b/meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch
new file mode 100644
index 00..50cff38c68
--- /dev/null
+++ 
b/meta/recipes-devtools/gcc/gcc/0050-gcc-Remove-checksum-options-from-checksum.patch
@@ -0,0 +1,77 @@
+From 67402bb4013ea886b68a9f4ee1c2cb1472652dbf Mon Sep 17 00:00:00 2001
+From: Oleksiy Obitotskyy 
+Date: Tue, 26 Jan 2021 04:32:27 -0800
+Subject: [PATCH] gcc: Remove checksum-options from checksum
+
+Executable checksum calculated from object
+files and options. Options could contain
+absolute path and affect reproducibility.
+To improve reproducibility remove
+checksum-options conditionally from
+executable checksum generation.
+
+Upstream-Status: Pending
+Signed-off-by: Oleksiy Obitotskyy 
+---
+ gcc/c/Make-lang.in | 2 +-
+ gcc/cp/Make-lang.in| 2 +-
+ gcc/objc/Make-lang.in  | 3 ++-
+ gcc/objcp/Make-lang.in | 2 +-
+ 4 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/gcc/c/Make-lang.in b/gcc/c/Make-lang.in
+index a1cdee872..6ee5c103b 100644
+--- a/gcc/c/Make-lang.in
 b/gcc/c/Make-lang.in
+@@ -78,7 +78,7 @@ cc1-checksum.c : build/genchecksum$(build_exeext) 
checksum-options \
+ cp ../prev-gcc/cc1-checksum.c cc1-checksum.c; \
+   else \
+ build/genchecksum$(build_exeext) $(C_OBJS) $(BACKEND) $(LIBDEPS) \
+- checksum-options > cc1-checksum.c.tmp && 
 \
++ $(if $(SOURCE_DATE_EPOCH),,checksum-options) > 
cc1-checksum.c.tmp &&  \
+ $(srcdir)/../move-if-change cc1-checksum.c.tmp cc1-checksum.c; \
+   fi
+ 
+diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
+index 155be74ef..0ac6daa53 100644
+--- a/gcc/cp/Make-lang.in
 b/gcc/cp/Make-lang.in
+@@ -127,7 +127,7 @@ cc1plus-checksum.c : build/genchecksum$(build_exeext) 
checksum-options \
+  cp ../prev-gcc/cc1plus-checksum.c cc1plus-checksum.c; \
+   else \
+ build/genchecksum$(build_exeext) $(CXX_OBJS) $(BACKEND) $(CODYLIB) 
$(LIBDEPS) \
+- checksum-options > cc1plus-checksum.c.tmp &&\
++ $(if $(SOURCE_DATE_EPOCH),,checksum-options) > 
cc1plus-checksum.c.tmp &&\
+ $(srcdir)/../move-if-change cc1plus-checksum.c.tmp 
cc1plus-checksum.c; \
+   fi
+ 
+diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in
+index c91148a57..a83938ee7 100644
+--- a/gcc/objc/Make-lang.in
 b/gcc/objc/Make-lang.in
+@@ -60,7 +60,8 @@ objc_OBJS = $(OBJC_OBJS) cc1obj-checksum.o
+ cc1obj-checksum.c : build/genchecksum$(build_exeext) checksum-options \
+ $(OBJC_OBJS) $(C_AND_OBJC_OBJS) $(BACKEND) $(LIBDEPS)
+   build/genchecksum$(build_exeext) $(OBJC_OBJS) $(C_AND_OBJC_OBJS) \
+-$(BACKEND) $(LIBDEPS) checksum-options > cc1obj-checksum.c.tmp && \
++$(BACKEND) $(LIBDEPS) \
++  $(if $(SOURCE_DATE_EPOCH),,checksum-options) > 
cc1obj-checksum.c.tmp && \
+   $(srcdir)/../move-if-change cc1obj-checksum.c.tmp cc1obj-checksum.c
+ 
+ cc1obj$(exeext): $(OBJC_OBJS) $(C_AND_OBJC_OBJS) cc1obj-checksum.o $(BACKEND) 
\
+diff --git a/gcc/objcp/Make-lang.in b/gcc/objcp/Make-lang.in
+index dfa4d230e..ef16001c2 100644
+--- a/gcc/objcp/Make-lang.in
 b/gcc/objcp/Make-lang.in
+@@ -63,7 +63,7 @@ obj-c++_OBJS = $(OBJCXX_OBJS) cc1objplus-checksum.o
+ cc1objplus-checksum.c : build/genchecksum$(build_exeext) checksum-options \
+   $(OBJCXX_OBJS) $(BACKEND) $(CODYLIB) $(LIBDEPS)
+   build/genchecksum$(build_exeext) $(OBJCXX_OBJS) $(BACKEND) $(CODYLIB) \
+-  $(LIBDEPS) checksum-options > cc1objplus-checksum.c.tmp && \
++  $(LIBDEPS) $(if $(SOURCE_DATE_EPOCH),,checksum-options) > 
cc1objplus-checksum.c.tmp && \
+   

[OE-core][PATCH] uboot-sign: fix the concatenation when multiple U-BOOT configurations are specified

2021-10-27 Thread Thomas Perrot
Some BSPs, especially those of meta-freescale and meta-ti allow to build U-Boot
binaries using different configuration for a given target, for example:
- UBOOT_CONFIG ??= "tfa-secure-boot tfa"
- UBOOT_CONFIG ??= "nand sdcard spi nor"

When this is the case the public key wasn't concatenated to all U-Boot binaries
built.

Signed-off-by: Thomas Perrot 
---
 meta/classes/uboot-sign.bbclass | 16 +++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass
index bae8cada0ac3..8d136e940589 100644
--- a/meta/classes/uboot-sign.bbclass
+++ b/meta/classes/uboot-sign.bbclass
@@ -131,6 +131,20 @@ concat_dtb_helper() {
elif [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e 
"$deployed_uboot_dtb_binary" ]; then
cd ${DEPLOYDIR}
cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | 
tee ${B}/${CONFIG_B_PATH}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
+
+   if [ -n "${UBOOT_CONFIG}" ]
+   then
+   for config in ${UBOOT_MACHINE}; do
+   i=$(expr $i + 1);
+   for type in ${UBOOT_CONFIG}; do
+   j=$(expr $j + 1);
+   if [ $j -eq $i ]
+   then
+   cp ${UBOOT_IMAGE} 
${B}/${CONFIG_B_PATH}/u-boot-$type.${UBOOT_SUFFIX}
+   fi
+   done
+   done
+   fi
else
bbwarn "Failure while adding public key to u-boot 
binary. Verified boot won't be available."
fi
@@ -205,7 +219,7 @@ install_helper() {
fi
 }
 
-# Install SPL dtb and u-boot nodtb to datadir, 
+# Install SPL dtb and u-boot nodtb to datadir,
 install_spl_helper() {
if [ -f "${SPL_DIR}/${SPL_DTB_BINARY}" ]; then
install -Dm 0644 ${SPL_DIR}/${SPL_DTB_BINARY} 
${D}${datadir}/${SPL_DTB_IMAGE}
-- 
2.31.1


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



[OE-core] [meta][dunfell][PATCH] curl: Whitelist CVE-2021-22897

2021-10-27 Thread Ranjitsinh Rathod
CVE-2021-22897 is affecting only Windows, hence whitelisting this CVE.
Link: https://security-tracker.debian.org/tracker/CVE-2021-22897
Link: https://ubuntu.com/security/CVE-2021-22897

Signed-off-by: Ranjitsinh Rathod 
Signed-off-by: Ranjitsinh Rathod 
---
 meta/recipes-support/curl/curl_7.69.1.bb | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-support/curl/curl_7.69.1.bb 
b/meta/recipes-support/curl/curl_7.69.1.bb
index d7ffb2dc50..bc1b993e9e 100644
--- a/meta/recipes-support/curl/curl_7.69.1.bb
+++ b/meta/recipes-support/curl/curl_7.69.1.bb
@@ -34,6 +34,11 @@ SRC_URI[sha256sum] = 
"2ff5e5bd507adf6aa88ff4bbafd4c7af464867ffb688be93b9930717a5
 CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl 
daniel_stenberg:curl"
 CVE_CHECK_WHITELIST = "CVE-2021-22922 CVE-2021-22923 CVE-2021-22926 CVE-22945"
 
+# As per link https://security-tracker.debian.org/tracker/CVE-2021-22897
+# and https://ubuntu.com/security/CVE-2021-22897
+# This CVE issue affects Windows only Hence whitelisting this CVE
+CVE_CHECK_WHITELIST += "CVE-2021-22897"
+
 inherit autotools pkgconfig binconfig multilib_header
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls 
libidn proxy threaded-resolver verbose zlib"
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157512): 
https://lists.openembedded.org/g/openembedded-core/message/157512
Mute This Topic: https://lists.openembedded.org/mt/86626684/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] archiver: Configurable tarball compression

2021-10-27 Thread Martyn Welch
> 
> So, here the claim that zstd (with default options) is almost as good as
> xz in compressed size is not confirmed. However, zstd is a clear winner
> in terms of compression speed, and anyway better than gzip. This is
> worth switching.
> 

That claim doesn't seem to be confirmed with any of the (admittedly small) 
selection of archives I tried, with zstd compression being approx 21 to 69% 
less efficient in terms of storage space than xz compression, but still being 
the best in terms of compression and decompression speeds.

However, I think neatly highlights why it may make sense to make this 
configurable, as which algorithm is "best" is going to depend on whether you're 
optimising for (de)compression speed or size.

Testing results below,

Martyn

---

$ time gzip -k linux-5.14.tar

real 0m26.807s
user 0m26.392s
sys 0m0.368s
$ time xz -k linux-5.14.tar

real 6m42.494s
user 6m40.167s
sys 0m1.757s
$ time zstd -k linux-5.14.tar
linux-5.14.tar       : 16.28%   (1126737920 => 183398470 bytes, 
linux-5.14.tar.zst)

real 0m3.531s
user 0m3.631s
sys 0m0.509s
$ ls -la  *
-rw-r--r-- 1 martyn martyn 1126737920 Oct 27 10:54 linux-5.14.tar
-rw-r--r-- 1 martyn martyn  196107916 Oct 27 10:54 linux-5.14.tar.gz
-rw-r--r-- 1 martyn martyn  124724612 Oct 27 10:54 linux-5.14.tar.xz
-rw-r--r-- 1 martyn martyn  183398470 Oct 27 10:54 linux-5.14.tar.zst
$ time gunzip linux-5.14.tar.gz

real 0m5.141s
user 0m4.462s
sys 0m0.613s
$ time xz -d linux-5.14.tar.xz

real 0m8.571s
user 0m7.739s
sys 0m0.820s
$ time zstd -d linux-5.14.tar.zst
linux-5.14.tar.zst  : 1126737920 bytes

real 0m1.906s
user 0m1.185s
sys 0m0.710s

$ time gzip -k coreutils-9.0.tar

real 0m1.685s
user 0m1.669s
sys 0m0.016s
$ time xz -k coreutils-9.0.tar

real 0m14.891s
user 0m14.795s
sys 0m0.060s
$ time zstd -k coreutils-9.0.tar
coreutils-9.0.tar    : 19.21%   (54394880 => 10447053 bytes, 
coreutils-9.0.tar.zst)

real 0m0.207s
user 0m0.215s
sys 0m0.029s
$ ls -la coreutils-9.0.tar*
-rw-r--r-- 1 martyn martyn 54394880 Oct 27 11:16 coreutils-9.0.tar
-rw-r--r-- 1 martyn martyn 13595007 Oct 27 11:16 coreutils-9.0.tar.gz
-rw-r--r-- 1 martyn martyn  6177372 Oct 27 11:16 coreutils-9.0.tar.xz
-rw-r--r-- 1 martyn martyn 10447053 Oct 27 11:16 coreutils-9.0.tar.zst
$ time gzip -d coreutils-9.0.tar.gz

real 0m0.362s
user 0m0.280s
sys 0m0.048s
$ time xz -d coreutils-9.0.tar.xz

real 0m0.444s
user 0m0.424s
sys 0m0.020s
$ time zstd -d coreutils-9.0.tar.zst
coreutils-9.0.tar.zst: 54394880 bytes

real 0m0.095s
user 0m0.044s
sys 0m0.052s

$ time gzip -k tcp_wrappers_7.6.tar

real 0m0.033s
user 0m0.033s
sys 0m0.000s
$ time xz -k tcp_wrappers_7.6.tar

real 0m0.116s
user 0m0.104s
sys 0m0.012s
$ time zstd -k tcp_wrappers_7.6.tar
tcp_wrappers_7.6.tar : 26.57%   (360448 =>  95772 bytes, 
tcp_wrappers_7.6.tar.zst)

real 0m0.006s
user 0m0.003s
sys 0m0.003s
$ ls -la tcp_wrappers_7.6.tar*
-rw-r--r-- 1 martyn martyn 360448 Oct 27 11:15 tcp_wrappers_7.6.tar
-rw-r--r-- 1 martyn martyn  99459 Oct 27 11:15 tcp_wrappers_7.6.tar.gz
-rw-r--r-- 1 martyn martyn  79316 Oct 27 11:15 tcp_wrappers_7.6.tar.xz
-rw-r--r-- 1 martyn martyn  95772 Oct 27 11:15 tcp_wrappers_7.6.tar.zst
$ time gzip -d tcp_wrappers_7.6.tar.gz

real 0m0.008s
user 0m0.004s
sys 0m0.004s
$ time xz -d tcp_wrappers_7.6.tar.xz

real 0m0.019s
user 0m0.015s
sys 0m0.004s
$ time zstd -d tcp_wrappers_7.6.tar.zst
tcp_wrappers_7.6.tar.zst: 360448 bytes

real 0m0.005s
user 0m0.000s
sys 0m0.005s

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



[OE-core] [hardknott][PATCH] binutils: Fix CVE-2021-3530

2021-10-27 Thread Pgowda
Backport from binutils-2_37

Signed-off-by: Pgowda 
---
 .../binutils/binutils-2.36.inc|  1 +
 .../binutils/0017-CVE-2021-3530.patch | 97 +++
 2 files changed, 98 insertions(+)
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0017-CVE-2021-3530.patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.36.inc 
b/meta/recipes-devtools/binutils/binutils-2.36.inc
index 9d770db5a8..981692e457 100644
--- a/meta/recipes-devtools/binutils/binutils-2.36.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.36.inc
@@ -44,5 +44,6 @@ SRC_URI = "\
  file://0001-CVE-2021-20197.patch \
  file://0002-CVE-2021-20197.patch \
  file://0003-CVE-2021-20197.patch \
+ file://0017-CVE-2021-3530.patch \
 "
 S  = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils/0017-CVE-2021-3530.patch 
b/meta/recipes-devtools/binutils/binutils/0017-CVE-2021-3530.patch
new file mode 100644
index 00..f1934aa600
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0017-CVE-2021-3530.patch
@@ -0,0 +1,97 @@
+From 25162c795b1a2becf936bb3581d86a307ea491eb Mon Sep 17 00:00:00 2001
+From: Nick Clifton 
+Date: Thu, 15 Jul 2021 16:51:56 +0100
+Subject: [PATCH] Fix a stack exhaustion problem in the Rust demangling code in
+ the libiberty library.
+
+   PR 99935
+   * rust-demangle.c: Add recursion limit.
+---
+ libiberty/ChangeLog   |  5 +
+ libiberty/rust-demangle.c | 31 +--
+ 2 files changed, 30 insertions(+), 6 deletions(-)
+
+diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
+index bc1b35b97c4..8e39fd28eba 100644
+--- a/libiberty/ChangeLog
 b/libiberty/ChangeLog
+@@ -1,3 +1,8 @@
++2021-07-15  Nick Clifton  
++
++  PR 99935
++  * rust-demangle.c: Add recursion limit.
++
+ 2021-01-04  Martin Liska  
+ 
+   * strverscmp.c: Convert to utf8 from iso8859.
+diff --git a/libiberty/rust-demangle.c b/libiberty/rust-demangle.c
+index 449941b56dc..df09b7b8fdd 100644
+--- a/libiberty/rust-demangle.c
 b/libiberty/rust-demangle.c
+@@ -74,6 +74,12 @@ struct rust_demangler
+   /* Rust mangling version, with legacy mangling being -1. */
+   int version;
+ 
++  /* Recursion depth.  */
++  uint recursion;
++  /* Maximum number of times demangle_path may be called recursively.  */
++#define RUST_MAX_RECURSION_COUNT  1024
++#define RUST_NO_RECURSION_LIMIT   ((uint) -1)
++
+   uint64_t bound_lifetime_depth;
+ };
+ 
+@@ -671,6 +677,15 @@ demangle_path (struct rust_demangler *rd
+   if (rdm->errored)
+ return;
+ 
++  if (rdm->recursion != RUST_NO_RECURSION_LIMIT)
++{
++  ++ rdm->recursion;
++  if (rdm->recursion > RUST_MAX_RECURSION_COUNT)
++  /* FIXME: There ought to be a way to report
++ that the recursion limit has been reached.  */
++  goto fail_return;
++}
++
+   switch (tag = next (rdm))
+ {
+ case 'C':
+@@ -688,10 +703,7 @@ demangle_path (struct rust_demangler *rd
+ case 'N':
+   ns = next (rdm);
+   if (!ISLOWER (ns) && !ISUPPER (ns))
+-{
+-  rdm->errored = 1;
+-  return;
+-}
++  goto fail_return;
+ 
+   demangle_path (rdm, in_value);
+ 
+@@ -776,9 +788,15 @@ demangle_path (struct rust_demangler *rd
+ }
+   break;
+ default:
+-  rdm->errored = 1;
+-  return;
++  goto fail_return;
+ }
++  goto pass_return;
++
++ fail_return:
++  rdm->errored = 1;
++ pass_return:
++  if (rdm->recursion != RUST_NO_RECURSION_LIMIT)
++-- rdm->recursion;
+ }
+ 
+ static void
+@@ -1317,6 +1335,7 @@ rust_demangle_callback (const char *mang
+   rdm.skipping_printing = 0;
+   rdm.verbose = (options & DMGL_VERBOSE) != 0;
+   rdm.version = 0;
++  rdm.recursion = (options & DMGL_NO_RECURSE_LIMIT) ? RUST_NO_RECURSION_LIMIT 
: 0;
+   rdm.bound_lifetime_depth = 0;
+ 
+   /* Rust symbols always start with _R (v0) or _ZN (legacy). */
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157510): 
https://lists.openembedded.org/g/openembedded-core/message/157510
Mute This Topic: https://lists.openembedded.org/mt/86624481/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] cups: exclude beta/rc versions from version check

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/cups/cups.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/cups/cups.inc 
b/meta/recipes-extended/cups/cups.inc
index f6f8637a43..2994973b8c 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -18,7 +18,7 @@ SRC_URI = 
"https://github.com/OpenPrinting/cups/releases/download/v${PV}/cups-${
"
 
 UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups/releases;
-UPSTREAM_CHECK_REGEX = "cups-(?P.+)-source.tar"
+UPSTREAM_CHECK_REGEX = "cups-(?P(?!.+\d(b|rc)\d.+).+)-source.tar"
 
 # Issue only applies to MacOS
 CVE_CHECK_WHITELIST += "CVE-2008-1033"
@@ -116,4 +116,4 @@ cups_sysroot_preprocess () {
 
 # -25317 concerns /var/log/cups having lp ownership.  Our /var/log/cups is
 # root:root, so this doesn't apply.
-CVE_CHECK_WHITELIST += "CVE-2021-25317"
\ No newline at end of file
+CVE_CHECK_WHITELIST += "CVE-2021-25317"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157509): 
https://lists.openembedded.org/g/openembedded-core/message/157509
Mute This Topic: https://lists.openembedded.org/mt/86623950/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] oeqa/runtime/parselogs: whitelist drm failure in common errors list

2021-10-27 Thread Jose Quaresma
Teoh, Jay Shen  escreveu no dia quarta, 27/10/2021
à(s) 10:12:

> From: Teoh Jay Shen 
>
> Add the following line to common_errors list.
>
>   [drm] Cannot find any crtc or sizes
>
> This message is not harmful, it extended the coverage for drm error
> message.
>
> Signed-off-by: Teoh Jay Shen 
> ---
>  meta/lib/oeqa/runtime/cases/parselogs.py | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py
> b/meta/lib/oeqa/runtime/cases/parselogs.py
> index 2b8893d842..96da0b4f5c 100644
> --- a/meta/lib/oeqa/runtime/cases/parselogs.py
> +++ b/meta/lib/oeqa/runtime/cases/parselogs.py
> @@ -32,6 +32,7 @@ common_errors = [
>  "Failed to load module \"fbdev\"",
>  "Failed to load module fbdev",
>  "Failed to load module glx",
> +"[drm] Cannot find any crtc or sizes",
>  "[drm] Cannot find any crtc or sizes - going 1024x768",
>

I think this one ^ can be removed


>  "_OSC failed (AE_NOT_FOUND); disabling ASPM",
>  "Open ACPI failed (/var/run/acpid.socket) (No such file or
> directory)",
> --
> 2.33.1
>
>
> 
>
>

-- 
Best regards,

José Quaresma

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157508): 
https://lists.openembedded.org/g/openembedded-core/message/157508
Mute This Topic: https://lists.openembedded.org/mt/86623483/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] oeqa/runtime/parselogs: whitelist drm failure in common errors list

2021-10-27 Thread Teoh, Jay Shen
From: Teoh Jay Shen 

Add the following line to common_errors list.

  [drm] Cannot find any crtc or sizes

This message is not harmful, it extended the coverage for drm error message.

Signed-off-by: Teoh Jay Shen 
---
 meta/lib/oeqa/runtime/cases/parselogs.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py 
b/meta/lib/oeqa/runtime/cases/parselogs.py
index 2b8893d842..96da0b4f5c 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -32,6 +32,7 @@ common_errors = [
 "Failed to load module \"fbdev\"",
 "Failed to load module fbdev",
 "Failed to load module glx",
+"[drm] Cannot find any crtc or sizes",
 "[drm] Cannot find any crtc or sizes - going 1024x768",
 "_OSC failed (AE_NOT_FOUND); disabling ASPM",
 "Open ACPI failed (/var/run/acpid.socket) (No such file or directory)",
-- 
2.33.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157507): 
https://lists.openembedded.org/g/openembedded-core/message/157507
Mute This Topic: https://lists.openembedded.org/mt/86623483/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/30] gstreamer1.0-python: do not supply unknown g-i options

2021-10-27 Thread Alexander Kanavin
meson 0.60 turns unknown options into them hard errors, so instead of relying 
on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

Signed-off-by: Alexander Kanavin 
---
 .../gstreamer/gstreamer1.0-python_1.18.5.bb  | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb
index 74dd15b3eb..a32805d129 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb
@@ -21,6 +21,14 @@ EXTRA_OEMESON += "-Dlibpython-dir=${libdir}"
 
 # gobject-introspection is mandatory and cannot be configured
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
-UNKNOWN_CONFIGURE_WHITELIST:append = " introspection"
 
-inherit meson pkgconfig distutils3-base upstream-version-is-even 
gobject-introspection features_check
+inherit meson pkgconfig distutils3-base upstream-version-is-even features_check
+
+# Generating introspection data depends on a combination of native and target
+# introspection tools, and qemu to run the target tools.
+DEPENDS:append:class-target = " gobject-introspection 
gobject-introspection-native qemu-native prelink-native"
+
+# Even though introspection is disabled on -native, gobject-introspection 
package is still
+# needed for m4 macros.
+DEPENDS:append:class-native = " gobject-introspection-native"
+DEPENDS:append:class-nativesdk = " gobject-introspection-native"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157505): 
https://lists.openembedded.org/g/openembedded-core/message/157505
Mute This Topic: https://lists.openembedded.org/mt/86623409/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/30] webkitgtk: drop unnecessary SSE disabling patch

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-ANGLE-do-not-enable-SSE-on-x86.patch | 26 ---
 meta/recipes-sato/webkit/webkitgtk_2.34.1.bb  |  1 -
 2 files changed, 27 deletions(-)
 delete mode 100644 
meta/recipes-sato/webkit/webkitgtk/0001-ANGLE-do-not-enable-SSE-on-x86.patch

diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-ANGLE-do-not-enable-SSE-on-x86.patch 
b/meta/recipes-sato/webkit/webkitgtk/0001-ANGLE-do-not-enable-SSE-on-x86.patch
deleted file mode 100644
index 1c6ba97037..00
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-ANGLE-do-not-enable-SSE-on-x86.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From c71a4e18afb4869a0fbb0efd59c4860b72f493f7 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 5 Oct 2021 13:32:28 +0200
-Subject: [PATCH] ANGLE: do not enable SSE on x86
-
-The code does not actually build there.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- Source/ThirdParty/ANGLE/src/common/platform.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Source/ThirdParty/ANGLE/src/common/platform.h 
b/Source/ThirdParty/ANGLE/src/common/platform.h
-index 41f3cf4f..cab85a82 100644
 a/Source/ThirdParty/ANGLE/src/common/platform.h
-+++ b/Source/ThirdParty/ANGLE/src/common/platform.h
-@@ -89,7 +89,7 @@
- #if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64)
- #include 
- #define ANGLE_USE_SSE
--#elif defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__))
-+#elif defined(__GNUC__) && (defined(__x86_64__))
- #include 
- #define ANGLE_USE_SSE
- #endif
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
index dde8963d04..4e2562df14 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
@@ -18,7 +18,6 @@ SRC_URI = 
"https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://include_xutil.patch \
file://reduce-memory-overheads.patch \
file://musl-lower-stack-usage.patch \
-   file://0001-ANGLE-do-not-enable-SSE-on-x86.patch \
file://0001-Fix-build-without-opengl-or-es.patch \
"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157506): 
https://lists.openembedded.org/g/openembedded-core/message/157506
Mute This Topic: https://lists.openembedded.org/mt/86623411/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/30] python3-pygobject: do not supply unknown g-i options

2021-10-27 Thread Alexander Kanavin
meson 0.60 turns unknown options into them hard errors, so instead of relying 
on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

Signed-off-by: Alexander Kanavin 
---
 .../python/python3-pygobject_3.42.0.bb  | 13 ++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb 
b/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
index 461ddcfe31..7ff7c5b4dd 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
@@ -6,10 +6,19 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 
 GNOMEBASEBUILDCLASS = "meson"
-inherit gnomebase distutils3-base gobject-introspection 
upstream-version-is-even
+inherit gnomebase distutils3-base upstream-version-is-even
 
 DEPENDS += "python3 glib-2.0"
 
+# Generating introspection data depends on a combination of native and target
+# introspection tools, and qemu to run the target tools.
+DEPENDS:append:class-target = " gobject-introspection 
gobject-introspection-native qemu-native prelink-native"
+
+# Even though introspection is disabled on -native, gobject-introspection 
package is still
+# needed for m4 macros.
+DEPENDS:append:class-native = " gobject-introspection-native"
+DEPENDS:append:class-nativesdk = " gobject-introspection-native"
+
 SRCNAME="pygobject"
 
 SRC_URI = " \
@@ -18,8 +27,6 @@ SRC_URI = " \
 "
 SRC_URI[sha256sum] = 
"9b12616e32cfc792f9dc841d9c472a41a35b85ba67d3a6eb427e307a6fe4367b"
 
-UNKNOWN_CONFIGURE_WHITELIST = "introspection"
-
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 
'wayland', 'x11' ], 'cairo', '', d)}"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157504): 
https://lists.openembedded.org/g/openembedded-core/message/157504
Mute This Topic: https://lists.openembedded.org/mt/86623408/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/30] systemtap: address ncurses 6.3 compatibility

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...staprun-address-ncurses-6.3-failures.patch | 61 +++
 .../recipes-kernel/systemtap/systemtap_git.bb |  4 +-
 2 files changed, 64 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch

diff --git 
a/meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch
 
b/meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch
new file mode 100644
index 00..b53e107d84
--- /dev/null
+++ 
b/meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch
@@ -0,0 +1,61 @@
+From 191f528da19193d713d94ee252e2485efd9af4d3 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 25 Oct 2021 17:59:24 +0200
+Subject: [PATCH] staprun: address ncurses 6.3 failures
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ staprun/monitor.c | 24 
+ 1 file changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/staprun/monitor.c b/staprun/monitor.c
+index 478634c09..f4fbfd686 100644
+--- a/staprun/monitor.c
 b/staprun/monitor.c
+@@ -448,12 +448,12 @@ void monitor_render(void)
+   if (active_window == 0)
+ wattron(status, A_BOLD);
+   wprintw(status, "\n%*s\t%*s\t%*s\t%*s\t%*s\t%*s\t%s\n",
+-  width[p_index], HIGHLIGHT("index", p_index, comp_fn_index),
+-  width[p_state], HIGHLIGHT("state", p_state, comp_fn_index),
+-  width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index),
+-  width[p_min], HIGHLIGHT("min", p_min, comp_fn_index),
+-  width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index),
+-  width[p_max], HIGHLIGHT("max", p_max, comp_fn_index),
++  (int)width[p_index], HIGHLIGHT("index", p_index, comp_fn_index),
++  (int)width[p_state], HIGHLIGHT("state", p_state, comp_fn_index),
++  (int)width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index),
++  (int)width[p_min], HIGHLIGHT("min", p_min, comp_fn_index),
++  (int)width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index),
++  (int)width[p_max], HIGHLIGHT("max", p_max, comp_fn_index),
+   HIGHLIGHT("name", p_name, comp_fn_index));
+   if (active_window == 0)
+ wattroff(status, A_BOLD);
+@@ -466,17 +466,17 @@ void monitor_render(void)
+   json_object *probe, *field;
+   probe = json_object_array_get_idx(jso_probe_list, i);
+   json_object_object_get_ex(probe, "index", );
+-  wprintw(status, "%*s\t", width[p_index], 
json_object_get_string(field));
++  wprintw(status, "%*s\t", (int)width[p_index], 
json_object_get_string(field));
+   json_object_object_get_ex(probe, "state", );
+-  wprintw(status, "%*s\t", width[p_state], 
json_object_get_string(field));
++  wprintw(status, "%*s\t", (int)width[p_state], 
json_object_get_string(field));
+   json_object_object_get_ex(probe, "hits", );
+-  wprintw(status, "%*s\t", width[p_hits], 
json_object_get_string(field));
++  wprintw(status, "%*s\t", (int)width[p_hits], 
json_object_get_string(field));
+   json_object_object_get_ex(probe, "min", );
+-  wprintw(status, "%*s\t", width[p_min], 
json_object_get_string(field));
++  wprintw(status, "%*s\t", (int)width[p_min], 
json_object_get_string(field));
+   json_object_object_get_ex(probe, "avg", );
+-  wprintw(status, "%*s\t", width[p_avg], 
json_object_get_string(field));
++  wprintw(status, "%*s\t", (int)width[p_avg], 
json_object_get_string(field));
+   json_object_object_get_ex(probe, "max", );
+-  wprintw(status, "%*s\t", width[p_max], 
json_object_get_string(field));
++  wprintw(status, "%*s\t", (int)width[p_max], 
json_object_get_string(field));
+   getyx(status, discard, cur_x);
+   json_object_object_get_ex(probe, "name", );
+   wprintw(status, "%.*s", max_cols-cur_x-1, 
json_object_get_string(field));
+-- 
+2.20.1
+
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb 
b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 8f0de5f0f0..d11d9b93a2 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -6,7 +6,9 @@ HOMEPAGE = "https://sourceware.org/systemtap/;
 
 require systemtap_git.inc
 
-SRC_URI += "file://0001-improve-reproducibility-for-c-compiling.patch"
+SRC_URI += "file://0001-improve-reproducibility-for-c-compiling.patch \
+   file://0001-staprun-address-ncurses-6.3-failures.patch \
+   "
 
 DEPENDS = "elfutils"
 
-- 
2.20.1


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

[OE-core] [PATCH 25/30] powertop: address ncurses 6.3 compatibility

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...c-fix-compatibility-with-ncurses-6.3.patch | 52 +++
 meta/recipes-kernel/powertop/powertop_2.14.bb |  5 +-
 2 files changed, 55 insertions(+), 2 deletions(-)
 create mode 100644 
meta/recipes-kernel/powertop/powertop/0001-src-fix-compatibility-with-ncurses-6.3.patch

diff --git 
a/meta/recipes-kernel/powertop/powertop/0001-src-fix-compatibility-with-ncurses-6.3.patch
 
b/meta/recipes-kernel/powertop/powertop/0001-src-fix-compatibility-with-ncurses-6.3.patch
new file mode 100644
index 00..84b05ac971
--- /dev/null
+++ 
b/meta/recipes-kernel/powertop/powertop/0001-src-fix-compatibility-with-ncurses-6.3.patch
@@ -0,0 +1,52 @@
+From 76d3f0851520bc8488e432f423941f1e72cc7405 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 25 Oct 2021 17:47:23 +0200
+Subject: [PATCH] src: fix compatibility with ncurses 6.3
+
+Upstream-Status: Submitted [https://github.com/fenrus75/powertop/pull/92]
+Signed-off-by: Alexander Kanavin 
+---
+ src/devices/devfreq.cpp | 2 +-
+ src/display.cpp | 2 +-
+ src/lib.cpp | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/devices/devfreq.cpp b/src/devices/devfreq.cpp
+index 0509d0f..b194ac4 100644
+--- a/src/devices/devfreq.cpp
 b/src/devices/devfreq.cpp
+@@ -297,7 +297,7 @@ void display_devfreq_devices(void)
+   df->fill_freq_utilization(j, buf);
+   strcat(fline, buf);
+   strcat(fline, "\n");
+-  wprintw(win, fline);
++  wprintw(win, "%s", fline);
+   }
+   wprintw(win, "\n");
+   }
+diff --git a/src/display.cpp b/src/display.cpp
+index 7131144..cc03919 100644
+--- a/src/display.cpp
 b/src/display.cpp
+@@ -125,7 +125,7 @@ void show_tab(unsigned int tab)
+ 
+   c = bottom_lines[tab_names[tab]].c_str();
+   if (c && strlen(c) > 0)
+-  mvwprintw(bottom_line, 0,0, c);
++  mvwprintw(bottom_line, 0,0, "%s", c);
+   else
+   mvwprintw(bottom_line, 0, 0,
+   " %s |  /  %s | ", _("Exit"),
+diff --git a/src/lib.cpp b/src/lib.cpp
+index 5e48f37..5cd1c4a 100644
+--- a/src/lib.cpp
 b/src/lib.cpp
+@@ -583,7 +583,7 @@ void ui_notify_user_ncurses(const char *frmt, ...)
+* buffer */
+   vsnprintf(notify, UI_NOTIFY_BUFF_SZ - 1, frmt, list);
+   va_end(list);
+-  mvprintw(1, 0, notify);
++  mvprintw(1, 0, "%s", notify);
+   attroff(COLOR_PAIR(1));
+ }
+ 
diff --git a/meta/recipes-kernel/powertop/powertop_2.14.bb 
b/meta/recipes-kernel/powertop/powertop_2.14.bb
index c176cba388..3a7c3ba31e 100644
--- a/meta/recipes-kernel/powertop/powertop_2.14.bb
+++ b/meta/recipes-kernel/powertop/powertop_2.14.bb
@@ -7,8 +7,9 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
 
 SRC_URI = "git://github.com/fenrus75/powertop;protocol=https \
-file://0001-wakeup_xxx.h-include-limits.h.patch \
-"
+   file://0001-wakeup_xxx.h-include-limits.h.patch \
+   file://0001-src-fix-compatibility-with-ncurses-6.3.patch \
+   "
 SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba"
 
 S = "${WORKDIR}/git"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157501): 
https://lists.openembedded.org/g/openembedded-core/message/157501
Mute This Topic: https://lists.openembedded.org/mt/86623404/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/30] gptfdisk: address ncurses 6.3 compatibility

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...gptcurses-correct-ncurses-6.3-errors.patch | 99 +++
 meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb |  1 +
 2 files changed, 100 insertions(+)
 create mode 100644 
meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch

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
new file mode 100644
index 00..9d0443e524
--- /dev/null
+++ 
b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch
@@ -0,0 +1,99 @@
+From e301f7dd650c9e56f954a7c49661d938079e1a9b Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 25 Oct 2021 17:27:51 +0200
+Subject: [PATCH] gptcurses: correct ncurses 6.3 errors
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ gptcurses.cc | 28 ++--
+ 1 file changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/gptcurses.cc b/gptcurses.cc
+index d0de024..70be999 100644
+--- a/gptcurses.cc
 b/gptcurses.cc
+@@ -235,22 +235,22 @@ Space* GPTDataCurses::ShowSpace(int spaceNum, int 
lineNum) {
+   ClearLine(lineNum);
+   if (space->partNum == -1) { // space is empty
+  move(lineNum, 12);
+- printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), 
blockSize).c_str());
++ printw("%s",BytesToIeee((space->lastLBA - space->firstLBA + 1), 
blockSize).c_str());
+  move(lineNum, 24);
+- printw("free space");
++ printw("%s","free space");
+   } else { // space holds a partition
+  move(lineNum, 3);
+  printw("%d", space->partNum + 1);
+  move(lineNum, 12);
+- printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), 
blockSize).c_str());
++ printw("%s",BytesToIeee((space->lastLBA - space->firstLBA + 1), 
blockSize).c_str());
+  move(lineNum, 24);
+- printw(space->origPart->GetTypeName().c_str());
++ printw("%s",space->origPart->GetTypeName().c_str());
+  move(lineNum, 50);
+  #ifdef USE_UTF16
+  space->origPart->GetDescription().extract(0, 39, temp, 39);
+- printw(temp);
++ printw("%s",temp);
+  #else
+- printw(space->origPart->GetDescription().c_str());
++ printw("%s",space->origPart->GetDescription().c_str());
+  #endif
+   } // if/else
+} // if
+@@ -267,10 +267,10 @@ int GPTDataCurses::DisplayParts(int selected) {
+ 
+move(lineNum++, 0);
+theLine = "Part. # SizePartition TypePartition 
Name";
+-   printw(theLine.c_str());
++   printw("%s",theLine.c_str());
+move(lineNum++, 0);
+theLine = 
"";
+-   printw(theLine.c_str());
++   printw("%s",theLine.c_str());
+numToShow = LINES - RESERVED_TOP - RESERVED_BOTTOM;
+pageNum = selected / numToShow;
+for (i = pageNum * numToShow; i <= (pageNum + 1) * numToShow - 1; i++) {
+@@ -284,7 +284,7 @@ int GPTDataCurses::DisplayParts(int selected) {
+ } else {
+currentSpace = ShowSpace(i, lineNum);
+move(lineNum++, 0);
+-   printw(">");
++   printw("%s",">");
+ }
+ DisplayOptions(i);
+ retval = selected;
+@@ -632,7 +632,7 @@ void GPTDataCurses::DisplayOptions(char selectedKey) {
+  } // if/else
+   } // for
+   move(LINES - 1, (COLS - optionDesc.length()) / 2);
+-  printw(optionDesc.c_str());
++  printw("%s",optionDesc.c_str());
+   currentKey = selectedKey;
+} // if
+ } // GPTDataCurses::DisplayOptions()
+@@ -744,11 +744,11 @@ void GPTDataCurses::DrawMenu(void) {
+ 
+clear();
+move(0, (COLS - title.length()) / 2);
+-   printw(title.c_str());
++   printw("%s",title.c_str());
+move(2, (COLS - drive.length()) / 2);
+-   printw(drive.c_str());
++   printw("%s",drive.c_str());
+move(3, (COLS - size.str().length()) / 2);
+-   printw(size.str().c_str());
++   printw("%s",size.str().c_str());
+DisplayParts(currentSpaceNum);
+ } // DrawMenu
+ 
+@@ -798,7 +798,7 @@ void PromptToContinue(void) {
+ void Report(string theText) {
+clear();
+move(0, 0);
+-   printw(theText.c_str());
++   printw("%s", theText.c_str());
+move(LINES - 2, (COLS - 29) / 2);
+printw("Press any key to continue");
+cbreak();
diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb 
b/meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb
index 16fe540968..c5a153ab0c 100644
--- a/meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb
+++ b/meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb
@@ -9,6 +9,7 @@ DEPENDS = "util-linux"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
file://0001-gptcurses-correctly-include-curses.h.patch \
+   file://0001-gptcurses-correct-ncurses-6.3-errors.patch \
   

[OE-core] [PATCH 27/30] igt-gpu-tools: address meson 0.60 compatibility

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...n.build-fix-meson-0.60-compatibility.patch | 24 +++
 .../igt-gpu-tools/igt-gpu-tools_git.bb|  4 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch

diff --git 
a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch
 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch
new file mode 100644
index 00..159425a643
--- /dev/null
+++ 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch
@@ -0,0 +1,24 @@
+From b9a19aa4bdb21751c04c0e3ba8a9e2e35a10c953 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 25 Oct 2021 18:18:15 +0200
+Subject: [PATCH] lib/meson.build: fix meson 0.60 compatibility
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ lib/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/meson.build b/lib/meson.build
+index 9929520e..1a525587 100644
+--- a/lib/meson.build
 b/lib/meson.build
+@@ -152,7 +152,7 @@ lib_version = vcs_tag(input : 'version.h.in', output : 
'version.h',
+ 
+ lib_intermediates = []
+ foreach f: lib_sources
+-name = f.underscorify(f)
++name = f.underscorify()
+ lib = static_library('igt-' + name,
+   [ f, lib_version ],
+   include_directories: inc,
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
index 1a00eca7d3..7d912e4e4c 100644
--- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -12,7 +12,9 @@ inherit meson pkgconfig
 SRCREV = "203def046b466fb2da67f9f15552d84e1c0b41f2"
 PV = "1.26"
 
-SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
+SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https \
+   file://0001-lib-meson.build-fix-meson-0.60-compatibility.patch \
+   "
 
 S = "${WORKDIR}/git"
 
-- 
2.20.1


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



[OE-core] [PATCH 23/30] virgl: skip headless test on specific older distros and fail otherwise

2021-10-27 Thread Alexander Kanavin
This allows catching failures on new build hosts, instead of quietly skipping
the test due to incomplete host setup.

Signed-off-by: Alexander Kanavin 
---
 meta/lib/oeqa/selftest/cases/runtime_test.py | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py 
b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 129503de63..a90f62bfe1 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -213,17 +213,21 @@ class TestImage(OESelftestTestCase):
 """
 import subprocess, os
 
+distro = oe.lsb.distro_identifier()
+if distro and distro in ['debian-9', 'debian-10', 'centos-7', 
'centos-8', 'ubuntu-16.04', 'ubuntu-18.04']:
+self.skipTest('virgl headless cannot be tested with %s' %(distro))
+
 render_hint = """If /dev/dri/renderD* is absent due to lack of 
suitable GPU, 'modprobe vgem' will create one sutable for mesa llvmpipe sofware 
renderer."""
 try:
 content = os.listdir("/dev/dri")
 if len([i for i in content if i.startswith('render')]) == 0:
-self.skipTest("No render nodes found in /dev/dri: %s. %s" 
%(content, render_hint))
+self.fail("No render nodes found in /dev/dri: %s. %s" 
%(content, render_hint))
 except FileNotFoundError:
-self.skipTest("/dev/dri directory does not exist; no render nodes 
available on this machine. %s" %(render_hint))
+self.fail("/dev/dri directory does not exist; no render nodes 
available on this machine. %s" %(render_hint))
 try:
 dripath = subprocess.check_output("pkg-config 
--variable=dridriverdir dri", shell=True)
 except subprocess.CalledProcessError as e:
-self.skipTest("Could not determine the path to dri drivers on the 
host via pkg-config.\nPlease install Mesa development files (particularly, 
dri.pc) on the host machine.")
+self.fail("Could not determine the path to dri drivers on the host 
via pkg-config.\nPlease install Mesa development files (particularly, dri.pc) 
on the host machine.")
 qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 
'qemu-system-native')
 features = 'INHERIT += "testimage"\n'
 if 'opengl' not in qemu_distrofeatures:
-- 
2.20.1


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



[OE-core] [PATCH 22/30] waffle: update 1.6.1 -> 1.7.0

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...-make-core-protocol-into-the-library.patch | 56 +++
 .../{waffle_1.6.1.bb => waffle_1.7.0.bb}  | 14 +++--
 2 files changed, 66 insertions(+), 4 deletions(-)
 create mode 100644 
meta/recipes-graphics/waffle/waffle/0001-waffle-do-not-make-core-protocol-into-the-library.patch
 rename meta/recipes-graphics/waffle/{waffle_1.6.1.bb => waffle_1.7.0.bb} (82%)

diff --git 
a/meta/recipes-graphics/waffle/waffle/0001-waffle-do-not-make-core-protocol-into-the-library.patch
 
b/meta/recipes-graphics/waffle/waffle/0001-waffle-do-not-make-core-protocol-into-the-library.patch
new file mode 100644
index 00..24b2de5d9c
--- /dev/null
+++ 
b/meta/recipes-graphics/waffle/waffle/0001-waffle-do-not-make-core-protocol-into-the-library.patch
@@ -0,0 +1,56 @@
+From 7610ec4b572d3a54d30fca6798f0c406f3fd8a46 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Tue, 26 Oct 2021 08:52:17 +0200
+Subject: [PATCH] waffle: do not make core protocol into the library
+
+None of the consumers (which is just piglit) use it, and
+this avoids host contamination from pkg-config suggesting
+wayland.xml from the host.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin 
+---
+ meson.build| 4 
+ src/waffle/meson.build | 7 ---
+ 2 files changed, 11 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index ffc02ff..0bb6128 100644
+--- a/meson.build
 b/meson.build
+@@ -104,10 +104,6 @@ else
+   dep_wayland_client = dependency(
+ 'wayland-client', version : '>= 1.10', required : get_option('wayland'),
+   )
+-  if dep_wayland_client.found()
+-wayland_core_xml = 
join_paths(dep_wayland_client.get_pkgconfig_variable('pkgdatadir'),
+-'wayland.xml')
+-  endif
+   dep_wayland_egl = dependency(
+ 'wayland-egl', version : '>= 9.1', required : get_option('wayland'),
+   )
+diff --git a/src/waffle/meson.build b/src/waffle/meson.build
+index 01898c8..6245868 100644
+--- a/src/waffle/meson.build
 b/src/waffle/meson.build
+@@ -88,12 +88,6 @@ if build_surfaceless
+ endif
+ 
+ if build_wayland
+-  wl_core_proto_c = custom_target(
+-'wl-core-proto.c',
+-input: wayland_core_xml,
+-output: 'wl-core-proto.c',
+-command: [prog_wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'],
+-  )
+   wl_xdg_shell_proto_c = custom_target(
+ 'wl-xdg-shell-proto.c',
+ input: wayland_xdg_shell_xml,
+@@ -114,7 +108,6 @@ if build_wayland
+ 'wayland/wayland_wrapper.c',
+   )
+   files_libwaffle += [
+-wl_core_proto_c,
+ wl_xdg_shell_proto_c,
+ wl_xdg_shell_proto_h,
+   ]
diff --git a/meta/recipes-graphics/waffle/waffle_1.6.1.bb 
b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
similarity index 82%
rename from meta/recipes-graphics/waffle/waffle_1.6.1.bb
rename to meta/recipes-graphics/waffle/waffle_1.7.0.bb
index 161bbb0d26..846cd0d818 100644
--- a/meta/recipes-graphics/waffle/waffle_1.6.1.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
@@ -7,10 +7,12 @@ HOMEPAGE = "https://gitlab.freedesktop.org/mesa/waffle;
 BUGTRACKER = "https://gitlab.freedesktop.org/mesa/waffle;
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4c5154407c2490750dd461c50ad94797 \
-
file://include/waffle/waffle.h;endline=24;md5=61dbf8697f61c78645e75a93c585b1bf"
+
file://include/waffle-1/waffle.h;endline=24;md5=61dbf8697f61c78645e75a93c585b1bf"
 
-SRC_URI = 
"git://gitlab.freedesktop.org/mesa/waffle.git;protocol=https;branch=maint-1.6"
-SRCREV = "d7e8c4759704b3c571fa3697c716279c26fd05eb"
+SRC_URI = "git://gitlab.freedesktop.org/mesa/waffle.git;protocol=https \
+   file://0001-waffle-do-not-make-core-protocol-into-the-library.patch 
\
+   "
+SRCREV = "905c6c10f2483adf0cbfa024e2d3c2ed541fb300"
 S = "${WORKDIR}/git"
 
 inherit meson features_check lib_package bash-completion pkgconfig
@@ -31,7 +33,7 @@ PACKAGECONFIG[glx] = 
"-Dglx=enabled,-Dglx=disabled,virtual/${MLPREFIX}libgl libx
 
 # I say virtual/libgl, actually wants wayland-egl.pc, egl.pc, and the wayland
 # DISTRO_FEATURE.
-PACKAGECONFIG[wayland] = 
"-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}libgl wayland"
+PACKAGECONFIG[wayland] = 
"-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}libgl wayland 
wayland-native"
 
 # I say virtual/libgl, actually wants gbm.pc egl.pc
 PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/${MLPREFIX}libgl 
udev"
@@ -41,3 +43,7 @@ PACKAGECONFIG[x11-egl] = 
"-Dx11_egl=enabled,-Dx11_egl=disabled,virtual/${MLPREFI
 PACKAGECONFIG[surfaceless-egl] = 
"-Dsurfaceless_egl=enabled,-Dsurfaceless_egl=disabled,virtual/${MLPREFIX}libgl"
 
 # TODO: optionally build manpages and examples
+
+do_install:append() {
+sed -i -e "s,${WORKDIR},,g" ${D}/${libdir}/cmake/Waffle/WaffleConfig.cmake
+}
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157498): 

[OE-core] [PATCH 19/30] ncurses: update 6.2 -> 6.3

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../files/0002-configure-reproducible.patch   | 26 +--
 ...-Do-not-include-LDFLAGS-in-generated.patch |  9 ---
 .../{ncurses_6.2.bb => ncurses_6.3.bb}|  2 +-
 3 files changed, 18 insertions(+), 19 deletions(-)
 rename meta/recipes-core/ncurses/{ncurses_6.2.bb => ncurses_6.3.bb} (91%)

diff --git a/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch 
b/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
index 572195611e..66f26c06ab 100644
--- a/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
+++ b/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
@@ -1,7 +1,7 @@
-From 2a53c03ffa90f0050a949fc5920f0df3e668ff42 Mon Sep 17 00:00:00 2001
+From ec87e53066a9942e9aaba817d71268342f5e83b9 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Wed, 16 Aug 2017 14:45:27 +0800
-Subject: [PATCH 2/2] configure: reproducible
+Subject: [PATCH] configure: reproducible
 
 "configure" enforces -U for ar flags, breaking deterministic builds.
 The flag was added to fix some vaguely specified "recent POSIX binutil
@@ -13,23 +13,21 @@ Signed-off-by: Juro Bystricky 
 Rebase to 6.1
 
 Signed-off-by: Hongxu Jia 
+
 ---
  configure | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure b/configure
-index adead92..fa4fdb7 100755
+index 421cf859..a1b7840d 100755
 --- a/configure
 +++ b/configure
-@@ -4503,7 +4503,7 @@ if test "${cf_cv_ar_flags+set}" = set; then
- else
- 
-   cf_cv_ar_flags=unknown
--  for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv
-+  for cf_ar_flags in -curv curv -crv crv -cqv cqv -rv rv
-   do
+@@ -5072,7 +5072,7 @@ else
+   ;;
+   (*)
+   cf_cv_ar_flags=unknown
+-  for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv
++  for cf_ar_flags in -curv curv -crv crv -cqv cqv -rv rv
+   do
  
-   # check if $ARFLAGS already contains this choice
--- 
-1.8.3.1
-
+   # check if $ARFLAGS already contains this choice
diff --git 
a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
 
b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
index 1eb17767a0..a15694d4d4 100644
--- 
a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
+++ 
b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
@@ -1,4 +1,4 @@
-From 3b3e87934bb6d8511261d7c3d6e39b4f71849272 Mon Sep 17 00:00:00 2001
+From 10cd0c12a6e14fb4f0498c299c1dd32720b710da Mon Sep 17 00:00:00 2001
 From: Nathan Rossi 
 Date: Mon, 14 Dec 2020 13:39:02 +1000
 Subject: [PATCH] gen-pkgconfig.in: Do not include LDFLAGS in generated pc
@@ -10,19 +10,20 @@ includes build host specific paths and options (e.g. 
uninative and
 
 Upstream-Status: Inappropriate [OE Specific]
 Signed-off-by: Nathan Rossi 
+
 ---
  misc/gen-pkgconfig.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
-index 8f00b824b9..009d215663 100644
+index a45dd54f..85273054 100644
 --- a/misc/gen-pkgconfig.in
 +++ b/misc/gen-pkgconfig.in
-@@ -80,7 +80,7 @@ if [ "$includedir" != "/usr/include" ]; then
+@@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ]; then
  fi
  
  lib_flags=
--for opt in -L$libdir @LDFLAGS@ @EXTRA_LDFLAGS@ @LIBS@
+-for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@
 +for opt in -L$libdir @LIBS@
  do
case $opt in
diff --git a/meta/recipes-core/ncurses/ncurses_6.2.bb 
b/meta/recipes-core/ncurses/ncurses_6.3.bb
similarity index 91%
rename from meta/recipes-core/ncurses/ncurses_6.2.bb
rename to meta/recipes-core/ncurses/ncurses_6.3.bb
index e7d7396a20..f0256dad22 100644
--- a/meta/recipes-core/ncurses/ncurses_6.2.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.3.bb
@@ -5,7 +5,7 @@ SRC_URI += "file://0001-tic-hang.patch \

file://0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch \
"
 # commit id corresponds to the revision in package version
-SRCREV = "a669013cd5e9d6434e5301348ea51baf306c93c4"
+SRCREV = "51d0fd9cc3edb975f04224f29f777f8f448e8ced"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)$"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157495): 
https://lists.openembedded.org/g/openembedded-core/message/157495
Mute This Topic: https://lists.openembedded.org/mt/86623398/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/30] asciidoc: update 9.1.1 -> 10.0.0

2021-10-27 Thread Alexander Kanavin
Convert from autotools to setuptools.

Signed-off-by: Alexander Kanavin 
---
 .../{asciidoc_9.1.1.bb => asciidoc_10.0.0.bb} | 11 +++
 1 file changed, 3 insertions(+), 8 deletions(-)
 rename meta/recipes-extended/asciidoc/{asciidoc_9.1.1.bb => 
asciidoc_10.0.0.bb} (77%)

diff --git a/meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb 
b/meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb
similarity index 77%
rename from meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb
rename to meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb
index f295b80733..f7fa66851d 100644
--- a/meta/recipes-extended/asciidoc/asciidoc_9.1.1.bb
+++ b/meta/recipes-extended/asciidoc/asciidoc_10.0.0.bb
@@ -8,8 +8,8 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4e5d1baf6f20559e3bec172226a47e4e \
 file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 "
 
-SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=9.x"
-SRCREV = "08b430eb317c584aa6f02a3c4372035a4d8b92c4"
+SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=main"
+SRCREV = "4667219e473a24e8e645eb9b9fb0a7ddba322f44"
 
 DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native 
docbook-xsl-stylesheets-native"
 
@@ -19,14 +19,9 @@ S = "${WORKDIR}/git"
 # opens /etc/xml/catalog on the host. Depends on auto-catalogs.patch
 export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog"
 
-# Not using automake
-inherit autotools-brokensep
+inherit setuptools3
 CLEANBROKEN = "1"
 
-# target and nativesdk needs python3, but for native we can use the host.
-RDEPENDS:${PN} += "python3"
-RDEPENDS:remove:class-native = "python3"
-
 BBCLASSEXTEND = "native nativesdk"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))$"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157497): 
https://lists.openembedded.org/g/openembedded-core/message/157497
Mute This Topic: https://lists.openembedded.org/mt/86623400/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/30] tzdata: update 2021d -> 2021e

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

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

http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata
 \
@@ -14,6 +14,6 @@ SRC_URI =" 
http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz
 
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones;
 
-SRC_URI[tzcode.sha256sum] = 
"ed0d02be79b54f4449ba1f239aeaf9315da490bf32f401d302dcbba4921f591d"
-SRC_URI[tzdata.sha256sum] = 
"d7c188a2b33d4a3c25ee4a9fdc68c1ff462bfdb302cf41343d84ca5942dbddf6"
+SRC_URI[tzcode.sha256sum] = 
"584666393a5424d13d27ec01183da17703273664742e049d4f62f62dab631775"
+SRC_URI[tzdata.sha256sum] = 
"07ec42b737d0d3c6be9c337f8abb5f00554a0f9cc4fcf01a703d69403b6bb2b1"
 
-- 
2.20.1


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



[OE-core] [PATCH 18/30] vte: upgrade 0.64.2 -> 0.66.0

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

Signed-off-by: Alexander Kanavin 
---
 ...rrectly-substitute-gtkdoc-qemu-wrapp.patch | 24 +++
 .../vte/{vte_0.64.2.bb => vte_0.66.0.bb}  |  5 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 
meta/recipes-support/vte/vte/0001-Makefile.docs-correctly-substitute-gtkdoc-qemu-wrapp.patch
 rename meta/recipes-support/vte/{vte_0.64.2.bb => vte_0.66.0.bb} (91%)

diff --git 
a/meta/recipes-support/vte/vte/0001-Makefile.docs-correctly-substitute-gtkdoc-qemu-wrapp.patch
 
b/meta/recipes-support/vte/vte/0001-Makefile.docs-correctly-substitute-gtkdoc-qemu-wrapp.patch
new file mode 100644
index 00..c69a52e5d0
--- /dev/null
+++ 
b/meta/recipes-support/vte/vte/0001-Makefile.docs-correctly-substitute-gtkdoc-qemu-wrapp.patch
@@ -0,0 +1,24 @@
+From daa30d0039397a735d49ea535305ed0bc5f9d73b Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Tue, 26 Oct 2021 09:38:42 +0200
+Subject: [PATCH] Makefile.docs: correctly substitute gtkdoc qemu wrapper
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin 
+---
+ doc/reference/Makefile.docs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/reference/Makefile.docs b/doc/reference/Makefile.docs
+index b18f0a4..da18440 100644
+--- a/doc/reference/Makefile.docs
 b/doc/reference/Makefile.docs
+@@ -233,7 +233,7 @@ INSTALL_DATA = $(INSTALL) -m 644
+ 
+ GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(CPPFLAGS) $(CFLAGS)
+ GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(CFLAGS) $(LDFLAGS)
+-GTKDOC_RUN =
++GTKDOC_RUN = $(top_builddir)/gtkdoc-qemuwrapper
+ 
+ GTKDOC_CHECK_PATH = gtkdoc-check
+ GTKDOC_REBASE = gtkdoc-rebase
diff --git a/meta/recipes-support/vte/vte_0.64.2.bb 
b/meta/recipes-support/vte/vte_0.66.0.bb
similarity index 91%
rename from meta/recipes-support/vte/vte_0.64.2.bb
rename to meta/recipes-support/vte/vte_0.66.0.bb
index a79f2e4451..6676b7feeb 100644
--- a/meta/recipes-support/vte/vte_0.64.2.bb
+++ b/meta/recipes-support/vte/vte_0.66.0.bb
@@ -19,8 +19,9 @@ GIR_MESON_OPTION = 'gir'
 inherit gnomebase gtk-doc features_check upstream-version-is-even 
gobject-introspection
 
 # vapigen.m4 is required when vala is not present (but the one from vala 
should be used normally)
-SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
-SRC_URI[archive.sha256sum] = 
"2b3c820b65a667c1d8859ba20478be626d1519cc3159dac25f703330c6d07e18"
+SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
+
file://0001-Makefile.docs-correctly-substitute-gtkdoc-qemu-wrapp.patch"
+SRC_URI[archive.sha256sum] = 
"d0813ac00fb1d74d88851e765f755d496c83e097097358ea1baadb38b37b7b33"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-- 
2.20.1


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

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

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

diff --git a/meta/recipes-support/diffoscope/diffoscope_187.bb 
b/meta/recipes-support/diffoscope/diffoscope_188.bb
similarity index 92%
rename from meta/recipes-support/diffoscope/diffoscope_187.bb
rename to meta/recipes-support/diffoscope/diffoscope_188.bb
index e10a068cbb..d4fd112e37 100644
--- a/meta/recipes-support/diffoscope/diffoscope_187.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_188.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "diffoscope"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"e8340880eb9cce0d99498f71bcdb69c6cc4385c972b5bc12e739e71eaca29c5a"
+SRC_URI[sha256sum] = 
"cdbc401c78d59779ad8ebbb8e2008166f912e77c7ed3be8dc788d36948712ff5"
 
 RDEPENDS:${PN} += "binutils vim squashfs-tools python3-libarchive-c 
python3-magic python3-rpm"
 
-- 
2.20.1


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



[OE-core] [PATCH 17/30] libcap: upgrade 2.59 -> 2.60

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

Signed-off-by: Alexander Kanavin 
---
 ...1-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch | 2 +-
 meta/recipes-support/libcap/{libcap_2.59.bb => libcap_2.60.bb}  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libcap/{libcap_2.59.bb => libcap_2.60.bb} (96%)

diff --git 
a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
 
b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
index 6e43ba3366..89f6bcd65f 100644
--- 
a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
+++ 
b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
@@ -1,4 +1,4 @@
-From 75843ed8238523776683a8660621d74c06597f11 Mon Sep 17 00:00:00 2001
+From 42b3e19d4e584fb9b47fb471e02bb25de90ac641 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Thu, 14 Oct 2021 15:57:36 +0800
 Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl
diff --git a/meta/recipes-support/libcap/libcap_2.59.bb 
b/meta/recipes-support/libcap/libcap_2.60.bb
similarity index 96%
rename from meta/recipes-support/libcap/libcap_2.59.bb
rename to meta/recipes-support/libcap/libcap_2.60.bb
index 3d2592d962..030198c41b 100644
--- a/meta/recipes-support/libcap/libcap_2.59.bb
+++ b/meta/recipes-support/libcap/libcap_2.60.bb
@@ -16,7 +16,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${
 SRC_URI:append:class-nativesdk = " \

file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \
"
-SRC_URI[sha256sum] = 
"49f64ae40b113e53cbc161e22af7094e3bb4a0611fa33ef5a4257b011779f034"
+SRC_URI[sha256sum] = 
"06a92076ce39a78bd28089e32085f1bde7f3bfa448fad37d895c2358f760b2eb"
 
 UPSTREAM_CHECK_URI = 
"https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/;
 
-- 
2.20.1


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

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

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

diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb 
b/meta/recipes-sato/puzzles/puzzles_git.bb
index 1da9bb3676..1355630cf4 100644
--- a/meta/recipes-sato/puzzles/puzzles_git.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -17,7 +17,7 @@ SRC_URI = 
"git://git.tartarus.org/simon/puzzles.git;branch=main \
"
 
 UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "42cbd7688a7f05e0a5d56a603a04293307c1e1b2"
+SRCREV = "ad1c6ade2af0e681fb964a17cc3a031951047068"
 PE = "2"
 PV = "0.0+git${SRCPV}"
 
-- 
2.20.1


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

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

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

diff --git a/meta/recipes-sato/webkit/wpebackend-fdo_1.10.0.bb 
b/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb
similarity index 89%
rename from meta/recipes-sato/webkit/wpebackend-fdo_1.10.0.bb
rename to meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb
index f2d640f07a..ba6c54412a 100644
--- a/meta/recipes-sato/webkit/wpebackend-fdo_1.10.0.bb
+++ b/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb
@@ -13,7 +13,7 @@ inherit meson features_check pkgconfig
 REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"b89dfd3500a4dec711132cd7bff72599e67d56a419d000730e14bb99547509cc"
+SRC_URI[sha256sum] = 
"6239c9c15523410798d66315de6b491712ab30009ba180f3e0dd076d9b0074ac"
 
 # This is a tweak of upstream-version-is-even needed because
 # ipstream directory contains tarballs for other components as well.
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157491): 
https://lists.openembedded.org/g/openembedded-core/message/157491
Mute This Topic: https://lists.openembedded.org/mt/86623392/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/30] mpg123: upgrade 1.29.0 -> 1.29.2

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

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

diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.29.0.bb 
b/meta/recipes-multimedia/mpg123/mpg123_1.29.2.bb
similarity index 96%
rename from meta/recipes-multimedia/mpg123/mpg123_1.29.0.bb
rename to meta/recipes-multimedia/mpg123/mpg123_1.29.2.bb
index 0f4a36e0d3..ba09e1c619 100644
--- a/meta/recipes-multimedia/mpg123/mpg123_1.29.0.bb
+++ b/meta/recipes-multimedia/mpg123/mpg123_1.29.2.bb
@@ -10,7 +10,7 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e7b9c15fcfb986abb4cc5e8400a24169"
 
 SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2;
-SRC_URI[sha256sum] = 
"135e0172dfb6c7937a81f1188c27f9a47b0a337f7637680039ff3ee5fea3ce7d"
+SRC_URI[sha256sum] = 
"9071214ebdfc1b6ed0c0a85d530010bbb8ebc044cfe5ae5930e83f7e6b7937e6"
 
 UPSTREAM_CHECK_REGEX = "mpg123-(?P\d+(\.\d+)+)\.tar"
 
-- 
2.20.1


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

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

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

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
similarity index 98%
rename from meta/recipes-sato/webkit/webkitgtk_2.34.0.bb
rename to meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
index 906683041d..dde8963d04 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.34.1.bb
@@ -22,7 +22,7 @@ SRC_URI = 
"https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://0001-Fix-build-without-opengl-or-es.patch \
"
 
-SRC_URI[sha256sum] = 
"880c8ee626f67019f67557ca09e59a23ecf245e60f6173215f1a8823cb09af34"
+SRC_URI[sha256sum] = 
"443c1316705de024741748e85fe32324d299d9ee68e6feb340b89e4a04073dee"
 
 inherit cmake pkgconfig gobject-introspection perlnative features_check 
upstream-version-is-even gtk-doc
 
-- 
2.20.1


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

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

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

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157487): 
https://lists.openembedded.org/g/openembedded-core/message/157487
Mute This Topic: https://lists.openembedded.org/mt/86623388/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/30] gi-docgen: upgrade 2021.7 -> 2021.8

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

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-gnome/gi-docgen/gi-docgen_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb 
b/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb
index f319f96b0e..bacf983810 100644
--- a/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb
+++ b/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = 
"file://gi-docgen.py;beginline=1;endline=5;md5=2dc0f1f0120247
 
 SRC_URI = 
"git://gitlab.gnome.org/GNOME/gi-docgen.git;protocol=https;branch=main"
 
-PV = "2021.7"
-SRCREV = "8401357079fdd2f61bff0e110d7379635b73ead8"
+PV = "2021.8"
+SRCREV = "a284455af9b3cad179900f6e1f12b59a3d40c06b"
 
 S = "${WORKDIR}/git"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157485): 
https://lists.openembedded.org/g/openembedded-core/message/157485
Mute This Topic: https://lists.openembedded.org/mt/86623386/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/30] msmtp: upgrade 1.8.17 -> 1.8.18

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

Signed-off-by: Alexander Kanavin 
---
 .../recipes-extended/msmtp/{msmtp_1.8.17.bb => msmtp_1.8.18.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/msmtp/{msmtp_1.8.17.bb => msmtp_1.8.18.bb} (91%)

diff --git a/meta/recipes-extended/msmtp/msmtp_1.8.17.bb 
b/meta/recipes-extended/msmtp/msmtp_1.8.18.bb
similarity index 91%
rename from meta/recipes-extended/msmtp/msmtp_1.8.17.bb
rename to meta/recipes-extended/msmtp/msmtp_1.8.18.bb
index b451ff7f28..1a6cf72392 100644
--- a/meta/recipes-extended/msmtp/msmtp_1.8.17.bb
+++ b/meta/recipes-extended/msmtp/msmtp_1.8.18.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 UPSTREAM_CHECK_URI = "https://marlam.de/msmtp/download/;
 
 SRC_URI = "https://marlam.de/${BPN}/releases/${BP}.tar.xz;
-SRC_URI[sha256sum] = 
"0fddbe74c1a9dcf6461b4a1b0db3e4d34266184500c403d7f107ad42db4ec4d3"
+SRC_URI[sha256sum] = 
"14fc62af37ebdcc5ed19a245a05eb8376efe7016118f00c9c594bc999d5560a5"
 
 inherit gettext autotools update-alternatives pkgconfig
 
-- 
2.20.1


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

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

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

diff --git a/meta/recipes-graphics/piglit/piglit_git.bb 
b/meta/recipes-graphics/piglit/piglit_git.bb
index 4b515cc537..0a3de466c7 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -18,7 +18,7 @@ SRC_URI = 
"git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma
"
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRCREV = "014c9d09115e15f5a074457a753bf3a43173ef7f"
+SRCREV = "83bc56abf2686e2cd9024a152e121ca4aa524985"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr${SRCPV}"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157486): 
https://lists.openembedded.org/g/openembedded-core/message/157486
Mute This Topic: https://lists.openembedded.org/mt/86623387/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/30] python3-pip: upgrade 21.3 -> 21.3.1

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

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

diff --git a/meta/recipes-devtools/python/python3-pip_21.3.bb 
b/meta/recipes-devtools/python/python3-pip_21.3.1.bb
similarity index 89%
rename from meta/recipes-devtools/python/python3-pip_21.3.bb
rename to meta/recipes-devtools/python/python3-pip_21.3.1.bb
index 924a564f62..6ddb1d6296 100644
--- a/meta/recipes-devtools/python/python3-pip_21.3.bb
+++ b/meta/recipes-devtools/python/python3-pip_21.3.1.bb
@@ -10,7 +10,7 @@ inherit pypi distutils3
 
 SRC_URI += "file://0001-change-shebang-to-python3.patch"
 
-SRC_URI[sha256sum] = 
"741a61baab1dbce2d8ca415effa48a2b6a964564f81a9f4f1fce4c433346c034"
+SRC_URI[sha256sum] = 
"fd11ba3d0fdb4c07fbc5ecbba0b1b719809420f25038f8ee3cd913d3faa3033a"
 
 do_install:append() {
 # Install as pip3 and leave pip2 as default
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157482): 
https://lists.openembedded.org/g/openembedded-core/message/157482
Mute This Topic: https://lists.openembedded.org/mt/86623382/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/30] python3-setuptools: upgrade 58.2.0 -> 58.3.0

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

Signed-off-by: Alexander Kanavin 
---
 ...01-conditionally-do-not-fetch-code-by-easy_install.patch | 6 +++---
 ...n3-setuptools_58.2.0.bb => python3-setuptools_58.3.0.bb} | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_58.2.0.bb => 
python3-setuptools_58.3.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 d1c77a971c..46546ebba6 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 543f12f43e10b242802009ac1d03ded800526934 Mon Sep 17 00:00:00 2001
+From 58b614411867a31cf5f9684a45fe519b8e4f3e7b 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,10 +15,10 @@ 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 b88c3e9..dcd2898 100644
+index 1aed0e8..f491c0a 100644
 --- a/setuptools/command/easy_install.py
 +++ b/setuptools/command/easy_install.py
-@@ -636,6 +636,11 @@ class easy_install(Command):
+@@ -642,6 +642,11 @@ class easy_install(Command):
  os.path.exists(tmpdir) and rmtree(tmpdir)
  
  def easy_install(self, spec, deps=False):
diff --git a/meta/recipes-devtools/python/python3-setuptools_58.2.0.bb 
b/meta/recipes-devtools/python/python3-setuptools_58.3.0.bb
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_58.2.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_58.3.0.bb
index b37c44854c..47107ba61d 100644
--- a/meta/recipes-devtools/python/python3-setuptools_58.2.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_58.3.0.bb
@@ -13,7 +13,7 @@ SRC_URI += "\
 file://0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch \
 "
 
-SRC_URI[sha256sum] = 
"2c55bdb85d5bb460bd2e3b12052b677879cffcf46c0c688f2e5bf51d36001145"
+SRC_URI[sha256sum] = 
"b0c2461641b58fe30e11d4c3dfba316c513bdf9ec85f9fed0c871c678447205e"
 
 DEPENDS += "${PYTHON_PN}"
 
-- 
2.20.1


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

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

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

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157481): 
https://lists.openembedded.org/g/openembedded-core/message/157481
Mute This Topic: https://lists.openembedded.org/mt/86623381/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/30] stress-ng: convert to git, website is down

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...write-the-timestamp-into-compressed-.patch | 26 +++
 .../stress-ng/stress-ng_0.13.00.bb|  8 +++---
 2 files changed, 31 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch

diff --git 
a/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch
 
b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch
new file mode 100644
index 00..21a410f605
--- /dev/null
+++ 
b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch
@@ -0,0 +1,26 @@
+From 2386cd8f907b379ae5cc1ce2888abef7d30e709a Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Sat, 23 Oct 2021 20:20:59 +0200
+Subject: [PATCH] Makefile: do not write the timestamp into compressed manpage.
+
+This helps reproducibility.
+
+Upstream-Status: Submitted [https://github.com/ColinIanKing/stress-ng/pull/156]
+Signed-off-by: Alexander Kanavin 
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 886018f9..f4290f9c 100644
+--- a/Makefile
 b/Makefile
+@@ -468,7 +468,7 @@ git-commit-id.h:
+ $(OBJS): stress-ng.h Makefile
+ 
+ stress-ng.1.gz: stress-ng.1
+-  $(V)gzip -c $< > $@
++  $(V)gzip -n -c $< > $@
+ 
+ .PHONY: dist
+ dist:
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb 
b/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb
index 198f7e87c7..5889569e50 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb
@@ -1,14 +1,16 @@
 SUMMARY = "System load testing utility"
 DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \
 imposes a configurable amount of CPU, memory, I/O, and disk stress on the 
system."
-HOMEPAGE = "https://kernel.ubuntu.com/~cking/stress-ng/;
+HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme;
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \
+SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https \

file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \
+   
file://0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch \
"
-SRC_URI[sha256sum] = 
"1cefe4a3057c1522b146e62f61b80ce6e2e99da2d85ebe25bc03fc45228e58cd"
+SRCREV = "61b454b4a3a9d052e63c78a9574ccf8a650575dc"
+S = "${WORKDIR}/git"
 
 DEPENDS = "coreutils-native"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157478): 
https://lists.openembedded.org/g/openembedded-core/message/157478
Mute This Topic: https://lists.openembedded.org/mt/86623378/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/30] createrepo-c: upgrade 0.17.6 -> 0.17.7

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

Signed-off-by: Alexander Kanavin 
---
 .../{createrepo-c_0.17.6.bb => createrepo-c_0.17.7.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/createrepo-c/{createrepo-c_0.17.6.bb => 
createrepo-c_0.17.7.bb} (96%)

diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.6.bb 
b/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.7.bb
similarity index 96%
rename from meta/recipes-devtools/createrepo-c/createrepo-c_0.17.6.bb
rename to meta/recipes-devtools/createrepo-c/createrepo-c_0.17.7.bb
index f9fa8f52d3..739a2dcf7d 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.6.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.7.bb
@@ -8,7 +8,7 @@ SRC_URI = 
"git://github.com/rpm-software-management/createrepo_c \
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
"
 
-SRCREV = "d764fe9b386aa8da1aca58b9bc3dc061f52e8f28"
+SRCREV = "c4e6808c710ec68e56bd93b0366f3b6cbeee3167"
 
 S = "${WORKDIR}/git"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157480): 
https://lists.openembedded.org/g/openembedded-core/message/157480
Mute This Topic: https://lists.openembedded.org/mt/86623380/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/30] json-c: correct upstream version check

2021-10-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/json-c/json-c_0.15.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/json-c/json-c_0.15.bb 
b/meta/recipes-devtools/json-c/json-c_0.15.bb
index 863463ca51..a4673a2f0e 100644
--- a/meta/recipes-devtools/json-c/json-c_0.15.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.15.bb
@@ -8,7 +8,7 @@ SRC_URI = 
"https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz;
 
 SRC_URI[sha256sum] = 
"b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6"
 
-UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases;
+UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags;
 UPSTREAM_CHECK_REGEX = "json-c-(?P\d+(\.\d+)+)-\d+"
 
 RPROVIDES:${PN} = "libjson"
-- 
2.20.1


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

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

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-core/psplash/psplash_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/psplash/psplash_git.bb 
b/meta/recipes-core/psplash/psplash_git.bb
index 1be7ece79d..28f385b7ba 100644
--- a/meta/recipes-core/psplash/psplash_git.bb
+++ b/meta/recipes-core/psplash/psplash_git.bb
@@ -6,7 +6,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = 
"file://psplash.h;beginline=1;endline=8;md5=8f232c1e95929eacab37f00900580224"
 DEPENDS = "gdk-pixbuf-native"
 
-SRCREV = "0a902f7cd875ccf018456451be369f05fa55f962"
+SRCREV = "fdbd111d6bab2fbbae62a041123fc6b644aa97aa"
 PV = "0.1+git${SRCPV}"
 PR = "r15"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157477): 
https://lists.openembedded.org/g/openembedded-core/message/157477
Mute This Topic: https://lists.openembedded.org/mt/86623377/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/3] SPDX: Add annotations to relationship

2021-10-27 Thread Jose Quaresma
Hi all,

There are any plans or is it possible to backport the SBOM/SPDX to the
dunfell branch?
Doing a quick look on it I see that it is not too intrusive and the most
one is in
 classes/package: Add extended packaged data
 7ec54b174304e940ec66f21ac512f7b50fa637b3

Jose

Saul Wold  escreveu no dia quarta, 27/10/2021 à(s)
02:31:

> Add annotations to relationships and refactor code to add
> create_annotation() function for code reuse.
>
> Ensure that "cross" recipes are factored into isNative also.
>
> v2: removed leftover and unused annotation per Joshua
>
> Sau!
>
> Saul Wold (3):
>   spdx.py: Add annotation to relationship
>   create-spdx: add create_annotation function
>   create-spdx: cross recipes are native also
>
>  classes/create-spdx.bbclass | 22 ++
>  lib/oe/spdx.py  |  6 +-
>  2 files changed, 19 insertions(+), 9 deletions(-)
>
> --
> 2.31.1
>
>
> 
>
>

-- 
Best regards,

José Quaresma

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



  1   2   >