[OE-core] [PATCH] libxml2: fix libxml2 ptest fails

2018-07-31 Thread changqing.li
From: Changqing Li for core-image-minimal image, missing these two dependency will cause below warning and error: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) ./test/icu_parse_test.xml generated an error Signed-off-by: Changqing Li ---

Re: [OE-core] [PATCH 1/1] base-files: fix handling of resize

2018-07-31 Thread ChenQi
On 08/01/2018 01:25 PM, Chen Qi wrote: The current handling of resize is incorrect. Using `resize > /dev/null 2>&1 && resize > /dev/null' will cause the second resize command to not execute because 'resize > /dev/null 2>&1' will fail for resize utility from busybox. What we really should do is

[OE-core] [PATCH 1/1] base-files: fix handling of resize

2018-07-31 Thread Chen Qi
The current handling of resize is incorrect. Using `resize > /dev/null 2>&1 && resize > /dev/null' will cause the second resize command to not execute because 'resize > /dev/null 2>&1' will fail for resize utility from busybox. What we really should do is just to check whether ${bindir}/resize is

[OE-core] [PATCH 0/1] base-files: fix handling of resize

2018-07-31 Thread Chen Qi
The following changes since commit 666e0783525a298217787e3d2f1460c57c2f59ca: gcc-7.3: Backport fixes for std::pair high memory usage (2018-07-31 22:55:35 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/base-files-resize

Re: [OE-core] [PATCH] machine: remove kernel-modules from RRECOMMENDS

2018-07-31 Thread Anuj Mittal
On 07/31/2018 11:22 PM, openembedded-core-boun...@lists.openembedded.org wrote: > On Tue, 2018-07-31 at 17:15 +0300, Maxin B. John wrote: >> qemumips,qemumips64 and x86 based machines include kernel-modules by >> default. Remove the kernel modules from RRECOMMENDS to make it >> consistent >>

[OE-core] ✗ patchtest: failure for util-linux: Enable fallocate for native/nativesdk

2018-07-31 Thread Patchwork
== Series Details == Series: util-linux: Enable fallocate for native/nativesdk Revision: 1 URL : https://patchwork.openembedded.org/series/13325/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core] [PATCH] util-linux: Enable fallocate for native/nativesdk

2018-07-31 Thread Richard Purdie
fallocate was disabled for native/nativesdk in: http://git.openembedded.org/openembedded-core/commit/?id=17f3c548caf4adec37c3bbb139aa6b3900419794 We have since added uninative support and better glibc handling for SDKs so this difference can be dropped now. Signed-off-by: Richard Purdie ---

Re: [OE-core] [oe-core][PATCH] poky-lsb: security_flags.inc

2018-07-31 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Hongzhi.Song > Sent: den 31 juli 2018 13:07 > To: openembedded-core@lists.openembedded.org; raj.k...@gmail.com > Subject: [OE-core] [oe-core][PATCH] poky-lsb:

Re: [OE-core] [PATCH] defaultsetup.conf: Enable security flags+pie by default

2018-07-31 Thread Peter Kjellerstedt
> -Original Message- > From: Khem Raj > Sent: den 27 juli 2018 23:27 > To: Peter Kjellerstedt > Cc: ChenQi ; Patches and discussions about the > oe-core layer > Subject: Re: [OE-core] [PATCH] defaultsetup.conf: Enable security > flags+pie by default > > On Fri, Jul 27, 2018 at 1:49 PM

[OE-core] [oe-core][PATCH v2] u-boot: Fix pylibfdt generation

2018-07-31 Thread Joshua Watt
u-boot attempts to build a Python library called pylibfdt. By default, u-boot would attempt to use the build host's Python interpreter, which causes numerous problems, not least of which is that it fails if the host doesn't have the Python development package installed (complaining about not being

[OE-core] [PATCH 2/2] python[3]native: allow use of both native Python 2 and 3

2018-07-31 Thread Ross Burton
Instead of both classes using ${PYTHON_PN} (which is set by python-dir and python3-dir), hardcode the right values so that it is possible to inherit both pythonnative and python3native at the same time. If both are inherited then both native Pythons are available, but the last to be inherited

[OE-core] [PATCH 1/2] meson: don't dump full error log on failure

2018-07-31 Thread Ross Burton
If the configure fails then we don't really want to see hundreds of lines of test output (this would be similar to dumping out autoconf's config.log). The error includes the path of the full log if further debugging is required. Signed-off-by: Ross Burton --- meta/classes/meson.bbclass | 1 -

Re: [OE-core] [PATCH 8/8] [PATCH v2] meta-toolchain: Added dnf-nativesdk into cross-development toolchain.

2018-07-31 Thread Alexander Kanavin
2018-07-31 13:15 GMT+02:00 : > Why not add some dnf like wrappers around the eSDK though? We have > tools like devtool and recipetool but there is a lot of potential to > add a simpler interface to enable these "customise rootfs" type of > workflows. For what it's worth, I'm just now looking

Re: [OE-core] [PATCH] machine: remove kernel-modules from RRECOMMENDS

2018-07-31 Thread Richard Purdie
On Tue, 2018-07-31 at 17:15 +0300, Maxin B. John wrote: > qemumips,qemumips64 and x86 based machines include kernel-modules by > default. Remove the kernel modules from RRECOMMENDS to make it > consistent > across the machines. > > Tested using core-image-sato on qemumips, qemumips64, qemux86 and

[OE-core] Yocto Project Status WW31’18

2018-07-31 Thread Jolley, Stephen K
Current Dev Position: YP 2.6 M3. Next Deadline: YP 2.6 M2 Release Target was July 27, 2018 SWAT Team Rotation: · SWAT lead is currently: Tracy · SWAT team rotation: Tracy -> Armin on Aug. 3, 2018 · SWAT team rotation: Armin -> Maxin on Aug. 10, 2018 ·

[OE-core] [PATCH] machine: remove kernel-modules from RRECOMMENDS

2018-07-31 Thread Maxin B. John
qemumips,qemumips64 and x86 based machines include kernel-modules by default. Remove the kernel modules from RRECOMMENDS to make it consistent across the machines. Tested using core-image-sato on qemumips, qemumips64, qemux86 and qemux86-64 [YOCTO #12383] Signed-off-by: Maxin B. John ---

[OE-core] [PATCH] openssl: fix missing dependency on hostperl-runtime-native

2018-07-31 Thread Andre McCurdy
Openssl 1.1 requires perl in order to build (just as openssl 1.0 does). The missing dependency has gone unnoticed up to now since hostperl-runtime-native is included in ASSUME_PROVIDED. Signed-off-by: Andre McCurdy --- meta/recipes-connectivity/openssl/openssl_1.1.0h.bb | 2 ++ 1 file changed,

Re: [OE-core] [PATCH] openssl_1.0: drop unnecessary dependency on makedepend-native

2018-07-31 Thread Andre McCurdy
On Tue, Jul 31, 2018 at 3:24 AM, Andrej Valek wrote: > This program is required for "oe_runmake depend" command. It runs > command in MAKEDEPPROG variable, which is set to makedepend. Makedepend > consists from makedepend-native package. That's what you might guess from casually reading the

[OE-core] [PATCH] oe-selftest: devtool: avoid parallel races by using temporary copy of core

2018-07-31 Thread Paul Eggleton
Some of the devtool tests make changes to files under meta/ - legitimately since we want these tests to be working with real recipes and associated files. Unfortunately with the new oe-selftest parallelisation this can break other tests if files go missing at the wrong time (among other

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-31 Thread Richard Purdie
On Fri, 2018-07-27 at 12:05 +0100, Burton, Ross wrote: > On 27 July 2018 at 00:58, Andre McCurdy wrote: > > On Thu, Jul 26, 2018 at 4:34 PM, Burton, Ross > m> wrote: > > > On 26 July 2018 at 14:58, Ioan-Adrian Ratiu > > > wrote: > > > > Because the util-linux_2.32.bb recipe explicitely disables

Re: [OE-core] [PATCH 2/2] vulkan-demos: upgrade to latest commit

2018-07-31 Thread Maxin B. John
Hi RP, On Tue, Jul 31, 2018 at 01:01:31PM +0100, richard.pur...@linuxfoundation.org wrote: > On Tue, 2018-07-31 at 12:17 +0100, Burton, Ross wrote: > > On 31 July 2018 at 11:53, Maxin B. John wrote: > > > Update subcomponents gli and glm based on the new structure of > > > repository. > > > >

Re: [OE-core] [PATCH 2/2] vulkan-demos: upgrade to latest commit

2018-07-31 Thread Richard Purdie
On Tue, 2018-07-31 at 12:17 +0100, Burton, Ross wrote: > On 31 July 2018 at 11:53, Maxin B. John wrote: > > Update subcomponents gli and glm based on the new structure of > > repository. > > If they're submodules then the gitsm: fetcher should get those for > you. The gitsm fetcher is broken

Re: [OE-core] [PATCH 2/2] multiconfig: Enable multiconfig dependencies on oe-core

2018-07-31 Thread Richard Purdie
On Mon, 2018-07-30 at 15:05 -0700, Alejandro Enedino Hernandez Samaniego wrote: > On 07/26/2018 08:36 PM, Khem Raj wrote: > > > > On 7/25/18 9:05 AM, Alejandro Enedino Hernandez Samaniego wrote: > > > This patch enables multiconfig dependencies (mcdepends) to be > > > used on > > > recipes using

Re: [OE-core] [PATCH 2/2] vulkan-demos: upgrade to latest commit

2018-07-31 Thread Burton, Ross
On 31 July 2018 at 11:53, Maxin B. John wrote: > Update subcomponents gli and glm based on the new structure of > repository. If they're submodules then the gitsm: fetcher should get those for you. Ross -- ___ Openembedded-core mailing list

Re: [OE-core] [PATCH 8/8] [PATCH v2] meta-toolchain: Added dnf-nativesdk into cross-development toolchain.

2018-07-31 Thread richard . purdie
On Tue, 2018-07-31 at 02:18 +, Zheng, Ruoqin wrote: > Hi Richard > > eSDK is actually a better technique for developers. But it’s > only suitable for those people who has experience on Yocto Project. Remember that the eSDK can function just like the SDK. You can use more of its tools

[OE-core] [oe-core][PATCH] poky-lsb: security_flags.inc

2018-07-31 Thread Hongzhi.Song
To fix the following error, we append '-O' to the defination of _FORTIFY_SOURCE recipe-sysroot/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~

Re: [OE-core] [oe-core] INCOMPATIBLE_LICENSE mechanism

2018-07-31 Thread Paul Eggleton
On Thursday, 26 July 2018 5:14:05 PM BST Richard Purdie wrote: > On Thu, 2018-07-26 at 13:16 +, Peter Kjellerstedt wrote: > > This is related to a similar problem we are seeing with the use of > > “or” for licenses. We use the archiver.bbclass to export all open > > source code we use.

[OE-core] [PATCH 2/2] vulkan-demos: upgrade to latest commit

2018-07-31 Thread Maxin B. John
Remove upstreamed patches: 1. 0001-Fix-build-on-x86.patch 2. 0001-Support-installing-demos-support-out-of-tree-builds.patch Updated the following patch: 1. 0001-Don-t-build-demos-with-questionably-licensed-data.patch Update subcomponents gli and glm based on the new

[OE-core] [PATCH 1/2] vulkan: upgrade to version 1.1.73.0

2018-07-31 Thread Maxin B. John
Refresh the patch: demos-Don-t-build-tri-or-cube.patch License-Update: Updates in copyright information. Signed-off-by: Maxin B. John --- .../vulkan/demos-Don-t-build-tri-or-cube.patch | 110 - .../{vulkan_1.0.65.2.bb => vulkan_1.1.73.0.bb} | 7 +- 2 files

Re: [OE-core] [PATCH] openssl_1.0: drop unnecessary dependency on makedepend-native

2018-07-31 Thread Andrej Valek
This program is required for "oe_runmake depend" command. It runs command in MAKEDEPPROG variable, which is set to makedepend. Makedepend consists from makedepend-native package. Cheers, Andrej On 07/31/18 12:08, Richard Purdie wrote: > On Mon, 2018-07-30 at 18:28 -0700, Andre McCurdy wrote: >>

Re: [OE-core] [PATCH] openssl_1.0: drop unnecessary dependency on makedepend-native

2018-07-31 Thread Richard Purdie
On Mon, 2018-07-30 at 18:28 -0700, Andre McCurdy wrote: > The openssl Configure script will only select standalone makedepend > (vs running "$CC -M") when building with gcc < 3.x or with an Apple > Xcode version which predates the switch to clang (in approx 2010?). > Neither of these cases are

Re: [OE-core] [PATCH] test-result-log: testcase management tool to store and view test result

2018-07-31 Thread Yeoh, Ee Peng
Hi Richard & Paul & Ross, As per our conversation in the past, there was a need to provide alternative testcase management tool to Testopia in order to achieve our goals of: 1) To unblocked Bugzilla upgrade to a newer version in order to receive the improvement in WebServices, performance, and

[OE-core] [PATCH] test-result-log: testcase management tool to store and view test result

2018-07-31 Thread Yeoh Ee Peng
These scripts were developed as an alternative testcase management tool to Testopia. Using these scripts, user can store test result from OEQA automated testcase execution and view the test report. These scripts will store test result & log in GIT repository and show text-based summary report. To

Re: [OE-core] Is a dependency on hostperl-runtime-native actually useful?

2018-07-31 Thread richard . purdie
On Mon, 2018-07-30 at 18:06 -0700, Andre McCurdy wrote: > On Mon, Jul 30, 2018 at 3:23 PM, Richard Purdie > wrote: > > On Mon, 2018-07-30 at 14:44 -0700, Andre McCurdy wrote: > > > Currently the openssl 1.0 recipe defines a dependency on > > > hostperl-runtime-native and the openssl 1.1 recipe

Re: [OE-core] [PATCH 3/4] systemd: backport patch to allow setting dbus calls timeout

2018-07-31 Thread ChenQi
On 07/31/2018 03:13 PM, Chen Qi wrote: Backport 0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch which allows setting dbus calls timeout via BUS_DEFAULT_TIMEOUT environment variable. The environment variable's name is actually SYSTEMD_BUS_TIMEOUT. I've fixed the commit message and

Re: [OE-core] [PATCH v2] cross-canadian/libgcc: fix aarch64's multilib SDK

2018-07-31 Thread Lei, Maohui
> Please test this patch with musl target preferably arm/aarch64 and also > ppc/glibc by generating SDKs Ok, I'll test it. Best regards. Lei > -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Friday, July 27, 2018 11:31 AM > To: Robert Yang; Lei, Maohui;

Re: [OE-core] Is a dependency on hostperl-runtime-native actually useful?

2018-07-31 Thread Burton, Ross
On 31 July 2018 at 02:06, Andre McCurdy wrote: > On Mon, Jul 30, 2018 at 3:23 PM, Richard Purdie > wrote: >> On Mon, 2018-07-30 at 14:44 -0700, Andre McCurdy wrote: >>> Currently the openssl 1.0 recipe defines a dependency on >>> hostperl-runtime-native and the openssl 1.1 recipe does not. Both

[OE-core] [PATCH 3/4] systemd: backport patch to allow setting dbus calls timeout

2018-07-31 Thread Chen Qi
Backport 0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch which allows setting dbus calls timeout via BUS_DEFAULT_TIMEOUT environment variable. This is needed as we are meeting timeout failures from the oeqa runtime test case systemd.py. Signed-off-by: Chen Qi ---

[OE-core] [PATCH 1/4] oe_syslog.py: fix settings in OEHasPackage decorator

2018-07-31 Thread Chen Qi
1. For test_syslog_running, we should not restrict it to run for only busybox-syslog and sysklogd. So extend it to all syslog providers in oe-core and meta-openembedded. 2. For test_syslog_startup_config, fix to make it depend on the existence of busybox-syslog. The previous condition

[OE-core] [PATCH 2/4] parselogs.py: ignore network interface name changing failure

2018-07-31 Thread Chen Qi
The following error from systemd-udevd is not harmful. It's just because our qemu targets are using eth0. Error changing net interface name 'eth0' to 'enp0s3': Device or resource busy Note that systemd is using a different network interface naming scheme from traditional ethX naming scheme. To

[OE-core] [PATCH 4/4] systemd.py: increase default bus timeout

2018-07-31 Thread Chen Qi
Use SYSTEMD_BUS_TIMEOUT to set default timeout to 240s to avoid timeout problem on slow qemu machines. Signed-off-by: Chen Qi --- meta/lib/oeqa/runtime/cases/systemd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/lib/oeqa/runtime/cases/systemd.py

[OE-core] [PATCH 0/4] A few fixes related to oeqa runtime

2018-07-31 Thread Chen Qi
The following changes since commit 9c419271b5cf927924682c3200451979f02409bb: bitbake: codeparser: Track oe.utils.conditional usage (2018-07-30 12:45:15 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/oeqa_fixes