]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agocore-image-sato-sdk-ptest: do not pull in ptest-pkgs
Alexander Kanavin [Wed, 19 Feb 2020 19:47:40 +0000 (20:47 +0100)]
core-image-sato-sdk-ptest: do not pull in ptest-pkgs

The lists of ptests are defined via PTESTS_FAST and PTESTS_SLOW;
specifying 'ptests-pkgs' also pulls in additional ptests that
are specifically excluded from those lists due to causing issues with
ptesting. (particularly bash-ptest is one such item)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsolv: Enable rpm packageconfig by default only if rpm O_P_M is enabled
Khem Raj [Thu, 20 Feb 2020 16:53:17 +0000 (08:53 -0800)]
libsolv: Enable rpm packageconfig by default only if rpm O_P_M is enabled

opkg also depends on libsolv and can needlessly pull in rpm even if
the O_P_M does not desire to use rpm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: Use upstreamed patch for time64 syscall fixes
Khem Raj [Thu, 20 Feb 2020 16:50:50 +0000 (08:50 -0800)]
ltp: Use upstreamed patch for time64 syscall fixes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoliberror-perl: upgrade 0.17028 -> 0.17029
Tim Orling [Thu, 20 Feb 2020 21:23:15 +0000 (13:23 -0800)]
liberror-perl: upgrade 0.17028 -> 0.17029

Upstream release notes:
"
0.17029         2020-01-28
    - Rebuild for order of 'NAME' and 'VERSION' sections in the generated
    POD documentation (see 0.001004 in
    https://metacpan.org/changes/distribution/Pod-Weaver-PluginBundle-SHLOMIF
    ).
        - VERSION used to appear before NAME.
"

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodnf, libdnf: Ignore if PACKAGE_CLASSES does not have rpm
Khem Raj [Thu, 20 Feb 2020 21:09:52 +0000 (13:09 -0800)]
dnf, libdnf: Ignore if PACKAGE_CLASSES does not have rpm

dnf depends on libsolv, and libsolv does not have and easy way to
jusr enable rpmdb support, it either has full rpm or nothing, perhaps it
could be improved in libsolv and we can use that but from now we have
no other option

dnf support only rpm backend and wont work with opkg or dpkg/apt anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRevert "rootfs: Make BUILDNAME a weak default in reproducible_build_simple"
Peter Kjellerstedt [Sun, 9 Feb 2020 06:06:58 +0000 (07:06 +0100)]
Revert "rootfs: Make BUILDNAME a weak default in reproducible_build_simple"

This reverts commit 8380df6566db49ef184b837432558750f77f592f.

Giving BUILDNAME a static default in reproducible_build_simple.bbclass
to have /etc/version be generated with that name lead to other users
of BUILDNAME no longer working as expected. E.g., buildstats.bcclass
would now write its information in a single directory, overwriting the
statistics for each build.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibical: fix host contamination in -dev pkg
Sakib Sajal [Thu, 20 Feb 2020 22:02:47 +0000 (14:02 -0800)]
libical: fix host contamination in -dev pkg

