[PATCH] [OE-core] [PATCHv2] systemtap: upgrade 4.3 -> 4.4

2020-11-23 Thread zangrc
The test log of oe-selftest is as follows: 2020-11-23 15:48:49,144 - oe-selftest - INFO - test_crosstap_helloworld (runtime_test.SystemTap) 2020-11-23 17:06:55,949 - oe-selftest - INFO - ... ok 2020-11-23 17:06:55,951 - oe-selftest - INFO - test_crosstap_pstree (runtime_test.SystemTap) 2020-11-2

[OE-core][dunfell 0/5] Pull request (cover letter only)

2020-11-23 Thread Steve Sakoman
The following changes since commit 84e1a32096db9deb98d282a652beec95dbfe80f1: python3: add ldconfig rdepends for python3-ctypes (2020-11-17 07:34:27 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next http://cgit.openembed

[OE-core] [PATCH 3/3] uninative: Don't use single sstate for pseudo-native

2020-11-23 Thread Richard Purdie
pseudo-native is a bit special. It conditionally compiles in support for xattr, statx and statvfs amongst other options. If a pseudo-native binary is used on a system where these functions are present but it wasn't compiled in we see hard to debug permissions problems. An example is the devtool.De

[OE-core] [PATCH 2/3] e2fsprogs: Fix a ptest permissions determinism issue

2020-11-23 Thread Richard Purdie
When comparing builds built with different host umasks, this file jumped out. The umask from do_compile was influencing ${D} and as cp was used to add the file it wasn't deterministic. Fix the file mode to ensure determinism. Signed-off-by: Richard Purdie --- meta/recipes-devtools/e2fsprogs/e2fs

[OE-core] [PATCH 1/3] fs-perms: Ensure /usr/src/debug/ file modes are correct

2020-11-23 Thread Richard Purdie
If files are copied into /usr/src/debug directly from WORKDIR (e.g. makedevs) we'd get the permissions from the checkout which would depend on the host umask. Avoid this and be deterministic by setting the file modes consistently. Core code copies the files in so we're responsible for the permissi

Re: [OE-core] [PATCH] libsdl2: Add directfb to PACKAGECONFIG rdepends

2020-11-23 Thread Andre McCurdy
On Mon, Nov 23, 2020 at 11:14 AM Mark Jonas wrote: > > When building libsdl2 with PACKAGECONFIG[directfb] then directfb is > added to the DEPENDS. But the automatically generated runtime > dependencies do not add the directfb package to the runtime > dependencies. Most likely this happens because

Re: [OE-core][PATCH v2 1/2] bitbake.conf: Split optimization into common part

2020-11-23 Thread Richard Purdie
On Mon, 2020-11-23 at 20:00 +0100, Andrej Valek wrote: > This option allows correctly handle the release/debug flags > separation in > upper recipe like cmake. Adopt SELECTED_OPTIMIZATION usage in other > recipes. > > Signed-off-by: Andrej Valek > Signed-off-by: Pascal Bach > Signed-off-by: Adri

[OE-core] [PATCH] libsdl2: Add directfb to PACKAGECONFIG rdepends

2020-11-23 Thread Mark Jonas
When building libsdl2 with PACKAGECONFIG[directfb] then directfb is added to the DEPENDS. But the automatically generated runtime dependencies do not add the directfb package to the runtime dependencies. Most likely this happens because libsdl2 does not link against directfb but uses dlopen() or si

[OE-core][PATCH v2 1/2] bitbake.conf: Split optimization into common part

2020-11-23 Thread Andrej Valek
This option allows correctly handle the release/debug flags separation in upper recipe like cmake. Adopt SELECTED_OPTIMIZATION usage in other recipes. Signed-off-by: Andrej Valek Signed-off-by: Pascal Bach Signed-off-by: Adrian Freihofer --- meta/conf/bitbake.conf|

[OE-core][PATCH v2 2/2] cmake: split release and debug flags

2020-11-23 Thread Andrej Valek
Keep only flags related to release in particular part _RELEASE (same for debug). This option allows to really use the Release/Debug build type in cmake. The corresponding build type will have corresponding flags set with/without optimization. Flags are respecting selected optimization from the whol

[OE-core] [gatesgarth][PATCH] kernel: Set proper LD in KERNEL_KCONFIG_COMMAND

2020-11-23 Thread Wonmin Jung
With 'ld-is-gold' and linux kernel 5.4 or later, menuconfig task for kernel recipes will fail with: $ bitbake -c menuconfig virtual/kernel ... scripts/kconfig/mconf Kconfig scripts/Kconfig.include:43: gold linker 'x86_64-poky-linux-ld' not supported /OE/build/tmp/work-shared/qemux86-64/kernel-so

[OE-core] [dunfell][PATCH] kernel: Set proper LD in KERNEL_KCONFIG_COMMAND

2020-11-23 Thread Wonmin Jung
With 'ld-is-gold' and linux kernel 5.4 or later, menuconfig task for kernel recipes will fail with: $ bitbake -c menuconfig virtual/kernel ... scripts/kconfig/mconf Kconfig scripts/Kconfig.include:43: gold linker 'x86_64-poky-linux-ld' not supported /OE/build/tmp/work-shared/qemux86-64/kernel-so

[OE-core] [gatesgarth][PATCH 13/21] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield The upstream commit 596b0474d3d [kbuild: preprocess module linker script], adds a dependency on module.lds for external module building. Since module.lds is generated as part of 'modules_prepare', we must make it available with the other kernel artifacts in the kernel shared

[OE-core] [gatesgarth][PATCH 12/21] linux-yocto/5.4: update to v5.4.75

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 6e97ed6efa70 Linux 5.4.75 6ce4da84e5f4 staging: octeon: Drop on uncorrectable alignment or FCS error b869f6b67274 staging: octeon: repair "fixed-link" support 15

[OE-core] [gatesgarth][PATCH 21/21] qemu: fix CVE-2020-24352

2020-11-23 Thread Anuj Mittal
From: Lee Chee Yang Signed-off-by: Lee Chee Yang Signed-off-by: Anuj Mittal --- meta/recipes-devtools/qemu/qemu.inc | 1 + .../qemu/qemu/CVE-2020-24352.patch| 52 +++ 2 files changed, 53 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/CV

[OE-core] [gatesgarth][PATCH 20/21] python3: fix CVE-2020-27619

2020-11-23 Thread Anuj Mittal
From: Lee Chee Yang Signed-off-by: Lee Chee Yang Signed-off-by: Anuj Mittal --- .../python/python3/CVE-2020-27619.patch | 71 +++ meta/recipes-devtools/python/python3_3.8.5.bb | 1 + 2 files changed, 72 insertions(+) create mode 100644 meta/recipes-devtools/python/pytho

[OE-core] [gatesgarth][PATCH 19/21] libproxy: fix CVE-2020-26154

2020-11-23 Thread Anuj Mittal
From: Lee Chee Yang Signed-off-by: Lee Chee Yang Signed-off-by: Anuj Mittal --- .../libproxy/libproxy/CVE-2020-26154.patch| 98 +++ .../libproxy/libproxy_0.4.15.bb | 1 + 2 files changed, 99 insertions(+) create mode 100644 meta/recipes-support/libproxy/libp

[OE-core] [gatesgarth][PATCH 18/21] linux-firmware: rdepend on license for all nvidia packages

2020-11-23 Thread Anuj Mittal
From: Max Krummenacher Fixes commit 0671d04978 ("linux-firmware: package nvidia firmware") Signed-off-by: Max Krummenacher Signed-off-by: Richard Purdie (cherry picked from commit 59789dea33629a96f0fe5646eb684aa131e167bf) Signed-off-by: Anuj Mittal --- meta/recipes-kernel/linux-firmware/linu

[OE-core] [gatesgarth][PATCH 17/21] roofs_*.bbclass: fix missing vardeps for do_rootfs

2020-11-23 Thread Anuj Mittal
From: Loic Domaigne As per lib/oe/rootfs.py and lib/oe/package_manager/???/__init__.py the PACKAGE_FEED baseurl is defined as the joined paths of: URIS/BASE_PATHS/ARCHS Therefore, the do_rootfs task should depend furthermore on PACKAGE_FEED_{BASE_PATHS,ARCHS} to properly retrigger a build if the

[OE-core] [gatesgarth][PATCH 16/21] weston-init: Fix incorrect idle-time setting

2020-11-23 Thread Anuj Mittal
From: Alistair Signed-off-by: Alistair Francis Signed-off-by: Richard Purdie (cherry picked from commit 84b3a6b7bd73ebad90865ee4351578c2109358fb) Signed-off-by: Anuj Mittal --- meta/recipes-graphics/wayland/weston-init.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/met

[OE-core] [gatesgarth][PATCH 08/21] linux-yocto-dev: move to v5.10-rc

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry picked from commit a04e56631c4bc7fac58e2f157beea3423195ad8e) Signed-off-by: Anuj Mittal --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[OE-core] [gatesgarth][PATCH 15/21] kernel: Set proper LD in KERNEL_KCONFIG_COMMAND

