[OE-core][PATCH] newlib: Update licence

2021-01-21 Thread Alejandro Hernandez Samaniego
- libgloss: - (22) New tcl license for csky-* targets - (23) New license for csky-* targets, states itself as FreeBSD license but text matches GPL (648365e0) - (24) New BSD-2 license for risc-v targets newlib: - New license for csky-* targets, states itself as FreeBSD license but text

[OE-core] [PATCH] pulseaudio: upgrade 14.0 -> 14.2

2021-01-21 Thread Wang Mingyu
refresh 0002-do-not-display-CLFAGS-to-improve-reproducibility-bui.patch Signed-off-by: Wang Mingyu --- ...ot-display-CLFAGS-to-improve-reproducibility-bui.patch | 8 .../pulseaudio/{pulseaudio_14.0.bb => pulseaudio_14.2.bb} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-)

Re: [OE-core] [PATCH] dtc: improve reproducibility

2021-01-21 Thread Richard Purdie
On Thu, 2021-01-21 at 07:26 +, Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) wrote: > Should I rework (add patch unconditional) and resubmit patch? > Or should I try to submit it to the dtc directly? Both would be ideal please! Cheers, Richard -=-=-=-=-=-=-=-=-=-=-=- Links:

[OE-core] of (morty->zeus) ntp migration, and missing "autogen-native" DEPENDS

2021-01-21 Thread Robert P. J. Day
colleague hands me the following curiosity ... approximately morty-based build, wherein ntp_4.2.8p10 has a bbappend file which contains (among other things) the line: DEPENDS += "autogen-native perl-native" i'm always nervous when a bbappend file just adds new build dependencies but,

Re: [OE-core] [PATCH] libcroco: CVE-2020-12825 Security Advisory

2021-01-21 Thread Richard Purdie
On Thu, 2021-01-21 at 14:59 +0800, Wang Mingyu wrote: > References > https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12825 > > Signed-off-by: Wang Mingyu > --- >  .../libcroco/libcroco/CVE-2020-12825.patch| 170 ++ >  .../libcroco/libcroco_0.6.13.bb | 2

[OE-core] [PATCH v2] glslang: upgrade 8.13.3743 -> 11.1.0

2021-01-21 Thread Jose Quaresma
License-Update: Add additional licenses - [1] BSD-2-Clause & MIT & Apache-2.0 - [2] GPL-2-with-bison-exception [1] https://github.com/KhronosGroup/glslang/commit/2962be40baff69848fd786c609289666b60741b8 [2] https://github.com/KhronosGroup/glslang/commit/14a2cfbc72f2bb2e060fdfe3fbe6a4d54e3817a8

[OE-core] [PATCH] pango: improve reproducibility

2021-01-21 Thread Oleksiy Obitotskyy via lists.openembedded.org
Replace filename with basename in templates to avoid absolute path in generated source files. Signed-off-by: Oleksiy Obitotskyy --- meta/recipes-graphics/pango/pango_1.48.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-graphics/pango/pango_1.48.0.bb

Re: [OE-core] [oe] OpenEmbedded Virtual Stand at FOSDEM 2021

2021-01-21 Thread Leon Anavi
Hi Paul, On 13.01.21 г. 23:33 ч., Paul Barker wrote: * Any participants in the project who want to help host the Matrix chat room between 09:00 and 18:00 each day of the event. This will likely involve introducing the project to folks dropping in the chat who aren't familiar with OpenEmbedded,

Re: [OE-core] [PATCH] libcroco: CVE-2020-12825 Security Advisory

2021-01-21 Thread Ross Burton
And a CVE: CVE-2020-12825 tag alongside that too would be good. Ross On Thu, 21 Jan 2021 at 10:50, Richard Purdie wrote: > > On Thu, 2021-01-21 at 14:59 +0800, Wang Mingyu wrote: > > References > > https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12825 > > > > Signed-off-by: Wang Mingyu

[OE-core] [PATCH][V2] dtc: improve reproducibility

2021-01-21 Thread Oleksiy Obitotskyy via lists.openembedded.org
Makefile override CFLAGS, so -fmacro/debug-prefix-map optiions was omitted and binaries contains absolute patch to sources. Signed-off-by: Oleksiy Obitotskyy --- V2 - apply patch unconditionally V1 - apply patch only if reproducibility is turned on meta/recipes-kernel/dtc/dtc.inc

Re: [OE-core] [PATCH] pango: improve reproducibility

2021-01-21 Thread Oleksiy Obitotskyy via lists.openembedded.org
My bad. Already fixed in upstream master. Regards, Oleksiy From: Ross Burton Sent: Thursday, January 21, 2021 15:31 To: Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) Cc: OE-core Subject: Re: [OE-core] [PATCH] pango: improve reproducibility I

