[OE-core] [PATCH] musl: Update to latest master

2018-07-16 Thread Khem Raj
General bug fixes Full logs https://git.musl-libc.org/cgit/musl/log/?qt=range=193338e619de7c993efa2c0e1a87240bd732c181..9cad27a3dc1a4eb349b6591e4dc8cc89dce32277 Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] recipes: Enforce ARM ISA just for arm arches <= armv5

2018-07-16 Thread Khem Raj
armv7+ used thumb2 ISA and it compiles fine with thumb2 issues are only when using thumb1 ISA Signed-off-by: Khem Raj --- meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb| 5 - meta/classes/goarch.bbclass| 6 +-

[OE-core] [PATCH] sqlite3:3.23.1 -> 3.24.0

2018-07-16 Thread Hong Liu
Upgrade sqlite3 from 3.23.1 to 3.24.0. Signed-off-by: Hong Liu --- meta/recipes-support/sqlite/{sqlite3_3.23.1.bb => sqlite3_3.24.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/sqlite/{sqlite3_3.23.1.bb => sqlite3_3.24.0.bb} (59%) diff --git

[OE-core] [PATCH 0/2] distutils/setuptools:fix recipes may try to fetch code during do_compile

2018-07-16 Thread Hongxu Jia
The following changes since commit 05c32d2de1ee4681cc78cb107a158e9ab22c9619: oeqa/selftest/wic: Split tests into two class groups (2018-07-16 13:21:35 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib hongxu/setuptools-fetch

[OE-core] [PATCH 1/2] distutils/setuptools-native: do not try to fetch code during do_compile

2018-07-16 Thread Hongxu Jia
If a python recipe is using setuptools and the setup_requires argument, where setuptools will use easy_install to fetch the module if it isn't present. The build failed on a machine where a proxy was required, but succeeded on a machine which had direct access to the internet Add

[OE-core] [PATCH 2/2] distutils3/setuptools3-native: do not try to fetch code during do_compile

2018-07-16 Thread Hongxu Jia
If a python recipe is using setuptools and the setup_requires argument, where setuptools will use easy_install to fetch the module if it isn't present. The build failed on a machine where a proxy was required, but succeeded on a machine which had direct access to the internet Add

[OE-core] [PATCH 2/2] systemd-boot: upgrade to 239

2018-07-16 Thread Chen Qi
Upgrade systemd-boot to 239. The following patch is removed due to recent fix about meson's cpu family mapping and validation. 0001-Also-check-i386-i586-and-i686-for-ia32.patch Signed-off-by: Chen Qi --- .../{systemd-boot_237.bb => systemd-boot_239.bb} | 5 ++--

[OE-core] [PATCH V6 0/2] upgrade systemd and systemd-boot to 239

2018-07-16 Thread Chen Qi
Changes in V6: * Backport 0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch to solve race condition Changes in V5: * Add to ${PN}-container ${datadir}/dbus-1/system.d/org.freedesktop.import1.conf to avoid QA issue Changes in V4: * Squash fixes into the upgrade patch Changes in

Re: [OE-core] [PATCH] systemd: Enable coredump if it is in PACKAGECONFIG

2018-07-16 Thread ChenQi
Hi Alistair, I don't think this file needs to be modified. And you are uncommenting the default values. The behavior is expected to remain the same. Also, I just did a quick test with coredump enabled and things were working correctly. Best Regards, Chen Qi On 07/17/2018 06:50 AM,

Re: [OE-core] [PATCH 3/3] oeqa/runtime/cases/rpm.py: workaround race condition

2018-07-16 Thread ChenQi
I'll backport the patch, integrate it into the upgrade patch and send out V6. Best Regards, Chen Qi On 07/16/2018 07:15 PM, Burton, Ross wrote: Still refusing to accept a "sleep 1" on a race: 1) a 1 second sleep just makes the race rarer, a loaded host and you'll hit it again and want to

Re: [OE-core] [PATCH] systemd: Enable coredump if it is in PACKAGECONFIG

2018-07-16 Thread Khem Raj
On 7/16/18 5:00 PM, Andre McCurdy wrote: On Mon, Jul 16, 2018 at 4:22 PM, Alistair Francis wrote: On Mon, Jul 16, 2018 at 4:19 PM, Andre McCurdy wrote: On Mon, Jul 16, 2018 at 3:50 PM, Alistair Francis wrote: Previously if coredump was enabled in PACKAGECONFIG the user would still need

Re: [OE-core] [PATCH] systemd: Enable coredump if it is in PACKAGECONFIG

2018-07-16 Thread Andre McCurdy
On Mon, Jul 16, 2018 at 4:22 PM, Alistair Francis wrote: > On Mon, Jul 16, 2018 at 4:19 PM, Andre McCurdy wrote: >> On Mon, Jul 16, 2018 at 3:50 PM, Alistair Francis >> wrote: >>> Previously if coredump was enabled in PACKAGECONFIG the user would still >>> need to modify the conf file to enable

Re: [OE-core] [PATCH] systemd: Enable coredump if it is in PACKAGECONFIG

2018-07-16 Thread Alistair Francis
On Mon, Jul 16, 2018 at 4:19 PM, Andre McCurdy wrote: > On Mon, Jul 16, 2018 at 3:50 PM, Alistair Francis > wrote: >> Previously if coredump was enabled in PACKAGECONFIG the user would still >> need to modify the conf file to enable it. Now the config will be >> enabled if coredump is enalbed in

Re: [OE-core] [PATCH] systemd: Enable coredump if it is in PACKAGECONFIG

2018-07-16 Thread Andre McCurdy
On Mon, Jul 16, 2018 at 3:50 PM, Alistair Francis wrote: > Previously if coredump was enabled in PACKAGECONFIG the user would still > need to modify the conf file to enable it. Now the config will be > enabled if coredump is enalbed in the PACKAGECONFIG. > > Signed-off-by: Alistair Francis > ---

[OE-core] [PATCH] systemd: Enable coredump if it is in PACKAGECONFIG

2018-07-16 Thread Alistair Francis
Previously if coredump was enabled in PACKAGECONFIG the user would still need to modify the conf file to enable it. Now the config will be enabled if coredump is enalbed in the PACKAGECONFIG. Signed-off-by: Alistair Francis --- .../systemd/systemd/coredump.conf | 21

Re: [OE-core] [PATCH] ndctl: Add the NDCTL package

2018-07-16 Thread Alistair Francis
On Mon, Jul 16, 2018 at 2:20 PM, Khem Raj wrote: > > > On Mon, Jul 16, 2018 at 2:07 PM Alistair Francis > wrote: >> >> Add the NDCTL package (the libnvdimm utility library). This is based >> on the work from the meta-luv layer with a version bump. > > > I am not sure if it is a core candidate as

Re: [OE-core] [PATCH] ndctl: Add the NDCTL package

2018-07-16 Thread Khem Raj
On Mon, Jul 16, 2018 at 2:07 PM Alistair Francis wrote: > Add the NDCTL package (the libnvdimm utility library). This is based > on the work from the meta-luv layer with a version bump. > I am not sure if it is a core candidate as yet We can accept it into meta-oe and if it get useful for

[OE-core] [PATCH] ndctl: Add the NDCTL package

2018-07-16 Thread Alistair Francis
Add the NDCTL package (the libnvdimm utility library). This is based on the work from the meta-luv layer with a version bump. Signed-off-by: Alistair Francis --- meta/recipes-core/ndctl/ndctl_git.bb | 34 1 file changed, 34 insertions(+) create mode 100644

[OE-core] [PATCH] dbus: Enable user-session package config when x11 is set

2018-07-16 Thread Alistair Francis
When x11 is set in DISTRO_FEATURES enable user-session in dbus as the user is probably targeting a user session. Signed-off-by: Alistair Francis --- meta/recipes-core/dbus/dbus_1.12.8.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/dbus/dbus_1.12.8.bb

[OE-core] [PATCH] populate_sdk_base: Use default value assignment for SDK_TITLE/SDKEXTPATH

2018-07-16 Thread Richard Purdie
This allows the user mode flexibility about centrally overriding these rather than needing to do it on a per recipe basis. Signed-off-by: Richard Purdie --- meta/classes/populate_sdk_base.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [OE-core] [HELP] ptest & ptest

2018-07-16 Thread nick83ola
Thanks I'll have a look at those On Mon, 16 Jul 2018 at 15:19, Tim Orling wrote: > > http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python-cryptography_2.2.2.bb > >

[OE-core] [RFC 6/9] runqueue: Pass dependency ID to hash validate

2018-07-16 Thread Joshua Watt
If the dependency ID is being used to track task dependencies, the hash validation function needs to know about it in order to properly validate the hash. TODO: This currently isn't going to be backward compatible with older hashvalidate functions. Is that necessary, and if so are there any

[OE-core] [RFC 8/9] hashserver: Add initial reference server

2018-07-16 Thread Joshua Watt
Adds an initial reference implementation of the hash server. NOTE: This is my first dive into HTTP & REST technologies. Feedback is appreciated. Also, I don't think it will be necessary for this reference implementation to live in bitbake, and it can be moved to it's own independent project if

[OE-core] [RFC 9/9] sstate: Implement hash equivalence sstate

2018-07-16 Thread Joshua Watt
Converts sstate so that it can use a hash equivalence server to determine if a task really needs to be rebuilt, or if it can be restored from a different (equivalent) sstate object. The dependency IDs are cached persistently using persist_data. This has a number of advantages: 1) Dependency IDs

[OE-core] [RFC 7/9] classes/sstate: Handle depid in hash check

2018-07-16 Thread Joshua Watt
Handles the argument that passes task dependency IDs in the hash check function, as it is now required by bitbake Signed-off-by: Joshua Watt --- meta/classes/sstate.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/sstate.bbclass

[OE-core] [RFC 5/9] runqueue: Pass dependency ID to task

2018-07-16 Thread Joshua Watt
The dependency ID is now passed to the task in the BB_DEPID variable Signed-off-by: Joshua Watt --- bitbake/bin/bitbake-worker | 7 --- bitbake/lib/bb/runqueue.py | 10 ++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/bitbake/bin/bitbake-worker

[OE-core] [RFC 4/9] runqueue: Track task dependency ID

2018-07-16 Thread Joshua Watt
Requests the task dependency ID from siggen and tracks it Signed-off-by: Joshua Watt --- bitbake/lib/bb/runqueue.py | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index

[OE-core] [RFC 0/9] Hash Equivalency Server

2018-07-16 Thread Joshua Watt
These patches are a first pass at implementing a hash equivalence server in bitbake & OE. Apologies for cross-posting this to both the bitbake-devel and openembedded-devel; this work necessarily intertwines both places, and it is really necessary to look at both parts to get an idea of what is

[OE-core] [RFC 2/9] siggen: Split out stampfile hash fetch

2018-07-16 Thread Joshua Watt
The mechanism used to get the hash for a stamp file is split out so that it can be overridden by derived classes Signed-off-by: Joshua Watt --- bitbake/lib/bb/siggen.py | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/bitbake/lib/bb/siggen.py

[OE-core] [RFC 3/9] siggen: Split out task depend ID

2018-07-16 Thread Joshua Watt
Abstracts the function to get the dependency ID for a task so it can return something other that the taskhash Signed-off-by: Joshua Watt --- bitbake/lib/bb/siggen.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py

[OE-core] [RFC 1/9] bitbake-worker: Pass taskhash as runtask parameter

2018-07-16 Thread Joshua Watt
Pass the task hash as a parameter to the 'runtask' message instead of passing the entire dictionary of hashes when the worker is setup. This is possible less efficient, but prevents the worker taskhashes from being out of sync with the runqueue in the event that the taskhashes in the runqueue

[OE-core] Yocto Project Unassigned Bugs - Help Needed

2018-07-16 Thread Jolley, Stephen K
All, The triage team meets weekly and does its best to handle the bugs reported into the bugzilla. The numbers of people attending that meeting have fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the

[OE-core] [PATCH] oeqa/sdk/python: clean up Python test

2018-07-16 Thread Ross Burton
For the same reasons as the runtime Python test, clean up the SDK test. Also port from Python 2 to Python 3, as that's what is supported now. Signed-off-by: Ross Burton --- meta/lib/oeqa/files/test.py | 6 -- meta/lib/oeqa/sdk/cases/python.py | 35 ++-

Re: [OE-core] [PATCH] atk: add explicit gettext-native dependency

2018-07-16 Thread Alistair Francis
On Mon, Jul 16, 2018 at 8:30 AM, Ross Burton wrote: > In native builds we attempt to turn off i18n but this doesn't work in Meson > yet[1] but as the gettext class reduces dependencies in native builds we need > to > add gettext-native to DEPENDS explicitly. > > [1]

[OE-core] [PATCH 6/6] oeqa/decorator: Improve reliability

2018-07-16 Thread Richard Purdie
Checking if the dependency had any failure is unreliable, for example if the underlying data doesn't get transferred and the list is empty, success of the dependency is assumed. Since we now have success data available, change the code to use it. Signed-off-by: Richard Purdie ---

[OE-core] [PATCH 5/6] testsdk: Enable multiprocess execution

2018-07-16 Thread Richard Purdie
This uses the new concurrenttest code to enable parallel test execution if specified. Signed-off-by: Richard Purdie --- meta/classes/testsdk.bbclass | 7 ++- meta/lib/oeqa/sdk/context.py | 4 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/classes/testsdk.bbclass

[OE-core] [PATCH 1/6] oeqa: Add selftest parallelisation support

2018-07-16 Thread Richard Purdie
This allows oe-selftest to take a -j option which specifies how much test parallelisation to use. Currently this is "module" based with each module being split and run in a separate build directory. Further splitting could be done but this seems a good compromise between test setup and

[OE-core] [PATCH 3/6] oeqa/runner: Simplify code

2018-07-16 Thread Richard Purdie
There doesn't appear to be any reason we need this _results indirection any more so remove it. Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/context.py | 1 - meta/lib/oeqa/core/decorator/depends.py | 4 +--- meta/lib/oeqa/core/runner.py| 15 +--

[OE-core] [PATCH 2/6] oeqa/core/threaded: Remove in favour of using concurrenttests

2018-07-16 Thread Richard Purdie
We have several options for parallel processing in oeqa, parallel execution of modules, threading and mulitple processes for the runners. After much experimentation is appears the most scalable and least invasive approach is multiple processes using concurrenttestsuite from testtools. This means

[OE-core] [PATCH 4/6] oeqa: Remove xmlrunner

2018-07-16 Thread Richard Purdie
This isn't present on modern distros by default and doesn't work with testtools, needing multiple code paths in the code. Remove it in favour of finding a better replacement for results collection/analysis. Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py | 54

Re: [OE-core] [PATCH] atk: add explicit gettext-native dependency

2018-07-16 Thread Burton, Ross
There's a bug upstream but non-trivial to resolve. Ross On 16 July 2018 at 17:17, wrote: > On Mon, 2018-07-16 at 16:30 +0100, Ross Burton wrote: >> In native builds we attempt to turn off i18n but this doesn't work in >> Meson >> yet[1] but as the gettext class reduces dependencies in native

Re: [OE-core] [PATCH] atk: add explicit gettext-native dependency

2018-07-16 Thread Richard Purdie
On Mon, 2018-07-16 at 16:30 +0100, Ross Burton wrote: > In native builds we attempt to turn off i18n but this doesn't work in > Meson > yet[1] but as the gettext class reduces dependencies in native builds > we need to > add gettext-native to DEPENDS explicitly. > > [1]

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

2018-07-16 Thread Burton, Ross
Sent. Ross On 16 July 2018 at 08:56, Marko Lindqvist wrote: > Sorry, I'm on vacation, so it would be good if someone else can do the patch. > > > - ML > > > On 3 July 2018 at 17:37, Burton, Ross wrote: >> What was missing all along is that we're talking specifically about >> atk-native here,

[OE-core] [PATCH] atk: add explicit gettext-native dependency

2018-07-16 Thread Ross Burton
In native builds we attempt to turn off i18n but this doesn't work in Meson yet[1] but as the gettext class reduces dependencies in native builds we need to add gettext-native to DEPENDS explicitly. [1] https://github.com/mesonbuild/meson/issues/821 Signed-off-by: Ross Burton ---

[OE-core] [PATCH 1/4] spdx.bbclass: Replace deprecated string.replace with str.replace

2018-07-16 Thread Olof Johansson
The string.replace function is removed in python3. Instead, the str method "replace" should be used instead. Signed-off-by: Olof Johansson --- meta/classes/spdx.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/spdx.bbclass b/meta/classes/spdx.bbclass

[OE-core] [PATCH 4/4] spdx.bbclass: Encode strings before passing to hashlib

2018-07-16 Thread Olof Johansson
In python3, passing a unicode object to hashlib will result in an exception that encourages you to encode it first. Signed-off-by: Olof Johansson --- meta/classes/spdx.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/spdx.bbclass

[OE-core] [PATCH 2/4] spdx.bbclass: Fix undefined variable error

2018-07-16 Thread Olof Johansson
The path variable is used in an error message a few lines later, but was never defined. Signed-off-by: Olof Johansson --- meta/classes/spdx.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/spdx.bbclass b/meta/classes/spdx.bbclass index

[OE-core] [PATCH 3/4] spdx.bbclass: Make use of bb.utils' sha1_file()

2018-07-16 Thread Olof Johansson
The same functionality already exists within bitbake, so avoid duplicating. Signed-off-by: Olof Johansson --- meta/classes/spdx.bbclass | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/meta/classes/spdx.bbclass b/meta/classes/spdx.bbclass index

[OE-core] [PATCH 0/4] Small spdx.bbclass fixes

2018-07-16 Thread Olof Johansson
This patch series contain small adaptions, primarily for the spdx bbclasss to work with Python3. But with that said, I was unable to get it working when it came to interfacing with Fossology. Olof Johansson (4): spdx.bbclass: Replace deprecated string.replace with str.replace spdx.bbclass:

Re: [OE-core] [HELP] ptest & ptest

2018-07-16 Thread Tim Orling
http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python-cryptography_2.2.2.bb http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python-pygpgme_0.3.bb On Mon, Jul 16, 2018 at 1:41 AM nick83ola wrote: > Hi Alex, > thanks

[OE-core] [PATCH] gnutls: use HTTP instead of FTP

2018-07-16 Thread Ross Burton
HTTP is in general more reliable so use that in the SRC_URI. Signed-off-by: Ross Burton --- meta/recipes-support/gnutls/gnutls.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc index

[OE-core] [PATCH] oeqa/runtime/python: clean up Python test

2018-07-16 Thread Ross Burton
Currently this is three test cases: 1) test_python_exists. Fail if python3 isn't in PATH. 2) test_python_stdout. Run a Python script and check the output is as expected 3) test_python_testfile. Check that a file test_python_stdout wrote to exists. (1) should be a setup and skip the test

