Re: [OE-core] [PATCH v2 1/1] Make yocto-spdx support spdx2.0 SPEC

2016-09-21 Thread Lei, Maohui
Hi Maxin, Simon > It would be nice to include the reason for change from fossology to dosocs2 > in the commit message too (from cover letter) OK, I will add the reasons into the commit message in v3. > Instead of requesting the user to install the DoSOCSv2 from github or > other repos, can we

Re: [OE-core] [PATCH 1/1] toolchain-shar-relocate.sh: Add error-handling

2016-09-21 Thread Christopher Larson
On Wed, Sep 21, 2016 at 12:54 AM, wrote: > diff --git a/meta/files/toolchain-shar-relocate.sh > b/meta/files/toolchain-shar-relocate.sh > index d4bcf0e..e491153 100644 > --- a/meta/files/toolchain-shar-relocate.sh > +++ b/meta/files/toolchain-shar-relocate.sh > @@

Re: [OE-core] [PATCH] swig: 3.0.8 -> 3.0.10

2016-09-21 Thread Wang, Xin
ping -Original Message- From: Wang, Xin/王 鑫 Sent: Thursday, September 01, 2016 5:08 PM To: openembedded-core@lists.openembedded.org Cc: Wang, Xin/王 鑫 Subject: [OE-core][PATCH] swig: 3.0.8 -> 3.0.10 Upgrade swig from 3.0.8 to 3.0.10. Signed-off-by: Wang Xin

Re: [OE-core] [PATCH] ruby: 2.2.5 -> 2.3.1

2016-09-21 Thread Wang, Xin
ping -Original Message- From: Wang, Xin/王 鑫 Sent: Thursday, September 01, 2016 1:36 PM To: openembedded-core@lists.openembedded.org Cc: Wang, Xin/王 鑫 Subject: [OE-core][PATCH] ruby: 2.2.5 -> 2.3.1 1) Upgrade ruby from 2.2.5 to 2.3.1. 2) Modify LIC_FILES_CHKSUM, since the date in it has

Re: [OE-core] [PATCH 1/1] rpm: make install with --nosignature and --nodigest work

2016-09-21 Thread Robert Yang
On 09/21/2016 10:10 PM, Mark Hatle wrote: On 9/20/16 10:37 PM, Robert Yang wrote: On 09/21/2016 04:33 AM, Mark Hatle wrote: On 9/20/16 10:00 AM, Burton, Ross wrote: On 20 September 2016 at 09:15, Hongxu Jia > wrote:

Re: [OE-core] [PATCH v4] bind: 9.10.3-P3 -> 9.11.0b2

2016-09-21 Thread Wang, Xin
ping -Original Message- From: Wang, Xin/王 鑫 Sent: Friday, August 26, 2016 11:12 AM To: openembedded-core@lists.openembedded.org Cc: Wang, Xin/王 鑫 Subject: [OE-core][PATCH v4] bind: 9.10.3-P3 -> 9.11.0b2 1) Upgrade bind from 9.10.3-P3 to 9.11.0b2. 2) Delete some patchers, since they are

[OE-core] [PATCH] uninative-tarball: Make stamp independent

2016-09-21 Thread Richard Purdie
The uninative tarball only contains nativesdk compoents. It should not get regenerated when MACHINE changes for example. Currently its sstate arch is also incorrect so changing SDKMACHINE results in other variants being removed from the deploy directory. This patch removes the target architecture

Re: [OE-core] [PATCH] encodings: Add dependency to mkfontdir-native

2016-09-21 Thread Gratian Crisan
Burton, Ross writes: > On 21 September 2016 at 19:40, Gratian Crisan wrote: > >> Instead add a DEPENDS on mkfontdir-native in the encodings recipe in >> addition to the mkfontscale-native dependency it already contains. This >> solves the missing mkfontdir in the native

[OE-core] [PATCH 1/1] testimage.bbclass: Add package manager dependency

2016-09-21 Thread mariano . lopez
From: Mariano Lopez The feature to install packages in the target requires to build the package manager. It would fail, with very obtuse errors, if a test requires to install something and the package manager hasn't been build. This will add the package manager as

Re: [OE-core] State of bitbake world 2016-09-20