2020-11-23 Thread Anuj Mittal
From: Wonmin Jung With 'ld-is-gold' and linux kernel 5.4 or later, menuconfig task for kernel recipes will fail with: $ bitbake -c menuconfig virtual/kernel ... scripts/kconfig/mconf Kconfig scripts/Kconfig.include:43: gold linker 'x86_64-poky-linux-ld' not supported /OE/build/tmp/work-shared/

[OE-core] [gatesgarth][PATCH 14/21] kernel: relocate copy of module.lds to module compilation task

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield There were two copies of this patch floating around, and the merged variant has the copy in the wrong place. module.lds is only created during modules_prepare, and that target is not invoked during our main build of the kernel. We aren't about to change the kernel build (the

[OE-core] [gatesgarth][PATCH 09/21] linux-yocto/5.4: config cleanup / warnings

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Integrating the following commit(s): eadca496e9f bsp/mti-malta64: fix warning of CONFIG_SCSI_VIRTIO on qemumips64 203911bc035 net/l2tp.cfg: fix CONFIG_PPPOL2TP mismatched warnings Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry picked from comm

[OE-core] [gatesgarth][PATCH 07/21] linux-yocto/5.4: update to v5.4.73

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: bde3f94035b0 Linux 5.4.73 3c7ccd7d4ace usb: gadget: f_ncm: allow using NCM in SuperSpeed Plus gadgets. efb893a56cea eeprom: at25: set minimum read/write access strid