[YOCTO #13512]

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: upgrade 4.8 -> 4.8.1
Wang Mingyu [Fri, 21 Feb 2020 10:09:15 +0000 (02:09 -0800)]
shadow: upgrade 4.8 -> 4.8.1

0001-Do-not-check-for-validity-of-shell-executable.patch
CVE-2019-19882.patch
Removed since they are included in 4.8.1.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonss: upgrade 3.49.1 -> 3.50
Wang Mingyu [Fri, 21 Feb 2020 10:09:40 +0000 (02:09 -0800)]
nss: upgrade 3.49.1 -> 3.50

refresh the following patch:
0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonspr: upgrade 4.24 -> 4.25
Wang Mingyu [Fri, 21 Feb 2020 10:09:39 +0000 (02:09 -0800)]
nspr: upgrade 4.24 -> 4.25

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agop11-kit: upgrade 0.23.18.1 -> 0.23.20
Alexander Kanavin [Fri, 21 Feb 2020 09:27:29 +0000 (10:27 +0100)]
p11-kit: upgrade 0.23.18.1 -> 0.23.20

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-good: add qt5 PACKAGECONFIG
Anuj Mittal [Fri, 21 Feb 2020 02:41:58 +0000 (10:41 +0800)]
gstreamer1.0-plugins-good: add qt5 PACKAGECONFIG

Instead of disabling unconditionally, add PACKAGECONFIG for
qt5. Imported from meta-qt5 layer.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-good: change EXTRA_OECONF -> EXTRA_OEMESON
Anuj Mittal [Fri, 21 Feb 2020 02:41:57 +0000 (10:41 +0800)]
gstreamer1.0-plugins-good: change EXTRA_OECONF -> EXTRA_OEMESON

Use the correct variable so options actually get used and
use the correct qt option name to prevent errors.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostress-ng: upgrade 0.10.16 -> 0.11.00
Anuj Mittal [Fri, 21 Feb 2020 02:01:28 +0000 (10:01 +0800)]
stress-ng: upgrade 0.10.16 -> 0.11.00

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscreen: upgrade 4.7.0 -> 4.8.0
Anuj Mittal [Fri, 21 Feb 2020 02:01:27 +0000 (10:01 +0800)]
screen: upgrade 4.7.0 -> 4.8.0

License-Update: Change http to https in license text.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-vaapi: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:26 +0000 (10:01 +0800)]
gstreamer1.0-vaapi: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-rtsp-server: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:25 +0000 (10:01 +0800)]
gstreamer1.0-rtsp-server: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-python: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:24 +0000 (10:01 +0800)]
gstreamer1.0-python: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-omx: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:23 +0000 (10:01 +0800)]
gstreamer1.0-omx: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-libav: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:22 +0000 (10:01 +0800)]
gstreamer1.0-libav: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-ugly: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:21 +0000 (10:01 +0800)]
gstreamer1.0-plugins-ugly: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-bad: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:20 +0000 (10:01 +0800)]
gstreamer1.0-plugins-bad: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-good: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:19 +0000 (10:01 +0800)]
gstreamer1.0-plugins-good: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-base: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:18 +0000 (10:01 +0800)]
gstreamer1.0-plugins-base: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0: upgrade 1.16.1 -> 1.16.2
Anuj Mittal [Fri, 21 Feb 2020 02:01:17 +0000 (10:01 +0800)]
gstreamer1.0: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez5: upgrade 5.52 -> 5.53
Anuj Mittal [Fri, 21 Feb 2020 02:01:16 +0000 (10:01 +0800)]
bluez5: upgrade 5.52 -> 5.53

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: enable gobject-introspection for armv7ve - it builds without issues
Andreas Müller [Thu, 20 Feb 2020 23:48:29 +0000 (00:48 +0100)]
webkitgtk: enable gobject-introspection for armv7ve - it builds without issues

Maybe armv7a can be re-enabled either but due to limited resources there is no
chance for me to test.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: fix reconfigure
Andreas Müller [Thu, 20 Feb 2020 23:48:28 +0000 (00:48 +0100)]
webkitgtk: fix reconfigure

| ln: failed to create symbolic link '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/webkitgtk/2.26.4-r0/recipe-sysroot-native/usr/bin/python': File exists

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowayland: Fix strndup detection on MinGW
Joshua Watt [Thu, 20 Feb 2020 22:49:31 +0000 (16:49 -0600)]
wayland: Fix strndup detection on MinGW

Applies a patch to fix strndup being detected as present incorrectly
when building for MinGW.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowayland: convert to meson build
Alexander Kanavin [Wed, 19 Feb 2020 19:47:43 +0000 (20:47 +0100)]
wayland: convert to meson build

Replace an autotools-specific .pc adjustment patch with a meson-specific one.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/logparser: Fix performance issues with ptest log parsing
Richard Purdie [Thu, 20 Feb 2020 13:57:50 +0000 (13:57 +0000)]
oeqa/logparser: Fix performance issues with ptest log parsing

On the autobuilder a ptest log with 2.1 million lines took around 18 hours to
process. This is clearly crazy.

We can tweak the processing code to:
a) Stop repeatedly joining large strings together (append to a list instead)
b) Use one startswith expression instead of multiple re.search() operations

With this change it takes 18 hours down to around 12s.

