[PATCH] [OE-core] [PATCH] parted: upgrade 3.3 -> 3.4

2021-02-09 Thread Wang Mingyu
0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch 0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch 0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch removed since they are included in 3.4 Add python3-core to RDEPENDS_parted-ptest since

Re: [OE-core] [PATCH 2/2] cve-check: add include/exclude layers

2021-02-09 Thread Richard Purdie
On Mon, 2021-02-08 at 07:55 -0800, akuster808 wrote: > > On 2/8/21 2:16 AM, Richard Purdie wrote: > > On Mon, 2021-02-08 at 05:51 +, akuster wrote: > > > There are times when exluding or including a layer > > > may be desired. This provide the framwork for that via > > > two variables. The

[OE-core] libsystemd is missing ?

2021-02-09 Thread Ramon Fried
Hi. I stumbled upon a recipe which needs libsystemd (fluentbit). In the configuration phase, during pkg-config, it fails finding libsystemd. Specifically, it fails to find the journald header file: sd-journal.h Am I missing some configuration, or systemd recipe doesn't install the dev libraries,

Re: [OE-core] [PATCH] mpg123: Add support for FPU-less targets

2021-02-09 Thread Khem Raj
is --with-cpu=generic_nofpu applicable for all soft fpu machines or just arm ? I wonder if it will improve or regress other nofpu machines. Do you have any data On Tue, Feb 9, 2021 at 6:16 AM wrote: > > From: Robert Rosengren > > Support added to configure mpg123 for FPU-less targets. Building

[OE-core] [PATCH] tcf-agent: Fix build on riscv32

2021-02-09 Thread Khem Raj
LCL_STOP_SERVICES needs tcf/cpudefs-mdep.h ported Signed-off-by: Khem Raj --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb index

Re: [OE-core] [PATCH] qemu: CVE-2018-18438 Security Advisory

2021-02-09 Thread Steve Sakoman
On Fri, Jan 22, 2021 at 4:05 AM Richard Purdie wrote: > > On Fri, 2021-01-22 at 10:14 +, Richard Purdie via > lists.openembedded.org wrote: > > On Fri, 2021-01-22 at 15:15 +0800, Wang Mingyu wrote: > > > > > > diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2018-18438.patch > > >

[OE-core] [PATCH] opkg: Fix patch glitches

2021-02-09 Thread Richard Purdie
The original patch contained some text which shouldn't have been there and used brackets in configure which isn't a great idea. Tweak the patch to resolve this. Signed-off-by: Richard Purdie --- meta/recipes-devtools/opkg/opkg/sourcedateepoch.patch | 5 ++--- 1 file changed, 2 insertions(+), 3

Re: [OE-core][dunfell 23/28] opkg: Fix build reproducibility issue

2021-02-09 Thread Steve Sakoman
On Tue, Feb 9, 2021 at 4:34 AM Richard Purdie wrote: > > On Mon, 2021-02-08 at 03:52 -1000, Steve Sakoman wrote: > > From: Richard Purdie > > > > A build date was leaking into the generated docs and makefile used for > > ptests leading to reproducibility issues each time the month changed. > > >

Re: [OE-core] libsystemd is missing ?

2021-02-09 Thread Bruce Ashfield
On Tue, Feb 9, 2021 at 3:29 AM Ramon Fried wrote: > > Hi. > I stumbled upon a recipe which needs libsystemd (fluentbit). > In the configuration phase, during pkg-config, it fails finding libsystemd. > Specifically, it fails to find the journald header file: sd-journal.h > > Am I missing some

[OE-core] [PATCH] mpg123: Add support for FPU-less targets

2021-02-09 Thread robert . rosengren
From: Robert Rosengren Support added to configure mpg123 for FPU-less targets. Building for fixed-point arithmetic increases performance on such devices. Signed-off-by: Robert Rosengren --- meta/recipes-multimedia/mpg123/mpg123_1.26.4.bb | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [OE-core] [oe] [bitbake-devel] Backport changes for _PYTHON_SYSCONFIGDATA_NAME to Gatesgarth and Dunfell

2021-02-09 Thread Steve Sakoman
On Mon, Feb 8, 2021 at 1:45 PM Peter Kjellerstedt wrote: > > As agreed upon on the Yocto Project Technical Team Meeting a week ago, I have > created branches for both Gatesgarth and Dunfell in openembedded-core-contrib > and meta-openembedded-contrib with the required patches. The branches are

