]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
5 years agobitbake: cooker: Kill alive process before join it m5
Robert Yang [Thu, 22 Aug 2019 04:24:40 +0000 (12:24 +0800)] 
bitbake: cooker: Kill alive process before join it

Fixed:
$ echo helloworld >> meta/recipes-extended/bash/bash_4.4.18.bb
$ while true; do kill-bb; rm -fr bitbake-cookerdaemon.log tmp/cache/default-glibc/qemux86-64/x86_64/bb_cache.dat* ; bitbake -p; done

It may hang in 10 mins, there are two problems:
* There might be deadlocks when call process.join() if the queue is not NULL,
  so we need cleanup the queue before join() it, but:
* The self.result_queue.get(timeout=0.25) may hang if the queue._wlock is hold
  by SomeOtherProcess, the queue has the following info when it hangs:
  '_wlock': <Lock(owner=SomeOtherProcess)>

We can kill alvie process before join it to fix the problems.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
5 years agosystemd: add PACKAGECONFIG for gnu-efi
Ross Burton [Wed, 21 Aug 2019 10:57:03 +0000 (11:57 +0100)] 
systemd: add PACKAGECONFIG for gnu-efi

Add a PACKAGECONFIG for gnu-efi, by default the meson.build looks explicitly in
/usr/include and /usr/lib for gnu-efi, and if it is present on the host the
build will fail.

