[OE-core] [PATCH] musl: Fix mips regressions in 1.1.15

2016-07-14 Thread Khem Raj
Bobby Bingham (2): remove or1k version of sem.h remove obsolete gitignore rules Rich Felker (4): remove obsolete and unused gethostbyaddr implementation fix asctime day/month names not to vary by locale fix regression in tcsetattr on all mips archs revert

[OE-core] [PATCH] bash: ensure LDFLAGS is passed when building ptest

2016-07-14 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-extended/bash/bash-3.2.48/build-tests.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch

[OE-core] [PATCH] bash: fix string format errors when enabling security flags

2016-07-14 Thread Ross Burton
If security_flags.inc is included then bash 3.2.48 fails to build: | ../bash-3.2.48/print_cmd.c:1152:3: error: format not a string literal and no format arguments [-Werror=format-security] |cprintf (indentation_string); Backport a patch from upstream to solve this. Signed-off-by: Ross

[OE-core] [RFC PATCH v2 1/1] image: add do_image_qa task to run QA checks on the constructed image

2016-07-14 Thread Joshua Lock
This task runs all functions in IMAGE_QA_COMMANDS after the image construction has completed in order to validate the resulting image. Image sanity checks should either be Python functions which raise bb.build.FuncFailed on failure or shell functions with return a non-zero exit code. Python

[OE-core] [RFC PATCH v2 0/1] Add mechanism to run QA checks on the image once it's built

2016-07-14 Thread Joshua Lock
Here's v2 of a patch to add a mechanism to call a series of functions to validate a constructed image. Changes since v1: * support shell functions * don't abuse NotImplementedError Please review the following changes for suitability for inclusion. If you have any objections or suggestions for

[OE-core] [PATCHv2 1/1] selftest/seltest.py: Add test to check imports from other layers

