[OE-core] [PATCH] distcc: update to 3.3

2018-03-15 Thread jackie.huang
From: Jackie Huang * update to version 3.3 * Remove 0001-zeroconf-Include-fcntl.h.patch since it's included in v3.3 * Add update-distcc-symlinks into FILES. Signed-off-by: Jackie Huang --- .../distcc/{distcc_3.2.bb => distcc_3.3.bb}| 10 +--- .../files/0001-zeroconf-Include-fcntl

Re: [OE-core] [PATCH v7] do_image: Implement IMAGE_ROOTFS_EXCLUDE_PATH feature.

2018-03-15 Thread Kristian Amlie
On 13/02/18 02:29, Cal Sullivan wrote: >> ... >> + >> +    if path.endswith(os.sep): > We need to check if full_path exists here, else it may try modifying > things that don't exist. E.g., if I have IMAGE_ROOTFS_EXCLUDE_PATH = > "boot" in local.conf and do 'bitbake core-image-minimal-initramfs'

[OE-core] [PATCH] gtk-doc: use --srcdir instead of cd

2018-03-15 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/classes/gtk-doc.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index 3f731cb93bf..b4f6754906a 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclas

[OE-core] [PATCH] gtk-doc: always inherit python3native

2018-03-15 Thread Ross Burton
My attempt at only inheriting python3native if it was needed was broken and didn't work, so back it out and always inherit. Signed-off-by: Ross Burton --- meta/classes/gtk-doc.bbclass | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/classes/gtk-doc.bbclass b/meta/cl

[OE-core] [PATCH 2/2] libpng: fix upstream version check

2018-03-15 Thread Alexander Kanavin
Sourceforge for some reason claims an older version is 'the latest'. Signed-off-by: Alexander Kanavin --- meta/recipes-multimedia/libpng/libpng_1.6.34.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.34.bb b/meta/recipes-multimedia/libpng/libpng

[OE-core] [PATCH 1/2] distcc: remove UPSTREAM_VERSION_UNKNOWN

2018-03-15 Thread Alexander Kanavin
Upstream has finally released a new version. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/distcc/distcc_3.2.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb index b6da65a582a..ea3d7c10be8

Re: [OE-core] [PATCH 0/3] systemd & systemd-boot: upgrade to 237

2018-03-15 Thread Burton, Ross
Nope it's under review now. Ross On 15 March 2018 at 01:59, ChenQi wrote: > ping > > Is there some problem with this patchset? > > Regards, > Chen Qi > > On 03/12/2018 04:38 PM, Chen Qi wrote: > >> Changes in V2: >> * Rebase against latest master to resolve conflicts >> >> >> The following chan

Re: [OE-core] Recipe for Linux page-types tool

2018-03-15 Thread Alexander Kanavin
On 03/15/2018 12:20 AM, Martin Vuille wrote: page-types is a simple Linux kernel debugging tool to list information about the state of virtual memory (VM) pages. The source is distributed as part of the kernel tree: tools/vm/page-types.c MV On 03/14/18 11:22, Martin Vuille wrote: I have a re

[OE-core] ✗ patchtest: failure for gtk-doc: use --srcdir instead of cd

2018-03-15 Thread Patchwork
== Series Details == Series: gtk-doc: use --srcdir instead of cd Revision: 1 URL : https://patchwork.openembedded.org/series/11393/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on

[OE-core] [PATCH] ca-certificates: run postinst script only for -target package

2018-03-15 Thread Alexander Kanavin
Nativesdk package has a special arrangement where the same thing is done in do_install(). It was assumed (in the comment) that postinsts don't run when installing nativesdk packages, but this was incorrect: they are run, but any failures were previously silently ignored. Now this missing failure r

[OE-core] [PATCH] scripts/oe-build-perf-report: fix comparing arbitrary commits

2018-03-15 Thread Markus Lehtonen
Fix a crash when generating a txt report and the two commits to be compared were not consecutive (but there were some tested commits between them). Signed-off-by: Markus Lehtonen --- scripts/oe-build-perf-report | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scri

[OE-core] [PATCH] buildperf: measure the size of core-image-sato rootfs

2018-03-15 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/lib/oeqa/buildperf/test_basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/buildperf/test_basic.py b/meta/lib/oeqa/buildperf/test_basic.py index a19089a6ed2..6d6b01b04b4 100644 --- a/meta/lib/oeqa/buildperf/test_basi