Re: [OE-core][dunfell 23/28] opkg: Fix build reproducibility issue

2021-02-09 Thread Richard Purdie
On Mon, 2021-02-08 at 03:52 -1000, Steve Sakoman wrote: > From: Richard Purdie > > A build date was leaking into the generated docs and makefile used for > ptests leading to reproducibility issues each time the month changed. > > Add a patch to use SOURCE_DATE_EPOCH to derive it if available. >

Re: [OE-core] [PATCH] opkg: Fix patch glitches

2021-02-09 Thread Matt Madison
On Tue, Feb 9, 2021 at 6:34 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > The original patch contained some text which shouldn't have been there > and used brackets in configure which isn't a great idea. Tweak the patch > to resolve this. > > Signed-off-by: Richard Purdie >

Re: [OE-core] [PATCH] opkg: Fix patch glitches

2021-02-09 Thread Richard Purdie
On Tue, 2021-02-09 at 07:16 -0800, Matt Madison wrote: > > > On Tue, Feb 9, 2021 at 6:34 AM Richard Purdie > wrote: > > The original patch contained some text which shouldn't have been > > there > > and used brackets in configure which isn't a great idea. Tweak the > > patch > > to resolve

[OE-core] Yocto Project Status WW06`21

2021-02-09 Thread Stephen Jolley
Current Dev Position: YP 3.3 M3 development Next Deadline: 1st March 2021 YP 3.3 M3 build Next Team Meetings: * Bug Triage meeting Thursday Feb. 11th at 7:30am PDT (

Re: [OE-core] [PATCH] license_image: Introduce SKIP_LICENSE_MANIFEST_RECIPES variable to prevent from trying to use license recipeinfo file from image recipes

2021-02-09 Thread Richard Purdie
On Tue, 2021-02-09 at 16:37 +0100, Tomasz Dziendzielski wrote: > > Thanks for the answer. > > > I've been giving this some thought and I really don't like having > > to > > remember to manually add special cases like this, it sounds/looks > > like > > something we should really fix in a better

[OE-core] [gatesgarth][PATCH 12/35] sanity.bbclass: Check if PSEUDO_IGNORE_PATHS and paths under pseudo control overlap

2021-02-09 Thread Anuj Mittal
From: Dorinda Added a sanity check for when PSEUDO_IGNORE_PATHS and paths under pseudo control overlap to avoid random failures generated. [YOCTO #14193] Signed-off-by: Dorinda Bassey Signed-off-by: Richard Purdie (cherry picked from commit 6e4bd8cabcdedf4b52345ef5eb421f71d0f19b1d)

[OE-core] [gatesgarth][PATCH 11/35] linux-yocto/5.4: update to v5.4.94

2021-02-09 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 0fbca6ce4174 Linux 5.4.94 315cd8fc2ad2 fs: fix lazytime expiration handling in __writeback_single_inode() 5f8b8fccdfbc writeback: Drop I_DIRTY_TIME_EXPIRE

[OE-core] [gatesgarth][PATCH 14/35] openssl: set CVE_VERSION_SUFFIX

2021-02-09 Thread Anuj Mittal
From: Lee Chee Yang Signed-off-by: Lee Chee Yang Signed-off-by: Richard Purdie (cherry picked from commit 17df664a32a74f17baaef8c31ac23adec2d6255f) Signed-off-by: Anuj Mittal --- meta/recipes-connectivity/openssl/openssl_1.1.1i.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git

[OE-core] [gatesgarth][PATCH 09/35] linux-yocto/5.4: update to v5.4.90

2021-02-09 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: ceed81a883dc Linux 5.4.90 6f484096196b regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init() bbb2fee395e9 net: drop bogus skb with CHECKSUM_PARTIAL

[OE-core] [gatesgarth][PATCH 07/35] python3: Avoid installing test data into recipe-sysroot

2021-02-09 Thread Anuj Mittal
From: Richard Purdie There are several thousand files in the test directory which we don't need. Adding these for the native and target sysroots is a crazy amount of files to be throwing around needlessly. Delete the files from the sysroot side of things to tidy up the sysroots and improve

[OE-core] [gatesgarth][PATCH 06/35] ncurses: Don't put terminfo into the sysroot

2021-02-09 Thread Anuj Mittal
From: Richard Purdie This recudes the file count from ~2850 to ~100 which is a huge win for reducing build directory clutter, its unlikely anything uses the terminfo data or man pages in the sysroot. This is especially helpful as we usually end up with two copies of these sets of files.

[OE-core] [gatesgarth][PATCH 08/35] staging: Clean up files installed into the sysroot

2021-02-09 Thread Anuj Mittal
From: Richard Purdie There are a variety of files being installed into $datadir which we don't need. Pick the top "offenders" which amount of thousands of files and simply don't install them. These include things like test data, terminfo data, locale data for native tools and so on. This saves

[OE-core] [gatesgarth][PATCH 10/35] linux-yocto-rt/5.4: fix 5.4-stable caused build breakage

2021-02-09 Thread Anuj Mittal
From: Bruce Ashfield 5.4-stable included a backport of: Author: Eric W. Biederman Date: Thu Dec 3 14:11:13 2020 -0600 rwsem: Implement down_read_interruptible [ Upstream commit 31784cff7ee073b34d6eddabb95e3be2880a425c ] In preparation for converting exec_update_mutex

[OE-core] [gatesgarth][PATCH 00/35] review request

2021-02-09 Thread Anuj Mittal
Please review these next set of changes for gatesgarth. Builds cleanly on autobuilder except for a known intermittent issue while executing a tinfoil selftest. https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1842 Thanks, Anuj The following changes since commit

[OE-core] [gatesgarth][PATCH 02/35] npm.bbclass: make shrinkwrap file optional

2021-02-09 Thread Anuj Mittal
From: Kamel Bouhara Some packages don't have shrinkwrap file which means no npmsw uri is provided in the recipe. Signed-off-by: Kamel Bouhara Signed-off-by: Richard Purdie (cherry picked from commit 47760b0d7d66b2b68ee197d359f0b7b17374d742) Signed-off-by: Anuj Mittal ---

[OE-core] [gatesgarth][PATCH 05/35] glibc: update to latest release/2.32/master branch

2021-02-09 Thread Anuj Mittal
From: Steve Sakoman Remove patches for CVE-2019-25013 and CVE-2020-27618 since they are present in the branch now. Add both CVEs to CVE_CHECK_WHITELIST. 760e1d28782 gconv: Fix assertion failure in ISO-2022-JP-3 module (bug 27256) d3cb8f6222a aarch64: fix static PIE start code for BTI [BZ

[OE-core] [gatesgarth][PATCH 01/35] image_types: Ensure tar archives are reproducible

2021-02-09 Thread Anuj Mittal
From: Richard Purdie The tar output seems to vary depending on the version of tar used and distro configuration. Be explict about the output format to avoid this and be determinstic. (From OE-Core rev: c56f3c9febc1732aa1302524c6c4da36f16bd1f7) Signed-off-by: Richard Purdie (cherry picked from

[OE-core] [gatesgarth][PATCH 03/35] recipetool: create: only add npmsw url if required

2021-02-09 Thread Anuj Mittal
From: Kamel Bouhara Before adding a npmsw fetcher to a recipe we should first check if the generated shrinkwrap file contains dependencies. Signed-off-by: Kamel Bouhara Signed-off-by: Richard Purdie (cherry picked from commit ef153ad36d0299e83a03af8f207686d0d8a238b3) Signed-off-by: Anuj

[OE-core] [gatesgarth][PATCH 04/35] npm.bbclass: use python3 for npm config

2021-02-09 Thread Anuj Mittal
From: Vyacheslav Yurkov python2-native executable is not available in sysroot anymore, which causes compilation of some nodejs modules to fail. Switch to python3 as a default python version. Signed-off-by: Vyacheslav Yurkov Signed-off-by: Richard Purdie (cherry picked from commit

Re: [OE-core] [meta][PATCHv2] npm.bbclass: avoid building target nodejs for native npm recipes

2021-02-09 Thread Yoann Congal
Le mar. 9 févr. 2021 à 16:42, Yoann CONGAL a écrit : > Le lun. 8 févr. 2021 à 20:11, Martin Jansa a > écrit : > >> You need the override after the append/prepend operator and append is >> more common than prepend (order of RDEPENDS isn't important) so I would use: >> >>

Re: [OE-core] [PATCH] recipes-kernel: add libbpf

2021-02-09 Thread Khem Raj
fails to build for rpi4 here https://errors.yoctoproject.org/Errors/Details/570276/ On Mon, Feb 8, 2021 at 1:34 PM Bruce Ashfield wrote: > > On Mon, Feb 8, 2021 at 4:22 PM Matteo Croce > wrote: > > > > On Mon, Feb 8, 2021 at 9:13 PM Bruce Ashfield > > wrote: > > > > > > On Mon, Feb 8, 2021

[OE-core] [meta][PATCHv3] npm.bbclass: avoid building target nodejs for native npm recipes

2021-02-09 Thread Yoann Congal
The current recipe unconditionally RDEPENDS on nodejs (the target one). When building on the "-native recipe" of "BBCLASSEXTEND native" recipe, the target nodejs is unnecessarily built. This patch fixes this by only RDEPENDS on nodejs when building for the target. Signed-off-by: Yoann Congal

Re: [OE-core] [PATCH] opkg: Fix patch glitches

2021-02-09 Thread Alex Stewart
Hey Richard, On 2/9/21 9:23 AM, Richard Purdie wrote: Well spotted. I somehow grabbed a half complete version, trying to juggle too many things at once I think. I've fixed it on the branch, third time lucky :/. The new patch on master-next looks good. Could you submit it to the opkg-devel

Re: [OE-core] [PATCH] license_image: Introduce SKIP_LICENSE_MANIFEST_RECIPES variable to prevent from trying to use license recipeinfo file from image recipes

2021-02-09 Thread Richard Purdie
On Thu, 2021-02-04 at 13:13 +0100, Tomasz Dziendzielski wrote: > If image recipe depends on another image recipe it will try to use > license recipeinfo that is not deployed. It will result in: > > Exception: FileNotFoundError: [Errno 2] No such file or directory: > >

Re: [OE-core] [PATCH] license_image: Introduce SKIP_LICENSE_MANIFEST_RECIPES variable to prevent from trying to use license recipeinfo file from image recipes

2021-02-09 Thread Tomasz Dziendzielski
Thanks for the answer. >I've been giving this some thought and I really don't like having to >remember to manually add special cases like this, it sounds/looks like >something we should really fix in a better way. The other way that comes to my mind would be to loop over all dependencies and

Re: [OE-core] [meta][PATCHv2] npm.bbclass: avoid building target nodejs for native npm recipes

2021-02-09 Thread Yoann Congal
Le lun. 8 févr. 2021 à 20:11, Martin Jansa a écrit : > You need the override after the append/prepend operator and append is more > common than prepend (order of RDEPENDS isn't important) so I would use: > > RDEPENDS_${PN}_append_class-target = " nodejs" > Hi ! Thanks! I already sent a v2 here

[OE-core][PATCH] Fix up bitbake logging compatibility

2021-02-09 Thread Joshua Watt
Bitbake changed the debug() logging call to make it compatible with standard python logging by no longer including a debug level as the first argument. Fix up the few places this was being used and remove the make_logger_bitbake_compatible() API, as it is no longer needed Signed-off-by: Joshua

Re: [OE-core] libsystemd is missing ?

2021-02-09 Thread Ramon Fried
> Did you try putting "systemd" in the DEPENDS of the recipe ? Yes, that was the problem. thanks !. Ramon. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147907): https://lists.openembedded.org/g/openembedded-core/message/147907 Mute This Topic:

[OE-core] [gatesgarth][PATCH 23/35] image_types.bbclass: tar: use posix format instead of gnu

2021-02-09 Thread Anuj Mittal
From: Martin Jansa * gnu isn't compatible with --xattrs used e.g. here: https://github.com/advancedtelematic/meta-updater/blob/d3a832f66e8802cb45536ff278d5c77f946d341d/classes/image_types_ostree.bbclass#L16 causing do_image_tar failing with: | tar: --xattrs can be used only on POSIX archives |

[OE-core] [gatesgarth][PATCH 18/35] qemu.inc: Should depend on qemu-system-native, not qemu-native

2021-02-09 Thread Anuj Mittal
From: Richard Purdie This looks like it was from before the recipe was split, we'd expect the system qemu mode for running the images so the dependency should be updated. Signed-off-by: Richard Purdie (cherry picked from commit 3a4fed4ae0e8a0d1bd62ea5fa1ef12925e1f20f5) Signed-off-by: Anuj

[OE-core] [gatesgarth][PATCH 27/35] pseudo: Update to work with glibc 2.33

2021-02-09 Thread Anuj Mittal
From: Richard Purdie Update to a pseudo version which contains some heqader fixes for glibc 2.33. Signed-off-by: Richard Purdie (cherry picked from commit c897ac317926b132547578b1f6bd347fe5677dfc) Signed-off-by: Anuj Mittal --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file

[OE-core] [gatesgarth][PATCH 19/35] sudo: fix CVE-2021-23240

2021-02-09 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- .../sudo/files/CVE-2021-23240.patch | 419 ++ meta/recipes-extended/sudo/sudo_1.9.3.bb | 1 + 2 files changed, 420 insertions(+) create mode 100644 meta/recipes-extended/sudo/files/CVE-2021-23240.patch diff --git

[OE-core] [gatesgarth][PATCH 35/35] python3targetconfig.bbclass: Make py3 dep and tasks only for target recipes

2021-02-09 Thread Anuj Mittal
From: Khem Raj python3targetconfig append target python3 to dependencies unconditionally, and here its inherited unconditionally too but distutils3-base is inherited in BBCLASSEXTEND'ed recipes and other not-target recipes as well. Hence the change added via

[OE-core] [gatesgarth][PATCH 15/35] wic/selftest: test_permissions also test bitbake image

2021-02-09 Thread Anuj Mittal
From: Lee Chee Yang existing test case test_permissions use Wic command as standalone tools to create wic image and check that wic image for permissions. add extra steps to the test case to also check against image build using bitbake do_image_wic. Signed-off-by: Lee Chee Yang Signed-off-by:

[OE-core] [gatesgarth][PATCH 17/35] kernel.bbclass: fix deployment for initramfs images

2021-02-09 Thread Anuj Mittal
From: Awais Belal The do_bundle_initramfs() only processes kernel image types that are found in KERNEL_IMAGETYPE_FOR_MAKE whereas the build system can generate other types that are not directly supported by the kernel build system. In which case when we come to the deploy phase not all the

[OE-core] [gatesgarth][PATCH 13/35] sstatesig: Add descriptive error message to getpwuid/getgrgid "uid/gid not found" KeyError

2021-02-09 Thread Anuj Mittal
From: Tomasz Dziendzielski If path is not owned by any user installed on target it gives insufficient error "getpwuid(): uid not found" which may be misleading. This exception occurs if uid/gid of path was not found in PSEUDO_PASSWD files, which simply means the path is owned by host user and

[OE-core] [gatesgarth][PATCH 20/35] sudo: fix CVE-2021-3156

2021-02-09 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- .../sudo/files/CVE-2021-3156-1.patch | 100 ++ .../sudo/files/CVE-2021-3156-2.patch | 53 ++ .../sudo/files/CVE-2021-3156-3.patch | 73 + .../sudo/files/CVE-2021-3156-4.patch | 29 +

[OE-core] [gatesgarth][PATCH 21/35] libgcrypt: Whitelisted CVEs

2021-02-09 Thread Anuj Mittal
From: saloni Whitelisted below CVEs: 1. CVE-2018-12433 Link: https://security-tracker.debian.org/tracker/CVE-2018-12433 Link: https://nvd.nist.gov/vuln/detail/CVE-2018-12433 CVE-2018-12433 is marked disputed and ignored by NVD as it does not impact crypt libraries for any distros and hence, can

[OE-core] [gatesgarth][PATCH 16/35] package: Ensure do_packagedata is cleaned correctly

2021-02-09 Thread Anuj Mittal
From: Richard Purdie In an earlier commit, libprocps was split into a separate package leaving no shlibs in the main package. A bug was seen where igt-gpu-tools wouldn't build correctly in some cases as it thought the librbary was still in the main package, throwing qa errors as a result. The

[OE-core] [gatesgarth][PATCH 22/35] libcroco: Added CVE

2021-02-09 Thread Anuj Mittal
From: saloni Added below CVE: CVE-2020-12825 Link: CVE-2020-12825 [https://gitlab.gnome.org/Archive/libcroco/-/commit/6eb257e5c731c691eb137fca94e916ca73941a5a] Link: https://gitlab.gnome.org/Archive/libcroco/-/issues/8 Signed-off-by: Saloni Jain Signed-off-by: Richard Purdie (cherry picked

[OE-core] [gatesgarth][PATCH 24/35] license_image.bbclass: Don't attempt to symlink to the same file

2021-02-09 Thread Anuj Mittal
From: Mike Looijmans Sometimes (that is, in all my builds) the lic_manifest_dir and lic_manifest_symlink_dir end up pointing to the same file, resulting in an error like this: Exception: FileExistsError: [Errno 17] File exists: '/.../tmp-glibc/deploy/licenses/my-image-tdkz15' ->

[OE-core] [gatesgarth][PATCH 26/35] openssh: Backport a fix to fix with glibc 2.33 on some platforms

2021-02-09 Thread Anuj Mittal
From: Richard Purdie This fixes openssh failing to work on qemux86 with glibc 2.33 due to seccomp and the fact new syscalls are used. Also likely fixes issues on other platforms. Signed-off-by: Richard Purdie (cherry picked from commit 22f8ce6e6d998c0539a40b2776b1a2abb4f44bb3) Signed-off-by:

[OE-core] [gatesgarth][PATCH 25/35] systemd: change /bin/nologin to /sbin/nologin

2021-02-09 Thread Anuj Mittal
From: Chen Qi Our nologin path is /sbin/nologin instead of /bin/nologin. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie (cherry picked from commit cd7f55e960e759d946d8b619b0a306e610f66356) Signed-off-by: Anuj Mittal --- meta/recipes-core/systemd/systemd_246.9.bb | 16

[OE-core] [gatesgarth][PATCH 30/35] python3: split python target configuration into own class

2021-02-09 Thread Anuj Mittal
From: Alexander Kanavin Setting _PYTHON_SYSCONFIGDATA_NAME in python3native class globally was problematic as it was leaking into host python environment, which was causing tracebacks depending on host distro and action (typically anything involving importing sysconfig module). The new class

[OE-core] [gatesgarth][PATCH 28/35] uninative: Upgrade to 2.10

2021-02-09 Thread Anuj Mittal
From: Michael Halstead Final glibc 2.32 based uninative. Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie (cherry picked from commit 8b5d932a42ce9e3e801837bea9cf319c455d9ae5) Signed-off-by: Anuj Mittal --- meta/conf/distro/include/yocto-uninative.inc | 8 1 file

[OE-core] [gatesgarth][PATCH 29/35] yocto-uninative.inc: version 2.11 updates glibc to 2.33

2021-02-09 Thread Anuj Mittal
From: Michael Halstead Support glibc 2.33. Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie (cherry picked from commit 5c7f963d395aa4a94d78c37883488baac471ea43) Signed-off-by: Anuj Mittal --- meta/conf/distro/include/yocto-uninative.inc | 10 +- 1 file changed, 5

[OE-core] [gatesgarth][PATCH 31/35] python3-pycairo: use python3targetconfig

2021-02-09 Thread Anuj Mittal
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 27d1dcf065ac2ccb57229eef54dd63b45d0fc5f9) Signed-off-by: Anuj Mittal --- meta/recipes-devtools/python/python3-pycairo_1.19.1.bb | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [gatesgarth][PATCH 32/35] distutils3-base.bbclass: use python3targetconfig

2021-02-09 Thread Anuj Mittal
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 10cdc26748e64394e829d919a15e899812bb2fe2) Signed-off-by: Anuj Mittal --- meta/classes/distutils3-base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [gatesgarth][PATCH 34/35] gpgme: use python3targetconfig

2021-02-09 Thread Anuj Mittal
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 375d13fcb362b48e57ba8851b03f2b72dd44da11) Signed-off-by: Anuj Mittal --- meta/recipes-support/gpgme/gpgme_1.14.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [gatesgarth][PATCH 33/35] meta: drop _PYTHON_SYSCONFIGDATA_NAME hacks

2021-02-09 Thread Anuj Mittal
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 7901859e38de06c56b8535a8425e76cb114c57dc) Signed-off-by: Anuj Mittal --- meta/classes/scons.bbclass | 3 --- meta/lib/oe/prservice.py| 4

Re: [OE-core] [PATCH] recipes-kernel: add libbpf

2021-02-09 Thread Matteo Croce
On Tue, Feb 9, 2021 at 5:44 PM Khem Raj wrote: > > fails to build for rpi4 here > > https://errors.yoctoproject.org/Errors/Details/570276/ > > On Mon, Feb 8, 2021 at 1:34 PM Bruce Ashfield > wrote: > > > > On Mon, Feb 8, 2021 at 4:22 PM Matteo Croce > > wrote: > > > > > > On Mon, Feb 8, 2021

[OE-core] Build libpwquality without distutils3

2021-02-09 Thread Joseph Reynolds
Dear openembedded-core members, How can I avoid bringing Python into my image via libpwquality?  I need to keep my image size small.  My bbappend uses EXTRA_OECONF += "--enable-python-bindings=no" to take advantage of the source project's configuration option [1], but because

Re: [OE-core] Build libpwquality without distutils3

2021-02-09 Thread Richard Purdie
On Tue, 2021-02-09 at 15:27 -0600, Joseph Reynolds wrote: > Dear openembedded-core members, > > How can I avoid bringing Python into my image via libpwquality?  I need > to keep my image size small.  My bbappend uses EXTRA_OECONF += > "--enable-python-bindings=no" to take advantage of the

Re: [OE-core] [oe] [bitbake-devel] Backport changes for _PYTHON_SYSCONFIGDATA_NAME to Gatesgarth and Dunfell

2021-02-09 Thread Steve Sakoman
On Tue, Feb 9, 2021 at 4:11 AM Steve Sakoman wrote: > > On Mon, Feb 8, 2021 at 1:45 PM Peter Kjellerstedt > wrote: > > > > As agreed upon on the Yocto Project Technical Team Meeting a week ago, I > > have created branches for both Gatesgarth and Dunfell in > > openembedded-core-contrib and

[OE-core] [PATCH] sanity.bbclass: improve the network connectivity check message

2021-02-09 Thread Yu, Mingli
From: Mingli Yu The network connectivity check via checking www.example.com by default and also can customized by CONNECTIVITY_CHECK_URIS if desired. Improve the check message to let the user know if the network is actually unaccessible or the checked URIs is wrongly set. [YOCTO #12708]

[OE-core] [PATCH] security_flags.inc: Add same O as in SELECTED_OPTIMIZATION

2021-02-09 Thread Khem Raj
Adding -O can be troublesome in some packages where it may override the O specified by CFLAGS, this can be due to configure processing of CFLAGS and munging them into new values in Makefiles, which is contructed from CC and CFLAGS passed by bitbake environment. Problem arises if the sequence is

[OE-core] [PATCH v2] security_flags.inc: Add same O as in SELECTED_OPTIMIZATION

2021-02-09 Thread Khem Raj
Adding -O can be troublesome in some packages where it may override the O specified by CFLAGS, this can be due to configure processing of CFLAGS and munging them into new values in Makefiles, which is contructed from CC and CFLAGS passed by bitbake environment. Problem arises if the sequence is

[OE-core] [PATCH] connman: update to 1.39

2021-02-09 Thread akuster
[Yocto #14231] Bug fix only and includes two security fixes: CVE-2021-26676 CVE-2021-26676 Signed-off-by: Armin Kuster --- .../connman/{connman_1.38.bb => connman_1.39.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename

Re: [OE-core] [PATCH] security_flags.inc: Use -O with -D_FORTIFY_SOURCE

2021-02-09 Thread Anuj Mittal
On Fri, 2021-02-05 at 22:31 -0800, Khem Raj wrote: > compiler can only use fortify options when some level of optimization > is > on, otherwise it ends up sending some warnings. > > warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [- > W#warnings] > > this is usually OK, since

Re: [OE-core] [PATCH] security_flags.inc: Use -O with -D_FORTIFY_SOURCE

2021-02-09 Thread Khem Raj
On Tue, Feb 9, 2021 at 8:47 PM Mittal, Anuj wrote: > > On Fri, 2021-02-05 at 22:31 -0800, Khem Raj wrote: > > compiler can only use fortify options when some level of optimization > > is > > on, otherwise it ends up sending some warnings. > > > > warning: _FORTIFY_SOURCE requires compiling with