2016-09-21 Thread Andrea Adami
On Wed, Sep 21, 2016 at 10:38 PM, Andrea Adami wrote: > On Wed, Sep 21, 2016 at 10:19 PM, Martin Jansa wrote: >> >> == Number of issues - stats == >> {| class='wikitable' >> !|Date !!colspan='3'|Failed tasks >>

[OE-core] [PATCH] base.bbclass: Drop unnecessary dirs setting

2016-09-21 Thread Richard Purdie
${D} is listed in cleandirs so no need to list it in dirs as well. The default directory is ${B} so this is a cleanup which should have no changes to the execution. [YOCTO #10017] Signed-off-by: Richard Purdie diff --git a/meta/classes/base.bbclass

[OE-core] [PATCH] [krogoth] Fixes several python3 dependencies

2016-09-21 Thread Alejandro Hernandez
This patch adds the packages python3-signal, python3-enum and python3-selectors, while it also fixes python3-subprocess, this fixes the installation of python3-modules [YOCTO #10276] Signed-off-by: Alejandro Hernandez ---

Re: [OE-core] [PATCH] encodings: Add dependency to mkfontdir-native

2016-09-21 Thread Burton, Ross
On 21 September 2016 at 19:40, Gratian Crisan wrote: > Instead add a DEPENDS on mkfontdir-native in the encodings recipe in > addition to the mkfontscale-native dependency it already contains. This > solves the missing mkfontdir in the native sysroot problem without >

[OE-core] [PATCH] libnewt: link whiptail properly with libnewt

2016-09-21 Thread Andreas Müller
Configuration failed to detect gold as GNU linker. It was searching for 'GNU ld' but gold returns 'GNU gold (GNU Binutils 2.27.0.20160806) 1.12' which does not match. When not linking by GNU linker Makefile did some magic link target alignment: ifneq ($(GNU_LD),) SHLIBFLAGS=

Re: [OE-core] State of bitbake world 2016-09-20

2016-09-21 Thread Andrea Adami
On Wed, Sep 21, 2016 at 10:19 PM, Martin Jansa wrote: > > == Number of issues - stats == > {| class='wikitable' > !|Date !!colspan='3'|Failed tasks > !!colspan='6'|Failed depencencies!!|Signatures >

[OE-core] State of bitbake world 2016-09-20

2016-09-21 Thread Martin Jansa
== Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!colspan='6'|Failed depencencies!!|Signatures !!colspan='12'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64

[OE-core] [PATCH v2] oeqa/selftest/base: backup and restore local configuration files

2016-09-21 Thread Jose Lamego
Selftests' cleanup method during test setup is not capable of restoring local configuration files that remain modified after aborting a test through a keyboard interruption. This change creates backups for local.conf and bblayers.conf at test setup, restore them when found, and deletes them at

[OE-core] [PATCH] encodings: Add dependency to mkfontdir-native

2016-09-21 Thread Gratian Crisan
Currently adding a font recipe to an image doesn't have enough dependencies to cause mkfontdir-native to be included in the native sysroot. This creates problems with the postinstall scripts for fonts which call mkfontdir to create font index files: font.dir. The end result is missing font.dir

[OE-core] [PATCH 4/4] runqemu: don't fail during check_arg_machine()

2016-09-21 Thread Joshua Lock
If DEPLOY_DIR_IMAGE doesn't exist during check_arg_machine() we will attempt to guess a suitable value later when check_and_set() calls validate_paths(), therefore this shouldn't raise an exception Signed-off-by: Joshua Lock --- scripts/runqemu | 2 +- 1 file changed, 1

[OE-core] [PATCH 2/4] runqemu: try and guess qemu-system binary when MACHINE isn't set

2016-09-21 Thread Joshua Lock
Emulate some logic from the prior, shell based, version of runqemu to try and infer the correct setting for MACHINE from the kernel and rootfs filenames. Signed-off-by: Joshua Lock --- scripts/runqemu | 36 1 file changed, 36

[OE-core] [PATCH 3/4] runqemu: don't try and invoke bitbake when running in a toolchain env

2016-09-21 Thread Joshua Lock
If a MACHINE value is passed we can't validate it by running bitbake as the toolchain environment doesn't include the build system, we must assume that the passed value for MACHINE is correct. Signed-off-by: Joshua Lock --- scripts/runqemu | 9 +++-- 1 file changed,

[OE-core] [PATCH 1/4] runqemu: validate paths and attempt to infer unset paths

2016-09-21 Thread Joshua Lock
We need to validate and ensure all paths are set regardless of whether runqemu was invoked with a .qemuboot.conf file or otherwise. Split this logic out into a separate method called during check_and_set() Signed-off-by: Joshua Lock --- scripts/runqemu | 3 +++ 1 file

[OE-core] [PATCH 0/4] runqemu fixes for toolchain and sdk uses

2016-09-21 Thread Joshua Lock
Another round of fixes for runqemu to support common usage models such as being called via the Eclipse plugin. * don't immediately bail out if QB_SYSTEM_NAME isn't set (this variable is only set in a qemuboot.conf file), instead attempt to infer the correct qemu-system binary based on the

[OE-core] [PATCH] oeqa/selftest/base: backup and restore local configuration files

2016-09-21 Thread Jose Lamego
Selftests' cleanup method during test setup is not capable of restoring local configuration files that remain modified after aborting a test through a keyboard interruption. This change creates backups for local.conf and bblayers.conf at test setup, restore them when found, and deletes them at

[OE-core] [PATCH] buildtools-tarball: add SDKMACHINE to stamps-extra-info

2016-09-21 Thread Joshua Lock
Otherwise the stamps for x86-64 and i686 uninative tarballs match and we can't deploy both to the DEPLOYDIR. Signed-off-by: Joshua Lock --- meta/recipes-core/meta/buildtools-tarball.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH 0/2] systemd: use nss-resolve when systemd-resoveld is enable

2016-09-21 Thread Khem Raj
On Wed, Sep 21, 2016 at 1:19 AM, Maciej Borzecki wrote: > A patch series that enables use of nss-resolve (systemd's NSS service module) > if > systemd-networkd is enabled via PACKAGECONFIG. > > The first patch is a trivial formatting change. > > The second patch does

Re: [OE-core] [PATCH v2 1/1] Make yocto-spdx support spdx2.0 SPEC

2016-09-21 Thread Jan-Simon Möller
Hi Lei, Maxin, * ! I think this patch is very useful and should be considered for inclusion in OE-core. Maxin's comment on making the class depend on a "dosocs-native" recipe is good. @Lei: Could you follow-up with a v2 applying this enhancement as proposed by Maxin? -- Dipl.-Ing.

Re: [OE-core] [wic][PATCH] wic: add beaglebone.wks

2016-09-21 Thread Maciej Borzęcki
On Wed, Sep 21, 2016 at 5:18 PM, Ed Bartosh wrote: > Added wks to make an image for Beaglebone board. > > Signed-off-by: Ed Bartosh > --- > scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++ > 1 file changed, 7 insertions(+) > create

Re: [OE-core] [PATCH V2 1/1] kernel.bbclass: Add kernel_version_sanity_check function

2016-09-21 Thread Cal Sullivan
Yes, the PV is set incorrectly here. In b5e7625, the kernel's source was updated to 4.1.32 for genericx86-64, but the LINUX_VERSION variable (which is used to set PV) was not. --- Cal On 09/20/2016 08:11 PM, Robert Yang wrote: Hi, There is an error on autobuilder related to this patch:

Re: [OE-core] rm_work + pybootchart enhancements

2016-09-21 Thread Martin Jansa
On Wed, Sep 21, 2016 at 05:39:02PM +0200, Patrick Ohly wrote: > Hello! > > rm_work.bbclass currently isn't good enough for use in really tightly > constrained environments. For example, building core-image-sato with > 20GB of free disk space should work (final disk usage with rm_work > active:

[OE-core] [PATCH 1/1] toolchain-shar-relocate.sh: Add error-handling

2016-09-21 Thread mariano . lopez
From: Mariano Lopez The relocation script of the SDK doesn't have enough error handling when replacing host perl with SDK perl or changing the symlinks. This will add those checks along with a sanity check of xargs. [YOCTO #10114] Signed-off-by: Mariano Lopez

[OE-core] [wic][PATCH] wic: add beaglebone.wks

2016-09-21 Thread Ed Bartosh
Added wks to make an image for Beaglebone board. Signed-off-by: Ed Bartosh --- scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks diff --git

Re: [OE-core] [PATCH] wpa_supplicant: Security Advisory-wpa_supplicant-CVE-2016-4476

2016-09-21 Thread Burton, Ross
On 21 September 2016 at 03:47, Zhixiong Chi wrote: > +From ecbb0b3dc122b0d290987cf9c84010bbe53e1022 Mon Sep 17 00:00:00 2001 > +From: Jouni Malinen > +Date: Fri, 4 Mar 2016 17:20:18 +0200 > +Subject: [PATCH 1/2] WPS: Reject a Credential with

Re: [OE-core] [PATCH 1/1] rpm: make install with --nosignature and --nodigest work

2016-09-21 Thread Mark Hatle
On 9/20/16 10:37 PM, Robert Yang wrote: > > > On 09/21/2016 04:33 AM, Mark Hatle wrote: >> On 9/20/16 10:00 AM, Burton, Ross wrote: >>> >>> On 20 September 2016 at 09:15, Hongxu Jia >> > wrote: >>> >>> -Upstream-Status: Submitted

Re: [OE-core] [PATCH] autotools/siteinfo: Tweak CONFIG_SITE handling for determism/races

2016-09-21 Thread Otavio Salvador
On Wed, Sep 21, 2016 at 7:53 AM, Richard Purdie wrote: > As things stand there are multiple races in the CONFIG_SITE handling > where checksums can change depending on whether site directories > exist or not when parsing happens. This is bad. > > Secondly,

[OE-core] [PATCH] autotools/siteinfo: Tweak CONFIG_SITE handling for determism/races

2016-09-21 Thread Richard Purdie
As things stand there are multiple races in the CONFIG_SITE handling where checksums can change depending on whether site directories exist or not when parsing happens. This is bad. Secondly, there is a build race that occurs if you build virtuals in parallel with the "main" recipe, since the

[OE-core] [openembedded-core][PATCH 0/2] perl: fix some CVE issues

2016-09-21 Thread mingli.yu
Changed in V2: add CVE tags -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [openembedded-core][PATCH 1/2] perl: fix CVE-2016-6185

2016-09-21 Thread mingli.yu
From: Mingli Yu Backport patch to fix CVE-2016-6185 from perl upstream: http://perl5.git.perl.org/perl.git/commitdiff/08e3451d7 Signed-off-by: Mingli Yu --- .../perl/perl/perl-fix-CVE-2016-6185.patch | 128 +

[OE-core] [openembedded-core][PATCH 2/2] perl: fix CVE-2015-8607

2016-09-21 Thread mingli.yu
From: Mingli Yu Backport patch to fix CVE-2015-8607 from perl upstream: http://perl5.git.perl.org/perl.git/commitdiff/0b6f93036de171c12ba95d415e264d9cf7f4e1fd Signed-off-by: Mingli Yu --- .../perl/perl/perl-fix-CVE-2015-8607.patch | 74

Re: [OE-core] [PATCH 1/2] perl: fix CVE-2016-6185

2016-09-21 Thread Yu, Mingli
On 2016年09月21日 17:21, Burton, Ross wrote: On 21 September 2016 at 06:38, > wrote: From: Mingli Yu > Backport patch to fix CVE-2016-6185 from perl upstream:

[OE-core] [PATCH] x264: add textrel to INSANE_SKIP

2016-09-21 Thread Sujith H
From: Fahad Usman Tried by adding CFLAGS_append = " -fpic " to the recipe. But that couldn't help resolve the warning message: x264/r2491+gitAUTOINC+c8a773ebfc-r0/packages-split/x264/usr/lib/libx264.so.144' has relocations in .text [textrel] It was found that this

[OE-core] [PATCH] uninative-tarball: add SDKMACHINE to stamps-extra-info

2016-09-21 Thread Joshua Lock
Otherwise the stamps for x86-64 and i686 uninative tarballs match and we can't deploy both to the DEPLOYDIR. Signed-off-by: Joshua Lock --- meta/recipes-core/meta/uninative-tarball.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH v2] populate_sdk_base: fix support for changing SDKMACHINE settings

2016-09-21 Thread Joshua Lock
Include SDKMACHINE in the tasks stamp information and the name of the sstate-inputdirs so that changing SDKMACHINE doesn't result in valid output of the task being deleted when SDKMACHINE is changed. Without this patch changing SDKMACHINE and building an SDK resulted in toolchain installers for

Re: [OE-core] [PATCH 1/2] perl: fix CVE-2016-6185

2016-09-21 Thread Burton, Ross
On 21 September 2016 at 06:38, wrote: > From: Mingli Yu > > Backport patch to fix CVE-2016-6185 from perl upstream: > http://perl5.git.perl.org/perl.git/commitdiff/08e3451d7 > > Signed-off-by: Mingli Yu > Can you

Re: [OE-core] [PATCH 2/2] scons.bbclass: reduce build time by adding PARALLEL_MAKEINST to scons install params

2016-09-21 Thread Andreas Müller
On Wed, Sep 21, 2016 at 11:06 AM, Burton, Ross wrote: > > On 21 September 2016 at 06:30, Andreas Müller > wrote: >> >> During install all files are recompiled. This should be investigated >> further >> later > > > I'd put (pretend) money on it

Re: [OE-core] [PATCH] x264: add textrel to INSANE_SKIP to skip the warning

2016-09-21 Thread Phil Blundell
On Wed, 2016-09-21 at 13:44 +0530, sujith h wrote: > > The above mentioned functions are part of .S files. OK.  In that case, please just mention in the commit message that you can't easily get rid of the TEXTRELs because they are coming from assembler source files that would (I assume) need

Re: [OE-core] [PATCH 2/2] scons.bbclass: reduce build time by adding PARALLEL_MAKEINST to scons install params

2016-09-21 Thread Burton, Ross
On 21 September 2016 at 06:30, Andreas Müller wrote: > During install all files are recompiled. This should be investigated > further > later > I'd put (pretend) money on it being because PREFIX/prefix change between compile and install, so it needs to rebuild.

Re: [OE-core] [PATCH 2/2] scons.bbclass: reduce build time by adding PARALLEL_MAKEINST to scons install params

2016-09-21 Thread Burton, Ross
On 21 September 2016 at 06:30, Andreas Müller wrote: > During install all files are recompiled. This should be investigated > further > later. Currently only one file is recompiled at the same time. Reduce > install > time significantly by setting PARALLEL_MAKEINST

Re: [OE-core] [PATCH 1/1] gcc-sanitizers: Fix libtool library files

2016-09-21 Thread Burton, Ross
On 21 September 2016 at 02:46, Yuanjie Huang wrote: > We have some user making use of these libraries directly, otherwise, cross > gcc can link these sanitizer libraries with just -fsantizer flag without > problem. Without .la files, his flow can not be libtoolized.

Re: [OE-core] [PATCH] populate_sdk_base: fix support for changing SDKMACHINE settings

2016-09-21 Thread Joshua Lock
On Tue, 2016-09-20 at 15:57 +0100, Joshua Lock wrote: > Include SDKMACHINE in the tasks stamp information and the name of > the sstate-inputdirs so that changing SDKMACHINE doesn't result in > valid output of the task being deleted when SDKMACHINE is changed. > > Without this patch changing

Re: [OE-core] [PATCH] libnl: Fix build with musl

2016-09-21 Thread André Draszik
On Mi, 2016-09-21 at 09:37 +0200, Ming Liu wrote: > From: Ming Liu > > [YOCTO #10313] > > Signed-off-by: Ming Liu > --- >  .../libnl/libnl/0001-Fix-build-with-musl.patch | 43 > ++ >  

[OE-core] [PATCH 2/2] systemd: use nss-resolve by default if resolved is enabled

2016-09-21 Thread Maciej Borzecki
Add nss-resolve to NSS hosts resolution service if systemd-resolved is enabled via PACKAGECONFIG. This enabled routing all DNS requests through systemd-networkd by default. Apply the following patches: - 0023-nss-install-nss-modules-into-lib - makes sure that libnss_resolve and other nss

[OE-core] [PATCH 0/2] systemd: use nss-resolve when systemd-resoveld is enable

2016-09-21 Thread Maciej Borzecki
A patch series that enables use of nss-resolve (systemd's NSS service module) if systemd-networkd is enabled via PACKAGECONFIG. The first patch is a trivial formatting change. The second patch does the following: - replace dns with resolve in /etc/nsswitch.conf if systemd-resolved is enabled -

[OE-core] [PATCH 1/2] systemd: fix indentation

2016-09-21 Thread Maciej Borzecki
Signed-off-by: Maciej Borzecki --- meta/recipes-core/systemd/systemd_230.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_230.bb b/meta/recipes-core/systemd/systemd_230.bb index

Re: [OE-core] [PATCH] x264: add textrel to INSANE_SKIP to skip the warning

2016-09-21 Thread sujith h
ATIVELSBSTRING = "universal" TARGET_SYS= "arm-poky-linux-gnueabi" MACHINE = "cyclone5" DISTRO= "poky" DISTRO_VERSION= "2.1+snapshot-20160921" TUNE_FEATURES = "arm armv7a vfp neon" TARGET_FPU= &q

[OE-core] [PATCH][krogoth] qemu: CVE-2016-3710

2016-09-21 Thread Sona Sarmadi
Fixes an out-of-bounds read/write access flaw which was found in the way QEMU's VGA emulation with VESA BIOS Extensions (VBE) support performed read/write operations using I/O port methods. A privileged guest user could use this flaw to execute arbitrary code on the host with the privileges of

[OE-core] [PATCH] libnl: Fix build with musl

2016-09-21 Thread Ming Liu
From: Ming Liu [YOCTO #10313] Signed-off-by: Ming Liu --- .../libnl/libnl/0001-Fix-build-with-musl.patch | 43 ++ meta/recipes-support/libnl/libnl_3.2.28.bb | 1 + 2 files changed, 44