[OE-core] [rocko][PATCH 2/5] libtirpc: Extend to native and nativesdk recipes

2018-03-15 Thread Richard Purdie
From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb index 1a73de9..99

[OE-core] [rocko][PATCH 1/5] unfs3: Fix build with musl

2018-03-15 Thread Richard Purdie
From: Khem Raj Should also fix build on new build hosts where with glibc 2.27 rpc support is dropped in favor of libtirpc Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/conf/distro/include/world-broken.inc | 4 --- .../0001-daemon.c-Libtirpc-porting-fixes.patch |

[OE-core] [rocko][PATCH 3/5] unfs3: Fix libtirpc usage for unfs3-native version

2018-03-15 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb index 46ac369..8127e4a 100644 --- a/meta/

[OE-core] [rocko][PATCH 4/5] yocto-uninative: Upgrade to 1.8 version with glibc 2.27

2018-03-15 Thread Richard Purdie
Now distros are starting to ship glibc 2.27 we need a uninatve version which contains glibc 2.27 which is in the 1.8 version. Signed-off-by: Richard Purdie --- meta/conf/distro/include/yocto-uninative.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/

[OE-core] [rocko][PATCH 5/5] uninative: Add compatiblity version check

2018-03-15 Thread Richard Purdie
If glibc is newer on the host than in uninative, the failure mode is pretty nasty for clusters where the sstate is shared, including the Yocto Project autobuilder. This check aborts the use of uninative in such scenarios where a newer glibc version appears and avoids corruption of sstate caches.

[OE-core] [pyro][PATCH 01/13] unfs3: Fix build with musl

2018-03-15 Thread Richard Purdie
From: Khem Raj Should also fix build on new build hosts where with glibc 2.27 rpc support is dropped in favor of libtirpc Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/conf/distro/include/world-broken.inc | 5 --- .../0001-daemon.c-Libtirpc-porting-fixes.patch |

[OE-core] [pyro][PATCH 03/13] libtirpc: Expose key_secretkey_is_set API