[OE-core] [PATCH] glslang: upgrade 8.13.3743 -> 11.1.0

2021-01-21 Thread Jose Quaresma
License-Update: add BSD-2-Clause & MIT & Apache-2.0 & GPLv2 Signed-off-by: Jose Quaresma --- .../glslang/{glslang_8.13.3743.bb => glslang_11.1.0.bb} | 8 1 file changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-graphics/glslang/{glslang_8.13.3743.bb => glslang_11.1.0.bb}

Re: [OE-core] [PATCH] cve-check: replace Looseversion with custom version class

2021-01-21 Thread Ross Burton
The idea is good but this really needs a test suite. If the class is added to a new file meta/lib/oe/cvecheck.py or similar then you can add a test suite too. Ross On Thu, 21 Jan 2021 at 02:26, Lee Chee Yang wrote: > > From: Lee Chee Yang > > The way distutils.version.LooseVersion compare

Re: [OE-core] [PATCH] pango: improve reproducibility

2021-01-21 Thread Ross Burton
I thought we'd already fixed this once already upstream - maybe new templates have appeared. This would be better as an upstreamed patch, can you submit it there too? Ross On Thu, 21 Jan 2021 at 13:08, Oleksiy Obitotskyy via lists.openembedded.org wrote: > > Replace filename with basename in

Re: [OE-core] of (morty->zeus) ntp migration, and missing "autogen-native" DEPENDS

2021-01-21 Thread Robert P. J. Day
On Thu, 21 Jan 2021, Robert P. J. Day wrote: > colleague hands me the following curiosity ... approximately > morty-based build, wherein ntp_4.2.8p10 has a bbappend file which > contains (among other things) the line: > > DEPENDS += "autogen-native perl-native" > > i'm always nervous when a

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

2021-01-21 Thread Anuj Mittal
Please review these next set of changes for gatesgarth. Builds cleanly on autobuilder. Thanks, Anuj The following changes since commit c7bf9aebd002fc6bc23a57bc5e9863382bd17ae7: systemd: upgrade 246.6 -> 246.9 (2021-01-15 00:05:41 +0800) are available in the Git repository at:

[OE-core] [gatesgarth][PATCH 04/20] systemd.bbclass: improve error message when a service unit specified in SYSTEMD_SERVICE is not found

2021-01-21 Thread Anuj Mittal
From: Chris Laplante The previous message was fairly useless without diving into the bbclass. Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie (cherry picked from commit ef6117b148be65536e89409a83cbfd22049c652e) Signed-off-by: Anuj Mittal --- meta/classes/systemd.bbclass | 3 ++-

[OE-core] [gatesgarth][PATCH 06/20] binutils: Fix CVE-2020-35448

2021-01-21 Thread Anuj Mittal
From: Yi Fan Yu Fix related to a buffer overflow in bfd library CVE Details https://nvd.nist.gov/vuln/detail/CVE-2020-35448 Upstream Tracking https://sourceware.org/bugzilla/show_bug.cgi?id=26574 Patch from Upstream https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;

[OE-core] [gatesgarth][PATCH 05/20] boost: drop arm-intrinsics.patch

2021-01-21 Thread Anuj Mittal
From: Mans Rullgard This patch makes gcc produce broken code. It is unclear why it is there in the first place. Drop it. Signed-off-by: Mans Rullgard Signed-off-by: Richard Purdie (cherry picked from commit 5f3cace37496fe1dc4fd045f688f7d441505c437) Signed-off-by: Anuj Mittal ---

[OE-core] [gatesgarth][PATCH 08/20] meta: toolchain-shar-relocate.sh: Filter out post-relocate-setup script

2021-01-21 Thread Anuj Mittal
From: Marek Vasut The toolchain-shar-extract.sh script updates the SDK relocation paths in post-relocate-setup.sh, so avoid doing this twice. This is generally not a problem, unless the SDK path is a subset of the SDK relocation path, in which case the resulting path is substituted twice. To

[OE-core] [gatesgarth][PATCH 12/20] wic: Ensure internal workdir is not reused

2021-01-21 Thread Anuj Mittal
From: Paul Barker If a path is specified for the internal wic working directory using the -w/--workdir argument then it must not already exist. Re-using a previous workdir could easily result in rootfs and intermediate files from a previous build being added to the current image. Signed-off-by:

[OE-core] [PATCH] git: update to 2.30.0

2021-01-21 Thread akuster
For your info see: https://lore.kernel.org/lkml/xmqqk0t1g326@gitster.c.googlers.com/T/ Signed-off-by: Armin Kuster --- meta/recipes-devtools/git/{git_2.29.2.bb => git_2.30.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/git/{git_2.29.2.bb =>

Re: [OE-core] [PATCH v2] glslang: upgrade 8.13.3743 -> 11.1.0

2021-01-21 Thread Andrey Zhizhikin
Hello Jose, On Thu, Jan 21, 2021 at 4:26 PM Jose Quaresma wrote: > > License-Update: Add additional licenses > > - [1] BSD-2-Clause & MIT & Apache-2.0 > - [2] GPL-2-with-bison-exception This should be rather GPL-3-with-bison-exception, according to the commit link you've posted. As this

[OE-core] [PATCH] base: use URI instead of decodeurl when detecting unpack dependencies

2021-01-21 Thread Ross Burton
decodeurl() has limitations, primarily that it doesn't handle query parameters at all. If a SRC_URI looks like this: http://example.com/download.tar.gz?something Then the returned path attribute is download.tar.gz?something. This means the filename extension detection fails and required tools

[OE-core] [gatesgarth][PATCH 17/20] wic: Optimise fstab modification for ext2/3/4 and msdos partitions

2021-01-21 Thread Anuj Mittal
From: Paul Barker The fix for [Yocto #13994] required the rootfs directory to be copied (using hardlinks if possible) when modifying the fstab file under wic. We can optimise this copy away for filesystems where we have the tools to modify the contents of the partition image after it is

[OE-core] [gatesgarth][PATCH 16/20] wic: Copy rootfs dir if fstab needs updating

2021-01-21 Thread Anuj Mittal
From: Paul Barker By default, wic updates the /etc/fstab in the rootfs to include details of additional partitions described in the selected wks file. If this modification is performed in place, other tasks which create an image file from the rootfs directory (e.g. do_image_tar and

[OE-core] [gatesgarth][PATCH 11/20] wic: Add workdir argument

2021-01-21 Thread Anuj Mittal
From: Paul Barker This allows the path for the temporary workdir used by wic to be set when running wic from bitbake or directly from the command line. Signed-off-by: Paul Barker Signed-off-by: Richard Purdie (cherry picked from commit 2e7314ac3a3cab89de93c932e8efc75de0feb0a7) Signed-off-by:

[OE-core] [gatesgarth][PATCH 07/20] meta: toolchain-shar-relocate.sh: Do not use $target_sdk_dir as regex

2021-01-21 Thread Anuj Mittal
From: Marek Vasut The $target_sdk_dir path might contain special characters, for example if the path is /opt/poky/3.2+snapshot . Prevent grep from interpreting those as part of the regex by using the -F parameter and multiple -e parameters to specify which strings to filter out. Also note that

[OE-core] [gatesgarth][PATCH 19/20] devtool: Fix source extraction for gcc shared source

2021-01-21 Thread Anuj Mittal
From: Tomasz Dziendzielski If do_patch task is disabled then prepare do_configure dependencies to fetch external sources and create symlink to ${S} in devtool workspace. [YOCTO #13036] Signed-off-by: Tomasz Dziendzielski Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [gatesgarth][PATCH 18/20] toolchain-shar-relocate.sh: Fix handling files with colons

2021-01-21 Thread Anuj Mittal
From: "Oleksiy Obitotskyy yIEf0zt.mo" Files could contain colons in name and we should not use colons (':') as field separator. E.g. perl/python man pages packages. Signed-off-by: Oleksiy Obitotskyy Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [gatesgarth][PATCH 20/20] flex: Fix --noline option behavior

2021-01-21 Thread Anuj Mittal
From: Oleksiy Obitotskyy Option --noline or -L does not handled properly. So generated code contains #line directives with file absolute path and prevents to create reproducible builds. Signed-off-by: Oleksiy Obitotskyy Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [gatesgarth][PATCH 10/20] gcc: Backport patch to resolve i*86 tune configuration overrides

2021-01-21 Thread Anuj Mittal
From: Nathan Rossi Upstream has merged a change to handle detection of target overrides so that they are only applied as required. Backport this patch from upstream and remove the OE specific patch. Signed-off-by: Nathan Rossi Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [gatesgarth][PATCH 13/20] wic: Allow exec_native_cmd to run HOSTTOOLS

2021-01-21 Thread Anuj Mittal
From: Paul Barker This allows programs from HOSTTOOLS (e.g. 'install', 'rm', 'mv', etc) to be more easily executed by wic. Without this change only programs from an actual *-native recipe built by bitbake can be executed by wic. Signed-off-by: Paul Barker Signed-off-by: Richard Purdie (cherry

[OE-core] [gatesgarth][PATCH 03/20] toolchain-shar-extract.sh: Handle special characters in script path

2021-01-21 Thread Anuj Mittal
From: Andrey Mozzhuhin Extracting SDK archive may fail if the script is run using a path with special characters such as space or asterisk. This is because the shell interprets such characters after expanding the $0 variable. Added quotes to all uses of the shell variable $0 to fix this.

[OE-core] [gatesgarth][PATCH 14/20] image_types_wic: Move wic working directory

2021-01-21 Thread Anuj Mittal
From: Paul Barker By default the wic working directory is placed under the output directory. When invoking wic under bitbake, the wic output directory is added to PSEUDO_PATHS_IGNORE to avoid issues with files being removed from outside a pseudo environment (see oe-core commit ad8f5532ff).

[OE-core] [gatesgarth][PATCH 15/20] wic: Update pseudo db when excluding content from rootfs

2021-01-21 Thread Anuj Mittal
From: Paul Barker To exclude content from the rootfs, wic makes a copy (using hardlinks if possible) of the rootfs directory and associated pseudo db, then removes files & directories as needed. However if these files and directories are removed using the python functions os.remove and

[OE-core] [gatesgarth][PATCH 09/20] lib/oe/utils: Return empty string in parallel_make

2021-01-21 Thread Anuj Mittal
From: Tomasz Dziendzielski In cmake.bbclass we set CMAKE_BUILD_PARALLEL_LEVEL using parallel_make function and if PARALLEL_MAKE is set to empty string then this variable is exported as "None" causing cmake to fail with: "'CMAKE_BUILD_PARALLEL_LEVEL' environment variable invalid number 'None'

[OE-core] [gatesgarth][PATCH 02/20] scripts: oe-run-native, fix *-native directories

2021-01-21 Thread Anuj Mittal
From: Adrian Herrera This fixes a crash with "find" when running a native tool and *-native directories do not exist under the binary directory in the sysroot. This happened because the directory wildcard was passed as part of the root directory. The directory wildcard is now passed by "-name",

[OE-core] [gatesgarth][PATCH 01/20] zip: whitelist CVE-2018-13410 and CVE-2018-13684

2021-01-21 Thread Anuj Mittal
From: Mikko Rapeli https://nvd.nist.gov/vuln/detail/CVE-2018-13410 is disputed and also Debian considers it not a vulnerability: https://security-tracker.debian.org/tracker/CVE-2018-13410 http://seclists.org/fulldisclosure/2018/Jul/24 "Negligible security impact, would involve that a untrusted

[OE-core] [PATCH] gstreamer1.0: fix failing ptest

2021-01-21 Thread Anuj Mittal
Backport a patch to increase the timeout that might help with the intermittent seek test failure. [YOCTO #14194] Signed-off-by: Anuj Mittal --- ...-use-too-strict-timeout-for-validati.patch | 32 +++ .../gstreamer/gstreamer1.0_1.18.3.bb | 1 + 2 files changed, 33

[OE-core] [PATCH] libpam: add ptest support

2021-01-21 Thread Yu, Mingli
From: Mingli Yu Add ptest support. Signed-off-by: Mingli Yu --- meta/recipes-extended/pam/libpam/run-ptest | 31 ++ meta/recipes-extended/pam/libpam_1.5.1.bb | 17 +++- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644

[OE-core][PATCH] gobject-introspection: reserve less memory for qemu

2021-01-21 Thread Chen Qi
By default, qemu reserves 4G virtual address. It's too large. We've met error due to lack of memory even on a 32G build machine. So change it to 512M to mitigate this problem. Signed-off-by: Chen Qi --- .../gobject-introspection/gobject-introspection_1.66.1.bb| 1 + 1 file changed, 1

[OE-Core][PATCH] manifest.py: Add tests to empty image

2021-01-21 Thread Milan Shah
An oe-selftest test is added to ensure meta-selftest/recipes-test/images/test-empty-image.bb builds and is empty. It is just a test that ensures that an empty image has no packages in it (i.e. nothing in the manifest) See [YOCTO #8455] for details. Signed-off-by: Milan Shah ---

[OE-core] [PATCH] devtool: Fix file:// fetcher symlink directory structure

2021-01-21 Thread Tomasz Dziendzielski
Add backward relative path if file is under directory. [YOCTO #13738] Signed-off-by: Tomasz Dziendzielski --- scripts/lib/devtool/standard.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index

[OE-core] [PATCH v2] devtool: Fix file:// fetcher symlink directory structure

2021-01-21 Thread Tomasz Dziendzielski
Add relative path if file is under directory. [YOCTO #13738] Signed-off-by: Tomasz Dziendzielski --- scripts/lib/devtool/standard.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index

[oe-core][PATCH] oeqa/selftest/cases/tinfoil.py: increase timeout 10->60s test_wait_event

2021-01-21 Thread Yi Fan Yu
The test would timeout on autobuilders. This patch increases the timeout to 60s The test will now also exit as soon as we receive the 2 expected events Expected runtime is around 1s if successful Bug 14158 Signed-off-by: Yi Fan Yu --- meta/lib/oeqa/selftest/cases/tinfoil.py | 6 -- 1 file

Re: [OE-core] [PATCH][V2] dtc: improve reproducibility

2021-01-21 Thread Richard Purdie
On Thu, 2021-01-21 at 04:27 -0800, Oleksiy Obitotskyy via lists.openembedded.org wrote: > Makefile override CFLAGS, so -fmacro/debug-prefix-map > optiions was omitted and binaries contains absolute > patch to sources. > > Signed-off-by: Oleksiy Obitotskyy > --- >  V2 - apply patch

[OE-core] [PATCH 3/3] elfutils: add support for ipkg

2021-01-21 Thread Dorinda
debuginfod scanner 0.181 could only support RPM and scan .debs, it can now scan .ipk Signed-off-by: Dorinda Bassey --- .../elfutils/elfutils_0.181.bb| 1 + ...d-support-for-ipkg-to-debuginfod.cxx.patch | 32 +++ 2 files changed, 33 insertions(+) create mode

[OE-core] [PATCH] opensbi: Bump from 0.8 to 0.9

2021-01-21 Thread Alistair Francis
Signed-off-by: Alistair Francis --- meta/recipes-bsp/opensbi/{opensbi_0.8.bb => opensbi_0.9.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-bsp/opensbi/{opensbi_0.8.bb => opensbi_0.9.bb} (97%) diff --git a/meta/recipes-bsp/opensbi/opensbi_0.8.bb

[OE-core] [PATCH 2/3] elfutils: add PACKAGECONFIG for debuginfod

2021-01-21 Thread Dorinda
removed the config option that disabled debuginfod and enabled it with PACKAGECONFIG Signed-off-by: Dorinda Bassey --- meta/recipes-devtools/elfutils/elfutils_0.181.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.181.bb

[OE-core] [PATCH 1/3] elfutils: split libdebuginfod into its own package

2021-01-21 Thread Dorinda
add package options for libdebuginfod Signed-off-by: Dorinda Bassey --- meta/recipes-devtools/elfutils/elfutils_0.181.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.181.bb b/meta/recipes-devtools/elfutils/elfutils_0.181.bb

Re: [OE-core] [PATCH v2] devtool: Fix file:// fetcher symlink directory structure

2021-01-21 Thread Richard Purdie
On Thu, 2021-01-21 at 23:31 +0100, Tomasz Dziendzielski wrote: > Add relative path if file is under directory. > > [YOCTO #13738] > > Signed-off-by: Tomasz Dziendzielski > --- >  scripts/lib/devtool/standard.py | 6 +- >  1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git

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

2021-01-21 Thread Wang Mingyu
References https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18438 Signed-off-by: Wang Mingyu --- meta/recipes-devtools/qemu/qemu.inc | 1 + .../qemu/qemu/CVE-2018-18438.patch| 697 ++ 2 files changed, 698 insertions(+) create mode 100644

[OE-core] [PATCH] socat: upgrade 1.7.3.4 ->1.7.4.1

2021-01-21 Thread Wang Mingyu
README updated: version updated add descrition of platform specifics - Debian Signed-off-by: Wang Mingyu --- .../socat/{socat_1.7.3.4.bb => socat_1.7.4.1.bb}| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-connectivity/socat/{socat_1.7.3.4.bb

Re: [OE-core][PATCH] gobject-introspection: reserve less memory for qemu

2021-01-21 Thread Richard Purdie
On Fri, 2021-01-22 at 12:44 +0800, Chen Qi wrote: > By default, qemu reserves 4G virtual address. It's too large. > We've met error due to lack of memory even on a 32G build machine. > > So change it to 512M to mitigate this problem. > > Signed-off-by: Chen Qi > --- >  

[OE-core][dunfell 00/18] Pull request (cover letter only)

2021-01-21 Thread Steve Sakoman
The following changes since commit 72431ee8de5e3a53d259cebf420a7713ac9e1f14: mobile-broadband-provider-info: upgrade 20190618 ->20201225 (2021-01-08 03:57:37 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next