[YOCTO #13696]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobabeltrace: added ptest
Anders Wallin [Thu, 20 Feb 2020 05:23:44 +0000 (06:23 +0100)]
babeltrace: added ptest

Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux: fix hwclock settimeofday error
Liwei Song [Thu, 20 Feb 2020 03:50:45 +0000 (11:50 +0800)]
util-linux: fix hwclock settimeofday error

The change of settimeofday() systemcall since Glibc 2.31
will cause "hwclock -s" doesn't work with error:
"hwclock: settimeofday() failed: Invalid argument"
Backport a upstream patch to fix this issue.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonfs-utils: upgrade 2.4.2 -> 2.4.3
Wang Mingyu [Thu, 20 Feb 2020 09:41:34 +0000 (01:41 -0800)]
nfs-utils: upgrade 2.4.2 -> 2.4.3

0001-Don-t-build-tools-with-CC_FOR_BUILD.patch
Removed since it is included in 2.4.3.

refresh the following patch:
0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: upgrade 19.3.3 -> 19.3.4
Wang Mingyu [Thu, 20 Feb 2020 09:41:25 +0000 (01:41 -0800)]
mesa: upgrade 19.3.3 -> 19.3.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-pages: upgrade 5.04 -> 5.05
Wang Mingyu [Thu, 20 Feb 2020 09:41:16 +0000 (01:41 -0800)]
man-pages: upgrade 5.04 -> 5.05

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxkbcommon: upgrade 0.9.1 -> 0.10.0
Wang Mingyu [Thu, 20 Feb 2020 09:41:00 +0000 (01:41 -0800)]
libxkbcommon: upgrade 0.9.1 -> 0.10.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/combo-layer: Fix deprecation warning
Richard Purdie [Wed, 19 Feb 2020 22:53:08 +0000 (22:53 +0000)]
scripts/combo-layer: Fix deprecation warning

Resolve:
combo-layer:83: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibubootenv: bump to revision ba952d0
Pierre-Jean Texier [Wed, 19 Feb 2020 21:37:12 +0000 (22:37 +0100)]
libubootenv: bump to revision ba952d0

This includes following changes:

ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Acked-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiproute2: add devlink support to iproute2
Scott Branden [Wed, 19 Feb 2020 20:41:03 +0000 (12:41 -0800)]
iproute2: add devlink support to iproute2

Add devlink support to iproute2 recipe.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovirglrenderer: upgrade 0.8.1 -> 0.8.2
Alexander Kanavin [Wed, 19 Feb 2020 19:47:52 +0000 (20:47 +0100)]
virglrenderer: upgrade 0.8.1 -> 0.8.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovala: upgrade 0.46.5 -> 0.46.6
Alexander Kanavin [Wed, 19 Feb 2020 19:47:51 +0000 (20:47 +0100)]
vala: upgrade 0.46.5 -> 0.46.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: upgrade 0.53.0 -> 0.53.1
Alexander Kanavin [Wed, 19 Feb 2020 19:47:49 +0000 (20:47 +0100)]
meson: upgrade 0.53.0 -> 0.53.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsecret: upgrade 0.20.0 -> 0.20.1
Alexander Kanavin [Wed, 19 Feb 2020 19:47:48 +0000 (20:47 +0100)]
libsecret: upgrade 0.20.0 -> 0.20.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoepiphany: upgrade 3.34.3.1 -> 3.34.4
Alexander Kanavin [Wed, 19 Feb 2020 19:47:47 +0000 (20:47 +0100)]
epiphany: upgrade 3.34.3.1 -> 3.34.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocreaterepo-c: upgrade 0.15.5 -> 0.15.7
Alexander Kanavin [Wed, 19 Feb 2020 19:47:46 +0000 (20:47 +0100)]
createrepo-c: upgrade 0.15.5 -> 0.15.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemumips: use std vga instead of cirrus vga
Alexander Kanavin [Wed, 19 Feb 2020 19:47:45 +0000 (20:47 +0100)]
qemumips: use std vga instead of cirrus vga

This is what the upstream recommends nowadays:
https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/

I have verified that both X and weston continue to boot and look
right; however xorg.conf file needs to be removed as it is cirrus
specific and doesn't work and isn't needed with std vga.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoweston-init: use the drm/kms backend rather than fbdev one for qemux86 machines
Alexander Kanavin [Wed, 19 Feb 2020 19:47:44 +0000 (20:47 +0100)]
weston-init: use the drm/kms backend rather than fbdev one for qemux86 machines

The fbdev backend is not documented, and not the default;
as the emulated hardware in qemu now supports DRM/KMS
(both std and virtio), we should align with upstream default
and vast majority of users. Empty init file will cause
weston to default to the KMS backend.

Note that 3D acceleration via virgl is not required; the backend
renders fine via the software driver in mesa. However, kvm
is more or less required to keep the UI responsive.

Also, other qemu targets (mips and arm in particular) continue
to use the fbdev backend, as in the absence of kvm, the performance
of software GL paths falls to unacceptable level.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: unbreak wayland build
Alexander Kanavin [Wed, 19 Feb 2020 19:47:42 +0000 (20:47 +0100)]
webkitgtk: unbreak wayland build

webkit nowadays requires a couple of supplementary libraries for this,
so bring them in (courtesy of meta-webkit[1], which will hopefully
adjust without a lot of trouble).

[1] https://github.com/Igalia/meta-webkit/

[RP: Add missing maintainers entries]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: x11 and wayland are not mutually exclusive
Alexander Kanavin [Wed, 19 Feb 2020 19:47:41 +0000 (20:47 +0100)]
webkitgtk: x11 and wayland are not mutually exclusive

Also enabling wayland if x11 is not enabled is not necessarily
the correct decision.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Drop 'backup' code and SIGTERM handler
Richard Purdie [Wed, 19 Feb 2020 18:32:19 +0000 (18:32 +0000)]
oeqa/selftest: Drop 'backup' code and SIGTERM handler

Now selftest is using its own copied build directory, we can stop worrying about
copying files around as backup, and drop the SIGTERM handler to try and restore
them, simplifying the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Standardise seperate builddir for concurrent and non-concurrent selftest
Richard Purdie [Wed, 19 Feb 2020 18:19:49 +0000 (18:19 +0000)]
oeqa/selftest: Standardise seperate builddir for concurrent and non-concurrent selftest

Currently oe-selftest reuses the current build directory and the concurrent
version run with -j does not.

Standardise and use a separate new build directory in both cases. This will lead
to simpler code and more reliable user run tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoselftest/context: Avoid tracebacks from tests using multiprocessing
Richard Purdie [Wed, 19 Feb 2020 17:27:26 +0000 (17:27 +0000)]
selftest/context: Avoid tracebacks from tests using multiprocessing

We can see tracebacks where the SIGTERM handler catches things
it shouldn't. Avoid exit(1) unless we're the process that
it was intended for.

[YOCTO #13664]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolttng-tools: upgrade 2.11.0 -> 2.11.2
Richard Purdie [Tue, 18 Feb 2020 22:09:00 +0000 (14:09 -0800)]
lttng-tools: upgrade 2.11.0 -> 2.11.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooescripts.py: use unittest.SkipUnless for class skip
Trevor Gamblin [Thu, 5 Dec 2019 16:55:19 +0000 (11:55 -0500)]
oescripts.py: use unittest.SkipUnless for class skip

Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663

Prior to this fix, the try/except block in OEScriptTests' setUpClass
did both the import and the raise unittest.SkipTest for the
subsequent OEPybootchartguyTests. The consequence of the this meant
that, when cairo was not available on the test host, the raise was
counted only once as a class setup issue, instead of once for each
of the tests to be run, resulting in incorrect skip counts in the
test results.

Instead of raising unittest.SkipTest in setUpClass, the more
proper method is to use the unittest.skipUnless method along with
importlib.util.find_spec to check for the presence of the
python3-cairo module. This allows the entire class to be skipped
if cairo is not present, while also correctly passing along the
skip state for each of the class's tests, and avoiding the UNKNOWN
results to appear in cases where the -j option was provided to
oe-selftest, but the tests were still skipped.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolocal.conf.sample.extended: Document how to limit parallel fetch tasks
Richard Purdie [Wed, 19 Feb 2020 21:41:42 +0000 (21:41 +0000)]
local.conf.sample.extended: Document how to limit parallel fetch tasks

[YOCTO #13235]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodistro_alias: Fix typos
Richard Purdie [Wed, 19 Feb 2020 22:07:58 +0000 (22:07 +0000)]
distro_alias: Fix typos

[YOCTO #13433]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer: Fix reproducibility issue around libcap
Richard Purdie [Wed, 19 Feb 2020 15:15:19 +0000 (15:15 +0000)]
gstreamer: Fix reproducibility issue around libcap

Add an option to avoid builds depending on the presence of setcap
from the host system.

[YOCTO #13786]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: Fix makefile race causing configuration differences
Richard Purdie [Wed, 19 Feb 2020 14:38:23 +0000 (14:38 +0000)]
perl: Fix makefile race causing configuration differences

Add a missing makefile dependency which can cause differences in
configuration (submitted upstream).

[YOCTO #13800]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: reproducible: Include jquery in results
Joshua Watt [Wed, 19 Feb 2020 00:44:44 +0000 (18:44 -0600)]
oeqa: reproducible: Include jquery in results

Includes jquery in the output directory to make the diffoscope output
easier to navigate

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agojquery: Add recipe
Joshua Watt [Wed, 19 Feb 2020 00:44:43 +0000 (18:44 -0600)]
jquery: Add recipe

Adds a recipe that packages jQuery in a manner borrowed from debian. The
primary purpose is to make the diffoscope output from the autobuilder
easier to navigate.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: add dependencies to fix ptest failures
Mingde (Matthew) Zeng [Tue, 18 Feb 2020 19:46:49 +0000 (14:46 -0500)]
glib-2.0: add dependencies to fix ptest failures

There are a number of ptest failures due to executables not found in
the image. Since these executables are in FILES_${PN}-dev, depending
all of -dev which is an overkill. We take them out of -dev and put in
-utils, then depend on the latter instead.

When starting a glib ptest but decided to Ctrl-c interrupt midway,
./run-ptest cannot be restarted unless running `userdel glib2-test`
manually. Therefore adding a check prior to ptest will ensure the
ptest can be restarted.

Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorpm2cpio.sh: fix to handle newline character
Lori Hikichi [Tue, 18 Feb 2020 19:14:22 +0000 (11:14 -0800)]
rpm2cpio.sh: fix to handle newline character

This script is attempting to read binary data from an rpm file.
If any of the bytes it is attempt to read is the binary value 0xa
(i.e. a newline) then the script does not properly deal with this
special case. Due to the behavior of command substitution, instead of
fetching the value 0xa, the script makes an error and get the value 0
instead.

The fix and the following explantion was taken from this post...

https://unix.stackexchange.com/questions/10801/
how-to-use-bash-script-to-read-binary-file-content

Command substitution $(…) strips final newlines in the command output.
There's a fairly easy workaround.  Make sure the output ends in a
character other than a newline, then strip that one character.

Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonewlib: Move syscalls from newlib to libgloss
Mark Hatle [Fri, 14 Feb 2020 18:34:14 +0000 (12:34 -0600)]
newlib: Move syscalls from newlib to libgloss

By passing --disabled-newlib-supplied-syscalls, newlib will disable the
generation of builtin syscalls and move this to libgloss.  (This also
affects the generation of crt0.o.)

libgloss SHOULD then provide the syscalls, crt0.o and other functions that
are no longer part of newlib itself.  This now means that you must link
with both newlib and libgloss, whereas before newlib would run in many
configurations by itself.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: Fix encode module reproducibility issues
Richard Purdie [Tue, 18 Feb 2020 17:27:26 +0000 (17:27 +0000)]
perl: Fix encode module reproducibility issues

The code is encoding host compiler parameters into target builds. Avoid
this for our target builds. This should resolve builds which aren't
reproducible between hosts with different compilers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc-package.inc: fix multilib headers conflict
Kai Kang [Tue, 11 Feb 2020 15:07:41 +0000 (23:07 +0800)]
glibc-package.inc: fix multilib headers conflict

Pass bits/endianness.h and bits/struct_rwlock.h to oe_multilib_header in
glibc-package.inc to fix files conflict:

| Error: Transaction check error:
|   file /usr/include/bits/endianness.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64
|   file /usr/include/bits/struct_rwlock.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoconcurrencytest.py: add outSideTestaddSkip for subunit
Trevor Gamblin [Tue, 18 Feb 2020 14:56:18 +0000 (09:56 -0500)]
concurrencytest.py: add outSideTestaddSkip for subunit

see: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663

When running oe-selftest in concurrency mode (e.g. with oe-selftest
--run-tests oescripts.OEPybootchartguyTests -j 4), if a skip occurred
during setUpClass() rather than within individual tests, the entire
suite would show "UNKNOWN" as each test's result. This is because
subunit doesn't know how to handle skips outside of individual tests.
An example of where this occurs is when running the above call to
oe-selftest in concurrency mode on a host machine that does not have
python3-cairo installed.

Patch subunit inside concurrencytest.py to provide a method called
outSideTestaddSkip, which will allow subunit to correctly detect the
skip in setUpClass().

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agop11-kit: Fix builds with systemd
Richard Purdie [Tue, 18 Feb 2020 13:52:29 +0000 (13:52 +0000)]
p11-kit: Fix builds with systemd

In systemd enabled builds this was failing with unpackaged unit files.
Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: Fix errors when api-documentation is enabled
Richard Purdie [Tue, 18 Feb 2020 13:27:48 +0000 (13:27 +0000)]
webkitgtk: Fix errors when api-documentation is enabled

This recipe hasn't built correctly since we removed "python" from HOSTTOOLS
when api-documentation is enabled.

Add in an extra symlink to "python" rather than trying to fix the multiple
scripts in webkit to refer to python3.

The autobuilder didn't detect this as wekbkit was excluded from the API docs
world build but that is changed now so this fixes build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobabeltrace: update to 1.5.8
Anders Wallin [Mon, 17 Feb 2020 13:34:05 +0000 (14:34 +0100)]
babeltrace: update to 1.5.8

updated HOMEPAGE to http://babeltrace.org/
updated LICENSE to include LGPLv2.1

Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinsane.bbclass: Correct typo inhert->inherit
Khem Raj [Sat, 15 Feb 2020 23:23:38 +0000 (15:23 -0800)]
insane.bbclass: Correct typo inhert->inherit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: upgrade v244.1 -> v244.3
Alex Kiernan [Sun, 16 Feb 2020 11:42:24 +0000 (11:42 +0000)]
systemd: upgrade v244.1 -> v244.3

Drop all systemd-boot patches and use an additional cross-file instead
to pick up EFI cc and objcopy. For EFI ld, we can use the command line
efi-ld option, but have to ensure it's something which can be exec'd
directly.

Commits from v244-stable:

  c4280c342bbf Revert "Support Plugable UD-PRO8 dock"
  bb598b56eb3c hibernate-resume-generator: wait "infinitely" for the resume device
  77c04ce5c270 hwdb: update to v245-rc1
  b4eb8848240c Fix typo in function name
  e2d4cb9843c5 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
  83bfc0d8dd02 sd-bus: introduce API for re-enqueuing incoming messages
  5926f9f1723f polkit: use structured initialization
  0697d0d972c8 polkit: on async pk requests, re-validate action/details
  2589995acdb2 polkit: reuse some common bus message appending code
  5b2442d5c3ec bus-polkit: rename return error parameter to ret_error
  0a19ff7004e4 shared: split out polkit stuff from bus-util.c → bus-polkit.c
  1325dfb5778d test: adapt to the new capsh format
  3538fafb4714 meson: update efi path detection to gnu-efi-3.0.11
  3034855a5b62 presets: "disable" all passive targets by default
  c2e304681929 shared/sysctl-util: normalize repeated slashes or dots to a single value
  6f4364046f90 dhcp6: do not use T1 and T2 longer than one provided by the lease
  0ed6cda28dff network: fix implicit type conversion warning by GCC-10
  f6a5c02d26b1 bootspec: parse random-seed-mode line in loader.conf
  ddc5dca8a73b sd-boot: fix typo
  2bbbe9ae41ab test: Synchronize journal before reading from it
  072485d661d7 sd-bus: fix introspection bug in signal parameter names
  80af3cf5e36b efi: fix build.
  d7ede1ade564 generator: order growfs for the root fs after systemd-remount-fs
  e9904998213d loginctl: use /org/freedesktop/login1/session/auto when "lock-session" is called without argument
  82dd4caf014c Documentation update for x-systemd.{before,after}
  a60459764d9d man: fix typo in systemd.netdev Xfrm example
  fc053e2dfb3f timesyncd: log louder when we refuse a server due to root distance
  af0e630693fa resolved: drop DNSSEC root key that is not valid anymore
  ae59f1666ca6 journal: don't use startswith() on something that is not a NUL-terminated string
  536ef6d72bc6 test: add test for https://github.com/systemd/systemd/issues/14560
  b78fe3c1b1a8 core: make sure StandardInput=file: doesn't get dup'ed to stdout/stderr by default
  a1561a08f2d5 pkgconf: add full generator paths
  e5f2d11489ec tree-wide: we forgot to destroy some bus errors
  ea67fd42067b mount: make checks on perpetual mount units more lax
  2f23c648bce4 core: never allow perpetual units to be masked
  9ba11dffb09a typo: "May modify to" -> "May modify"
  84c048799a78 Disable reading SystemdOptions EFI Var when in SecureBoot mode
  4c2d72b53091 sysctl: downgrade message when we have no permission
  c001a285a3a2 Clarify journald.conf MaxLevelStore documentation
  45d52c7615fd logind: refuse overriding idle hint on tty sessions
  b1a0be45b4ee cgroup: update only siblings that got realized once
  e6d694254fe1 mount: mark an existing "mounting" unit from /proc/self/mountinfo as "just_mounted"
  d8fd38769c36 journalctl: Correctly handle combination of --reverse and --lines (fixes #1596)
  cd19bd31d808 journalctl: Correctly handle --show-cursor in combination with --until or --since and --reverse
  1320aa92dc0a core: fix re-realization of cgroup siblings
  14164ec6bc77 core: propagate service state to socket in more load states
  c22bf6b31a45 man: describe "symlink" and "systemctl link" explicitly in UNIT FILE LOAD PATH
  26f3a534f1ab core: be more restrictive on the dependency types we allow to be created transiently
  377cc5d91ea5 udev: don't import parent ID_FS_ data on partitions
  7d5060d53994 man: fix option name
  98c03090274a Support Plugable UD-PRO8 dock
  e9687d09dccf gpt-auto: don't assume XBOOTLDR is vfat
  7057fe863007 man: fix documentation of IBM VIO device naming
  f8d1df1045be man: slightly extend documentation on difference between ID_NET_NAME_ONBOARD and ID_NET_LABEL_ONBOARD
  1faf5dde4d4a boot: fix osrel parser
  65d247af1786 udev: do not use exact match of file permission
  6da978f89b48 network: lower the log-level of harmless message
  5d8a614f926c hwdb: ignore keys added in kernel 5.5
  8b1bd1746989 systemctl: skip non-existent units in the 'cat' verb
  b2f342f92b54 systemd.exec: document the file system for EnvironmentFile paths
  945f3a231f6f systemd-analyze: fixed typo in documentation
  2c8ae283b0ee test-condition: fix group check condition
  6b48479f4582 umount: show correct error message
  faba5b2ba8c9 Revert "Drop dbus activation stub service"
  3dd98f1998f9 man: add section about user manager units
  1c80a8ced006 man: add remote-*.targets to the bootup sequence
  9afd65f15e93 time-util: also use 32bit hack on EOVERFLOW
  561923291383 [man] note which UID ranges will get user journals
  588a23ef2684 [man] fix URL
  0130a03179f6 analyze: badness if neither of RootImage and RootDirectory exists
  93074c962e3a network: introduce AddPrefixRoute= and deprecate PrefixRoute=
  a8ad020ea0ba shared/dropin: fix assert for invalid drop-in
  946cdba156dd initrd: make udev cleanup service confict trigger and settle too
  c0a8a92e6027 man: we support growing xfs too these days
  608d88273494 time-util: deal with systems where userspace has 64bit time_t but kernel does not
  cfced59a4bd8 [import] fix stdin/stdout pipe behavior in import/export tar/raw
  73435b219553 systemctl: show what verbs support --dry-run in the help page
  dc56b94e1308 cryptsetup-generator: unconfuse writing of the device timeout
  0757ad565573 shared/install: log syntax error for invalid DefaultInstance=
  d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofix various, innocuous typos
Robert P. J. Day [Sun, 16 Feb 2020 13:23:02 +0000 (08:23 -0500)]
fix various, innocuous typos

Corrections:

  - environment
  - accommodate
  - conversion
  - compatible

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: resolve ncurses host contamination
Alexander Kanavin [Sun, 16 Feb 2020 19:16:05 +0000 (20:16 +0100)]
python3: resolve ncurses host contamination

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoptest-packagelists: mention ifupdown ptest in a comment
Alexander Kanavin [Sun, 16 Feb 2020 15:50:14 +0000 (16:50 +0100)]
ptest-packagelists: mention ifupdown ptest in a comment

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoweston: add a basic runtime test
Alexander Kanavin [Sun, 16 Feb 2020 15:50:11 +0000 (16:50 +0100)]
weston: add a basic runtime test

The test is checking that weston is able to start.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemux86: drop resolution setting via uvesafb
Alexander Kanavin [Sun, 16 Feb 2020 15:50:08 +0000 (16:50 +0100)]
qemux86: drop resolution setting via uvesafb

I am not sure if this has ever worked, but uvesafb is a really
outdated (VBE from the 1990s), awkward (needs v86d) and limited
(no support for high resolutions) way to do it.

The specific reason 640x480-32 was introduced (ages ago) was
to force 32 bit mode with vmware driver, as 16bit had rendering issues.

The modern, supported option is video=... kernel parameter documented here:
https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID
https://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst
which can be passed directly to runqemu and doesn't require special
kernel modules.

Sato under X will continue to use 640x480 as that is hardcoded into
xorg.conf under qemu.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemux86: do not add vga=0 to kernel parameters
Alexander Kanavin [Sun, 16 Feb 2020 15:50:07 +0000 (16:50 +0100)]
qemux86: do not add vga=0 to kernel parameters

This was added ages ago to enable GL passthrough with
vmware driver, and is no longer relevant, as std or virgl is used
instead nowadays.

Original commit:

commit 072545b1111c5efb66289a4866897429f5fcd969
Author: Richard Purdie <rpurdie@linux.intel.com>
Date:   Wed Jan 21 17:40:51 2009 +0000

    scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 images

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoprocps: upstream has switched to gitlab
Alexander Kanavin [Sun, 16 Feb 2020 15:50:06 +0000 (16:50 +0100)]
procps: upstream has switched to gitlab

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: Upgrade 8.1p1 -> 8.2p1
Alex Kiernan [Sat, 15 Feb 2020 15:30:06 +0000 (15:30 +0000)]
openssh: Upgrade 8.1p1 -> 8.2p1

Drop backports from upstream:

  0001-Manually-applied-upstream-fix-for-openssh-test.patch
  0001-seccomp-Allow-clock_gettime64-in-sandbox.patch
  openssh-8.1p1-seccomp-nanosleep.patch

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: Upgrade to 2.26.4 minor release
Khem Raj [Sat, 15 Feb 2020 15:43:58 +0000 (07:43 -0800)]
webkitgtk: Upgrade to 2.26.4 minor release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoicu: upgrade 64.2 -> 65.1
Wang Mingyu [Fri, 14 Feb 2020 23:44:27 +0000 (15:44 -0800)]
icu: upgrade 64.2 -> 65.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic: Honor APPEND
Kevin Hao [Thu, 13 Feb 2020 02:31:41 +0000 (10:31 +0800)]
wic: Honor APPEND

APPEND is used to add additional parameters to kernel by features, such
as read-only-rootfs. So we should honor this variable when we compose
the kernel parameter in wic. I know we also can resolve this kind of
issue by using the .wks.in template introduced by commit 42e870c5ed4b
("image_types.bbclass: support template .wks.in files for wic"), but the
APPEND is needed by all the wks, it would seems pretty ridiculous to me
to change all the .wks to .wks.in and then foist the APPEND into them.
So the APPEND is definitely deserved to export to the wic directly.

[Yocto #12809]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoselftest: wic: Add APPEND to the optional variables list
Kevin Hao [Sat, 15 Feb 2020 11:41:44 +0000 (19:41 +0800)]
selftest: wic: Add APPEND to the optional variables list

The APPEND is an optional variable, so add it to the optional variables
list to make the wic selftest happy.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognupg: Read GNUPG_BINDIR from environment variables for nativesdk
Robert Yang [Mon, 6 Jan 2020 10:30:32 +0000 (18:30 +0800)]
gnupg: Read GNUPG_BINDIR from environment variables for nativesdk

There is already a relocate.patch for native which is used for reading
GNUPG_BINDIR from environment variables, now also enable it for nativesdk.
Otherwise, command like the following one doesn't work for nativesdk:

$ gpg-connect-agent --homedir ../keys/ reloadagent /bye
gpg-connect-agent: no running gpg-agent - starting '/opt/path/to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent'
gpg-connect-agent: failed to start agent '/opt/path/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent': No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotclibc-newlib: Include qemu on the SDK
Alejandro Enedino Hernandez Samaniego [Fri, 14 Feb 2020 18:13:49 +0000 (10:13 -0800)]
tclibc-newlib: Include qemu on the SDK

Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.

Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the newlib based SDK.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotclibc-baremetal: Include qemu on the SDK
Alejandro Enedino Hernandez Samaniego [Fri, 14 Feb 2020 18:13:48 +0000 (10:13 -0800)]
tclibc-baremetal: Include qemu on the SDK

Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.

Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the baremetal based SDK.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoimage.bbclass, package-index.bb: Delete do_populate_lic task
Khem Raj [Fri, 14 Feb 2020 23:29:01 +0000 (15:29 -0800)]
image.bbclass, package-index.bb: Delete do_populate_lic task

These are meta packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcf-agent: Mangle arch for armeb
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:44:16 +0000 (20:44 -0800)]
tcf-agent: Mangle arch for armeb

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agox11perf: make x11perfcomp a mulitlib script
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:53 +0000 (20:42 -0800)]
x11perf: make x11perfcomp a mulitlib script

x11perfcomp encodes the library paths in the script.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosubversion: move pkgconfig files in to libdir
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:52 +0000 (20:42 -0800)]
subversion: move pkgconfig files in to libdir

All of the .pc files contain the path to ${libdir} which fails
in a multilib rpm image.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibassuan: multilib header for assuan.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:51 +0000 (20:42 -0800)]
libassuan: multilib header for assuan.h

assuan.h is generated and can differ between mutlilibs.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsndfile1: mutlilibize sndfile.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:50 +0000 (20:42 -0800)]
libsndfile1: mutlilibize sndfile.h

sndfile.h can differ depending on the combined architectures.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxslt: multilib_header xsltconfig.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:49 +0000 (20:42 -0800)]
libxslt: multilib_header xsltconfig.h

xsltconfig.h is generated and can be different between multilibs

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobind: add mulitlib_header for platform.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:48 +0000 (20:42 -0800)]
bind: add mulitlib_header for platform.h

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool/resultutils: Fix unicode error handling
Richard Purdie [Sat, 15 Feb 2020 17:23:54 +0000 (17:23 +0000)]
resulttool/resultutils: Fix unicode error handling

This error handling didn't work as expected since upon failure it would
inject bytestreams back into the code leading to tracebacks.

Instead, ignore the decode errors. Fixes:

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 78, in <module>
    sys.exit(main())
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 72, in main
    ret = args.func(args, logger)
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/store.py", line 70, in store
    resultutils.save_resultsdata(results, tempdir, ptestlogs=True)
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/resultutils.py", line 178, in save_resultsdata
    f.write(sectionlog)
TypeError: write() argument must be str, not bytes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxml2: Update patch upstream status
Richard Purdie [Sat, 15 Feb 2020 10:32:53 +0000 (10:32 +0000)]
libxml2: Update patch upstream status

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopopulate_sdk_ext: We now require python3, not python
Richard Purdie [Fri, 14 Feb 2020 18:13:14 +0000 (18:13 +0000)]
populate_sdk_ext: We now require python3, not python

We no longer expect a "python" binary in PATH so update the eSDK's
expectations to match. This was the only failure on autobuilder test
systems with python missing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodb: Fix timespec length assumptions
Khem Raj [Fri, 14 Feb 2020 22:33:34 +0000 (14:33 -0800)]
db: Fix timespec length assumptions

This should fix the vdso crashes seen with kernel 5.0+

python3[11312] general protection fault ip:b7e966b0 sp:bf8175cc error:0 in libc.so[b7e8b000+6b000]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemuriscv64: Set the Xvisor platform
Alistair Francis [Fri, 14 Feb 2020 19:42:30 +0000 (11:42 -0800)]
qemuriscv64: Set the Xvisor platform

Set the platform information required to build Xvisor.
https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-extended/xvisor

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>