2018-03-15 Thread Richard Purdie
From: Khem Raj libnsl needs this API Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../libtirpc/export_key_secretkey_is_set.patch | 24 ++ meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 + 2 files changed, 25 insertions(

[OE-core] [pyro][PATCH 05/13] libtirpc: Fix build error due to missing stdint.h> include

2018-03-15 Thread Richard Purdie
From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../0001-include-stdint.h-for-uintptr_t.patch | 32 ++ meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644

[OE-core] [pyro][PATCH 02/13] libtirpc: Backport fixes from 1.0.2rc3

2018-03-15 Thread Richard Purdie
From: Khem Raj These fixes are needed for it to work with gcc7 Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- ...d-missing-rwlock_unlocks-in-xprt_register.patch | 62 -- .../libtirpc/libtirpc/libtirpc-1.0.2-rc3.patch | 743 + ...

[OE-core] [pyro][PATCH 04/13] libtirpc: Enable des APIs for musl

2018-03-15 Thread Richard Purdie
From: Khem Raj Use memset() API instead of __bzero() Drop the patch removing des_* functions for musl Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../0001-replace-__bzero-with-memset-API.patch | 30 + .../libtirpc/remove-des-functionality.pat

Re: [OE-core] [PATCH 1/9 v3] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-15 Thread Bruce Ashfield
On Wed, Mar 7, 2018 at 3:40 AM, Burton, Ross wrote: > On 6 March 2018 at 18:11, Bruce Ashfield > wrote: >> >> +RDEPENDS_${PN} = "bc python ${TCLIBC}-utils" >> +# 4.15+ needs these next two RDEPENDS >> +RDEPENDS_${PN} += "openssl-dev util-linux" >> +# and x86 needs a bit more for 4.15+ >> +RDEPEND

Re: [OE-core] [PATCH] buildperf: measure the size of core-image-sato rootfs

2018-03-15 Thread Markus Lehtonen
On 15/03/2018, 15.14, "Ross Burton" wrote: Signed-off-by: Ross Burton --- meta/lib/oeqa/buildperf/test_basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/buildperf/test_basic.py b/meta/lib/oeqa/buildperf/test_basic.py ind

[OE-core] [pyro][PATCH 09/13] libtirpc: Extend to native and nativesdk recipes

2018-03-15 Thread Richard Purdie
From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb index 07e4c79..ce

[OE-core] [pyro][PATCH 08/13] libtirpc: stop dropping in NIS headers

2018-03-15 Thread Richard Purdie
From: Ross Burton libtirpc prior to 1.0.2 assumed that the system provided nis.h but this isn't always true. Until now we've been using a tarball of the missing files from Gentoo, but libtirpc 1.0.2 added a copy of nis.h to the sources so this isn't required anymore. Signed-off-by: Ross Burton

[OE-core] [pyro][PATCH 07/13] libtirpc: upgrade to 1.0.2

2018-03-15 Thread Richard Purdie
From: "Maxin B. John" 1.0.1 -> 1.0.2 Remove these Backported and upstreamed patches: 1. 0001-Fix-for-CVE-2017-8779.patch 2. libtirpc-0.2.1-fortify.patch 3. libtirpc-1.0.2-rc3.patc Signed-off-by: Maxin B. John Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --

[OE-core] [pyro][PATCH 10/13] unfs3: Fix libtirpc usage for unfs3-native version

2018-03-15 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb index 8a76e5d..a3d3160 100644 --- a/meta/

[OE-core] [pyro][PATCH 11/13] yocto-uninative: Upgrade to 1.8 version with glibc 2.27

2018-03-15 Thread Richard Purdie
Now distros are starting to ship glibc 2.27 we need a uninatve version which contains glibc 2.27 which is in the 1.8 version. Signed-off-by: Richard Purdie --- meta/conf/distro/include/yocto-uninative.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/

[OE-core] [pyro][PATCH 12/13] uninative: Add compatiblity version check

2018-03-15 Thread Richard Purdie
If glibc is newer on the host than in uninative, the failure mode is pretty nasty for clusters where the sstate is shared, including the Yocto Project autobuilder. This check aborts the use of uninative in such scenarios where a newer glibc version appears and avoids corruption of sstate caches.

[OE-core] [pyro][PATCH 13/13] world-broken.inc: blacklist portmap on musl

2018-03-15 Thread Richard Purdie
portmap was dropped in rocko and later and doesn't work with libtirpc so don't build it for musl Signed-off-by: Richard Purdie --- meta/conf/distro/include/world-broken.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/inclu

[OE-core] [pyro][PATCH 06/13] libtirpc: Fix CVE-2017-8779

2018-03-15 Thread Richard Purdie
From: Fan Xin This vulnerability is also called "rpcbomb". Backport upstream patch to fix this vulnerability. CVE: CVE-2017-8779 Signed-off-by: Fan Xin Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../libtirpc/0001-Fix-for-CVE-2017-8779.patch | 276 +

Re: [OE-core] [PATCH 4/4] lib/oe/patch.py: add a warning if patch context was ignored

2018-03-15 Thread Martin Jansa
Now when more people will use devtool to refresh patches, would it make sense for devtool to use --no-signature when refreshing patches? I think git version is not important in this context and causes extra changes in .patch files (when refreshed by different people with different git version) or

Re: [OE-core] Recipe for Linux page-types tool

2018-03-15 Thread Martin Vuille
On 03/15/18 06:49, Alexander Kanavin wrote: On 03/15/2018 12:20 AM, Martin Vuille wrote: page-types is a simple Linux kernel debugging tool to list information about the state of virtual memory (VM) pages. The source is distributed as part of the kernel tree: tools/vm/page-types.c MV On 03/14

[OE-core] [oe-core][PATCH 1/1] gnome-desktop: do not assume time_t is long

2018-03-15 Thread Joe Slater
Replace use of atol() to set a time_t variable. Signed-off-by: Joe Slater --- ...op-thumbnail-don-t-assume-time_t-is-long.patch} | 30 +++--- .../gnome-desktop/gnome-desktop3_3.26.2.bb | 2 +- 2 files changed, 10 insertions(+), 22 deletions(-) rename meta/recipes-gnome

Re: [OE-core] [PATCH 4/4] lib/oe/patch.py: add a warning if patch context was ignored