[ YOCTO #13487 ]

Original patch by Chin Huat Ang.

(From OE-Core rev: 050cda9f02c6a5c773edf092514b173839569a48)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibunwind: Fix MIT license file checksum
Wes Lindauer [Fri, 16 Aug 2019 19:44:04 +0000 (15:44 -0400)] 
libunwind: Fix MIT license file checksum

MIT license files must include the copyright notice.

(From OE-Core rev: 285b91a9b687be2ac6a398f66d7173384d8976af)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosudo: Fix BSD license file checksum
Wes Lindauer [Fri, 16 Aug 2019 19:44:03 +0000 (15:44 -0400)] 
sudo: Fix BSD license file checksum

BSD license files must include the copyright notice.

(From OE-Core rev: f5cfcaa79fd3a2cfd9299f2c8e7686b502e52551)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: Fix BSD license file checksum
Wes Lindauer [Fri, 16 Aug 2019 19:44:02 +0000 (15:44 -0400)] 
shadow: Fix BSD license file checksum

BSD license files must include the copyright notice.

(From OE-Core rev: b57f10c08bef1005b4bb195b84e39cab0e251420)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: Update LICENSE field with missing values
Wes Lindauer [Fri, 16 Aug 2019 19:44:01 +0000 (15:44 -0400)] 
openssh: Update LICENSE field with missing values

The LICENSE file states that some code is licensed under BSD, some under
ISC, and some under MIT. The LICENSE field should reflect all of these.

(From OE-Core rev: 91096392cf46cae369849723cea14a9da1f3053b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiw: Fix license field to BSD-2-Clause
Wes Lindauer [Fri, 16 Aug 2019 19:44:00 +0000 (15:44 -0400)] 
iw: Fix license field to BSD-2-Clause

Using just "BSD" license implies BSD-3-Clause and this recipe appears to
be closer to a BSD-2-Clause.

(From OE-Core rev: b90d9f0c2084cce8d245fe683b45fb344c6f1cb8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobinutils: fix CVE-2019-14250 CVE-2019-14444
Anuj Mittal [Mon, 19 Aug 2019 13:43:11 +0000 (21:43 +0800)] 
binutils: fix CVE-2019-14250 CVE-2019-14444

(From OE-Core rev: abdc51527988afdcfd2db6dc08ebb6083a341be9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokmscube: Bump revision to f632b23
Otavio Salvador [Sat, 17 Aug 2019 15:12:16 +0000 (12:12 -0300)] 
kmscube: Bump revision to f632b23

This includes following changes:

f632b23 drm: Find a proper modeset device, is none is provided

(From OE-Core rev: 8b77262bdaa8cf825133171f898cc20e89909df7)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogit: update to 2.23.0
Oleksandr Kravchuk [Sat, 17 Aug 2019 16:24:18 +0000 (18:24 +0200)] 
git: update to 2.23.0

(From OE-Core rev: f70d00ff6120602d92fdb353231e763b23a3f42a)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocups: update to 2.2.12
Oleksandr Kravchuk [Sat, 17 Aug 2019 16:27:02 +0000 (18:27 +0200)] 
cups: update to 2.2.12

(From OE-Core rev: 5d24e011d9c547ac6339bdc1d40e7a613692da30)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoacpid: upgrade 2.0.31 -> 2.0.32
Zang Ruochen [Mon, 19 Aug 2019 06:12:47 +0000 (14:12 +0800)] 
acpid: upgrade 2.0.31 -> 2.0.32

(From OE-Core rev: aaa5902921d91fb18e283e2e01feccd5cddb157f)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-firmware: Upgrade 20190618 -> 20190815
Otavio Salvador [Sat, 17 Aug 2019 14:48:21 +0000 (11:48 -0300)] 
linux-firmware: Upgrade 20190618 -> 20190815

License-Update:
- WHENCE: New firmware files additions and version updates

(From OE-Core rev: b4c8f2f139d0eeb2ebef3dc5f8309486afdea3d4)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: fix the test_locale output format
Mingli Yu [Mon, 5 Aug 2019 09:38:18 +0000 (02:38 -0700)] 
python3: fix the test_locale output format

Before this patch:
 # python3 -m test -v test_locale
 [snip]
 test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ok
 [snip]

 After this patch:
 # python3 -m test -v test_locale
 [snip]
 test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9')... ok
 [snip]

Make the test ended with "... ok" is common in python
unittest world, we should make it keep consistent
with other test cases in case it may be ignored to
record in the report if we use the common filter
"... ok".

[YOCTO #13298]

(From OE-Core rev: 4e698cf8f3a9c661f5b67c6001ad4d92b574d136)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtasn1: Enable nativesdk support
Philippe Normand [Thu, 30 May 2019 13:47:01 +0000 (14:47 +0100)] 
libtasn1: Enable nativesdk support

This is required before enabling p11-kit support by default in gnutls.

(From OE-Core rev: 2a35202dbffd31eac1c00c03497549805853ad6c)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodevtool: build: Also run deploy for devtool build if applicable
Jaewon Lee [Thu, 13 Jun 2019 23:29:48 +0000 (16:29 -0700)] 
devtool: build: Also run deploy for devtool build if applicable

Right now `devtool build` runs populate_sysroot and packagedata tasks.
Adding deploy to this list, if the recipe has the deploy task, so that
the newly built artifacts are available in the deploy directory.
Applicable only for packages with deploy task, such as kernel.

[YOCTO#13382]

(From OE-Core rev: b38a1328f0c7bc4b4102a05daee4058fd3214489)

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoat: fix a spelling mistake.
Lei Maohui [Fri, 31 May 2019 21:08:34 +0000 (05:08 +0800)] 
at: fix a spelling mistake.

"account" not "acount".

(From OE-Core rev: ac379579c0e5883ec8a79244cd4036f2382b05d1)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool: Prevent multiple results for the same test
Jon Mason [Sun, 2 Jun 2019 18:29:13 +0000 (14:29 -0400)] 
resulttool: Prevent multiple results for the same test

Currently, if a test occurs multiple times over different series, the
code will sum these.  This can lead to confusion over the desired
results.  Change the code to report the redundant tests and skip adding
an additional values.

(From OE-Core rev: caeaa0648dff64c56a33f52e45e82bfab6719e3e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonativesdk-qemu: support aarch64_be.
Lei Maohui [Sat, 25 May 2019 02:32:07 +0000 (10:32 +0800)] 
nativesdk-qemu: support aarch64_be.

Otherwise, there will be "no aarch64_be-softmmu" error.

(From OE-Core rev: 237b677f2501752d3ec339e87aa9f31fc6926afd)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: fix upstream version check
Alexander Kanavin [Fri, 31 May 2019 16:03:43 +0000 (18:03 +0200)] 
mesa: fix upstream version check

(From OE-Core rev: 6a33e35ad93b9023c15bdc3201b84c3ff98c750d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake.conf: fix XORG_MIRROR URL
Oleksandr Kravchuk [Thu, 9 May 2019 22:57:39 +0000 (00:57 +0200)] 
bitbake.conf: fix XORG_MIRROR URL

(From OE-Core rev: d69f67f5d8b90d7846425f0569e5c121e3bdd062)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackagegroup-core-base-utils: Make it machine specific
Ricardo Ribalda Delgado [Tue, 23 Jul 2019 12:37:50 +0000 (14:37 +0200)] 
packagegroup-core-base-utils: Make it machine specific

Recipe makes use of the variable MACHINE_FEATURES, which is machine
specific:

  ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "kbd", "", d)}

This patch avoids multiconfig errors such as:

ERROR: mc:qt5222:packagegroup-core-base-utils-1.0-r0 do_package_qa_setscene: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_package_qa_setscene(d)
     0003:
File: '/workdir/repo/poky/meta/classes/insane.bbclass', lineno: 1026, function: do_package_qa_setscene
     1022:SSTATETASKS += "do_package_qa"
     1023:do_package_qa[sstate-inputdirs] = ""
     1024:do_package_qa[sstate-outputdirs] = ""
     1025:python do_package_qa_setscene () {
 *** 1026:    sstate_setscene(d)
     1027:}
     1028:addtask do_package_qa_setscene
     1029:
     1030:python do_qa_staging() {

(From OE-Core rev: 70234797b973046a6198bea684bdb757def2dce1)

(From OE-Core rev: 5e9185d34b3a45aadec96273a0570ec5f05f6aec)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Optimise build_taskdepdata slightly
Richard Purdie [Fri, 16 Aug 2019 12:58:10 +0000 (13:58 +0100)] 
bitbake: runqueue: Optimise build_taskdepdata slightly

Rather than repeatedly calling mc_from_tid() do this in the parent,
removing around a million function calls. Takes time spent in this
function from 40s to 36s.

(Bitbake rev: 28b3f0d8867804799420689c314ac4a8f01efb8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Further optimise holdoff tasks
Richard Purdie [Fri, 16 Aug 2019 12:32:04 +0000 (13:32 +0100)] 
bitbake: runqueue: Further optimise holdoff tasks

There are other data structures which can be reprocessed at the same
time as holdoff_tasks, further improving build efficiency in various
places.

(Bitbake rev: 02090b3456b7a2de12e72dfeaabfd3b631609924)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Optimise holdoff task handling
Richard Purdie [Fri, 16 Aug 2019 12:11:04 +0000 (13:11 +0100)] 
bitbake: runqueue: Optimise holdoff task handling

We don't need to process the holdoff task list until we're executing tasks
which saves some data manipulation, at the cost of some data structures
not being correct at all times. This saves significant amounts of time
in various profile charts of larger builds.

(Bitbake rev: 270f076111b12eab358417b0c4cf9c70d7cc787a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Small but critical fix
Richard Purdie [Fri, 16 Aug 2019 14:41:32 +0000 (15:41 +0100)] 
bitbake: runqueue: Small but critical fix

We've observed do_package and do_package_setscene running in parallel. The
reason is that holdoff_tasks wasn't getting updated. Looking at the code, it
would seem the reason is that the task was in pending_migrations and hence
changed wasn't set and holdoff_tasks wasn't updated.

Fix this. It only affects builds with rehashing enabled.

(Bitbake rev: e26e61e84575669bd223f6ab316798097ed95ec8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: cookerdata: Delay the setup of the siggen slightly to allow metadata defined...
Richard Purdie [Wed, 14 Aug 2019 21:36:41 +0000 (22:36 +0100)] 
bitbake: cookerdata: Delay the setup of the siggen slightly to allow metadata defined siggens

If we define a metadata siggen it can fail due to the early init here. Move
slightly later to avoid those failures which allows fixes in OE to the
check-layer script related to the hash equiv siggen.

(Bitbake rev: fdf5c341f3393173876a753c46c9bd067eb2b353)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemuriscv64: Specify the firmware as a bios instead of kernel
Alistair Francis [Tue, 20 Aug 2019 20:59:17 +0000 (13:59 -0700)] 
qemuriscv64: Specify the firmware as a bios instead of kernel

Now that we have a -bios option for the RISC-V virt machine in QEMU we
can pass OpenSBI in via -bios and the kernel in via -kernel. We no
longer need to pass the kernel in via -device loader so let's remove
that.

(From OE-Core rev: 65e7f371f19e053d0bac7771a80615f6bada74c7)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/runqemu: Add support for the BIOS variable
Alistair Francis [Tue, 20 Aug 2019 20:59:16 +0000 (13:59 -0700)] 
scripts/runqemu: Add support for the BIOS variable

Add support for specifying a BIOS the same way that the KERNEL variable
is specified. This includes specifying a QB_DEFAULT_BIOS variable.

(From OE-Core rev: fc2a2260aa22a81da6619b4affaf8ae0b5556a34)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Upgrade to version 4.1
Alistair Francis [Tue, 20 Aug 2019 20:59:15 +0000 (13:59 -0700)] 
qemu: Upgrade to version 4.1

(From OE-Core rev: 50a7dec95618080962e56fd347f505e691b7ad6f)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibc-package.bbclass: Split locale hard link processing into two parts
Jason Wessel [Fri, 16 Aug 2019 21:06:05 +0000 (14:06 -0700)] 
libc-package.bbclass: Split locale hard link processing into two parts

The locale-processing in cross-localedef was proven to be unsafe to
run in parallel due to the way it tried to make hard links to files
that could disappear before the link operation was completed.

To avoid corruption of the pseudo database, and create a
deterministically generated link tree, the operation of the locale
generation and the hard link resolution have been split into two
separate parts.  A side effect of this change is that the do_package()
rule for glibc-locale will be slightly smaller because some of the
hard links were missed in the past, particularly if you had a lot of
cpus free to perform the work.

Before the patch:
% du -sk locale-tree
312524  locale-tree

With the patch:
% du -sk locale-tree
290772 locale-tree

A number of comparisons were performed such as diffing the output,
cross checking the link references using tar's listing output, and
comparing against the results with out a parallel build to ensure the
locale-tree is correct in its final form.

[YOCTO #11299]
[YOCTO #12434]

(From OE-Core rev: 93d935927dd0ec0fa6f0a80a71236a7b00a5d1a4)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocross-localedef-native: Add hardlink resolver from util-linux
Jason Wessel [Fri, 16 Aug 2019 21:06:04 +0000 (14:06 -0700)] 
cross-localedef-native: Add hardlink resolver from util-linux

The hard link resolver that is built into localedef cannot be run in
parallel.  It will search sibling directories (which are be processed
in parallel) and perform a creation of a .tmp file and remove the
original and move the .tmp file in.  The problem is that if a probe
occurs a hard link can be requested to the file that is being removed.
This will lead to a stray copy or potentially, on a loaded system
cause race condition which pseudo cannot deal with, where it is left
with a hard link request to a file that no longer exists.  In this
situation psuedo will inherit the permissions of what ever the target
inode had to offer.

In short, there are two problems:

  1) You will be left with stray copies when using the hard link
     resolution that is built in while running in parallel with
     localedef.

  2) When running under pseudo the possibility exists for uid/gid
     leakage when the source file is removed before the hard link can
     be completed.

The solution is to call localedef with --no-hard-links and separately
process the hardlinks at a later point.  To do this requires the
inclusion of the hardlink utility found in modern versions of
util-linux.  Most host systems do not have this, so it will be
included with the cross-localedef binary.

There are two patches here.  The first imports the raw version of
hardlink.c and a couple of header files directly from util-linux. The
second patch applies the fix-ups to make it compile, along with a
change to recipe to package the new binary.

[YOCTO #11299]
[YOCTO #12434]

(From OE-Core rev: 57e2e498ffb675d274aa95b10c14bd81742d2761)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokmod: Replace dolt hacks with backport of upstream dolt removal
Adrian Bunk [Sun, 18 Aug 2019 15:00:32 +0000 (18:00 +0300)] 
kmod: Replace dolt hacks with backport of upstream dolt removal

(From OE-Core rev: 66492f40c23778a5644bc4e7f4acf7e4ef16bf36)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: musl now supports secure_getenv
Adrian Bunk [Sun, 18 Aug 2019 15:00:31 +0000 (18:00 +0300)] 
shadow: musl now supports secure_getenv

This fixed a potential security vulnerability on musl and made
the patch obsolete.

(From OE-Core rev: 30b6ae3084f63df437a4d6dd859bca674ca01e12)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopsplash: Avoid mount the psplash tmpfs twice
Kevin Hao [Mon, 19 Aug 2019 09:27:15 +0000 (17:27 +0800)] 
psplash: Avoid mount the psplash tmpfs twice

The /etc/init.d/psplash.sh will be invoked both in boot and
shutdown/reboot. And the psplash tmpfs will be mounted twice. This
will trigger a bug in umount and let the system hang when
shutdown/reboot. I already made a patch [1] to fix the issue in
umount, but there is no reason for the psplash to do the twice mount.
So also fix it.

[Yocto 13461]

[1] https://lore.kernel.org/util-linux/20190819083022.12289-1-kexin.hao@windriver.com/T/#u

(From OE-Core rev: 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: Fix ustat02 failure
He Zhe [Mon, 19 Aug 2019 13:56:34 +0000 (21:56 +0800)] 
ltp: Fix ustat02 failure

Backport a patch to fix the following failure.
ustat02.c:44: FAIL: ustat(2) failed to produce expected error; 14, errno: EFAULT: EINVAL

(From OE-Core rev: e05f5e1d44293827260541e301ce25d15eb405af)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: Fix tgkill03 failure
He Zhe [Mon, 19 Aug 2019 13:56:33 +0000 (21:56 +0800)] 
ltp: Fix tgkill03 failure

Backport a patch to fix the followig failure.
tgkill03.c:94: FAIL: Defunct tid should have failed with ESRCH: SUCCESS

(From OE-Core rev: 92e873c63499850f1f9461d3babde13d44bc8f9c)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackage: Fix race between do_package and do_packagedata
Richard Purdie [Thu, 15 Aug 2019 20:55:16 +0000 (21:55 +0100)] 
package: Fix race between do_package and do_packagedata

do_package has PKGDESTWORK as a cleandir and do_packagedata has it as an sstate-input
dir. This means do_package wipes out the directory at both do_package and do_package_setscene.

do_package_setscene and do_packagedata_setscene can run in parallel when installing from
sstate which means they can wipe out parts of each other leading to interesting
build failures.

We therefore have to add in a hardlink copy so that the directories can work independently
of each other.

(From OE-Core rev: 692b2046bb60806ee6bbde6ba15bd1637b00efb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoyocto-check-layer: Ensure we use OEBasicHash as the signature handler
Richard Purdie [Wed, 14 Aug 2019 21:34:51 +0000 (22:34 +0100)] 
yocto-check-layer: Ensure we use OEBasicHash as the signature handler

The layer checks are designed to work with OEBasicHash so ensure that handler
is in use rather than the new hash equivalency one as an example.

(From OE-Core rev: a10bf92516a4771e2dc49ba9f74323d7a87a1619)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoofono: update to 1.30
Oleksandr Kravchuk [Fri, 16 Aug 2019 14:31:44 +0000 (16:31 +0200)] 
ofono: update to 1.30

Removed upstreamed patches.

(From OE-Core rev: 79a14772ef2ab6c73bb438377cd259c484020818)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotarget-sdk-provides-dummy: extend packages for multilib case
Chen Qi [Fri, 16 Aug 2019 02:06:03 +0000 (10:06 +0800)] 
target-sdk-provides-dummy: extend packages for multilib case

If we have installed some lib32 package which depends on perl/bash,
then populating sdk for that image would fail with the following error.

  Error:
  Problem: package lib32-libxml-namespacesupport-perl-1.12-r0.corei7_32 requires lib32-perl, but none of the providers can be installed

    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/perl provided by lib32-perl-5.30.0-r0.corei7_32
    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with libperl.so.5 provided by lib32-perl-5.30.0-r0.corei7_32

This could be produced by the following steps:
1. IMAGE_INSTALL_append = " lib32-valgrind"
2. bitbake core-image-minimal -c populate_sdk

We need to extend all packages in DUMMYPROVIDES to avoid such problems.

(From OE-Core rev: 6a38c6aafc2956bb6f7824eff4ac0f630f02da75)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodbus: disable test-bus
Changqing Li [Fri, 16 Aug 2019 01:30:50 +0000 (09:30 +0800)] 
dbus: disable test-bus

test-bus take long time to finish, sometimes longer than ptest-runner's
timeout limit 300s, so skipped it for now

[YOCTO #13409]

(From OE-Core rev: 76caa7aece5cc8513989f77bb15944a22d17edf5)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-scons: update to 3.1.1
Oleksandr Kravchuk [Thu, 15 Aug 2019 16:04:53 +0000 (18:04 +0200)] 
python3-scons: update to 3.1.1

(From OE-Core rev: ae2869c82af3a826c9eedf5207c5d6f61f0df5e8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-setuptools: update to 41.1.0
Oleksandr Kravchuk [Thu, 15 Aug 2019 16:00:43 +0000 (18:00 +0200)] 
python-setuptools: update to 41.1.0

(From OE-Core rev: 841d458f01c8c2d3e67775bad7d018b047604f75)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoffmpeg: update to 4.2
Oleksandr Kravchuk [Thu, 15 Aug 2019 15:54:31 +0000 (17:54 +0200)] 
ffmpeg: update to 4.2

(From OE-Core rev: 658e0831d55540ed5905902aacb269d3bc43653f)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-9: Upgrade to 9.2
Khem Raj [Thu, 15 Aug 2019 18:40:03 +0000 (11:40 -0700)] 
gcc-9: Upgrade to 9.2

BugFix only release see [1] for details

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=9.2

(From OE-Core rev: d00fac5bb9c479b5709ce73ae7fc0a14474a69c9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Refresh patch after removal of __secure_getenv patch
Khem Raj [Thu, 15 Aug 2019 03:55:01 +0000 (20:55 -0700)] 
systemd: Refresh patch after removal of __secure_getenv patch

(From OE-Core rev: 5268ee5b0ae1a11bf3c6cf673c8c17932ba630d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd.bbclass: Limit rm_sysvinit_initddir and rm_systemd_unitdir to target alone
Khem Raj [Thu, 15 Aug 2019 05:56:55 +0000 (22:56 -0700)] 
systemd.bbclass: Limit rm_sysvinit_initddir and rm_systemd_unitdir to target alone

These postfuncs cause native recipes to rebuild when changing system
init provider between sysvinit and systemd. Some of these native recipes
are pretty early in dependency chain ( e.g. util-linux ) which can casue
rebuild of pretty much everything including compiler.

Found with bitbake-diffsigs

Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 2a45fe0cd0d3640a88c4a5c8b1880c4e9a089cc7446a91d2a920c1cef6fa916a to bc2a0921cce50da1b7be3b59a3d8211ec
2a31262493ffa5909acbb7116fad3bf
    Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 15d6e165f025f10c2c455df8a875cafe021eaed4214c793e708d4827a58ca89d to 54e542d5da99cacfc9290ef5d27
9de50bdcb9195f67ae6dfff59fe41d10f7bd2
        Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/
util-linux/util-linux_2.34.bb changed from e25b1119ce8dd7ca43fbd2db771e04fa6ff6b9d701fd78ac6c443224b036ed9f to bb5b172a83e7edd272402a9dcd80c4e1
29aa1ecb824c2cfa388086cfed24fef5
            basehash changed from 62df6610eab9c1b1a17d7132943507641c8538690f26186843c86144d4598e64 to 80471f7c0bded9d1b593da69708b0e0f10882db08
5e1bf769edb3018e6c744d0
            Variable rm_sysvinit_initddir value changed:
            @@ -11,4 +11,4 @@
                         shutil.rmtree(sysv_initddir)

             DISTRO_FEATURES{systemd} = Unset
            -DISTRO_FEATURES{sysvinit} = Set
            +DISTRO_FEATURES{sysvinit} = Unset

(From OE-Core rev: f2d60e0f6a8e93cb0779f4719e58b99ad01fb954)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux: Make pam specific logic apply to target recipe alone
Khem Raj [Thu, 15 Aug 2019 05:56:54 +0000 (22:56 -0700)] 
util-linux: Make pam specific logic apply to target recipe alone

This helps with a case where a distro builds one image with systemd and
another with sysvinit, it ends up recompiling almost everything since
python3-native gets rebuilt and tracing dependencies with
bitbake-diffsigs shows that the chain ends at util-linux-native being
recompiled because distro features now does or does not have 'pam'

Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 8befaac4f995aaff3f95d27c9caaf1006f86e1344b02c1ae82f5d12f885f2240 to 2a45fe0cd0d3640a88c4a5c8b1880c4e9
a089cc7446a91d2a920c1cef6fa916a
    Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 0db292cb2e37d5788bdcf51038b2802d748b719d860aca3a26d7a793b0cf3905 to 15d6e165f025f10c2c455df8a87
5cafe021eaed4214c793e708d4827a58ca89d
        Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.34.bb changed from 54bb4ee6bdb5c7fc260dabddb4932cb0e554a62cd92aba080a18306291fb470b to e25b1119ce8dd7ca43fbd2db771e04fa
6ff6b9d701fd78ac6c443224b036ed9f                                                                                                                           basehash changed from 8e8687a866689a697001dedc0a43f478e68e6efe270bd77362f24c6000f9e882 to 62df6610eab9c1b1a17d7132943507641c8538690
f26186843c86144d4598e64
            Variable do_install value changed:

rm -f ${D}${bindir}/chkdupexe
-   if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
+   if [ "${@bb.utils.filter('PACKAGECONFIG', 'pam', d)}" ]; then
        install -d ${D}${sysconfdir}/pam.d
        install -m 0644 ${WORKDIR}/runuser.pamd ${D}${sysconfdir}/pam.d/runuser
        install -m 0644 ${WORKDIR}/runuser-l.pamd ${D}${sysconfdir}/pam.d/runuser-l
@@ -47,5 +47,4 @@
        rm -f ${D}${base_sbindir}/nologin
        rm -f ${D}${base_bindir}/kill

    -DISTRO_FEATURES{pam} = Unset
    PACKAGECONFIG{pam} = Unset

So far it seems this pam conditional code in util-linux is target
specific and would not apply to native or nativesdk recipes

(From OE-Core rev: a57f56576eda4b3ad5496e375b432e06e34ad8b9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Add packageconfigs for vc4 and v3d
Khem Raj [Thu, 15 Aug 2019 01:16:44 +0000 (18:16 -0700)] 
mesa: Add packageconfigs for vc4 and v3d

This helps in enabling them via packageconfig from SOC layers

(From OE-Core rev: 853179121e0f2149ca6365ac0b8ab5017079d5e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Drop musl __secure_getenv patch
Khem Raj [Thu, 15 Aug 2019 01:16:43 +0000 (18:16 -0700)] 
systemd: Drop musl __secure_getenv patch

This API is now implemented in musl [1]

[1] https://git.musl-libc.org/cgit/musl/commit/?id=7844ecb590893f8344324837956718001402d297

(From OE-Core rev: 46e49b14b52ebc9c7076488ad858083f8270ce9f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Update to latest tip
Khem Raj [Thu, 15 Aug 2019 01:16:42 +0000 (18:16 -0700)] 
musl: Update to latest tip

Fixes build regressions on risc-v
Detailed changelog is here [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=d0b547dfb5f7678cab6bc39dd736ed6454357ca4..29e8737f81ccc9fbadcf61a75318aa3d0516aafa

(From OE-Core rev: 0e590898134e3a9ae971ab0c5c570c6de3e162bd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: disable gold on mipsn32
Kai Kang [Thu, 15 Aug 2019 08:46:38 +0000 (04:46 -0400)] 
webkitgtk: disable gold on mipsn32

Using gold on mipsn32 still fails. It fails to run

$ bitbake webkitgtk -c configure

with configuration:

MACHINE ?= "qemumips"
DEFAULTTUNE = "mips64-n32"

(From OE-Core rev: d67417ec55f3f580159f2d05322a0444ca466872)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto: add drm-bochs support
Alexander Kanavin [Wed, 14 Aug 2019 15:26:11 +0000 (17:26 +0200)] 
linux-yocto: add drm-bochs support

This allows better modesetting support for the '-vga std'
emulated hardware provided by Qemu, which we want to
standardize on.

See here for background:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13466

(From OE-Core rev: 569d3f5d0454ed31f2f6df29f1703246a3dcd715)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/4.19: make drm-bochs feature available
Bruce Ashfield [Thu, 15 Aug 2019 00:34:50 +0000 (20:34 -0400)] 
linux-yocto/4.19: make drm-bochs feature available

The other active kernel versions have this feature available. To
consistently enable the same video output for qemu, we can cherry
pick the feature to 4.19.

(From OE-Core rev: a777e0f34e106455f963bd58fd8728a16c588c4d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostress-ng: provide stress
Mikko Rapeli [Wed, 14 Aug 2019 15:15:54 +0000 (18:15 +0300)] 
stress-ng: provide stress

Since stress-ng replaces and is compatible with stress,
provide stress to be compatible with the old recipe
and binary packages.

(From OE-Core rev: fd6cf57430b7c88525dc6711dadfbe8f02c44354)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokconf_check: tweak CONFIG_ regex
Bruce Ashfield [Wed, 14 Aug 2019 15:31:33 +0000 (11:31 -0400)] 
kconf_check: tweak CONFIG_ regex

As reported in https://bugzilla.yoctoproject.org/show_bug.cgi?id=12563,
the regex that matches valid CONFIG_ options was missing some of the
ones in net/netfilter/ipvs/Kconfig, and hence triggering invalid
option warnings.

By dropping the trailing space on the regex, we'll cover all the cases
for valid option.

(From OE-Core rev: 461a2f54751ca18e17f897b10d6c3c47dab1733a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel-yocto: import security fragments from meta-security
Bruce Ashfield [Wed, 14 Aug 2019 15:31:32 +0000 (11:31 -0400)] 
kernel-yocto: import security fragments from meta-security

Adding the following fragments from meta-security to make them
centrally available and easier to maintain:

   283939d5c9e kernel-cache: add yama security fragments
   0b86f3fa241 kernel-cache: add ima fragments
   731b466654d kernel-cache: add smack
   813afe8ff47 kernel-cache: add apparmor fragments

(From OE-Core rev: 3063d64984e993d3e7dc2f4c80fb74005f5d6d7e)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto: arch/x86/boot: use prefix map to avoid embedded paths
Bruce Ashfield [Wed, 14 Aug 2019 15:31:31 +0000 (11:31 -0400)] 
linux-yocto: arch/x86/boot: use prefix map to avoid embedded paths

>From the kernel patch:

[
    It was observed that the kernel embeds the path in the x86 boot
    artifacts.

    From https://bugzilla.yoctoproject.org/show_bug.cgi?id=13458:

    [
       If you turn on the buildpaths QA test, or try a reproducible build, you
       discover that the kernel image contains build paths.

       $ strings bzImage-5.0.19-yocto-standard |grep tmp/
       out of pgt_buf in
       /data/poky-tmp/reproducible/tmp/work-shared/qemux86-64/kernel-source/arch/x86/boot/compressed/kaslr_64.c!?

       But what's this in the top-level Makefile:

       $ git grep prefix-map
       Makefile:KBUILD_CFLAGS  += $(call
       cc-option,-fmacro-prefix-map=$(srctree)/=)

       So the __FILE__ shouldn't be using the full path.  However
       arch/x86/boot/compressed/Makefile has this:

       KBUILD_CFLAGS := -m$(BITS) -O2

       So that clears KBUILD_FLAGS, removing the -fmacro-prefix-map option.
    ]

    Other architectures do not clear the flags, but instead prune before
    adding boot or specific options. There's no obvious reason why x86 isn't
    doing the same thing (pruning vs clearing) and no build or boot issues
    have been observed.

    So we make x86 can do the same thing, and we no longer have embedded paths.
]

This issue has been reported upstream, and a patch submission is
pending, but for now, we'll soak the proposed patch in linux-yocto to
see if any issues are found

[YOCTO: #13458]

(From OE-Core rev: 78b0ff5960814af935a8089ec49c51d76f148149)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokern-tools: Add SPDX license headers to source files
Bruce Ashfield [Wed, 14 Aug 2019 15:31:30 +0000 (11:31 -0400)] 
kern-tools: Add SPDX license headers to source files

Integrating the following commit:

    Add SPDX license headers to source files

    Kconfiglib/* were under ISC license before they were imported
    here from https://github.com/ulfalizer/Kconfiglib
    Adjusting SPDX header to reflect that fact.

    tools/* all have some sort of GPLv2 headers; adding SPDX header
    to make it obvious.

    This address bug #13334 :
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=13334

    Change-Id: I243f2dd266a398f982798b771e74a67be70ecb52
Signed-off-by: William Bourque <wbourque@gmail.com>
(From OE-Core rev: eb60f1544fcafcfed7baecceec4549c4e86989a3)

Signed-off-by: William Bourque <wbourque@gmail.com>
Signen-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel-devsrc: tweak for v5.3+
Bruce Ashfield [Wed, 14 Aug 2019 15:31:29 +0000 (11:31 -0400)] 
kernel-devsrc: tweak for v5.3+

The 5.3 kernel has two changes that require tweaks to the minimal
kernel-devsrc package.

4ce97317f [x86/purgatory: Do not use __builtin_memcpy and __builtin_memset]

  This change removes the need for arch/x86/purgatory/string.c and
  instead reuses a copy in arch/x86/boot/compressed/, so we can't copy
  the file anymore. To support older kernels, we make the copy survive
  the non-existence of the file.

b1663d7e [docs: Kbuild/Makefile: allow check for missing docs at build time]

  This change adds the sourceing of Documentation/Kbuild to the top
  level Kbuild file. So we now leave the copy of Documention/'s Kbuild
  in the devsrc.

(From OE-Core rev: 53e975c18a14ddb8ad7eab23c8e18e05517953cd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Ensure target_tids is filtered
Richard Purdie [Thu, 15 Aug 2019 21:21:37 +0000 (22:21 +0100)] 
bitbake: runqueue: Ensure target_tids is filtered

bitbake <target> --runonly=fetch

failed as the target_tids list included entries which were no longer targeted
task ids. Fix this.

(Bitbake rev: 94e848ae6544e628a19cb97115279b0b1678967c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: hashserv: Ensure we don't accumulate sockets in TIME_WAIT state
Richard Purdie [Thu, 15 Aug 2019 21:54:43 +0000 (22:54 +0100)] 
bitbake: hashserv: Ensure we don't accumulate sockets in TIME_WAIT state

This can cause a huge backlog of closing sockets on the server and
in our case we don't really want/need the protection TCP is trying to
give us so work around it.

(Bitbake rev: 7bc79fdf60519231da7c0c7b5b6143ce090ed830)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: bitbake: server/process: Handle BBHandledException to avoid unexpected excep...
Robert Yang [Thu, 15 Aug 2019 11:56:51 +0000 (19:56 +0800)] 
bitbake: bitbake: server/process: Handle BBHandledException to avoid unexpected exceptions

The parseBaseConfiguration() raises bb.BBHandledException(), but
BitBakeServer() didn't handle it, so we always got unexpected exceptions when
there were errors. For example:

=== Case 1:
* Add "print "hello"' in base.bbclass' def oe_import() function
def oe_import(d):
    print "hello"
[snip]

$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Last 60 lines of server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
  File "/buildarea1/lyang1/poky/meta/classes/base.bbclass", line 21
    print "hello"
                ^
SyntaxError: Missing parentheses in call to 'print'

<The first exception>
During handling of the above exception, another exception occurred:
<Tracebacks>

<The second exception>
During handling of the above exception, another exception occurred:
<Tracebacks>

<The third exception>
During handling of the above exception, another exception occurred:
<Tracebacks>
[snip]

Now it looks like:
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 21:

The code lines resulting in this error were:
     0001:def oe_import(d):
 *** 0002:    print "hello"
     0003:    import sys
     0004:
     0005:    bbpath = d.getVar("BBPATH").split(":")
     0006:    sys.path[0:0] = [os.path.join(dir, "lib") for dir in bbpath]
SyntaxError: Missing parentheses in call to 'print' (base.bbclass, line 21)

=== Case 2:
* Add 'HOSTTOOLS += "hello"' to conf/local.conf:
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
<Tracebacks>
[snip]
During handling of the above exception, another exception occurred:
[snip]
<Tracebacks>
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
  hello

The error message is printed by bb.fatal() which raises bb.BBHandledException(),
but BitBakeServer() doesn't handle it, so we got it.

Now it looks like:
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
  hello

No unexpected exceptions anymore.

[YOCTO #13267]

(Bitbake rev: 6e6865e6371dbd31a136eae64cc5b1fa5f5bee33)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Ensure data is handled correctly
Richard Purdie [Thu, 15 Aug 2019 12:28:31 +0000 (13:28 +0100)] 
bitbake: runqueue: Ensure data is handled correctly

This doesn't appear to have ill effects right now but there is a correctness
issue which this so fix it.

(Bitbake rev: a5e084a266f63c2fd370122327615e49beaeb94e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Fix data corruption problem
Richard Purdie [Thu, 15 Aug 2019 12:28:08 +0000 (13:28 +0100)] 
bitbake: runqueue: Fix data corruption problem

This was overwriting data in the parent which caused all kinds of
odd/weird failures.

(Bitbake rev: 4c5aeb424247a9d0c907524ffacd9c61fcdc0852)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: tests/runqueue: Fix tests
Richard Purdie [Thu, 15 Aug 2019 07:41:21 +0000 (08:41 +0100)] 
bitbake: tests/runqueue: Fix tests

There were paths being accidentally included in some of the hashserv tests. Remove
that and update the hashes so the tests work independently of paths.

(Bitbake rev: 6ddb9f09cb60c2354fa6a67cce412c4dc1e7dc2d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibevent: update to 2.1.11
Oleksandr Kravchuk [Tue, 13 Aug 2019 18:15:22 +0000 (20:15 +0200)] 
libevent: update to 2.1.11

(From OE-Core rev: 6b36db836547a23f43c5f97bf3706d7b210c209c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo: update to 1.10.5
Oleksandr Kravchuk [Tue, 13 Aug 2019 18:13:27 +0000 (20:13 +0200)] 
librepo: update to 1.10.5

Also cleanedup the recipe.

(From OE-Core rev: 565aae4b4c1302a8a962a9f444d5382ea1043f40)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-git: update to 3.0.0
Oleksandr Kravchuk [Tue, 13 Aug 2019 18:07:51 +0000 (20:07 +0200)] 
python3-git: update to 3.0.0

(From OE-Core rev: 8b9ea2defbaf6c22058bd97bfea50360fdd3e3c8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoxrandr: update to 1.5.1
Oleksandr Kravchuk [Tue, 13 Aug 2019 19:52:39 +0000 (21:52 +0200)] 
xrandr: update to 1.5.1

SRC_URI was moved from xorg-app-common.inc, since it has hardcoded file
extension (tar.bz2), but upstream stopped publishing tar.bz2 archives
for newer versions of the packages.

(From OE-Core rev: 36fa73a1ab1b4954c962cf6f01bba698f4e7c2f8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogit: update to 2.22.1
Oleksandr Kravchuk [Tue, 13 Aug 2019 20:04:15 +0000 (22:04 +0200)] 
git: update to 2.22.1

(From OE-Core rev: 5b6e7d98f0d1be392d6c1efe2c69fef296d960c0)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agouboot: fixes to uboot-extlinux-config attribute values
Will Page [Tue, 13 Aug 2019 18:37:15 +0000 (11:37 -0700)] 
uboot: fixes to uboot-extlinux-config attribute values

The way this class uses overrides to support generation of multiple
sections is subject to two different issues: 1) labels that conflict
with existing override names causing the value for the conflicting label
to be set for all labels, and 2) reusing the override list through each
iteration, prepending each new label to the list of overrides makes
earlier labels' value take precedence over later labels, making later
labels virtually impossible to customize.

The first issue is resolved by removing all label names from overrides
before iterating over labels.  The second issue is resolved by
generating a fresh list of overrides with only the current label added.

The current label is also appended to the list of overrides instead of
prepended, which makes it the highest priority override.  This is
matches the behavior of devtool-source.bbclass, which similarly
monkey-patches overrides.

Closes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13469 .

(From OE-Core rev: 42b44fdd9e63b8d39cf83baecec08328275558ff)

Signed-off-by: Will Page <wpage@polysync.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Delete GLIBC_LDSO before creating symlink with lnr
Khem Raj [Wed, 14 Aug 2019 05:19:18 +0000 (22:19 -0700)] 
musl: Delete GLIBC_LDSO before creating symlink with lnr

Fixes rebuild failures after say do_compile fails

| ./tools/install.sh -D -r /mnt/a/yoe/build/tmp/work/riscv64-yoe-linux-musl/musl/1.1.23+gitAUTOINC+d0b547dfb5-r0/image/usr/lib/libc.so /mnt/a/yoe/build/tmp/work/riscv64-yoe-linux-musl/musl/1.1.23+gitAUTOINC+d0b547dfb5-r0/image/lib/ld-musl-riscv64.so.1 || true
| Traceback (most recent call last):
|   File "/mnt/a/yoe/sources/openembedded-core/scripts/lnr", line 24, in <module>
|     os.symlink(target, linkname)
| FileExistsError: [Errno 17] File exists: 'image/usr/lib/libc.so' -> '/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux-musl/musl/1.1.23+gitAUTOINC+d0b547dfb5-r0/imageNone'

(From OE-Core rev: 78a75d240083a80d624074e058c9a222a8a7b5e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinuxloader: Add entries for riscv64
Khem Raj [Wed, 14 Aug 2019 05:19:17 +0000 (22:19 -0700)] 
linuxloader: Add entries for riscv64

(From OE-Core rev: 1cd6ffcabea2036fde6493f75687e546c6fe003c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogdb: Do not set musl specific CFLAGS
Khem Raj [Tue, 13 Aug 2019 23:49:48 +0000 (16:49 -0700)] 
gdb: Do not set musl specific CFLAGS

These settings are no longer needed because we define
gl_cv_func_gettimeofday_clobber=no already and stat issue is alrwady
fixed via [1]

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3c025cfe5efc44eb4dfb03b53dca28e75096dd1e

(From OE-Core rev: c3f04bd4df3c67fc6c840fe0dd8e194e6663b02c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoxf86-input-libinput: update to 0.29.0
Oleksandr Kravchuk [Tue, 13 Aug 2019 18:27:32 +0000 (20:27 +0200)] 
xf86-input-libinput: update to 0.29.0

(From OE-Core rev: e0de5df49e1d69f973c61578e54aced50e3eedc6)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoovmf: fix upstream version check
Alexander Kanavin [Tue, 13 Aug 2019 18:24:14 +0000 (20:24 +0200)] 
ovmf: fix upstream version check

(From OE-Core rev: 7ec9997c86df11a9a08e1531269435010b12e8da)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosudo: correct SRC_URI
Alexander Kanavin [Tue, 13 Aug 2019 18:24:13 +0000 (20:24 +0200)] 
sudo: correct SRC_URI

The old URI returns 404, and has an invalid TLS certificate.

(From OE-Core rev: 73ff6aba0a53ffc3ee0a5859a3ad4c8021be4de0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinsane.bbclass: in file-rdeps do not look into RDEPENDS recursively
Alexander Kanavin [Tue, 13 Aug 2019 18:24:11 +0000 (20:24 +0200)] 
insane.bbclass: in file-rdeps do not look into RDEPENDS recursively

Recursive RDEPENDS resolution requires that all of the dependent
recipes' packaging has completed. There is no mechanism to ensure that
and therefore races were observed.

This change effectively requires recipes to list their runtime file
dependencies explicitly rather than have them pulled indirectly.
This may require a bit of fixing in layers, but should result
in a better definition of runtime file dependencies.

(From OE-Core rev: 08e2b5a31b23b98459479caf6ec5f5c6fc19d57a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-cross-canadian: Drop obsolete shlibs exclusion
Richard Purdie [Tue, 13 Aug 2019 18:48:39 +0000 (19:48 +0100)] 
gcc-cross-canadian: Drop obsolete shlibs exclusion

This is a very old change as and be inferred from the name in the comment.
We've since had many changes to pkgdata including separating it
to its own sysroot now so the reasons for this blanket exclusion are
likely long gone.

If the shlib provides were really the problem I'd much rather have
a dedicated variable for that too.

Removing this fixes missing dependencies on nativesdk-libc and other
libs which would then happen automatically.

(From OE-Core rev: 096fa15efbcb704451b2f38ceab36508ef64f07e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-runtime: Move content from gcclibdir into libdir
Khem Raj [Tue, 13 Aug 2019 15:28:35 +0000 (08:28 -0700)] 
gcc-runtime: Move content from gcclibdir into libdir

OE does not use the traditional /usr/lib/gcc prefix to store gcc-runtime
it basically is moved into libdir, however some newer files were
installed by newer versions of gcc especially libgomp ( omp.h openacc.h )
into gcclibdir, so we have content in both directories, this confuses
other tools which are trying to guess the gcc installation and its
runtime location, since now we have two directories, the tools either
choose one or other and we get inconsistent behavior, e.g. clang for
aarch64 uses /usr/lib but same clang for riscv64 chose /usr/lib/gcc

This change ensures that OE ends up with single valid location for gcc
runtime files

Move more common bits into common inc file

(From OE-Core rev: e9e5744ba8b0d43c8b874d365f83071ce20bf0a1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/parselogs: grep for exact errors list keywords
Khem Raj [Mon, 12 Aug 2019 01:59:45 +0000 (18:59 -0700)] 
oeqa/parselogs: grep for exact errors list keywords

Given grep expression looks for error strings regardless of the
semantics and this ends up it flagging things like

***********************
Log: /mnt/a/yoe/build/tmp/work/raspberrypi3_64-yoe-linux-musl/yoe-qt5-wayland-image/1.0-r0/target_logs/weston.log
-----------------------
Central error:                EGL_KHR_create_context_no_error EGL_KHR_fence_sync
***********************

here EGL_KHR_create_context_no_error is an API, therefore the check
should be tightened a bit so explicitly look for error words so such
false positives don't show up

This helps in fixing wrong matches e.g. on rpi3 dmesg have strings like
above

(From OE-Core rev: e54ecea0a7d309533973b31bdbda178d9af92632)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/buildgalculator.py: Add dependency on gtk+3
Khem Raj [Sat, 10 Aug 2019 18:05:40 +0000 (11:05 -0700)] 
oeqa/buildgalculator.py: Add dependency on gtk+3

This helps in skipping this test on images which are not using gtk and
as per the gcalculator website it needs gtk+3 or gtk+2 and libglade as
the build first looks for gtk+3

(From OE-Core rev: 2cdb4b3697e02947352803a9db013d61b812c4fd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-firmware: add PE back
Oleksandr Kravchuk [Mon, 12 Aug 2019 16:01:53 +0000 (18:01 +0200)] 
linux-firmware: add PE back

Add PE (package epoch) from the previous version of the recipe to avoid
problems with package upgrade due to changed versioning scheme.

See:
http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285633.html

(From OE-Core rev: 8b6ec55da696087c8ea7bacc042307ee652afd9e)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: backport fix for builds with -Werror=return-type
Martin Jansa [Tue, 13 Aug 2019 09:28:56 +0000 (09:28 +0000)] 
meson: backport fix for builds with -Werror=return-type

(From OE-Core rev: de623085039111d9988918ae95e07e48108a9ff1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo-runtime: remove conflict files from -dev packages
Changqing Li [Tue, 13 Aug 2019 08:36:22 +0000 (16:36 +0800)] 
go-runtime: remove conflict files from -dev packages

fix below error:
file /usr/lib64/go/src/cmd/cgo/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64
file /usr/lib64/go/src/cmd/go/internal/cfg/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64

these 2 files existed in both go-dev and go-runtime-dev
remove it from go-runtime-dev to fix the problem

(From OE-Core rev: 60dcae509a210f2cae8eda525a1b006663aef9bf)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopoky: Retire opensuse 42.3 from SANITY_TESTED_DISTROS
Richard Purdie [Tue, 13 Aug 2019 15:53:16 +0000 (16:53 +0100)] 
poky: Retire opensuse 42.3 from SANITY_TESTED_DISTROS

Its now past EOL so retire it.

(From meta-yocto rev: 03046c2fe69c399173cf6303abb55264adaee2b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Ensure we clear the stamp cache
Richard Purdie [Wed, 14 Aug 2019 14:59:58 +0000 (15:59 +0100)] 
bitbake: runqueue: Ensure we clear the stamp cache

When the task hashes change we need to ensure the stampcache is cleared out
else tasks don't rerun when they should as we're basing decisions on stale
cache data.

(Bitbake rev: 08962092d3bb7887d82f97d442a6103c0677eae7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Add missing setscene task corner case
Richard Purdie [Wed, 14 Aug 2019 14:57:45 +0000 (15:57 +0100)] 
bitbake: runqueue: Add missing setscene task corner case

We weren't marking this special case of setscene task as buildable leading to
runqueue task failures.

(Bitbake rev: 930efbc563443d82df8d692bb8ff172ca2bae192)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Add further debug information
Richard Purdie [Wed, 14 Aug 2019 14:56:35 +0000 (15:56 +0100)] 
bitbake: runqueue: Add further debug information

Further testing shows we should test some extra datastructures to help pinpoint logic
errors more precisely. This adds some further data structure sanity checks.

(Bitbake rev: 83c4370b25c3a14cc946965c5c5f83ea28f488a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Drop debug statement causing performance issues
Richard Purdie [Wed, 14 Aug 2019 13:09:43 +0000 (14:09 +0100)] 
bitbake: runqueue: Drop debug statement causing performance issues

This debug statement could result in a long list of tasks which when
repeatedly sent over our IPC, slowed down the builds immensely. Remove
it in favour of other more targeted debugging added recently, bringing
back some lost performance, particularly on builds with large numbers
of tasks.

(Bitbake rev: 85fe627fdb6510f0942917964386fad9d8c479c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Fix event timing race
Richard Purdie [Wed, 14 Aug 2019 10:48:25 +0000 (11:48 +0100)] 
bitbake: runqueue: Fix event timing race

The event from the task notifiing of hash equivalency should only be processed
when the task completes. This can otherwise result in a race where a dependent
task may run before the original task completes causing various failures.

To make this work reliably, the code had to be restructured quite a bit.

(Bitbake rev: 1bf5be46f92f125193638cf41ff207d68f592259)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Recompute holdoff tasks from scratch
Richard Purdie [Tue, 13 Aug 2019 23:27:09 +0000 (00:27 +0100)] 
bitbake: runqueue: Recompute holdoff tasks from scratch

The changed_setscene variable here is just odd and not needed. Worse,
it could prevent some tasks from being removed from the holdoff tasks
list. The list is being rebuilt and should work as intended just from
the other data, this is a leftover from previous versions of the code
as far as I can tell.

(Bitbake rev: 030b9f2b3ce6ed40e79304eb0ffee6c6613f43be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Improve scenequeue debugging
Richard Purdie [Tue, 13 Aug 2019 22:45:55 +0000 (23:45 +0100)] 
bitbake: runqueue: Improve scenequeue debugging

Whilst we had good runqueue failure mode debug, it hadn't adapted to the
scenequeue changes. Run the scenequeue sanity tests at the end of
a build and output the results regardless of whether all setscene tasks
completed or not. This *massively* improves the ability to debug runqueue
problems.

(Bitbake rev: b9b2177473c0b95a23bd519a201e1d2ba101c6c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Fix next_buildable_task performance problem
Richard Purdie [Tue, 13 Aug 2019 19:14:49 +0000 (20:14 +0100)] 
bitbake: runqueue: Fix next_buildable_task performance problem

Looking at the profile information, a lot of time is being spent in
next_buildable_task. This is probably due to the generator expressions
not working well with the empty test.

The easiest way to improve things is to switch to using set manipulations.
We also don't need to update self.buildable the way the original code did
as we don't rely on that anywhere.

(Bitbake rev: 3bcf9ad4964b7e42d1a02ce231e9db42a81ead2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Wait for covered tasks to complete before trying setscene
Richard Purdie [Tue, 13 Aug 2019 15:00:06 +0000 (16:00 +0100)] 
bitbake: runqueue: Wait for covered tasks to complete before trying setscene

If tasks are in the covered list of tasks for a given setscene task,
it needs to wait for those to complete before we can start.

(Bitbake rev: fdee640c26750b852eb68f5c80437377aa300ed8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: cooker: Improve hash server startup code to avoid exit tracebacks
Richard Purdie [Mon, 12 Aug 2019 14:56:20 +0000 (15:56 +0100)] 
bitbake: cooker: Improve hash server startup code to avoid exit tracebacks

At exit the hashserv code was causing tracebacks as join() wasn't
being called from the thread that started the process. Ensure that
the hashserver is started from the pre_serve hook which is the
final thread the cooker runs in. This avoids the traceback at the
expense of some horrific poking into data stores which will ultimately
need improving through a proper API.

(Bitbake rev: 05888700e5f6cba48a26c8a4c447634a28e3baa6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: tests/runqueue: Add further hash equivalence tests
Richard Purdie [Mon, 12 Aug 2019 14:54:54 +0000 (15:54 +0100)] 
bitbake: tests/runqueue: Add further hash equivalence tests

Add some extra hash equivalence runqueue tests based on recent scenarios
that caused problems during testing.

(Bitbake rev: 373b085ead992a725b2230ededd992b4c61a1a05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: runqueue: Improve setscene task handling logic
Richard Purdie [Mon, 12 Aug 2019 14:53:13 +0000 (15:53 +0100)] 
bitbake: runqueue: Improve setscene task handling logic

The previous tasks_covered and tasks_notcovered were basically unstable
data structures. We couldn't always tell whether tasks should be covered
or not when trying to repair the sturcture if sstate tasks reran.

In the end its simpler to throw the lists away and rebuild them based upon
current data rather than trying to patch it adhoc. This turns out to be
simpler and much more reliable and I've much more confidence in this code.

(Bitbake rev: 52ee2ba2c617d928569f5afa404925c8b6f317bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>