[OE-core] [PATCH 0/1] GCC segmentation fault fix

2017-08-04 Thread Juro Bystricky
This is a reasonably clean fix for the GCC segmentation fault as reported in https://bugzilla.yoctoproject.org/show_bug.cgi?id=11738 There should be no danger of any regressions. I reported the issue to GCC bugzilla, so eventually they may have a better fix. FWIW, I believe this bug is not GCC7

[OE-core] [PATCH 1/1] gcc7: fix potential segmentation fault

2017-08-04 Thread Juro Bystricky
Under some rare circumstances we may end up with GCC segmentation fault. This was observed with versions of sysmacros.h, which contain macros with embedded warning messages : When trying to actually display the warning, we may end up with a segmentation fault instead. The reason is the actual

[OE-core] ✗ patchtest: failure for core-image-minimal-initramfs: use initramfs-framework for initialization by default (rev2)

2017-08-04 Thread Patchwork
== Series Details == Series: core-image-minimal-initramfs: use initramfs-framework for initialization by default (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/7879/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an

[OE-core] [PATCH] initramfs-framework/setup-live: also boot live image if root=/dev/ram0

2017-08-04 Thread California Sullivan
Our grub and syslinux bootloaders both define root=/dev/ram0 for live images by default. Kernel docs show that root=/dev/ram0 is just a sentinel value to mount the initrd as root, which we're already doing in this path, so just check for a missing root= parameter OR root=/dev/ram0. Signed-off-by:

Re: [OE-core] [PATCH 3/3] core-image-minimal-initramfs: use initramfs-framework by default

2017-08-04 Thread Cal Sullivan
Hi Wei Tee, I'm not sure what is causing the issue you're seeing when trying to run the selftests, but I was able to track down the issue causing the selftests to fail in normal usage. Apparently, only systemd-boot sets no "root=" kernel command line parameter when booting live. Our other

[OE-core] [PATCH 2/2] sstatetests: limit the number of signature comparisons when differ

2017-08-04 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval For perfomance reasons, limit the number of signature comparisons when stamps differ. The limit set is hardcoded to 20. [YOCTO #11651] Signed-off-by: Leonardo Sandoval ---

[OE-core] [PATCH 1/2] sstatetests: Use python function instead of bitbake-diffsigs script

2017-08-04 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Using a python function instead of launching a subprocess fasten the diffsigs computation. [YOCTO #11651] Signed-off-by: Leonardo Sandoval ---

Re: [OE-core] [PATCH] checkpkg_exceptions: add LLVM

2017-08-04 Thread Khem Raj
On Fri, Aug 4, 2017 at 9:24 AM, Burton, Ross wrote: > Awesome, good to know. > > Can you try to remember to verify checkpkg works, and remove this line? If > we both try to remember then hopefully one of us will... OK entered into SRAM > > Ross > > On 4 August 2017 at

[OE-core] [PATCH][morty 1/3] archiver: Escape recipe name in regex

2017-08-04 Thread Ross Burton
From: Joshua Watt The recipe name needs to be escaped when using it in a regular expression so that and special characters are treated literally Signed-off-by: Joshua Watt Signed-off-by: Ross Burton ---

[OE-core] [PATCH][morty 2/3] systemd: remove upstreamed patch

2017-08-04 Thread Ross Burton
The addition of missing.h to user-utils.c was done in v230 with 0b6b45d5. Signed-off-by: Ross Burton --- ...sing.h-for-getting-secure_getenv-definiti.patch | 27 -- meta/recipes-core/systemd/systemd_230.bb | 1 - 2 files changed, 28

[OE-core] [PATCH][morty 3/3] systemd: refuse to load units with errors (CVE-2017-1000082)

2017-08-04 Thread Ross Burton
If a unit has a statement such as User=0day where the username exists but is strictly speaking invalid, the unit will be started as the root user instead. Backport a patch from upstream to mitigate this by refusing to start units such as this. Signed-off-by: Ross Burton

Re: [OE-core] [PATCH] checkpkg_exceptions: add LLVM

2017-08-04 Thread Burton, Ross
Awesome, good to know. Can you try to remember to verify checkpkg works, and remove this line? If we both try to remember then hopefully one of us will... Ross On 4 August 2017 at 17:12, Khem Raj wrote: > > > On 8/4/17 2:44 AM, Ross Burton wrote: > > The git mirror of

Re: [OE-core] [PATCH] checkpkg_exceptions: add LLVM

2017-08-04 Thread Khem Raj
On 8/4/17 2:44 AM, Ross Burton wrote: > The git mirror of LLVM doesn't have any tags we can track for release > announcements, so exclude llvm from the checkpkg test. we will switch to tarball based release once 5.0 is out. > > Signed-off-by: Ross Burton > --- >

Re: [OE-core] [PATCH v3] openssl: cryptodev enable method modified

2017-08-04 Thread Khem Raj
On 8/4/17 2:11 AM, Huang Qiyu wrote: > Use PACKAGECONFIG to enable cryptodev. > > Signed-off-by: Huang Qiyu > --- > meta/recipes-connectivity/openssl/openssl_1.0.2l.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [OE-core] [PATCH v2] pkgconf: add recipe

2017-08-04 Thread Maxin B. John
Hi Ross, On Fri, Aug 04, 2017 at 01:26:25PM +0100, Burton, Ross wrote: > >A recent patch to pkgconfig to make menuconfig work in the SDK has since >landed in master. Can you adapt the patch so that it also applies for pkgconf? Will do that, Thanks. >Cheers, >Ross >> >>On 14 July 2017 at

Re: [OE-core] [PATCH v2] pkgconf: add recipe

2017-08-04 Thread Burton, Ross
A recent patch to pkgconfig to make menuconfig work in the SDK has since landed in master. Can you adapt the patch so that it also applies for pkgconf? Cheers, Ross On 14 July 2017 at 09:52, Maxin B. John wrote: > Move pkgconf recipe to oe-core from meta-pkgconf: >

[OE-core] [PATCH V2 0/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-04 Thread Dengke Du
The following changes since commit 9ed748a542b520c1cb763d981969233c0f5efd4e: bitbake: daemonize: Always print any remaning UI events at exit (2017-08-03 11:14:13 +0100) are available in the git repository at: https://github.com/DengkeDu/openembedded-core.git dengke/ltp-upgrade-to-20170804

[OE-core] [PATCH V2 1/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-04 Thread Dengke Du
drop 4 patches because the upstream already contains them: 0001-dirtyc0w-Include-stdint.h.patch 0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch 0037-faccessat-and-fchmodat-Fix-build-warnings.patch 0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch drop the

Re: [OE-core] [PATCH 1/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-04 Thread Dengke Du
Please ignore this! On 2017年08月04日 17:54, Dengke Du wrote: drop 4 patches because the upstream already contains them: 0001-dirtyc0w-Include-stdint.h.patch 0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch 0037-faccessat-and-fchmodat-Fix-build-warnings.patch

[OE-core] [PATCH 0/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-04 Thread Dengke Du
The following changes since commit 9ed748a542b520c1cb763d981969233c0f5efd4e: bitbake: daemonize: Always print any remaning UI events at exit (2017-08-03 11:14:13 +0100) are available in the git repository at: https://github.com/DengkeDu/openembedded-core.git dengke/ltp-upgrade-to-20170804

[OE-core] [PATCH 1/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-04 Thread Dengke Du
drop 4 patches because the upstream already contains them: 0001-dirtyc0w-Include-stdint.h.patch 0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch 0037-faccessat-and-fchmodat-Fix-build-warnings.patch file://0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch

[OE-core] [PATCH] checkpkg_exceptions: add LLVM

2017-08-04 Thread Ross Burton
The git mirror of LLVM doesn't have any tags we can track for release announcements, so exclude llvm from the checkpkg test. Signed-off-by: Ross Burton --- meta-selftest/files/distrodata/checkpkg_exceptions | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] ✗ patchtest: failure for openssl: cryptodev enable method modified

2017-08-04 Thread Patchwork
== Series Details == Series: openssl: cryptodev enable method modified Revision: 1 URL : https://patchwork.openembedded.org/series/8091/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [PATCH v3] openssl: cryptodev enable method modified

2017-08-04 Thread Huang Qiyu
Use PACKAGECONFIG to enable cryptodev. Signed-off-by: Huang Qiyu --- meta/recipes-connectivity/openssl/openssl_1.0.2l.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb

[OE-core] [PATCH 1/1] python2/python3: fix multiprocessing.BoundedSemaphore not work on qemux86/qemuarm

2017-08-04 Thread Hongxu Jia
In upstream, the following commit: https://github.com/python/cpython/commit/e711cafab13efc9c1fe6c5cd75826401445eb585 ... commit e711cafab13efc9c1fe6c5cd75826401445eb585 Author: Benjamin Peterson Date: Wed Jun 11 16:44:04 2008 + Merged revisions 64104,64117 via

[OE-core] [PATCH 0/1] python2/python3: fix multiprocessing.BoundedSemaphore not work on qemux86/qemuarm

2017-08-04 Thread Hongxu Jia
Test steps: 1. Build qemux86 with python3 installed vim local.conf ... MACHINE = "qemux86" IMAGE_INSTALL_append = " python3 python python-modules" ... $ bitbake core-image-minimal 2. Run qemu runqemu core-image-minimal slirp nographic 3. Invoke python/python3 statements root@qemux86:~# python2

Re: [OE-core] [PATCH 3/3] core-image-minimal-initramfs: use initramfs-framework by default

2017-08-04 Thread Ng, Wei Tee
Hi Richard, Noted with the changes. I had try to reproduce the same failure log that you send to me. However, the result is different. How can I run the oe-selftest to test out the patch on my machine correctly? Can you verify with me whether the steps below are the correct steps? Firstly git