2018-03-15 Thread Alexander Kanavin
On 03/15/2018 05:13 PM, Martin Jansa wrote: Now when more people will use devtool to refresh patches, would it make sense for devtool to use --no-signature when refreshing patches? I don't think that will help much to reduce the amount of change in the refresh. The refesh will also update the

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Alexander Kanavin
On 03/12/2018 12:18 AM, Derek Straka wrote: License-Update: checksum change is due to bump in copyright year Resolves CVE-2017-1000158 and other potential security issues See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final Signed-off-by: Derek Straka --- meta/recipes-

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Derek Straka
Definitely. I just didn't do the git add. I'll send out the v2 shortly. Thanks for catching that! On Thu, Mar 15, 2018 at 12:25 PM, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > On 03/12/2018 12:18 AM, Derek Straka wrote: > >> License-Update: checksum change is due to bump in

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Alexander Kanavin
On 03/15/2018 06:37 PM, Derek Straka wrote: Definitely.  I just didn't do the git add.  I'll send out the v2 shortly.  Thanks for catching that! The change is already in master, so you need to rebase. Alex -- ___ Openembedded-core mailing list Openem

Re: [OE-core] [PATCH 4/4] lib/oe/patch.py: add a warning if patch context was ignored

2018-03-15 Thread Martin Jansa
Yes, this time it updates more things, but in future updates it might be just 1 line with line numbers and then different git version in the signature. Which will make the diff few times bigger than it would need to be. On Thu, Mar 15, 2018 at 5:22 PM, Alexander Kanavin < alexander.kana...@linux.i

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Burton, Ross
Whoops, didn't notice that on my review. Thanks for spotting Alex. Ross On 15 March 2018 at 16:25, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > On 03/12/2018 12:18 AM, Derek Straka wrote: > >> License-Update: checksum change is due to bump in copyright year >> >> Resolves CVE

