Re: [OE-core] [PATCH v2 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-12 Thread Denys Dmytriyenko
On Mon, Jun 12, 2017 at 11:05:19PM +0200, Patrick Ohly wrote: > On Mon, 2017-06-12 at 15:46 -0400, Denys Dmytriyenko wrote: > > This now breaks parsing my distro config on these lines: > > > > ENABLE_SYSVINIT ?= "0" > > DISTRO_FEATURES_append = "${@base_conditional("ENABLE_SYSVINIT", "1", "", "

[OE-core] [PATCH 2/2] oeqa/core/loader: Use full and small module name on filtering

2017-06-12 Thread Aníbal Limón
The small module name was added to support run a whole suite that has more that 3 levels in the test case name, but this broke the behaviour for use a full test case name. [YOCTO #11632] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/loader.py | 28

[OE-core] [PATCH 1/2] oeqa/core/runner: Don't log details twice if test fails

2017-06-12 Thread Aníbal Limón
The details of a test failure is upper on the unittest output so don't log twice the actual failure. [YOCTO #11622] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/runner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/lib/oeqa/core/runner.py

Re: [OE-core] [PATCH v2 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-12 Thread Patrick Ohly
On Mon, 2017-06-12 at 15:46 -0400, Denys Dmytriyenko wrote: > This now breaks parsing my distro config on these lines: > > ENABLE_SYSVINIT ?= "0" > DISTRO_FEATURES_append = "${@base_conditional("ENABLE_SYSVINIT", "1", "", " > systemd", d)}" > > > Here's the log: > > ERROR: Unable to parse

Re: [OE-core] [PATCH v2 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-12 Thread Denys Dmytriyenko
This now breaks parsing my distro config on these lines: ENABLE_SYSVINIT ?= "0" DISTRO_FEATURES_append = "${@base_conditional("ENABLE_SYSVINIT", "1", "", " systemd", d)}" Here's the log: ERROR: Unable to parse /OE/arago-master/sources/bitbake/lib/bb/data_smart.py Traceback (most recent call

Re: [OE-core] [PATCH] rpm: run binary package generation via thread pools

2017-06-12 Thread Leonardo Sandoval
On Mon, 2017-06-12 at 17:58 +0300, Alexander Kanavin wrote: > This greatly reduces build times when there is a large amount of small > rpm packages to produce. The patches are rather invasive, > and so will be submitted upstream. > What is the buildstat value (those from /proc/[PID]) you think

[OE-core] [PATCH] linux-firmware: don't package check_whence.py

2017-06-12 Thread Ross Burton
There's no need for this script on the target, and now that rpmdeps is fixed the QA code wants a dependency on Python in the firmware package, which clearly isn't appropriate. Signed-off-by: Ross Burton --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 4

[OE-core] [PATCH v2] uboot-config: check UBOOT_CONFIG variable, not flags, for error conditions

2017-06-12 Thread Denys Dmytriyenko
From: Denys Dmytriyenko Sometimes there's a need to change existing UBOOT_CONFIG setting from a recipe, distro or local config, such as an override or even switch back to UBOOT_MACHINE. Unfortunately, there's no easy way to override or unset flags, so using them as an error

Re: [OE-core] [PATCH] util-linux: upgrade to 2.30

2017-06-12 Thread Denys Dmytriyenko
Ping. Any comments, issues? On Fri, Jun 09, 2017 at 03:13:41PM -0400, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Drop uuid-test-error-api.patch as it's been fixed upstream differently: >

Re: [OE-core] [PATCH][pyro] mkelfimage: Fix broken patch when building native

2017-06-12 Thread Wold, Saul
Armin, This should be a 2.3.1 candidate, it's now merged in master Sau! On Mon, 2017-06-05 at 15:47 -0700, Saul Wold wrote: > A change occured about a year ago that broke the native build, fix > that patch > > [YOCTO #11590] > > Signed-off-by: Saul Wold > --- >  

Re: [OE-core] ✗ patchtest: failure for Add GCC 7.1 recipes

2017-06-12 Thread Leonardo Sandoval
On Mon, 2017-06-12 at 15:01 +, Patchwork wrote: > == Series Details == > > Series: Add GCC 7.1 recipes > Revision: 1 > URL : https://patchwork.openembedded.org/series/7195/ > State : failure > > == Summary == > > > Thank you for submitting this patch series to OpenEmbedded Core. This is

Re: [OE-core] [PATCH v2 0/2] Yocto Compatible 2.0 support code

2017-06-12 Thread Denys Dmytriyenko
On Mon, Jun 12, 2017 at 08:22:45AM +0200, Patrick Ohly wrote: > On Sun, 2017-06-11 at 14:47 -0400, Denys Dmytriyenko wrote: > > On Fri, Jun 09, 2017 at 03:04:02PM +0200, Patrick Ohly wrote: > > > As discussed in the "[Openembedded-architecture] Yocto Compatible 2.0 > > > + signature changes" mail

Re: [OE-core] [PATCH v2 3/3] import: new plugin to import the devtool workspace

2017-06-12 Thread Leonardo Sandoval
On Mon, 2017-06-12 at 16:19 +0200, Paul Eggleton wrote: > Hi Leo, > > A few comments below. > Thanks Paul. Too late to provided a v3 before M1, so I will work on the changes during M2. Leo > > On Friday, 2 June 2017 7:13:01 PM CEST > leonardo.sandoval.gonza...@linux.intel.com wrote: > >

[OE-core] [PATCH 2/2] connman: correct the systemd boot in read only rootfs

2017-06-12 Thread Maxin B. John
connman fails to start in systemd based read-only images while creating links: Jun 08 12:53:56 qemux86-64 systemd[1]: Starting Create Volatile Files and Directories... Jun 08 12:53:56 qemux86-64 systemd-tmpfiles[366]: [[0;1;31msymlink(/var/run/connman/resolv.conf, /etc/resolv.conf) failed:

[OE-core] [PATCH 1/2] systemd: enable resolved and networkd

2017-06-12 Thread Maxin B. John
Enable systemd-resolved and systemd-networkd by default. Make it co-exist with connman and Fix associated problems in read-only rootfs. Fixes [YOCTO #11331] Signed-off-by: Maxin B. John --- meta/recipes-core/systemd/systemd_232.bb | 13 ++--- 1 file changed, 10

[OE-core] [PATCH 0/2] [RFC] fix systemd-resolved and connman boot in read only rootfs

2017-06-12 Thread Maxin B. John
1. Enable systemd-resolved and systemd-networkd by default 2. Fix systemd-resolved in read only rootfs 3. Fix connman for read-only rootfs 4. Resolve the conflict with systemd-resolved and connman Maxin B. John (2): systemd: enable resolved and networkd connman: correct the systemd boot in

Re: [OE-core] [PATCH] rpm: run binary package generation via thread pools

2017-06-12 Thread Alexander Kanavin
On 06/12/2017 05:58 PM, Alexander Kanavin wrote: This greatly reduces build times when there is a large amount of small rpm packages to produce. The patches are rather invasive, and so will be submitted upstream. The changes in this version of the patch: - fixed (hopefully) the segfaults seen

[OE-core] ✗ patchtest: failure for Misc recipe fixes and updates

2017-06-12 Thread Patchwork
== Series Details == Series: Misc recipe fixes and updates Revision: 1 URL : https://patchwork.openembedded.org/series/7197/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the

[OE-core] ✗ patchtest: failure for rpm: run binary package generation via thread pools

2017-06-12 Thread Patchwork
== Series Details == Series: rpm: run binary package generation via thread pools Revision: 1 URL : https://patchwork.openembedded.org/series/7196/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core] ✗ patchtest: failure for Add GCC 7.1 recipes

2017-06-12 Thread Patchwork
== Series Details == Series: Add GCC 7.1 recipes Revision: 1 URL : https://patchwork.openembedded.org/series/7195/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed

[OE-core] [PATCH 7/7] ovmf: Update to latest

2017-06-12 Thread Khem Raj
Fix build with gcc7 clang can not compile it therefore mark it gcc only recipe Signed-off-by: Khem Raj --- ...g-UefiHiiLib-Fix-incorrect-comparison-exp.patch | 45 -- .../ovmf/ovmf/0001-ia32-Dont-use-pie.patch | 37 ++

[OE-core] [PATCH 6/7] kexec-tools: Pass -no-pie to linker

2017-06-12 Thread Khem Raj
- This matches the linker flags to compiler flags in purgatory - Compile arm64 without PIC Signed-off-by: Khem Raj --- .../kexec-tools/0001-Disable-PIE-during-link.patch | 31 ++ .../kexec/kexec-tools/0001-arm64-Disable-PIC.patch | 31

[OE-core] [PATCH 5/7] valgrind: Fix ptest build with musl

2017-06-12 Thread Khem Raj
musl unearthed a problem when building out of tree, config.h was being used from $(srcdir) instead of generated config.h in $(builddir) this assumed functions e.g. mallinfo() and more which are not in musl as a result tests broke. Also add fixes to build remaining tests when building on musl

[OE-core] [PATCH 4/7] libnsl2: Include stdint.h

2017-06-12 Thread Khem Raj
uintptr_t is defined in stdint.h Signed-off-by: Khem Raj --- ...Include-stdint.h-for-uintptr_t-definition.patch | 27 ++ meta/recipes-extended/libnsl/libnsl2_git.bb| 1 + 2 files changed, 28 insertions(+) create mode 100644

[OE-core] [PATCH 3/7] ltp: Include stdint.h for uintptr_t

2017-06-12 Thread Khem Raj
Fixes build with musl and upcoming glibc Signed-off-by: Khem Raj --- .../ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch | 34 ++ meta/recipes-extended/ltp/ltp_20170516.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644

[OE-core] [PATCH 2/7] binutils-2.28: Update to latest on release branch

2017-06-12 Thread Khem Raj
Drop patches to ChangeLog, they are in patch header anyway Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.28.inc | 2 +- .../binutils/binutils/CVE-2017-6965.patch| 15 --- .../binutils/binutils/CVE-2017-6966.patch

[OE-core] [PATCH 1/7] mpg123: Upgrade to 1.25.0

2017-06-12 Thread Khem Raj
No need to skip textrel QA for x86 as it has been fixed in 1.25.0 Signed-off-by: Khem Raj --- .../mpg123/{mpg123_1.24.0.bb => mpg123_1.25.0.bb} | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) rename

[OE-core] [PATCH 0/7] Misc recipe fixes and updates

2017-06-12 Thread Khem Raj
* Upgrade binutils to latest on 2.28 release * Add fixes to recipe to compile with upcoming glibc 2.26 release * Prepare recipes to let gcc pass -pie flags itself when configured The following changes since commit aea90e9ee6f34e7c1c08307080b1e29646668df6: package.bbclass: Restore functionality

[OE-core] [PATCH] rpm: run binary package generation via thread pools

2017-06-12 Thread Alexander Kanavin
This greatly reduces build times when there is a large amount of small rpm packages to produce. The patches are rather invasive, and so will be submitted upstream. Signed-off-by: Alexander Kanavin --- ...y-package-building-into-a-separate-functi.patch | 84

[OE-core] Yocto Project Status WW24’17

2017-06-12 Thread Jolley, Stephen K
Current Dev Position: Preparing for YP 2.4 M1 Next Deadline: YP 2.4 M1 Cut off is June 12, 2017 SWAT team rotation: Todor -> Alejandro on June 9, 2017. SWAT team rotation: Alejandro -> Jussi on June 16, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key

[OE-core] [PATCH 2/2] gcc_7.1.bb: disable thumb on armv5t

2017-06-12 Thread Khem Raj
It results in same link errors like armv4t Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc_7.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc_7.1.bb b/meta/recipes-devtools/gcc/gcc_7.1.bb index

[OE-core] [PATCH 0/2] Add GCC 7.1 recipes

2017-06-12 Thread Khem Raj
Make gcc7 as default compiler The following changes since commit aea90e9ee6f34e7c1c08307080b1e29646668df6: package.bbclass: Restore functionality to detect RPM dependencies (2017-06-12 15:24:21 +0100) are available in the git repository at:

Re: [OE-core] [PATCH v2 3/3] import: new plugin to import the devtool workspace

2017-06-12 Thread Paul Eggleton
Hi Leo, A few comments below. On Friday, 2 June 2017 7:13:01 PM CEST leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > Takes a tar archive created by 'devtool export' and export it (untar) to > workspace. By default,

Re: [OE-core] [PATCH v2 1/3] export: new plugin to export the devtool workspace

2017-06-12 Thread Paul Eggleton
Hi Leo, This looks OK. However I just noticed - the output tarfile isn't compressed. Can we enable gzip compression? In practice that means mode should be 'w:gz' when writing out and also .tar.gz instead of .tar extension. A couple of minor message notes below as well. On Friday, 2 June 2017

[OE-core] [PATCH v5] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
1. Dropped obsolete patches, because the new version contains them: - fix-cipher-des-ede3-cfb1.patch - openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch 2. LICENSE checksum change due to copyright years and wording tweak. 3. Test binaries (x86-64) are included in source code.

Re: [OE-core] [PATCH v7] openssh: Atomically generate host keys

2017-06-12 Thread Joshua Watt
On Tue, 2017-06-06 at 22:30 -0500, Joshua Watt wrote: > On Wed, May 31, 2017 at 10:05 PM, Joshua Watt > wrote: > > Generating the host keys atomically prevents power interruptions > > during > > the first boot from leaving the key files incomplete, which often > > prevents

Re: [OE-core] [PATCH v7] openssh: Atomically generate host keys

2017-06-12 Thread Joshua Watt
On Tue, 2017-06-06 at 22:30 -0500, Joshua Watt wrote: > On Wed, May 31, 2017 at 10:05 PM, Joshua Watt > wrote: > > Generating the host keys atomically prevents power interruptions > > during > > the first boot from leaving the key files incomplete, which often > > prevents

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
Ok. Thanks for your comments. I'll add it soon Thanks Changhyeok 2017-06-12 21:03 GMT+09:00 Burton, Ross : > > On 12 June 2017 at 13:02, Changhyeok Bae wrote: > >> I think that do_install_ptest is fine. Why would you think that? >> > >

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Burton, Ross
On 12 June 2017 at 13:02, Changhyeok Bae wrote: > I think that do_install_ptest is fine. Why would you think that? > packages/corei7-64-poky-linux/openssl/openssl-ptest: * PKGSIZE changed from 6192634 to 26 (-99%) * FILELIST: removed

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
I think that do_install_ptest is fine. Why would you think that? Thanks Changhyeok 2017-06-12 20:51 GMT+09:00 Burton, Ross : > > On 12 June 2017 at 12:11, Changhyeok Bae wrote: > >> +do_install_ptest() { >> +# exclude binary files or the

Re: [OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Burton, Ross
On 12 June 2017 at 12:11, Changhyeok Bae wrote: > +do_install_ptest() { > +# exclude binary files or the package won't install > +for d in ssltest_old v3ext x509aux; do > +rm -rf ${D}${libdir}/${PN}/ptest/test/$d > +done > +} > I think you meant

Re: [OE-core] [PATCH v3] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
Add LICENSE explanation. Thanks Changhyeok 2017-06-12 20:00 GMT+09:00 Burton, Ross : > Of course openssl would be shipping pre-compiled binaries... :/ > > On 10 June 2017 at 05:41, Changhyeok Bae wrote: > >> -LIC_FILES_CHKSUM =

[OE-core] [PATCH v4] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Changhyeok Bae
1. Dropped obsolete patches, because the new version contains them: - fix-cipher-des-ede3-cfb1.patch - openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch 2. LICENSE checksum change due to copyright years and wording tweak. 3. Test binaries (x86-64) are included in source code.

Re: [OE-core] [PATCH 1/2] Enable parallel compilation for python3-numpy

2017-06-12 Thread Jussi Kukkonen
On 12 June 2017 at 13:06, Richard Purdie wrote: > On Fri, 2017-06-09 at 10:36 +0300, Jussi Kukkonen wrote: > > Support for "-j N" does not seem like a generic distutils thing > > but numpy supports it. > > > > This improves compile time by 2 minutes (real

Re: [OE-core] [PATCH v3] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-12 Thread Burton, Ross
Of course openssl would be shipping pre-compiled binaries... :/ On 10 June 2017 at 05:41, Changhyeok Bae wrote: > -LIC_FILES_CHKSUM = "file://LICENSE;md5=27ffa5d74bb5a337056c14b2ef93fbf6" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=057d9218c6180e1d9ee407572b2dd225" >

[OE-core] [PATCH] native/nativesdk: Ensure DISTRO_FEATURES is determistic

2017-06-12 Thread Richard Purdie
set() order is random and hence the filtered native/nativesdk DISTRO_FEATURES could be set to random ordering. We've been lucky so far this tended not to cause issues but some queued changes highedlighted this. Thrown in a sorted() so the order is deterministic and we get consistent hash checksums

Re: [OE-core] [PATCH 1/2] Enable parallel compilation for python3-numpy

2017-06-12 Thread Richard Purdie
On Fri, 2017-06-09 at 10:36 +0300, Jussi Kukkonen wrote: > Support for "-j N" does not seem like a generic distutils thing > but numpy supports it. > > This improves compile time by 2 minutes (real time). Sorry:

[OE-core] [PATCH v2] buildhistory: force writing SRCREV values

2017-06-12 Thread Ed Bartosh
Enabling SSTATE_MIRRORS sometimes causes SRCREV values not to be written/updated in the build history. This happens more often if SRCREV is set to ${AUTOREV} Explicitly writing SRCREVs when recipe history is being written should fix this. [YOCTO #10948] Signed-off-by: Ed Bartosh

[OE-core] [PATCH] rpm: add explicit dependency on bzip2-replacement-native for native builds

2017-06-12 Thread liu . ming50
From: Ming Liu This fixes a following error: | recipe-sysroot-native/usr/lib/rpm/debugedit: error while loading shared libraries: \ | libbz2.so.1: cannot open shared object file: No such file or directory Signed-off-by: Ming Liu

[OE-core] State of bitbake world, Failed tasks 2017-06-08

2017-06-12 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status == Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!|Signatures !!colspan='14'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64

Re: [OE-core] [PATCH v2 0/2] Yocto Compatible 2.0 support code

2017-06-12 Thread Patrick Ohly
On Sun, 2017-06-11 at 14:47 -0400, Denys Dmytriyenko wrote: > On Fri, Jun 09, 2017 at 03:04:02PM +0200, Patrick Ohly wrote: > > As discussed in the "[Openembedded-architecture] Yocto Compatible 2.0 > > + signature changes" mail thread, changes in a .bbappend cannot be > > done unconditionally.