[OE-core] [PATCH 1/1] expect: Fix buffer overflow error when build in long path

2019-09-24 Thread Robert Yang
Fixed when built the project in a long path (len(TMPDIR) > 200): $ bitbake dejagnu-native [snip] checking Tcl version 8.5 or greater... *** buffer overflow detected ***: TOPDIR/tmp-glibc/work/x86_64-linux/dejagnu-native/1.6.2-r0/recipe-sysroot-native/usr/bin/expect terminated [snip]

[OE-core] [PATCH 0/1] expect: Fix buffer overflow error when build in long path

2019-09-24 Thread Robert Yang
The following changes since commit 95ad5626296380358c8a502a3e04879dab653d78: build-appliance-image: Update to master head revision (2019-09-19 20:32:47 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/expect

[OE-core] [PATCH 0/1] Add new mirror archiver mode

2019-09-24 Thread Paul Barker
This patch allows the creation of a full source mirror using the archiver bbclass. Using the archiver allows us to make use of copyleft license filtering, recipe type filtering and other features that are not available if we just copy the contents of the downloads directory itself to create a

[OE-core] [PATCH 1/1] archiver.bbclass: Add new mirror archiver mode

2019-09-24 Thread Paul Barker
We define a new method of populating a source mirror using the archiver bbclass instead of simply copying the contents of the downloads directory. This allows the archiver features such as copyleft license filtering and recipe type filtering to be used when preparing a source mirror. This new

[OE-core] [sumo][PATCH 3/4] glib-2.0: Add patch from upstream to fix build with host gcc9

2019-09-24 Thread Andreas Müller
Signed-off-by: Andreas Müller --- ...11-gdbus-Avoid-printing-null-strings.patch | 77 +++ meta/recipes-core/glib-2.0/glib-2.0_2.54.3.bb | 1 + 2 files changed, 78 insertions(+) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0011-gdbus-Avoid-printing-null-strings.patch

[OE-core] [sumo][PATCH 4/4] cross-localedef-native: Fix build for hosts with recent glibc

2019-09-24 Thread Andreas Müller
Fixes: | argp-help.c:(.text+0x1f51): undefined reference to `_IO_fwide' | collect2: error: ld returned 1 exit status | make: *** [Makefile:60: localedef] Error 1 Signed-off-by: Andreas Müller --- .../glibc/cross-localedef-native_2.27.bb | 1 + ...ll-_IO_fwide-if-_LIBC-is-not-defined.patch

[OE-core] [sumo][PATCH 0/4] Fix build with host gcc9 / latest glibc

2019-09-24 Thread Andreas Müller
Build errors popped up with Fedora 30 Andreas Müller (3): elfutils(-native): Add backported patch to fix build with host gcc9 glib-2.0: Add patch from upstream to fix build with host gcc9 cross-localedef-native: Fix build for hosts with recent glibc Khem Raj (1): bison: Fix build break

[OE-core] [sumo][PATCH 2/4] bison: Fix build break with glibc 2.28

2019-09-24 Thread Andreas Müller
From: Khem Raj (From OE-Core rev: 741415c58b356576428c26efd081212eb989) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../recipes-devtools/bison/bison/gnulib.patch | 21 +++ meta/recipes-devtools/bison/bison_3.0.4.bb| 1 + 2 files changed, 22

Re: [OE-core] [warrior][PATCH] kernel-uboot: compress arm64 kernels

2019-09-24 Thread Bedel, Alban
On Tue, 2019-09-03 at 09:41 +, Bedel, Alban wrote: > On Wed, 2019-07-31 at 13:53 +, Bedel, Alban wrote: > > AArch64 images are not self-decompressing, thus usually much > > larger. > > Boot times can be reduced by compressing them in FIT and uImages. > > > > This commit is a backport of

[OE-core] [PATCH 1/1] cases/bbtests.py: test_bitbake_g(): Check core-image-minimal itself

2019-09-24 Thread Robert Yang
It checked whether busybox is in pn-buildlist and task-depends.dot after run "bitbake -g core-image-minimal", but busybox is not a must for core-image-minimal, so the case may fail when busybox is not present, this case is used for checking "bitbake -g", so check core-image-minimal itself is more

[OE-core] [PATCH 0/1] cases/bbtests.py: test_bitbake_g(): Check core-image-minimal itself

2019-09-24 Thread Robert Yang
The following changes since commit 95ad5626296380358c8a502a3e04879dab653d78: build-appliance-image: Update to master head revision (2019-09-19 20:32:47 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/test

[OE-core] [sumo][PATCH 1/4] elfutils(-native): Add backported patch to fix build with host gcc9

2019-09-24 Thread Andreas Müller
Signed-off-by: Andreas Müller --- .../elfutils/elfutils_0.170.bb| 1 + ...-fsize-and-msize-with-const-attribut.patch | 42 +++ 2 files changed, 43 insertions(+) create mode 100644

Re: [OE-core] [RFC][PATCH 0/3] Move rust from meta-rust to oe-core

2019-09-24 Thread Adrian Bunk
On Mon, Sep 23, 2019 at 10:45:05PM -0400, Randy MacLeod wrote: > I moved the Rust support from meta-rust to oe-core. > > As you'd expect, it's still building rust-hello-world for all qemus > (except riscv64 which may never have worked). > Rust-hello-world runs for me on qemu: >x86-64, arm,

[OE-core] oe-core warrior backport request

2019-09-24 Thread Paul Barker
Hi, Could we get the following patches backported to the warrior branch? We're carrying them locally to enable builds on our infrastructure where DEPLOY_DIR and WORKDIR are placed on different devices. f064a581ba license_image: Use new oe.path.copyhardlink() helper 5437efa16f oe.path:

[OE-core] [sumo][PATCH v2 0/4] Fix build with host gcc9 / latest glibc

2019-09-24 Thread Andreas Müller
Build errors popped up with Fedora 30 V1 -> V2: Corrected Upstream-Status Andreas Müller (3): elfutils(-native): Add backported patch to fix build with host gcc9 glib-2.0: Add patch from upstream to fix build with host gcc9 cross-localedef-native: Fix build for hosts with recent glibc

[OE-core] [sumo][PATCH v2 2/4] bison: Fix build break with glibc 2.28

2019-09-24 Thread Andreas Müller
From: Khem Raj (From OE-Core rev: 741415c58b356576428c26efd081212eb989) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../recipes-devtools/bison/bison/gnulib.patch | 21 +++ meta/recipes-devtools/bison/bison_3.0.4.bb| 1 + 2 files changed, 22

[OE-core] Yocto Project Status WW39’19

2019-09-24 Thread Stephen K Jolley
Current Dev Position: YP 2.8 M4 Feature Freeze Next Deadline: YP 3.0 Final Release 25th Oct SWAT Team Rotation: - SWAT lead is currently: Amanda - SWAT team rotation: Amanda -> Chen on Sept. 27, 2019 - SWAT team rotation: Chen -> Armin on Oct. 4, 2019 -

Re: [OE-core] [PATCH 1/1] expect: Fix buffer overflow error when build in long path

2019-09-24 Thread Ross Burton
On 24/09/2019 08:34, Robert Yang wrote: +Upstream-Status: Pending [Upstream seems dead] The web site says to use SourceForge, but that's wrong. The code is (sort of) alive in Fossil at https://core.tcl-lang.org/expect/home so please do submit the patch to either their SF or the Fossil

Re: [OE-core] [PATCH V2] mdadm: fix do_package failed when changed local.conf but not cleaned

2019-09-24 Thread Ross Burton
On 24/09/2019 07:00, changqing...@windriver.com wrote: From: Changqing Li reproduce steps: 1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf 2. bitbake mdadm --success 3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf 4. bitbake mdadm -- failed when do_package it is not

[OE-core] [sumo][PATCH v2 3/4] glib-2.0: Add patch from upstream to fix build with host gcc9

2019-09-24 Thread Andreas Müller
Signed-off-by: Andreas Müller --- ...11-gdbus-Avoid-printing-null-strings.patch | 77 +++ meta/recipes-core/glib-2.0/glib-2.0_2.54.3.bb | 1 + 2 files changed, 78 insertions(+) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0011-gdbus-Avoid-printing-null-strings.patch

[OE-core] [sumo][PATCH v2 4/4] cross-localedef-native: Fix build for hosts with recent glibc

2019-09-24 Thread Andreas Müller
Fixes: | argp-help.c:(.text+0x1f51): undefined reference to `_IO_fwide' | collect2: error: ld returned 1 exit status | make: *** [Makefile:60: localedef] Error 1 Signed-off-by: Andreas Müller --- .../glibc/cross-localedef-native_2.27.bb | 1 + ...ll-_IO_fwide-if-_LIBC-is-not-defined.patch

[OE-core] [sumo][PATCH v2 1/4] elfutils(-native): Add backported patch to fix build with host gcc9

2019-09-24 Thread Andreas Müller
Signed-off-by: Andreas Müller --- .../elfutils/elfutils_0.170.bb| 1 + ...-fsize-and-msize-with-const-attribut.patch | 42 +++ 2 files changed, 43 insertions(+) create mode 100644

[OE-core] ✗ patchtest: failure for Fix build with host gcc9 / latest glibc

2019-09-24 Thread Patchwork
== Series Details == Series: Fix build with host gcc9 / latest glibc Revision: 1 URL : https://patchwork.openembedded.org/series/20136/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [thud][PATCH] kernel-devsrc: check for localversion files in the kernel source tree

2019-09-24 Thread Christian Thaler
localversion files are ignored. This might lead to a bad version magic when building out-of-tree modules via SDK. (Backport from master https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/linux/kernel-devsrc.bb?id=59fcee90de0cbb5b6b8333ab2b0e36214b174e52) Signed-off-by:

[OE-core] [PATCH] nativesdk-dnf: ensure installed systemd files are shipped

2019-09-24 Thread Trevor Gamblin
From: Trevor Gamblin "bitbake nativesdk-dnf" throws a QA warning if the contents of ${base_libdir}/systemd/system/ are not shipped, so add them. Warning log: WARNING: nativesdk-dnf-4.2.2-r0 do_package: QA Issue: nativesdk-dnf: Files/directories were installed but not shipped in any

[OE-core] [PATCH] opkg: remove redundant systemd inherit

2019-09-24 Thread Ross Burton
The service file was removed in oe-core 23dcf7ea but the inherit was not. Signed-off-by: Ross Burton --- meta/recipes-devtools/opkg/opkg_0.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/opkg/opkg_0.4.1.bb

Re: [OE-core] [warrior][PATCH] kernel-uboot: compress arm64 kernels

2019-09-24 Thread Randy MacLeod
On 9/24/19 3:23 AM, Bedel, Alban wrote: On Tue, 2019-09-03 at 09:41 +, Bedel, Alban wrote: On Wed, 2019-07-31 at 13:53 +, Bedel, Alban wrote: AArch64 images are not self-decompressing, thus usually much larger. Boot times can be reduced by compressing them in FIT and uImages. This

Re: [OE-core] [PATCH] nativesdk-dnf: ensure installed systemd files are shipped

2019-09-24 Thread Ross Burton
On 24/09/2019 15:01, Trevor Gamblin wrote: From: Trevor Gamblin "bitbake nativesdk-dnf" throws a QA warning if the contents of ${base_libdir}/systemd/system/ are not shipped, so add them. Looks like a bug in systemd.bbclass, not this recipe. For example if I enable nativesdk for acpid:

[OE-core] Keeping multiconfig config files in sync

2019-09-24 Thread chris.laplante--- via Openembedded-core
Hello, Thanks to Richard and others recent hard work, multiconfig is poised to become much more practical in YP 3.0. One thing I'm not clear on, however, is how it will work in a team environment. If I have recipes with multiconfig dependencies, then I must ensure that anyone else using those

[OE-core] [PATCH V2] mdadm: fix do_package failed when changed local.conf but not cleaned

2019-09-24 Thread changqing.li
From: Changqing Li reproduce steps: 1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf 2. bitbake mdadm --success 3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf 4. bitbake mdadm -- failed when do_package it is not proper to change source Makefile during do_install by sed,

Re: [OE-core] [warrior][ 18/50] systemd: Backport OpenSSL BUF_MEM fix

2019-09-24 Thread Adrian Bunk
Please drop this one, see https://github.com/systemd/systemd/pull/12802 cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said.

Re: [OE-core] [Thud][ 15/24] dhcp: fix issue with new bind changes

2019-09-24 Thread Adrian Bunk
In master this patch was reverted due to a bug that caused a regression. Please drop this change, and use the upstream fix 0001-master-Added-includes-of-new-BIND9-compatibility-hea.patch instead. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the

Re: [OE-core] [warrior][PATCH] kernel-uboot: compress arm64 kernels

2019-09-24 Thread akuster808
On 9/24/19 12:23 AM, Bedel, Alban wrote: > On Tue, 2019-09-03 at 09:41 +, Bedel, Alban wrote: >> On Wed, 2019-07-31 at 13:53 +, Bedel, Alban wrote: >>> AArch64 images are not self-decompressing, thus usually much >>> larger. >>> Boot times can be reduced by compressing them in FIT and

[OE-core] ✗ patchtest: failure for rpm: make rpm work in toolchain. (rev4)

2019-09-24 Thread Patchwork
== Series Details == Series: rpm: make rpm work in toolchain. (rev4) Revision: 4 URL : https://patchwork.openembedded.org/series/19789/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

Re: [OE-core] Yocto Project Status WW39’19

2019-09-24 Thread ChenQi
On 09/24/2019 10:50 PM, Stephen K Jolley wrote: Current Dev Position: YP 2.8 M4 Feature Freeze Next Deadline: YP 3.0 Final Release 25th Oct SWAT Team Rotation: * SWAT lead is currently: Amanda * SWAT team rotation: Amanda -> Chen on Sept. 27, 2019 * SWAT team rotation:

Re: [OE-core] [warrior][ 25/50] boost: Fix build and enable context and coroutines on aarch64

2019-09-24 Thread akuster808
On 9/23/19 8:37 PM, Andre McCurdy wrote: > On Mon, Sep 23, 2019 at 7:52 PM Armin Kuster wrote: >> From: "Bedel, Alban" >> >> Like for ARM bjam need some hints about the ABI to properly build on >> aarch64. While at it also enable context and coroutine as these are >> supported on aarch64. >

Re: [OE-core] [PATCH 1/1] cases/bbtests.py: test_bitbake_g(): Check core-image-minimal itself

2019-09-24 Thread Randy MacLeod
On 9/24/19 4:15 AM, Robert Yang wrote: It checked whether busybox is in pn-buildlist and task-depends.dot after run "bitbake -g core-image-minimal", but busybox is not a must for core-image-minimal, You should explain why busybox is not a must since usually busybox is the key package in

[OE-core] [PATCH 1/4] linux-yocto/5.2: update to v5.2.13

2019-09-24 Thread bruce . ashfield
From: Bruce Ashfield Integrating the korg -stable updates that comprise the following commits: 218ca2e5affe Linux 5.2.13 4c634717d778 Revert "Input: elantech - enable SMBus on new (2018+) systems" 140839fe4e71 Linux 5.2.12 5566d1c61b2f Revert "ASoC: Fail card instantiation if DAI

[OE-core] [PATCH 3/4] linux-yocto/5.2: update to v5.2.14

2019-09-24 Thread bruce . ashfield
From: Bruce Ashfield Updating to the latest korg -stable for 5.2, which comprises the following changes: 997fee5473ce Linux 5.2.14 0ccc5c227f88 Revert "mmc: core: do not retry CMD6 in __mmc_switch()" 317a66e24b46 x86/boot: Preserve boot_params.secure_boot from sanitizing

[OE-core] [PATCH 4/4] linux-yocto/5.2: update to v5.2.16

2019-09-24 Thread bruce . ashfield
From: Bruce Ashfield Updating linux-yocto/5.2 to the latest korg -stable release that comprises the following commits: 1e2ba4a74fa7 Linux 5.2.16 2508f833875c x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning 8803770b85d3 rsi: fix a double

Re: [OE-core] [PATCH 1/1] cases/bbtests.py: test_bitbake_g(): Check core-image-minimal itself

2019-09-24 Thread Robert Yang
Hi Randy, On 9/25/19 4:46 AM, Randy MacLeod wrote: On 9/24/19 4:15 AM, Robert Yang wrote: It checked whether busybox is in pn-buildlist and task-depends.dot after run "bitbake -g core-image-minimal", but busybox is not a must for core-image-minimal, You should explain why busybox is not a

[OE-core] [PATCH v4] rpm: make rpm work in toolchain.

2019-09-24 Thread Zheng Ruoqin
We need to configure rpm to use package architecture from yocto build system. Install rpmrc and rpm/platform to ${SDKTARGETSYSROOT} because config file in host-sysroot as /opt/poky/2.7+snapshot/sysroots/x86_64-pokysdk-linux will be covered by another ARCH which result in previous config

Re: [OE-core] qemu 4.1 boot regression with riscv/musl

2019-09-24 Thread Alistair Francis
I raised the regression on the QEMU mailing list while I was preparing the revert for QEMU and Palmer pointed out this diff for musl: diff --git a/arch/riscv64/atomic_arch.h b/arch/riscv64/atomic_arch.h index c9765342..41ad4d04 100644 --- a/arch/riscv64/atomic_arch.h +++

[OE-core] [PATCH 2/4] linux-yocto/4.19: update to v4.19.72

2019-09-24 Thread bruce . ashfield
From: Bruce Ashfield Updating to the latest -korg -stable relase. A summary of the changes follows: ee809c7e0895 Linux 4.19.72 991467a47cf2 Revert "x86/apic: Include the LDR when clearing out APIC registers" 0f134f6e722c libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer

[OE-core] [PATCH 0/4] linux-yocto: -stable updates

2019-09-24 Thread bruce . ashfield
From: Bruce Ashfield Richard, Here's the latest round of -stable updates. I haven't found any issues with my build and boot tests with these .. but as you know, we sometimes do find corner cases. I've left all my 5.2 -stable bumps as separate commits, since they represent a set of SRCREVs that

[OE-core] [PATCH 0/1] systemd: mark /etc as updated to avoid unnecessary services to run

2019-09-24 Thread Chen Qi
*** BLURB HERE *** The following changes since commit 81f9e815d36848761a9dfa94b00ad998bb39a4a6: build-appliance-image: Update to master head revision (2019-09-19 20:32:53 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/etc-updated

Re: [OE-core] [PATCH 1/1] cases/bbtests.py: test_bitbake_g(): Check core-image-minimal itself

2019-09-24 Thread Robert Yang
On 9/25/19 10:28 AM, Randy MacLeod wrote: On 9/24/19 9:41 PM, Robert Yang wrote: Hi Randy, On 9/25/19 4:46 AM, Randy MacLeod wrote: On 9/24/19 4:15 AM, Robert Yang wrote: It checked whether busybox is in pn-buildlist and task-depends.dot after run "bitbake -g core-image-minimal", but

[OE-core] [PATCH 1/1] systemd: mark /etc as updated to avoid unnecessary services to run

2019-09-24 Thread Chen Qi
We have updated hwdb via postinstall, updated systemd users via 'systemd_create_users', so there's no need to update /etc. Mark it as updated to avoid unnecessary services like systemd-hwdb-update.service to run. This would solve timeout problem on qemumips. So also remove the timeout change for

[OE-core] [PATCH v2 1/1] cases/bbtests.py: test_bitbake_g(): Check base-files rather than busybox

2019-09-24 Thread Robert Yang
It checked whether busybox is in task-depends.dot after run "bitbake -g core-image-minimal", but busybox is not a must for core-image-minimal since it is configurable: VIRTUAL-RUNTIME_base-utils = "" VIRTUAL-RUNTIME_base-utils-syslog = "" VIRTUAL-RUNTIME_base-utils-hwclock = ""

[OE-core] [PATCH v2 0/1] cases/bbtests.py: test_bitbake_g(): Check base-files rather than busybox

2019-09-24 Thread Robert Yang
The following changes since commit 95ad5626296380358c8a502a3e04879dab653d78: build-appliance-image: Update to master head revision (2019-09-19 20:32:47 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/test

Re: [OE-core] qemu 4.1 boot regression with riscv/musl

2019-09-24 Thread Khem Raj
On Tue, Sep 24, 2019 at 6:09 PM Alistair Francis wrote: > I raised the regression on the QEMU mailing list while I was preparing > the revert for QEMU and Palmer pointed out this diff for musl: > > diff --git a/arch/riscv64/atomic_arch.h b/arch/riscv64/atomic_arch.h > index c9765342..41ad4d04

Re: [OE-core] [PATCH 1/1] cases/bbtests.py: test_bitbake_g(): Check core-image-minimal itself

2019-09-24 Thread Randy MacLeod
On 9/24/19 9:41 PM, Robert Yang wrote: Hi Randy, On 9/25/19 4:46 AM, Randy MacLeod wrote: On 9/24/19 4:15 AM, Robert Yang wrote: It checked whether busybox is in pn-buildlist and task-depends.dot after run "bitbake -g core-image-minimal", but busybox is not a must for core-image-minimal,