2016-07-14 Thread mariano . lopez
From: Mariano Lopez This tests adds a check of selftest itself to verify if can add test from other layers. [YOCTO #9770] Signed-off-by: Mariano Lopez --- meta-selftest/lib/oeqa/selftest/external-layer.py | 14 ++

[OE-core] extensible SDK doesn't install when initramfs is bundled with kernel?

2016-07-14 Thread André Draszik
Hi, It looks like I can't install the extensible SDK if my initramfs is bundled with the kernel. I am building two images - my-image & my-image-initramfs (which are mostly identical at the moment). I have also set INITRAMFS_IMAGE = "my-image-initramfs" INITRAMFS_IMAGE_BUNDLE = "1" So far so

[OE-core] [PATCHv2 0/1] selftest: Add test to check imports from other layers

2016-07-14 Thread mariano . lopez
From: Mariano Lopez This patch adds a test to check selftest itself, the feature to import tests from other layers. Changes in v2: - Renamed tests based on Benjamin's comment The following changes since commit 6bb3069eeff76373041f8da08418386fe5ef5897:

[OE-core] Save the dates (OEDEM and Yocto Project Developer Day)

2016-07-14 Thread Philip Balister
ELCE is in Berlin this year on Oct 11-13 (Tuesday-Thursday). After conversations with the Yocto Project, we've worked out that there will be a Yocto Project developer day on Monday, Oct 10 and OEDEM (OpenEmbedded developer meeting) on Friday, Oct 14. The Yocto Project developer day is basically a

Re: [OE-core] [PATCH 1/8] security_flags.inc: enable PIE for a few recipes

2016-07-14 Thread Burton, Ross
On 11 July 2016 at 15:33, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > -SECURITY_CFLAGS_pn-python = "${SECURITY_NO_PIE_CFLAGS}" > This was fun: python with PIE flags silently fails to build various modules, including the zlib support. -SECURITY_CFLAGS_pn-syslinux =

[OE-core] [PATCH] glibc: use the host locale archive in nativesdk builds

2016-07-14 Thread Ross Burton
The nativesdk libc when used by buildtools has a hard requirement on supporting a UTF-8 locale because Python 3 needs a UTF-8 locale. However we currently only ship the C locale, which means that Python attempts to lookup the user's locale (for example, en_NZ.UTF-8) in the locale archive under

Re: [OE-core] [PATCH] glibc: use the host locale archive in nativesdk builds

2016-07-14 Thread Khem Raj
> On Jul 14, 2016, at 9:37 AM, Ross Burton wrote: > > The nativesdk libc when used by buildtools has a hard requirement on > supporting > a UTF-8 locale because Python 3 needs a UTF-8 locale. However we currently > only > ship the C locale, which means that Python

[OE-core] [PATCH 2/2] build: don't use $B as the default cwd for functions

2016-07-14 Thread Ross Burton
When bitbake executes a shell or Python function it can cd/chdir() into a directory before executing the task. If no directory is specified then the default of $B is used. However $B is an OpenEmbedded variable and BitBake shouldn't be aware of it. To solve this change the semantics slightly so

[OE-core] [PATCH 1/2] classes/license.bbclass: don't set [dirs] and [cleandirs]

2016-07-14 Thread Ross Burton
There's no need to set these as the restore from sstate will create the directories as required. Signed-off-by: Ross Burton --- meta/classes/license.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass

[OE-core] [oe-core][PATCH 0/1] add license info for libidn

2016-07-14 Thread Joe Slater
This might be a re-send of something I sent last week. It avoids the appearance of GPLV3 on a target including libidn but not idn. Joe Slater (1): libidn: add license per package meta/recipes-extended/libidn/libidn_1.32.bb |3 +++ 1 file changed, 3 insertions(+) -- 1.7.9.5 --

[OE-core] [PATCH] binutils: backport fix for TLSDESC relocations with no TLS segment on arch64

2016-07-14 Thread Ross Burton
As exposed by WebKit on aarch64 hosts, which causes binutils to throw an internal error. [ YOCTO #9509 ] Signed-off-by: Ross Burton --- meta/recipes-devtools/binutils/binutils-2.26.inc | 1 + .../binutils/binutils/aarch64-tls.patch| 175

Re: [OE-core] [PATCH] glibc: use the host locale archive in nativesdk builds

2016-07-14 Thread Burton, Ross
On 14 July 2016 at 19:58, Mark Hatle wrote: > Patching glibc to use the host system as a backup for the locales makes > sense to > me as well. However it is definitely more work and may not be worth it... Agreed and agreed, which is why I went with this patch. > In

Re: [OE-core] [PATCH 2/2] build: don't use $B as the default cwd for functions

2016-07-14 Thread Burton, Ross
On 14 July 2016 at 19:52, Leonardo Sandoval < leonardo.sandoval.gonza...@linux.intel.com> wrote: > this is a bitbake change so it was sent to the wrong list. > Yes it was, I was in a rush to send patches before dinner :) Ross -- ___ Openembedded-core

Re: [OE-core] [PATCH 2/2] build: don't use $B as the default cwd for functions

2016-07-14 Thread Leonardo Sandoval
this is a bitbake change so it was sent to the wrong list. On 07/14/2016 11:39 AM, Ross Burton wrote: When bitbake executes a shell or Python function it can cd/chdir() into a directory before executing the task. If no directory is specified then the default of $B is used. However $B is an

[OE-core] [oe-core][PATCH 1/1] libidn: add license per package

2016-07-14 Thread Joe Slater
The idn package is GPLv3 and the rest is LGPLv2.1+ or LGPLv3. Signed-off-by: Joe Slater --- meta/recipes-extended/libidn/libidn_1.32.bb |3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-extended/libidn/libidn_1.32.bb

Re: [OE-core] [PATCH] glibc: use the host locale archive in nativesdk builds

2016-07-14 Thread Mark Hatle
On 7/14/16 9:37 AM, Ross Burton wrote: > The nativesdk libc when used by buildtools has a hard requirement on > supporting > a UTF-8 locale because Python 3 needs a UTF-8 locale. However we currently > only > ship the C locale, which means that Python attempts to lookup the user's > locale >

Re: [OE-core] [PATCH] glibc: use the host locale archive in nativesdk builds

2016-07-14 Thread Burton, Ross
On 14 July 2016 at 20:11, Burton, Ross wrote: > The problem for buildtools shipping just C.UTF-8 is that the moment you > have a system that needs buildtools and use them, you're forced into using > C.UTF-8 for everything in that session unless you keep that terminal for >

[OE-core] [PATCH][krogoth] binutils: backport fix for TLSDESC relocations with no TLS segment on arch64

2016-07-14 Thread Ross Burton
As exposed by WebKit on aarch64 hosts, which causes binutils to throw an internal error. [ YOCTO #9509 ] Signed-off-by: Ross Burton --- meta/recipes-devtools/binutils/binutils-2.26.inc | 1 + .../binutils/binutils/aarch64-tls.patch| 177

[OE-core] [PATCH] binutils: backport fix for TLSDESC relocations with no TLS segment on arch64

2016-07-14 Thread Ross Burton
As exposed by WebKit on aarch64 hosts, which causes binutils to throw an internal error. [ YOCTO #9509 ] Signed-off-by: Ross Burton --- meta/recipes-devtools/binutils/binutils-2.26.inc | 1 + .../binutils/binutils/aarch64-tls.patch| 177

Re: [OE-core] [PATCH] wic: mountpoint is an optional argument

2016-07-14 Thread Ed Bartosh
Hi Maciej, Thank you for the patch! It looks good to me. Acked-by: Ed Bartosh BTW, the same effect can be achieved by specifying mount point without leading slash, i.e. part mirror --ondisk sda On Tue, Jul 12, 2016 at 01:37:25PM +0200, Maciej Borzecki wrote: >

[OE-core] [krogoth][PATCH 2/8] elfutils-0.148: Fix build with gcc6

2016-07-14 Thread Tim Orling
From: Khem Raj (From OE-Core rev: c2668171f5d76bfea085ecf2fa7dfe1e42df1e63) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../elfutils/elfutils-0.148/gcc6.patch | 23 ++

[OE-core] [krogoth][PATCH 3/8] elfutils: Fix build for gcc-6

2016-07-14 Thread Tim Orling
Backport patch from upstream. [YOCTO #9897] (Fedora-24) Signed-off-by: Tim Orling --- ...missing-brackets-around-if-statement-body.patch | 419 + meta/recipes-devtools/elfutils/elfutils_0.164.bb | 1 + 2 files changed, 420 insertions(+)

[OE-core] [krogoth][PATCH 8/8] gcc-5.3: fix build for gcc-6

2016-07-14 Thread Tim Orling
Backport upstream patch. It had been applied to 4.9, but not 5.3. [YOCTO #9897] (Fedora-24) Signed-off-by: Tim Orling --- meta/recipes-devtools/gcc/gcc-5.3.inc | 1 + .../gcc-5.3/0060-fix-build-when-using-gcc6.patch | 157 +

[OE-core] [PATCH 5/5] sysstat: upgrade to 11.3.5

2016-07-14 Thread Chen Qi
Signed-off-by: Chen Qi --- .../recipes-extended/sysstat/{sysstat_11.3.4.bb => sysstat_11.3.5.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/sysstat/{sysstat_11.3.4.bb => sysstat_11.3.5.bb} (53%) diff --git

[OE-core] [krogoth][PATCH 4/8] rpm: Fix build with gcc6

2016-07-14 Thread Tim Orling
From: Khem Raj (From OE-Core rev: e9c86d85460f45011bd978e1495a2b802d733020) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch | 54 +

[OE-core] [krogoth][PATCH 5/8] glib-2.0: Ignore useless warning found with gcc-6

2016-07-14 Thread Tim Orling
From: Khem Raj ../../glib-2.46.2/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, ); ^~ |

[OE-core] [krogoth][PATCH 1/8] pkgconfig: Fix build with gcc-6

2016-07-14 Thread Tim Orling
Our patch in master was on top of 0.29.1 update. commit b83a808fcbd3e7aec3b0757c7180cf83dac44e92 Apply to krogoth stable 0.29 version instead. [YOCTO #9897] (Fedora-24) Signed-off-by: Tim Orling --- ...te-suppress-string-format-literal-warning.patch | 34

[OE-core] [krogoth][PATCH 7/8] openjade-native: work around bug exposed by GCC 6

2016-07-14 Thread Tim Orling
From: Daniel McGregor Simply turn off the optimzation that is causing this breakage. I had originally used -fno-lifetime-dse, but -fno-tree-dse works at least going back as far as gcc 4.8. This isn't a real fix, but it allows openjade to work enough to complete a

[OE-core] [PATCH 2/5] byacc: upgrade to 20160606

2016-07-14 Thread Chen Qi
Signed-off-by: Chen Qi --- meta/recipes-extended/byacc/{byacc_20160324.bb => byacc_20160606.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/byacc/{byacc_20160324.bb => byacc_20160606.bb} (74%) diff --git

[OE-core] [PATCH 0/5] Package Upgrade: at, byacc, cups, sudo, sysstat

2016-07-14 Thread Chen Qi
The following changes since commit da7a2c7b00b40a8759dbe9f4ab6df3e337e3d6b6: useradd-staticids: use map() instead of imap() (2016-07-12 23:11:57 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/PU-20160715

[OE-core] [PATCH 1/5] at: upgrade to 3.1.20

2016-07-14 Thread Chen Qi
configure-fix-with-without-selinux.patch is removed as it has been merged. Signed-off-by: Chen Qi --- .../at/at/configure-fix-with-without-selinux.patch | 53 -- .../at/{at_3.1.18.bb => at_3.1.20.bb} | 7 ++- 2 files changed, 3

[OE-core] [PATCH 3/5] cups: upgrade to 2.1.4

2016-07-14 Thread Chen Qi
Signed-off-by: Chen Qi --- meta/recipes-extended/cups/cups.inc | 2 +- meta/recipes-extended/cups/{cups_2.1.3.bb => cups_2.1.4.bb} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-extended/cups/{cups_2.1.3.bb =>

[OE-core] [krogoth][PATCH 0/8] Fixes for gcc-6 (Fedora-24)

2016-07-14 Thread Tim Orling
[YOCTO #9897] Fedora-24 only has gcc-6.1.1. This has caused a number of failures in -native recipes and gcc-cross. This series either cherry-picks commits from master or applies known good patches from upstream. Fixes broken build for: - pkgconfig-native - elfutils-native - rpm-native -

Re: [OE-core] [PATCH] STIG: The system default umask in /etc/login.defs must be 077

2016-07-14 Thread Kang Kai
On 2016年04月07日 01:01, Alexandru Moise wrote: The umask value influences the permissions assigned to files when they are created. A misconfigured umask value could result in files with excessive permissions that can be read and/or written to by unauthorized users. Also modify /etc/profile in

Re: [OE-core] [PATCH] bitbake.conf: add default for IMAGE_FSTYPES_DEBUGFS

2016-07-14 Thread André Draszik
Hi, On Fr, 2016-05-27 at 21:42 +0100, André Draszik wrote: > > On Fri, May 27, 2016 at 4:21 PM, Mark Hatle > wrote: > > On 5/27/16 9:42 AM, André Draszik wrote: > > > On Fr, 2016-05-27 at 09:21 -0500, Mark Hatle wrote: > > > > On 5/27/16 5:54 AM, André Draszik wrote: >

[OE-core] [PATCH 0/1] Backport patch to fix CVE-2016-2381 for perl

2016-07-14 Thread kai.kang
From: Kai Kang The following changes since commit 627d01997fcf6a0581d88047735769ffb2592b82: useradd-staticids: use map() instead of imap() (2016-07-12 23:12:00 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib kangkai/cve-2016-2381

[OE-core] [PATCH 1/1] perl: fix CVE-2016-2381

2016-07-14 Thread kai.kang
From: Kai Kang Backport patch to fix CVE-2016-2381 from perl upstream: http://perl5.git.perl.org/perl.git/commitdiff/ae37b791a73a9e78dedb89fb2429d2628cf58076 Signed-off-by: Kai Kang --- .../perl/perl/perl-fix-CVE-2016-2381.patch | 113

[OE-core] [PATCH] Allow for simultaneous do_rootfs tasks with rpm

2016-07-14 Thread Stephano Cetola
Give each rootfs its own RPM channel to use. This puts the RPM metadata in a private subdirectory of $WORKDIR, rather than living in DEPLOY_DIR where other tasks may race with it. This allows us to reduce the time that the rpm.lock is held to only the time needed to hardlink the RPMs, allowing

Re: [OE-core] [PATCH] binutils: backport fix for TLSDESC relocations with no TLS segment on arch64

2016-07-14 Thread Khem Raj
> On Jul 14, 2016, at 12:59 PM, Ross Burton wrote: > > As exposed by WebKit on aarch64 hosts, which causes binutils to throw an > internal error. > > [ YOCTO #9509 ] This is ok > > Signed-off-by: Ross Burton > --- >

[OE-core] [PATCH] systemd: allow add users to groups in rootfs postprocess

2016-07-14 Thread Stephano Cetola
Currently the functionality checks for the "u" and "g" flags to create users and groups, but not the "m" flag to add users to groups. This change first checks to be sure that the users and groups are created, creates them if necessary, then adds the user to the group. Signed-off-by: Stephano

Re: [OE-core] [krogoth][PATCH 6/8] binutils: disable werror on native build

2016-07-14 Thread Khem Raj
> On Jul 14, 2016, at 6:49 PM, Tim Orling > wrote: > > From: Dan McGregor > > It's disabled on cross builds, and it's needed for gcc 6 > > (From OE-Core rev: ce1b37e29dc89b67dc698e856007b59faa16c4df) > > Signed-off-by: Dan McGregor

Re: [OE-core] [krogoth][PATCH 6/8] binutils: disable werror on native build

2016-07-14 Thread Khem Raj
> On Jul 14, 2016, at 8:58 PM, Tim Orling wrote: > > Hi Khem, > > Can you elaborate? What am I missing or unaware of? Happy to keep digging! Can you try building an SDK ? > > --Tim > > On Thursday, July 14, 2016, Khem Raj

Re: [OE-core] [PATCH] [v2] watchdog: enable systemd support

2016-07-14 Thread Huang, Jie (Jackie)
Hi, I’m taking care this of, I will change to use systemd_system_unitdir instead and remove ControlGroup in the service files since it has been deprecated. Thanks, Jackie From: openembedded-core-boun...@lists.openembedded.org

Re: [OE-core] [krogoth][PATCH 6/8] binutils: disable werror on native build

2016-07-14 Thread Tim Orling
Hi Khem, Can you elaborate? What am I missing or unaware of? Happy to keep digging! --Tim On Thursday, July 14, 2016, Khem Raj wrote: > > > On Jul 14, 2016, at 6:49 PM, Tim Orling < > timothy.t.orl...@linux.intel.com > wrote: > > > > From: Dan McGregor

[OE-core] [meta-oe][PATCH] openssl: use the perl of perl-native instead of the host perl

2016-07-14 Thread Yue Tao
The openssl can't build with very old perl, such as 5.8.9, so force it to use the perl-native to avoid host dependence issue. Signed-off-by: Yue Tao --- meta/recipes-connectivity/openssl/openssl.inc |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git