[OE-core] [PATCHv3] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Derek Straka
License-Update: checksum change is due to bump in copyright year Resolves CVE-2017-1000158 and other potential security issues See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final Signed-off-by: Derek Straka --- .../python/{python3-native_3.5.4.bb => python3-native_3.5.5.

Re: [OE-core] Recipe for Linux page-types tool

2018-03-15 Thread Martin Vuille
On 03/15/18 06:49, Alexander Kanavin wrote: On 03/15/2018 12:20 AM, Martin Vuille wrote: page-types is a simple Linux kernel debugging tool to list information about the state of virtual memory (VM) pages. The source is distributed as part of the kernel tree: tools/vm/page-types.c MV On 03/14

[OE-core] [PATCH] gcc: backport patch to fix ICE in MIPS64 target in G++

2018-03-15 Thread Mark Hatle
Backport a patch to fix an ICE when compiling for MIPS64. Signed-off-by: Mark Hatle --- meta/recipes-devtools/gcc/gcc-7.3.inc | 1 + .../gcc-7.3/0001-PR-rtl-optimization-83030.patch | 272 + 2 files changed, 273 insertions(+) create mode 100644 meta/recipes

Re: [OE-core] [PATCH 4/4] lib/oe/patch.py: add a warning if patch context was ignored

2018-03-15 Thread Alexander Kanavin
On 03/15/2018 06:41 PM, Martin Jansa wrote: Yes, this time it updates more things, but in future updates it might be just 1 line with line numbers and then different git version in the signature. Which will make the diff few times bigger than it would need to be. Right. I think the patch extr

[OE-core] [PATCH] python3-native: update to version 3.5.5 to fix security issues

2018-03-15 Thread Derek Straka
License-Update: checksum change is due to bump in copyright year Resolves CVE-2017-1000158 and other potential security issues See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final Signed-off-by: Derek Straka --- .../python/{python3-native_3.5.4.bb => python3-native_3.5.5.

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Derek Straka
I'll stop failing eventually... I'm surprised I didn't get a bounce from the patch test script. In any case, I sent the native version. On Thu, Mar 15, 2018 at 12:31 PM, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > On 03/15/2018 06:37 PM, Derek Straka wrote: > >> Definitely.

[OE-core] [PATCH] python3-native: fix build races in 'make regen-all'

2018-03-15 Thread Alexander Kanavin
Python 2.x and target Python 3.x do not have this issue. [YOCTO #12596] Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python/python3-native_3.5.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-native_3.5.4.bb b/meta/recipes-devtools/p

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Burton, Ross
On 15 March 2018 at 17:00, Derek Straka wrote: > I'll stop failing eventually... I'm surprised I didn't get a bounce from > the patch test script. In any case, I sent the native version. > > Git does the right thing and does the merge, so the patch applies. Ross --

[OE-core] ✗ patchtest: failure for python3: update to version 3.5.5 to fix security issues (rev3)

2018-03-15 Thread Patchwork
== Series Details == Series: python3: update to version 3.5.5 to fix security issues (rev3) Revision: 3 URL : https://patchwork.openembedded.org/series/11347/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Alexander Kanavin
On 03/15/2018 06:37 PM, Derek Straka wrote: Definitely.  I just didn't do the git add.  I'll send out the v2 shortly.  Thanks for catching that! While we're on the subject of python upgrades, I'd like to ask, what kind of plan do you have for 3.6/3.7? Is anything in progress? When you have so

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Derek Straka
I'm about half through the 3.6 updates. I was hoping to get time in the next two weeks to finish it up. I can just look at going to 3.7 if that's preferred. I don't have a personal preference at this point. On Thu, Mar 15, 2018 at 1:06 PM, Alexander Kanavin < alexander.kana...@linux.intel.com>

[OE-core] [morty][PATCH 10/13] unfs3: Fix libtirpc usage for unfs3-native version

2018-03-15 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb index fd9a5cd..0069425 100644 --- a/meta/

[OE-core] [morty][PATCH 09/13] libtirpc: Extend to native and nativesdk recipes

2018-03-15 Thread Richard Purdie
From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb index 07e4c79..ce

[OE-core] [morty][PATCH 01/13] unfs3: Fix build with musl

2018-03-15 Thread Richard Purdie
From: Khem Raj Should also fix build on new build hosts where with glibc 2.27 rpc support is dropped in favor of libtirpc Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/conf/distro/include/world-broken.inc | 5 --- .../0001-daemon.c-Libtirpc-porting-fixes.patch |

[OE-core] [morty][PATCH 04/13] libtirpc: Enable des APIs for musl

2018-03-15 Thread Richard Purdie
From: Khem Raj Use memset() API instead of __bzero() Drop the patch removing des_* functions for musl Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../0001-replace-__bzero-with-memset-API.patch | 30 + .../libtirpc/remove-des-functionality.pat

[OE-core] [morty][PATCH 02/13] libtirpc: Backport fixes from 1.0.2rc3

2018-03-15 Thread Richard Purdie
From: Khem Raj These fixes are needed for it to work with gcc7 Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- ...d-missing-rwlock_unlocks-in-xprt_register.patch | 62 -- .../libtirpc/libtirpc/libtirpc-1.0.2-rc3.patch | 743 + ...

[OE-core] [morty][PATCH 06/13] libtirpc: Fix CVE-2017-8779

2018-03-15 Thread Richard Purdie
From: Fan Xin This vulnerability is also called "rpcbomb". Backport upstream patch to fix this vulnerability. CVE: CVE-2017-8779 Signed-off-by: Fan Xin Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../libtirpc/0001-Fix-for-CVE-2017-8779.patch | 276 +

[OE-core] [morty][PATCH 05/13] libtirpc: Fix build error due to missing stdint.h> include

2018-03-15 Thread Richard Purdie
From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../0001-include-stdint.h-for-uintptr_t.patch | 32 ++ meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644

[OE-core] [morty][PATCH 03/13] libtirpc: Expose key_secretkey_is_set API

2018-03-15 Thread Richard Purdie
From: Khem Raj libnsl needs this API Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../libtirpc/export_key_secretkey_is_set.patch | 24 ++ meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 + 2 files changed, 25 insertions(

[OE-core] [morty][PATCH 08/13] libtirpc: stop dropping in NIS headers

2018-03-15 Thread Richard Purdie
From: Ross Burton libtirpc prior to 1.0.2 assumed that the system provided nis.h but this isn't always true. Until now we've been using a tarball of the missing files from Gentoo, but libtirpc 1.0.2 added a copy of nis.h to the sources so this isn't required anymore. Signed-off-by: Ross Burton

[OE-core] [morty][PATCH 07/13] libtirpc: upgrade to 1.0.2

2018-03-15 Thread Richard Purdie
From: "Maxin B. John" 1.0.1 -> 1.0.2 Remove these Backported and upstreamed patches: 1. 0001-Fix-for-CVE-2017-8779.patch 2. libtirpc-0.2.1-fortify.patch 3. libtirpc-1.0.2-rc3.patc Signed-off-by: Maxin B. John Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --

Re: [OE-core] Linux firmware for iwlwifi 8000c disappeared in pyro

2018-03-15 Thread Denys Dmytriyenko
Ping. Any ETA for when it will be merged to morty? On Mon, Mar 05, 2018 at 01:29:22PM -0800, akuster wrote: > its in stable/mory-next > > > thanks, > > Armin > > > On 03/05/2018 12:24 PM, Denys Dmytriyenko wrote: > > Same thing just broke morty! > > > > http://cgit.openembedded.org/openembed

[OE-core] [morty][PATCH 12/13] uninative: Add compatiblity version check

2018-03-15 Thread Richard Purdie
If glibc is newer on the host than in uninative, the failure mode is pretty nasty for clusters where the sstate is shared, including the Yocto Project autobuilder. This check aborts the use of uninative in such scenarios where a newer glibc version appears and avoids corruption of sstate caches.

[OE-core] [morty][PATCH 11/13] yocto-uninative: Upgrade to 1.8 version with glibc 2.27

2018-03-15 Thread Richard Purdie
Now distros are starting to ship glibc 2.27 we need a uninatve version which contains glibc 2.27 which is in the 1.8 version. Signed-off-by: Richard Purdie --- meta/conf/distro/include/yocto-uninative.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/

[OE-core] [morty][PATCH 13/13] world-broken.inc: blacklist portmap on musl

2018-03-15 Thread Richard Purdie
portmap was dropped in rocko and later and doesn't work with libtirpc so don't build it for musl Signed-off-by: Richard Purdie --- meta/conf/distro/include/world-broken.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/inclu

Re: [OE-core] Recipe for Linux page-types tool

2018-03-15 Thread Bruce Ashfield
On Thu, Mar 15, 2018 at 12:43 PM, Martin Vuille wrote: > On 03/15/18 06:49, Alexander Kanavin wrote: >> >> On 03/15/2018 12:20 AM, Martin Vuille wrote: >>> >>> page-types is a simple Linux kernel debugging tool to list information >>> about >>> the state of virtual memory (VM) pages. >>> >>> The s

Re: [OE-core] [PATCH] gcc: backport patch to fix ICE in MIPS64 target in G++

2018-03-15 Thread Khem Raj
On Thu, Mar 15, 2018 at 9:45 AM, Mark Hatle wrote: > Backport a patch to fix an ICE when compiling for MIPS64. > has it been tested with gcc tests and submitting upstream for a potential backport into gcc-7-branch ? > Signed-off-by: Mark Hatle > --- > meta/recipes-devtools/gcc/gcc-7.3.inc

Re: [OE-core] [PATCH 4/4] lib/oe/patch.py: add a warning if patch context was ignored

2018-03-15 Thread Khem Raj
On Thu, Mar 15, 2018 at 8:13 AM, Martin Jansa wrote: > Now when more people will use devtool to refresh patches, would it make > sense for devtool to use --no-signature when refreshing patches? > > I think git version is not important in this context and causes extra > changes in .patch files (whe

Re: [OE-core] [PATCH] kernel.bbclass: set HOSTLDFLAGS in KCONFIG_CONFIG_COMMAND

2018-03-15 Thread Cal Sullivan
Ping. This is still an issue and it looks like this patch fell through the cracks! Thanks, Cal On 01/24/2018 07:12 PM, California Sullivan wrote: Kernel v4.14 and newer contain the following in their Makefile: HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS) HOSTLDFLAGS := $(HOST_LFS_LDFLAGS

Re: [OE-core] [PATCH] kernel.bbclass: set HOSTLDFLAGS in KCONFIG_CONFIG_COMMAND

2018-03-15 Thread Cal Sullivan
Woops, +Ross to CC. --- Cal On 03/15/2018 12:42 PM, Cal Sullivan wrote: Ping. This is still an issue and it looks like this patch fell through the cracks! Thanks, Cal On 01/24/2018 07:12 PM, California Sullivan wrote: Kernel v4.14 and newer contain the following in their Makefile: HOST_LFS

Re: [OE-core] [PATCH] gcc: backport patch to fix ICE in MIPS64 target in G++

2018-03-15 Thread Mark Hatle
On 3/15/18 11:36 AM, Khem Raj wrote: > On Thu, Mar 15, 2018 at 9:45 AM, Mark Hatle wrote: >> Backport a patch to fix an ICE when compiling for MIPS64. >> > > has it been tested with gcc tests and submitting upstream for a potential > backport into gcc-7-branch ? Yes, it resolves some issues with

Re: [OE-core] [PATCH] kernel.bbclass: set HOSTLDFLAGS in KCONFIG_CONFIG_COMMAND

2018-03-15 Thread Randy MacLeod
On 2018-03-15 03:53 PM, Cal Sullivan wrote: Woops, +Ross to CC. Maybe you used BCC? Anyway +Ross to CC for reals now. :) ../Randy --- Cal On 03/15/2018 12:42 PM, Cal Sullivan wrote: Ping. This is still an issue and it looks like this patch fell through the cracks! Thanks, Cal On 01/24/201

Re: [OE-core] [PATCH] kernel.bbclass: set HOSTLDFLAGS in KCONFIG_CONFIG_COMMAND

2018-03-15 Thread Cal Sullivan
Yeah I'm confused. My outbox says Ross is CC'd, my inbox does not. My mail client is borked somehow. --- Cal On 03/15/2018 01:30 PM, Randy MacLeod wrote: On 2018-03-15 03:53 PM, Cal Sullivan wrote: Woops, +Ross to CC. Maybe you used BCC? Anyway +Ross to CC for reals now. :) ../Randy --- Ca

[OE-core] [PATCH 0/1] buildhistory_analysis.py: Check if RPROVIDES changed order

2018-03-15 Thread Amanda Brindle
The following changes since commit 0fd6d0dd0041929d60111868ca3575d9d9bf9ac3: linux-yocto/4.12: backport bugfixes for x86 (2018-03-15 06:27:20 -0700) are available in the git repository at: git://git.yoctoproject.org/poky-contrib abrindle/buildhistory-diff4 http://git.yoctoproject.org/cgit

[OE-core] [PATCH 1/1] buildhistory_analysis.py: Check if RPROVIDES changed order

2018-03-15 Thread Amanda Brindle
Instead of assuming order has changed if no package has been added or removed, loop through packages to check if order has changed. This will prevent the script from falsely reporting "changed order" if a version has increased. Fixes [YOCTO #12334] Signed-off-by: Amanda Brindle --- meta/lib/oe/

Re: [OE-core] Linux firmware for iwlwifi 8000c disappeared in pyro

2018-03-15 Thread akuster808
On 03/15/2018 10:49 AM, Denys Dmytriyenko wrote: > Ping. Any ETA for when it will be merged to morty? I will run a build this weekend for formal submission to morty. next week maybe? - armin > > > On Mon, Mar 05, 2018 at 01:29:22PM -0800, akuster wrote: >> its in stable/mory-next >> >> >> thanks

Re: [OE-core] Recipe for Linux page-types tool

2018-03-15 Thread Andreas Müller
On Thu, Mar 15, 2018 at 5:43 PM, Martin Vuille wrote: > On 03/15/18 06:49, Alexander Kanavin wrote: >> >> On 03/15/2018 12:20 AM, Martin Vuille wrote: >>> >>> page-types is a simple Linux kernel debugging tool to list information >>> about >>> the state of virtual memory (VM) pages. >>> >>> The so

[OE-core] [PATCH] patch.py: Use git format-patch with --no-signature --no-numbered params

2018-03-15 Thread Martin Jansa
* --no-signature saves unnecessary .patch modifications when executed on host with different git version * --no-numbered saves unnecessary .patch modifications when number of the applied patches is changed (the number is still in the filename so the order how they should be applied is still p

Re: [OE-core] [PATCHv2] python3: update to version 3.5.5 to fix security issues

2018-03-15 Thread Tim Orling
I looked into 3.6 as well, but the sheer number of patches we apply is a pain point to rebase. I am inclined to vote for 3.6 first and pick up 3.7 when it matures a bit and is more widely supported. I have fears of rather massive failures in our python ecosystem (especially in meta-python). Perhap