[OE-core] [PATCH] perl: update to 5.24.4

2018-07-16 Thread Andrej Valek
- fix CVE-2018-6797, CVE-2018-6798, CVE-2018-6913 - remove patches, which are now included in update - refresh patches Signed-off-by: Andrej Valek --- ...perl-native_5.24.1.bb => perl-native_5.24.4.bb} | 4 +- ...depends_5.24.1.inc => perl-rdepends_5.24.4.inc} | 0

Re: [OE-core] [PATCH 3/3] oeqa/runtime/cases/rpm.py: workaround race condition

2018-07-16 Thread Burton, Ross
Still refusing to accept a "sleep 1" on a race: 1) a 1 second sleep just makes the race rarer, a loaded host and you'll hit it again and want to push it to 2 seconds 2) Upstream fix at https://github.com/systemd/systemd/commit/86d18f3b09ec984ef3732567af992adb2dc77a8a Ross On 16 July 2018 at

Re: [OE-core] [meta-oe][poky][PATCH v2] systemd: resolved linked even if the option is disabled

2018-07-16 Thread ChenQi
Hi Nicola, As I replied on poky mailing list to this patch, you need to first check the following three commits. commit 00e4662e55f66570cae29240c22b4d74b79d3ca5 Author: Maxin B. John Date: Mon Jun 12 18:10:21 2017 +0300 systemd: enable resolved and networkd Enable