[OE-core] [gatesgarth][PATCH 11/21] linux-yocto/5.8: update to v5.8.18

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits: ab435ce49bd1 Linux 5.8.18 4a5649e0d379 phy: marvell: comphy: Convert internal SMCC firmware return codes to errno b8049438969b misc: rtsx: do not setting OC_POWER_D

[OE-core] [gatesgarth][PATCH 10/21] linux-yocto/5.8: config cleanup / warnings

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Integrating the following commit(s) to: d5ca337b7e9 bsp/mti-malta64: fix warning of CONFIG_SCSI_VIRTIO on qemumips64 63c7a70c90f net/l2tp.cfg: fix CONFIG_PPPOL2TP mismatched warnings Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry picked from c

[OE-core] [gatesgarth][PATCH 06/21] linux-yocto/5.8: update to v5.8.17

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits: 33156ccb29d9 Linux 5.8.17 05981710aa5e usb: gadget: f_ncm: allow using NCM in SuperSpeed Plus gadgets. 5a30d4a5afcc eeprom: at25: set minimum read/write access strid

[OE-core] [gatesgarth][PATCH 03/21] linux-yocto/5.4: update to v5.4.71

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 85b0841aab15 Linux 5.4.71 22e6625babfc net_sched: commit action insertions together a5de4ee6d055 net_sched: defer tcf_idr_insert() in tcf_action_init_1() dbb7631

