Re: [OE-core] [PATCH] python-setuptools.inc: avoid using += with an over-ride

2018-07-03 Thread Andre McCurdy
On Tue, Jul 3, 2018 at 8:15 PM, Christopher Larson wrote: > On Tue, Jul 3, 2018 at 5:55 PM Andre McCurdy wrote: >> >> An over-ride replaces the original value regardless of whether or >> not it's set up with +=. As replacing the original value seems to be >> the intention here, drop the += to

[OE-core] [PATCH 1/1] oeqa/runtime/cases/parselog.py: ignore a message from weston

2018-07-03 Thread Chen Qi
The following error message when starting core-image-weston is not critical as long as the image could start up correctly. So extend the common_errors list for parselog.py test case to ignore this message. logind: cannot setup systemd-logind helper (-61), using legacy fallback [YOCTO #12835]

[OE-core] [PATCH 0/1] oeqa/runtime/cases/parselog.py: ignore a message from weston

2018-07-03 Thread Chen Qi
The following changes since commit 0118f01787eaa91ec2760d0bb8540efadf5c2510: multilib: Tweak previous cross-canadian multilib fix (2018-07-04 00:02:17 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/parselogs-weston

[OE-core] [PATCH] libnss-nis: Limit parse skip only for target recipe on musl

2018-07-03 Thread Khem Raj
on the host side we are glibc based therefore some native and nativesdk recipes might need this package even when we target musl based systems Signed-off-by: Khem Raj --- meta/recipes-extended/libnss-nis/libnss-nis.bb | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

Re: [OE-core] [PATCH] python-setuptools.inc: avoid using += with an over-ride

2018-07-03 Thread Christopher Larson
On Tue, Jul 3, 2018 at 5:55 PM Andre McCurdy wrote: > An over-ride replaces the original value regardless of whether or > not it's set up with +=. As replacing the original value seems to be > the intention here, drop the += to make it more explicit. Also some > minor recipe formatting tweaks. >

[OE-core] [PATCH 1/2] git: 2.16.1 -> 2.18.0

2018-07-03 Thread Robert Yang
* Removed code for "${D}${exec_prefix}/lib/perl-native/perl" since there is no such a directory now. * Fixed perl related code. Signed-off-by: Robert Yang --- meta/recipes-devtools/git/git.inc | 12 ++-- meta/recipes-devtools/git/git_2.16.1.bb | 11 ---

[OE-core] [PATCH 2/2] nfs-utils: 2.1.1 -> 2.3.1

2018-07-03 Thread Robert Yang
* Removed 001-configure-Allow-to-explicitly-disable-nfsidmap.patch, the nfsidmap is enabled when --enable-nfsv4, so I added a PACKAGECONFIG[nfsv4], and default is no since keyutils is not in oe-core by default. * Removed 0001-include-stdint.h-for-UINT16_MAX-definition.patch and

[OE-core] [PATCH 0/2 V2] Recipes upgrade

2018-07-03 Thread Robert Yang
* V2: - Remove the ones already on master-next - Upgrade git to 2.18 rathar than 2.17 - Fix nfs-utils' build with glibc, I had tested it with glibc, then musl in V1, but after I fixed it with musl, I forgot to test with glibc again, now I tested with both glibc and musl. // Robert

[OE-core] [PATCH V2] libxml2: fix CVE-2017-8872

2018-07-03 Thread Hongxu Jia
The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure. https://bugzilla.gnome.org/show_bug.cgi?id=775200 Signed-off-by: Hongxu Jia --- .../libxml/libxml2/fix-CVE-2017-8872.patch | 38

[OE-core] [PATCH] python-setuptools.inc: avoid using += with an over-ride

2018-07-03 Thread Andre McCurdy
An over-ride replaces the original value regardless of whether or not it's set up with +=. As replacing the original value seems to be the intention here, drop the += to make it more explicit. Also some minor recipe formatting tweaks. Signed-off-by: Andre McCurdy ---

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

2018-07-03 Thread Khem Raj
When we have wayland enabled with egl then it enables the wayland plugin which actually fails to build because its not finding wayland-protocol xml templates in proper location which is recipe sysroot since we are cross compiling Fixes build errors e.g. make[4]: *** No rule to make target

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

2018-07-03 Thread Khem Raj
When we have wayland enabled with egl then it enables the wayland plugin which actually fails to build because its not finding wayland-protocol xml templates in proper location which is recipe sysroot since we are cross compiling Fixes build errors e.g. make[4]: *** No rule to make target

[OE-core] [PATCH] kernel-fitimage: add support for ext2.gz initramfs files

2018-07-03 Thread chunrong . guo
From: Chunrong Guo Signed-off-by: Chunrong Guo --- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index f84be44..8698022 100644 ---

[OE-core] [sumo, master][PATCH] busybox: Add patch to ignore -c on umount command

2018-07-03 Thread Fabio Berton
Fix error when umounting filesystem on shutdown with a systemd distro. See more datails here: [https://github.com/systemd/systemd/issues/7786] Signed-off-by: Fabio Berton --- .../busybox/busybox/umount-ignore-c.patch | 37 +++ meta/recipes-core/busybox/busybox_1.27.2.bb |

[OE-core] [rocko][PATCH] busybox: Add patch to ignore -c on umount command

2018-07-03 Thread Fabio Berton
Fix error when umounting filesystem on shutdown with a systemd distro. See more datails here: [https://github.com/systemd/systemd/issues/7786] Signed-off-by: Fabio Berton --- .../busybox/busybox/umount-ignore-c.patch | 47 +++ meta/recipes-core/busybox/busybox_1.24.1.bb |

Re: [OE-core] [PATCH 3/5] git: 2.16.1 -> 2.17.0

2018-07-03 Thread Robert Yang
On 07/03/2018 08:42 PM, Otavio Salvador wrote: On Tue, Jul 3, 2018 at 1:11 AM, Robert Yang wrote: * Removed code for "${D}${exec_prefix}/lib/perl-native/perl" since there is no such a directory now. * Fixed perl related code. Signed-off-by: Robert Yang Latest release is 2.18.0, it

Re: [OE-core] [PATCH 4/5] nfs-utils: 2.1.1 -> 2.3.1

2018-07-03 Thread Robert Yang
On 07/03/2018 07:53 PM, Burton, Ross wrote: Failing for me: | checking for res_querydomain in -lresolv... no | configure: error: res_querydomain needed | NOTE: The following config.log files may provide further information. Ross I'm sorry, that patch should be for musl only, I will fix

Re: [OE-core] [PATCH 2/2] [meta] atk: Specify gettext-native dependency

2018-07-03 Thread Burton, Ross
What was missing all along is that we're talking specifically about atk-native here, which disables NLS explicitly. As Meson doesn't yet expose a way to turn off i18n we need to stop that. For now, adding USE_NLS=yes is a suitable workaround (and what glib already does). Marko, can you send this

[OE-core] [PATCH] fstests: remove

2018-07-03 Thread Ross Burton
These tests are very old and there are better benchmarking systems available now. Signed-off-by: Ross Burton --- .../conf/distro/include/poky-floating-revisions.inc | 1 - meta/conf/distro/include/distro_alias.inc | 1 - meta/conf/distro/include/maintainers.inc | 1

[OE-core] [PATCH] mesa: enable surfaceless platform

2018-07-03 Thread Ross Burton
This platform is enabled by default but as we override the platform list doesn't get enabled. Signed-off-by: Ross Burton --- meta/recipes-graphics/mesa/mesa.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc

[OE-core] [PATCH 4/4] libdrm: port to Meson

2018-07-03 Thread Ross Burton
Drop the patch to install tests as the Meson build allows this. Drop the patch to disable cunit as this predates recipe-specific-sysroots and isn't required anymore. As Meson always builds the test suite (instead of building before running it), add a patch to fix compilation with musl.

[OE-core] [PATCH 3/4] meson: validate cpu_family

2018-07-03 Thread Ross Burton
Meson has a defined list of known CPU families but these are not currently validated, so mistakes in cross files or new architectures are not noticed. Backport a patch from upstream which warns on unknown architectures, but tweak it to fatally error instead. When we upgrade to Meson 0.47 the

[OE-core] [PATCH 2/4] meson: map architecture to correct values in cross file

2018-07-03 Thread Ross Burton
The cross file specifies the host/target cpu_family, which should be one of a defined set of values[1] but if it isn't Meson won't complain and instead recipes may behave unexpectedly. [1] http://mesonbuild.com/Reference-tables.html#cpu-families Signed-off-by: Ross Burton ---

[OE-core] [PATCH 1/4] meson: various class improvements

2018-07-03 Thread Ross Burton
- Ensure that the PACKAGECONFIG arguments are always in EXTRA_OEMESON - Log the arguments that are being passed in do_configure. - Do verbose builds so the compile logs are useful for debugging build problems Signed-off-by: Ross Burton --- meta/classes/meson.bbclass | 7 --- 1 file

[OE-core] [PATCH resend] wic: allow bitbake variables in kickstarter files

2018-07-03 Thread Rasmus Villemoes
image_types_wic.bbclass has a mechanism for doing variable substitution on .wks files by simply letting the input file be called .wks.in. However, that doesn't allow using variables in files included via the include directive. This is unfortunate, because lacking either the ability to include

Re: [OE-core] [PATCH 3/5] git: 2.16.1 -> 2.17.0

2018-07-03 Thread Otavio Salvador
On Tue, Jul 3, 2018 at 1:11 AM, Robert Yang wrote: > * Removed code for "${D}${exec_prefix}/lib/perl-native/perl" since there is no > such a directory now. > * Fixed perl related code. > > Signed-off-by: Robert Yang Latest release is 2.18.0, it makes sense to upgrade to it except if there is

[OE-core] [OE-Core][PATCH v2] openssh: Add dependency on ssh for sftp

2018-07-03 Thread Alex Kiernan
Add missing dependency on the ssh binary for the sftp client to avoid failure at runtime if it's not been installed through another dependency chain. This introduces a note if PREFERRED_RPROVIDER_ssh is not set and it can be satisfied by multiple providers (e.g. openssh and dropbear).

[OE-core] [PATCH 2/2] go: Update 1.10.2 -> 1.10.3

2018-07-03 Thread Otavio Salvador
go1.10.3 (released 2018/06/05) includes fixes to the go command, and the crypto/tls, crypto/x509, and strings packages. In particular, it adds minimal support to the go command for the vgo transition. Signed-off-by: Otavio Salvador --- meta/recipes-devtools/go/go-1.10.inc | 6 +++--- 1 file

[OE-core] [PATCH 1/2] go: Update 1.9.6 -> 1.9.7

2018-07-03 Thread Otavio Salvador
go1.9.7 (released 2018/06/05) includes fixes to the go command, and the crypto/x509, and strings packages. In particular, it adds minimal support to the go command for the vgo transition. Signed-off-by: Otavio Salvador --- meta/recipes-devtools/go/go-1.9.inc | 6 +++--- 1 file changed, 3

Re: [OE-core] [PATCH] rpm: Avoid leaking temporary scriplet files

2018-07-03 Thread Alexander Kanavin
Thanks, looks good now! Alex 2018-07-03 14:01 GMT+02:00 Olof Johansson : > On 18-06-30 08:37 +0200, Alexander Kanavin wrote: >> Ideally, "/" should've been replaced with rpmtsRootDir(ts), but ts is >> not accessible from the function, or from its parent, or parent >> parent. So yes, I concede

Re: [OE-core] [PATCH] rpm: Avoid leaking temporary scriplet files

2018-07-03 Thread Olof Johansson
On 18-06-30 08:37 +0200, Alexander Kanavin wrote: > Ideally, "/" should've been replaced with rpmtsRootDir(ts), but ts is > not accessible from the function, or from its parent, or parent > parent. So yes, I concede this would be too invasive to pass that down > the call stack. So if you can amend

[OE-core] [PATCH v2] rpm: Avoid leaking temporary scriplet files

2018-07-03 Thread Olof Johansson
RPM writes each package scriptlet (post-/preinstall) to /var/tmp/rpm-tmp.XX --- a lot of files potentially gets created. When debugging is enabled, these temporary scriptlet files aren't cleaned up at all and after a while this results in the filesystem resources are eaten up (like running out

Re: [OE-core] [PATCH 4/5] nfs-utils: 2.1.1 -> 2.3.1

2018-07-03 Thread Burton, Ross
Failing for me: | checking for res_querydomain in -lresolv... no | configure: error: res_querydomain needed | NOTE: The following config.log files may provide further information. Ross On 3 July 2018 at 05:11, Robert Yang wrote: > * Removed

Re: [OE-core] [PATCH] libxml2: fix CVE-2017-8872

2018-07-03 Thread Burton, Ross
This isn't a backport, it's just a patch that is in bugzilla so should be marked as Submitted. Ross On 3 July 2018 at 09:10, Hongxu Jia wrote: > The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 > allows attackers to cause a denial of service (buffer over-read) or >

[OE-core] [PATCH] libxml2: fix CVE-2017-8872

2018-07-03 Thread Hongxu Jia
The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure. https://bugzilla.gnome.org/show_bug.cgi?id=775200 Signed-off-by: Hongxu Jia --- .../libxml/libxml2/fix-CVE-2017-8872.patch | 38

Re: [OE-core] devshell problems after distro upgrade openSUSE Leap 42.3 -> 15.0

2018-07-03 Thread Steffen Sledz
On 02.07.2018 20:25, Khem Raj wrote: > On Sun, Jul 1, 2018 at 11:39 PM Steffen Sledz wrote: >> >> After upgrading my build system from openSUSE Leap 42.3 to openSUSE Leap >> 15.0 a >> >> bitbake foo -c devshell >> >> no longer switches to the related work directory. The devshell is opened in