Re: [OE-core] [HELP] ptest & ptest

2018-07-16 Thread nick83ola
Hi Alex, thanks for your response. Do you or anyone else have an example about an actual python package that use ptest (possibily using distutils/nose/py.test)? Thanks Nick On Tue, 26 Jun 2018 at 16:07, Alexander Kanavin wrote: > The Yocto documentation has general information: > > >

[OE-core] [meta-oe][poky][PATCH v2] systemd: resolved linked even if the option is disabled

2018-07-16 Thread Nicola Lunghi
From: Nicola Lunghi if resolved option is not selected the package systemd-resolved is not installed so it cannot provide an alternative for resolv.conf In this recipe the previous check was instead reversing the check (note the !). This patch avoid messing with resol.conf link if resolved is

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

2018-07-16 Thread Marko Lindqvist
Sorry, I'm on vacation, so it would be good if someone else can do the patch. - ML On 3 July 2018 at 17:37, Burton, Ross wrote: > 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

[OE-core] [PATCH] sshd: add sshd.service

2018-07-16 Thread Zheng Ruoqin
Add sshd.service for user to start the sshd deamon. Signed-off-by: Zheng Ruoqin --- meta/recipes-connectivity/openssh/openssh/sshd.service | 16 meta/recipes-connectivity/openssh/openssh_7.7p1.bb | 2 ++ 2 files changed, 18 insertions(+) create mode 100644

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

2018-07-16 Thread Steffen Sledz
On 04.07.2018 13:37, Steffen Sledz wrote: > On 03.07.2018 08:04, Steffen Sledz wrote: >> 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