[OE-core] [gatesgarth][PATCH 05/21] linux-yocto/5.4: update to v5.4.72

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 52f6ded2a377 Linux 5.4.72 865b015e8d41 crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA aa1167908ac4 crypto: bcm - Verify GCM/CCM key length in setkey

[OE-core] [gatesgarth][PATCH 04/21] linux-yocto/5.8: update to v5.8.16

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits: c5464f4be19b Linux 5.8.16 4cadc0dd5ce2 reiserfs: Fix oops during mount 492f415bb105 reiserfs: Initialize inode keys properly 27319196d104 USB: serial: ftdi_sio:

[OE-core] [gatesgarth][PATCH 01/21] bluez5: update to 5.55

2020-11-23 Thread Anuj Mittal
From: Chee Yang Lee Release note: https://github.com/bluez/bluez/commit/5a180f2ec9edfacafd95e5fed20d36fe8e077f07 Signed-off-by: Chee Yang Lee Signed-off-by: Richard Purdie (cherry picked from commit c2895e3e4eabca64cbcc8682e72d25026df5e5f0) Signed-off-by: Anuj Mittal --- .../bluez5/{bluez5_5

[OE-core] [gatesgarth][PATCH 02/21] linux-yocto/5.8: update to v5.8.15

2020-11-23 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits: 665c6ff082e2 Linux 5.8.15 03b7311c2d35 net_sched: commit action insertions together 1e02bbf908d3 net_sched: defer tcf_idr_insert() in tcf_action_init_1() b6a788a

[OE-core] [gatesgarth][PATCH 00/21] gatesgarth patch review request

2020-11-23 Thread Anuj Mittal
Please review these next set of changes for gatesgarth. These build cleanly on the autobuilder except for one unrelated failure while running ltp tests: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1619 Thanks, Anuj The following changes since commit 3a4ac9d028e6d7840660bb9

Re: [OE-core][PATCH 2/2] cmake: split release and debug flags

2020-11-23 Thread Khem Raj
I am seeing several failures due to this series see https://errors.yoctoproject.org/Errors/Build/113114/ On Sun, Nov 22, 2020 at 4:49 AM Andrej Valek wrote: > > Keep only flags related to release in particular part _RELEASE (same for > debug). This option allows to really use the Release/Debug b

[OE-core] [PATCH v3] util-linux: split uuid in separate recipe to allow bootstrapping

2020-11-23 Thread Luca Bocassi
From: Luca Boccassi In v2.35 util-linux gained an (optional) build dependency on libcryptsetup. But libcryptsetup build-depends on util-linux for blkid (optional, can be disabled) and uuid (mandatory). Split out util-linux-uuid in a different recipe to break the cycle. Add a packageconfig switc

[oe-core][PATCH] lttng-modules: Backport a patch to fix btrfs build failure

2020-11-23 Thread He Zhe
lttng-modules-2.12.3/probes/lttng-probe-btrfs.c:36: lttng-modules-2.12.3/probes/../probes/lttng-tracepoint-event-impl.h:131:6: error: conflicting types for 'trace_find_free_extent' Signed-off-by: He Zhe --- ...oints-output-proper-root-owner-for-t.patch | 318 ++ .../lttng/lttng-m

Re: [OE-core] [PATCH 1/2] systemd-systemctl: capable to call without argument

2020-11-23 Thread kai
On 11/17/20 10:14 AM, Kai wrote: Ping. Ping... On 11/2/20 10:17 AM, kai wrote: From: Kai Kang Make systemctl prints help mesages if run without any argument. It helps to judge whether systemctl works in postscripts in systemd.bbclass. Remove trailing white spaces as well. Signed-off-by: