[OE-core] [PATCH] iproute2: create symbol link '/bin/ip' to '/sbin/ip.iproute2'

2018-07-10 Thread Haiqing Bai
Some applications which depend on iproute/iproute2 need to run '/sbin/ip.iproute2' through the symbol link '/bin/ip' e.g ifupdown. Signed-off-by: Haiqing Bai --- meta/recipes-connectivity/iproute2/iproute2.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-connectivity/iprout

Re: [OE-core] [PATCH 1/5] automake: 1.15.1 -> 1.16.1

2018-07-10 Thread Robert Yang
Hi Khem, I've sent patches to oe-devel to fix the problem: sblim-sfcb: fix sfcbinst2mof_DEPENDENCIES in Makefile.am ntop: fix so generation in plugins/Makefile.am // Robert On 07/06/2018 02:06 PM, Khem Raj wrote: this is regressing following recipes in meta-openembedded http://cgit.openembed

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/systemd.py: avoid timeout problem

2018-07-10 Thread ChenQi
ping Is there some problem with this patch? Recently when I'm doing testimage test for systemd upgrade, the 'systemctl list-unit-files' command in this test case revealed a 'segment fault' error on musl qemuarm. So I'd suggest to keep 'systemctl list-unit-files' command and use 'busctl' as a

[OE-core] [PATCH] oeqa/parselogs: remove references to BSPs that no longer exist

2018-07-10 Thread Anuj Mittal
These platform specifc BSPs were removed from meta-intel and superseded by intel-core* BSPs. Signed-off-by: Anuj Mittal --- meta/lib/oeqa/runtime/cases/parselogs.py | 14 -- 1 file changed, 14 deletions(-) diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtim

[OE-core] [PATCH] file: Security fix CVE-2018-10360

2018-07-10 Thread Yi Zhao
CVE-2018-10360: The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file. References: https://nvd.nist.gov/vuln/detail/CVE-2018-10360 Patch from: https://github.com/file

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

2018-07-10 Thread Bruce Ashfield
On 2018-07-10 5:41 PM, Richard Purdie wrote: On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: I'll try the other configs, but clearly I have something different in my x86-64 build. I

[OE-core] [PATCH] wayland-protocols: upgrade 1.14 -> 1.15

2018-07-10 Thread Denys Dmytriyenko
From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- .../wayland/{wayland-protocols_1.14.bb => wayland-protocols_1.15.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/wayland/{wayland-protocols_1.14.bb => wayland-protocols_1.15.bb} (86%) dif

Re: [OE-core] [PATCH V2] mesa: Fix bild with waylang and egl

2018-07-10 Thread Denys Dmytriyenko
Small typo - the subject says waylang, not wayland. On Tue, Jul 10, 2018 at 04:36:13PM -0600, Khem Raj wrote: > ping > On Wed, Jul 4, 2018 at 10:31 AM Khem Raj wrote: > > > > > > > > On 7/4/18 9:28 AM, Burton, Ross wrote: > > > FWIW historically we just prepended PKG_CONFIG_SYSROOT or whatever t

Re: [OE-core] [oe-core][PATCH 1/1] tiff: security fix CVE-2018-10963

2018-07-10 Thread Slater, Joseph
Yes, it is not clear. What it means is that the patch was applied to 4.0.8 code, but not, I think, 4.0.8 code as seen on openembedded-core before 4.0.8 was obsolete. It still applies for 4.0.9. Joe -Original Message- From: akuster808 [mailto:akuster...@gmail.com] Sent: Tuesday, July

Re: [OE-core] [oe-core][PATCH 1/1] tiff: security fix CVE-2018-10963

2018-07-10 Thread akuster808
On 07/10/2018 04:03 PM, Joe Slater wrote: > Denial of service described at > https://nvd.nist.gov/vuln/detail/CVE-2018-10963. > > Signed-off-by: Joe Slater > --- > .../libtiff/files/CVE-2018-10963.patch | 41 > ++ > meta/recipes-multimedia/libtiff/tiff_4.0.9.b

[OE-core] [oe-core][PATCH 1/1] tiff: security fix CVE-2018-10963

2018-07-10 Thread Joe Slater
Denial of service described at https://nvd.nist.gov/vuln/detail/CVE-2018-10963. Signed-off-by: Joe Slater --- .../libtiff/files/CVE-2018-10963.patch | 41 ++ meta/recipes-multimedia/libtiff/tiff_4.0.9.bb | 1 + 2 files changed, 42 insertions(+) create mode

Re: [OE-core] [PATCH V2] mesa: Fix bild with waylang and egl

2018-07-10 Thread Khem Raj
ping On Wed, Jul 4, 2018 at 10:31 AM Khem Raj wrote: > > > > On 7/4/18 9:28 AM, Burton, Ross wrote: > > FWIW historically we just prepended PKG_CONFIG_SYSROOT or whatever the > > spelling was to the result of the pkg-config calls. I didn't know > > about PKG_CHECK_VAR before, that's really useful

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

2018-07-10 Thread Richard Purdie
On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: > On 07/10/2018 06:21 AM, Richard Purdie wrote: > > On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: > I'll try the other configs, but clearly I have something different in > my x86-64 build. > > I can't run the self tests directly,

[OE-core] [PATCH] python3-pycairo: update to 1.17.1

2018-07-10 Thread Derek Straka
Update the python3-pycairo package to the latest stable version and move the .h and .pc files to the standard location Tested on the qemu with core-image-minimal Signed-off-by: Derek Straka --- ...{python3-pycairo_1.15.6.bb => python3-pycairo_1.17.1.bb} | 13 - 1 file changed, 8 ins

[OE-core] [PATCH] python3-pygobject: update to 3.28.3

2018-07-10 Thread Derek Straka
Update the python3-pygobject package to the latest stable version Tested on the qemu with core-image-minimal Signed-off-by: Derek Straka --- .../{python3-pygobject_3.28.1.bb => python3-pygobject_3.28.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devto

[OE-core] [PATCH] python*-setuptools: update to 40.0.0

2018-07-10 Thread Derek Straka
Update the python{3}-setuptools to the latest stable version Tested on the qemu with core-image-minimal Signed-off-by: Derek Straka --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- .../{python-setuptools_39.2.0.bb => python-setuptools_40.0.0.bb} | 0 .../

[OE-core] [PATCH v2] xorg-xserver: Enable systemd-logind if using systemd

2018-07-10 Thread Alistair Francis
Enable the systemd-logind on xserver if the user set systemd as a DISTRO_CONFIG. If a user is buildling Xorg with systemd then they most likley want the systemd-logind PACKAGECONFIG set. Signed-off-by: Alistair Francis --- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 2 +- 1 file change

[OE-core] [PATCH] populate_sdk_base/check_sdk_sysroots(): Normalize os.path.commonprefix()

2018-07-10 Thread Haris Okanovic
Normalize path (norm_path()) returned by os.path.commonprefix() to strip trailing slash and prevent false negatives. Add bb.note() on error to indicate which paths failed. Signed-off-by: Haris Okanovic --- meta/classes/populate_sdk_base.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 delet

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

2018-07-10 Thread Bruce Ashfield
On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: The existing kernel-devsrc package starts with a full copy of the kernel source and then starts to strip out elements that are not required. This results in extra time (I/O) and extra space be

[OE-core] [PATCH 1/1] grub-efi: Provide target architecture for 32-bit ARM.

2018-07-10 Thread Kristian Amlie
Signed-off-by: Kristian Amlie --- meta/recipes-bsp/grub/grub-efi_2.02.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb index 7bfc8ee..14fce97 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.02.bb +++ b/meta/re

[OE-core] [] default-providers: introduce VIRTUAL-RUNTIME_initscripts

2018-07-10 Thread Ioan-Adrian Ratiu
Commits 1202307b24 ("lsbinitscripts: don't use update-alternatives") cdcebd81c87 ("initscripts: don't use update-alternatives") and 061fa614cec ("update-alternatives.bbclass: refuse to manage SysV init scripts") make sure that the lsbinitscripts and initscripts packages conflict with eachother and

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

2018-07-10 Thread Bruce Ashfield
On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: The existing kernel-devsrc package starts with a full copy of the kernel source and then starts to strip out elements that are not required. This results in extra time (I/O) and extra space be

[OE-core] [PATCH] nfs-utils: remove libnfsidmap

2018-07-10 Thread Ross Burton
As of nfs-utils 2.2.1 libnfsidmap has been integrated and isn't an external requirement anymore. Also consolidate nfs-utils patches into a single directory. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 - ...clude-sys-types.h-for-getting-u_-typedefs.pat

Re: [OE-core] [PATCH] [PATCH] ethtool:4.16 -> 4.17

2018-07-10 Thread Burton, Ross
(the refresh was trivial so I've done this) On 10 July 2018 at 11:38, Burton, Ross wrote: > WARNING: ethtool-4.17-r0 do_patch: > Some of the context lines in patches were ignored. This can lead to > incorrectly applied patches. > The context lines in the patches can be updated with devtool: > >

Re: [OE-core] [PATCH] [PATCH] harfbuzz:1.7.5 -> 1.7.6

2018-07-10 Thread Burton, Ross
Packaging is broken, as it was the last time this was submitted to the list: packages/corei7-64-poky-linux/harfbuzz/harfbuzz: FILELIST: removed "/usr/lib/libharfbuzz.so.0.10705.0", added "/usr/lib/libharfbuzz.so.0.10706.0 /usr/lib/libharfbuzz-subset.so.0 /usr/lib/libharfbuzz-subset.so.0.10706.0" p

Re: [OE-core] [PATCH] [PATCH] ethtool:4.16 -> 4.17

2018-07-10 Thread Burton, Ross
WARNING: ethtool-4.17-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify devtool finish --force-patch-refresh Then the updated patches and the source

Re: [OE-core] [PATCH 2/2] libdrm: allow to build native and nativesdk

2018-07-10 Thread Burton, Ross
Whilst I'm not yet convinced this is something we should have on by default, I am very interested in seeing it working. Ross On 10 July 2018 at 10:49, Martin Jansa wrote: > On Tue, Jul 10, 2018 at 09:45:45AM +0100, Richard Purdie wrote: >> Normally I don't mind native/nativesdk variants but libd

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

2018-07-10 Thread Richard Purdie
On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: > The existing kernel-devsrc package starts with a full copy of the > kernel > source and then starts to strip out elements that are not required. > > This results in extra time (I/O) and extra space being taken up in > the > final package.

Re: [OE-core] [PATCH 1/2] libdrm: Add PACKAGECONFIG support for all meson options

2018-07-10 Thread Burton, Ross
I can't replicate the error, I don't think util-macros is needed anymore. Ross On 10 July 2018 at 10:52, Martin Jansa wrote: > On Tue, Jul 10, 2018 at 10:41:10AM +0100, Burton, Ross wrote: >> On 10 July 2018 at 09:07, Martin Jansa wrote: >> > * Use the same defaults as meson does, with few modi

Re: [OE-core] [PATCH] lttng-tools: Allow reconnect to relayd

2018-07-10 Thread He Zhe
Ping. Zhe On 2018年07月04日 18:17, He Zhe wrote: > If relayd is started after connection attempt from consumerd it will > leave the session in disconnected state and causes the following > inconvenience. This is covered by an upstream feature, see > https://bugs.lttng.org/issues/883. Before it's don

[OE-core] [PATCH] lttng-modules: Fix do_compile failure for btrfs related tracepoints

2018-07-10 Thread zhe.he
From: He Zhe Building lttng-modules with linux-yocto-dev will cause do_compile failure: lttng-modules/2.10.6-r0/lttng-modules-2.10.6/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_btrfs_reserve_extent' void trace_##_name(_proto); ^~ The fol

Re: [OE-core] [PATCH 1/2] libdrm: Add PACKAGECONFIG support for all meson options

2018-07-10 Thread Martin Jansa
On Tue, Jul 10, 2018 at 10:41:10AM +0100, Burton, Ross wrote: > On 10 July 2018 at 09:07, Martin Jansa wrote: > > * Use the same defaults as meson does, with few modifications based on > > previous EXTRA_OEMESON > > * move libpciaccess dependency to new intel PACKAGECONFIG > > * add dependency o

Re: [OE-core] [PATCH 2/2] libdrm: allow to build native and nativesdk

2018-07-10 Thread Martin Jansa
On Tue, Jul 10, 2018 at 09:45:45AM +0100, Richard Purdie wrote: > Normally I don't mind native/nativesdk variants but libdrm starts to > worry me as its a short step away from mesa and when we've tried native > or nativesdk versions in the past its been a nightmare, particularly > around GL. > > C

Re: [OE-core] [PATCH] [PATCH] nss:3.37.1 -> 3.37.3

2018-07-10 Thread Burton, Ross
master is at 3.38 now. Ross On 10 July 2018 at 03:42, Hong Liu wrote: > Upgrade nss from 3.37.1 to 3.37.3 > > Signed-off-by: Hong Liu > --- > meta/recipes-support/nss/{nss_3.37.1.bb => nss_3.37.3.bb} | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > rename meta/recipes-support/ns

Re: [OE-core] [PATCH] [PATCH] file:5.32 -> 5.33

2018-07-10 Thread Burton, Ross
This has been already submitted, and the usage patch should be dropped instead of rebased. Ross On 10 July 2018 at 03:42, Hong Liu wrote: > Upgrade file from 5.32 to 5.33 > > Signed-off-by: Hong Liu > --- > .../file/file/0001-Add-P-prompt-into-Usage-info.patch | 14 > -- > me

Re: [OE-core] [PATCH 1/2] libdrm: Add PACKAGECONFIG support for all meson options

2018-07-10 Thread Burton, Ross
On 10 July 2018 at 09:07, Martin Jansa wrote: > * Use the same defaults as meson does, with few modifications based on > previous EXTRA_OEMESON > * move libpciaccess dependency to new intel PACKAGECONFIG > * add dependency on util-macros which was previously pulled by > libpciaccess, because i

Re: [OE-core] [PATCH] coreutils: fix compile error since use wrong libnss_nis.so

2018-07-10 Thread Changqing Li
On 07/09/2018 04:46 PM, Richard Purdie wrote: On Mon, 2018-07-09 at 15:49 +0800, changqing...@windriver.com wrote: From: Changqing Li id: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: symbol _nsl_default_nss version GLIBC_PRIVATE not defined in file libnsl.so.1 with link time refe

Re: [OE-core] [PATCH 2/2] libdrm: allow to build native and nativesdk

2018-07-10 Thread Richard Purdie
Normally I don't mind native/nativesdk variants but libdrm starts to worry me as its a short step away from mesa and when we've tried native or nativesdk versions in the past its been a nightmare, particularly around GL. Could you explain a little more about why we need libdrm-native? Cheers, Ri

[OE-core] [PATCH 2/2] image-live: fix check for rootfs size with hddimg images

2018-07-10 Thread Anuj Mittal
Currently we check if the rootfs.img size is greater than 4 GB and use mcopy to copy it over to a hddimg, a FAT32 volume. This results in problems when IMAGE_ROOTFS_SIZE is set to be exact 4 GB (4294967296 bytes). mcopy uses the max offset/file size to be 4294967295 and as a result, it errors out

[OE-core] [PATCH 1/2] perf: add dwarf to PACKAGECONFIG

2018-07-10 Thread Anuj Mittal
Enable perf to be built with DWARF support. Fixes [YOCTO #3359] Signed-off-by: Anuj Mittal --- meta/recipes-kernel/perf/perf.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 51f5597eb9..458b355864

[OE-core] [PATCH 2/2] libdrm: allow to build native and nativesdk

2018-07-10 Thread Martin Jansa
Signed-off-by: Martin Jansa --- meta/recipes-graphics/drm/libdrm_2.4.92.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/drm/libdrm_2.4.92.bb b/meta/recipes-graphics/drm/libdrm_2.4.92.bb index 1526553254..b4d06d19a6 100644 --- a/meta/recipes-graphics/drm/libdrm_2.4.

[OE-core] [PATCH 1/2] libdrm: Add PACKAGECONFIG support for all meson options

2018-07-10 Thread Martin Jansa
* Use the same defaults as meson does, with few modifications based on previous EXTRA_OEMESON * move libpciaccess dependency to new intel PACKAGECONFIG * add dependency on util-macros which was previously pulled by libpciaccess, because it's still needed even with intel disabled: | configure.

[OE-core] [PATCH v5 3/3] openssl-1.1: /etc/ssl location compatibility

2018-07-10 Thread Andrej Valek
Some packages have hard-coded path to /etc/ssl location. Create a symlinks to correct location. Signed-off-by: Andrej Valek Signed-off-by: Marko Peter --- meta/recipes-connectivity/openssl/openssl_1.1.0h.bb | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/

[OE-core] [PATCH v5 2/3] openssl-1.1: rework packaging

2018-07-10 Thread Andrej Valek
The main idea is to have libssl and libcrypto in separate packages. This saves space if only single library is needed and also some recipes (in other layers) depend on these library packages. Together with this other packages like in 1.0.x were created. The only difference is that openssl 1.1 has a

[OE-core] [PATCH v5 1/3] openssl-1.1: fix c_rehash perl errors

2018-07-10 Thread Andrej Valek
Patch original c_rehash script with Debian patch instead of overriding it with own version. Error output from c_reshah without patching: Unknown regexp modifier "/b" at ./c_rehash line 15, at end of line Unknown regexp modifier "/W" at ./c_rehash line 28, at end of line Unknown regexp modifi

[OE-core] [PATCH v5 0/3] Openssl 1.1 upgrading

2018-07-10 Thread Andrej Valek
Changes: [v4] - just resend series [v5] - sync dofile.pl patch with mainline Andrej Valek (3): openssl-1.1: fix c_rehash perl errors openssl-1.1: rework packaging openssl-1.1: /etc/ssl location compatibility ...-dofile.pl-only-quote-stuff-that-actually.patch | 29 ++

Re: [OE-core] [PATCH] kernel-devicetree.bbclass: DTB make targets may contain path components

2018-07-10 Thread Martin Jansa
Please rebase on top of current master-next. On Mon, Jul 9, 2018 at 6:20 PM Jonathan Haigh wrote: > normalize_dtb() turns DTS and DTB paths into values that can be used as > make targets. These make targets sometimes contain some directory > components so 'basename' is not suitable for turning t