]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agogcc: fix CVE-2018-18484
Anuj Mittal [Mon, 29 Apr 2019 06:26:33 +0000 (14:26 +0800)]
gcc: fix CVE-2018-18484

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoptest-packagelists: Add m4 and gettext as 'fast' ptests
Richard Purdie [Mon, 29 Apr 2019 09:25:05 +0000 (10:25 +0100)]
ptest-packagelists: Add m4 and gettext as 'fast' ptests

These new ptests run in under the ~30s criteria so add to the list
of 'fast' ptests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: Drop ptest hack
Richard Purdie [Fri, 26 Apr 2019 15:40:14 +0000 (16:40 +0100)]
python3: Drop ptest hack

With the kernel TCP backlog queue coalescing bug fixed in the 5.0 kernels
we don't need this patch anymore and can run the tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: add cgroupv2 PACKAGECONFIG
Luca Boccassi [Fri, 26 Apr 2019 15:57:57 +0000 (16:57 +0100)]
systemd: add cgroupv2 PACKAGECONFIG

Allow users to change the default cgroup mode at build time
and use the unified hierarchy mode.
Disabled by default - hybrid is the default upstream value.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognome-doc-utils: Remove stale patch
Adrian Bunk [Fri, 26 Apr 2019 20:44:04 +0000 (23:44 +0300)]
gnome-doc-utils: Remove stale patch

The recipe was removed 3 years ago.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto_5.0: set devicetree for armv5
Dengke Du [Sun, 28 Apr 2019 07:31:01 +0000 (15:31 +0800)]
linux-yocto_5.0: set devicetree for armv5

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/5.0: integrate TCP timeout / hang fix
Bruce Ashfield [Fri, 26 Apr 2019 14:52:17 +0000 (10:52 -0400)]
linux-yocto/5.0: integrate TCP timeout / hang fix

Integrating the following fix:

[
    tcp: fix issues relaed to implement coalescing on backlog queue

    As was discussed on -netdev, there's an issue with TCP timeouts and
    hangs due to new features introduced in the 5.0 kernel:

      https://www.spinics.net/lists/netdev/msg562928.html

    This is a temporary commit to widely test the proposed solution. It
    will be dropped when an official patch makes mainline.
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/5.0: port RAID configuration tweaks from master
Bruce Ashfield [Fri, 26 Apr 2019 14:52:16 +0000 (10:52 -0400)]
linux-yocto/5.0: port RAID configuration tweaks from master

Porting the following three RAID config changes from master to
the 5.0 branch:

   ffd8cf5baf8 intel-x86: add Intel VMD support
   8edf951a15c cfg/efi.cfg: built-in CONFIG_EFIVAR_FS to support Intel VROC
   041a6c04244 intel-x86: built-in nvme driver to support boot from nvme disk

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto-rt/4.19: fix merge conflict in lru_drain
Bruce Ashfield [Fri, 26 Apr 2019 14:52:15 +0000 (10:52 -0400)]
linux-yocto-rt/4.19: fix merge conflict in lru_drain

Paul Gortmaker sent along the following fixup for 4.19-rt:

[
  Author: Paul Gortmaker <paul.gortmaker@windriver.com>
  Date:   Mon Apr 15 12:01:31 2019 -0400

    Revert "mm: handle lru_add_drain_all for UP properly"

    This reverts commit e6e9d6e290028b0a6b83b563fad9fafa7f1d515e.

    It was a 4.19.31 backport of commit 6ea183d60c46 ("mm: handle
    lru_add_drain_all for UP properly").  In summary, what that did
    was to fix a possible harmless WARN_ON on non-SMP, introduced at
    commit 4d43d395fed1 ("workqueue: Try to catch flush_work() without
    INIT_WORK().") by adding non-SMP variants of lru functions.

    The combination of that, with the -rt commit 473f14a9f234 ("mm:
    perform lru_add_drain_all() remotely") at the merge of the two
    results in the following build failure:

      mm/swap.c:736:2: error: #endif without #if

    since the -rt change wants RT specific lru and the stable backport
    wants non-SMP specific lru, and a chunk of the backport with
    an #ifdef CONFIG_SMP is missing.

    However, before we add a four way cluster of ifdeffery to handle all
    cases, we note 4d43d395fed1 was added to the v5.1 release, and it
    was not (currently) backported to any 4.19.x stable release - so it is
    unclear to me why this commit was ever backported to 4.19.31 at all.

    Further, we note this change was to mm/swap.c -- and by definition,
    any preempt-rt deployment that uses swap for anything other than a
    failure contingency mitigation is broken by design.

    Given all that, I decided that the best path forward was to revert
    the two of the three chunks of the backport that remain in the -rt
    branch, and return us to the pre-4.19.31 merge behaviour for -rt.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake.conf: add git-lfs to HOSTTOOLS_NONFATAL
Naveen Saini [Thu, 25 Apr 2019 01:54:23 +0000 (09:54 +0800)]
bitbake.conf: add git-lfs to HOSTTOOLS_NONFATAL

This provides git large file storage (lfs) extension.

Include git-lfs conditionally. If git-lfs is present on host and repo
has lfs pointers, then git-lfs will be used. If git-lfs is not present
on host, it will be ignored.

[YOCTO #13198]

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoAdding back wrapper and using OEPYTHON3HOME variable for python3
Jaewon Lee [Thu, 25 Apr 2019 23:02:21 +0000 (16:02 -0700)]
Adding back wrapper and using OEPYTHON3HOME variable for python3

Adding back the python wrapper and adding a patch to use OEPYTHON3HOME
instead of PYTHONHOME if set, for python3.

If we add back the wrapper as is, we would see the following error that
we also see in Thud:

ImportError: No module named site
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python
v3.
Please upgrade your python v2

This is because python3 would've set PYTHONHOME to use nativesdk
python3 libraries but when the oe-buildenv-internal script tries to call
python2 for the py_v27_check, there will be no python2 libraries in the
PYTHONHOME directory.
In other words, bitbake needs host python2 and the env variable set from
the wrapper contaminates the env and host python2 won't be able to find
its libraries

Creating another variable OEPYTHON3HOME and using this in the python3
wrapper to allow for a way to set a different paths for python3 and
python2

[YOCTO #13208]

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsoup: Upgrade from 2.64.2 to 2.66.1
Alistair Francis [Thu, 25 Apr 2019 04:30:05 +0000 (04:30 +0000)]
libsoup: Upgrade from 2.64.2 to 2.66.1

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogettext: add ptest support
Changqing Li [Wed, 24 Apr 2019 03:37:04 +0000 (11:37 +0800)]
gettext: add ptest support

skip test lang-c since it need gcc/libtool on target

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomanual compliance: remove bits done at runtime
Armin Kuster [Mon, 22 Apr 2019 12:35:08 +0000 (06:35 -0600)]
manual compliance: remove bits done at runtime

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoltp_compliance: add new runtime
Armin Kuster [Mon, 22 Apr 2019 12:32:43 +0000 (06:32 -0600)]
ltp_compliance: add new runtime

test runtimes in sec.
AIO: 14
MEM: 94
MSG: 89
SEM: 30
SIG: 194
THR: 399
TMR: 867
TPS: 23

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agologparser: Add LTP compliance section
Armin Kuster [Mon, 22 Apr 2019 12:32:42 +0000 (06:32 -0600)]
logparser: Add LTP compliance section

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool: add LTP compliance section
Armin Kuster [Mon, 22 Apr 2019 12:32:41 +0000 (06:32 -0600)]
resulttool: add LTP compliance section

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoltp: add runtime test
Armin Kuster [Mon, 22 Apr 2019 12:32:40 +0000 (06:32 -0600)]
ltp: add runtime test

This adds the framework for running ltp tests.

Here are some times:
math: 61
syscalls: 3957
dio: 18472
io: 29
mm: 551
ipc: 48
sched: 165
nptl: 46
pty: 37
containers: 52
controllers: 9625
filecaps: 27
cap_bounds: 27
fcntl-locktests: 29
connectors: 27
timers: 37
commands: 165
net.ipv6_lib: 30
input: 29
fs_perms_simple: 31
fs: 3476
fsx: 30
fs_bind: 28
fs_ext4: 28
cve: 675

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agologparser: Add decoding ltp logs
Armin Kuster [Mon, 22 Apr 2019 12:32:39 +0000 (06:32 -0600)]
logparser: Add decoding ltp logs

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool: add ltp test support
Armin Kuster [Mon, 22 Apr 2019 12:32:38 +0000 (06:32 -0600)]
resulttool: add ltp test support

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoutils/multiprocess_launch: Improve failing subprocess output
Richard Purdie [Thu, 25 Apr 2019 13:51:42 +0000 (14:51 +0100)]
utils/multiprocess_launch: Improve failing subprocess output

Output before this patch:

ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.: Traceback (most recent call last):
  File "/media/build1/poky/meta/lib/oe/utils.py", line 272, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/media/build1/poky/meta/classes/package_ipk.bbclass", line 230, in ipk_write_pkg
    shell=True)
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.

Note how stdout/stderr from the failing command isn't shown.

After this patch:

ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Subprocess output:Foobar
*** Error: Package name Foobar contains illegal characters, (other than [a-z0-9.+-])

opkg-build: Please fix the above errors and try again.

We suddenly get a much more usable error message. The traceback is supressed
as its distracting from the real problem in this case.

Ideally python itself would handle this but it doesn't so we have to
wrap the exception. We already do this in bitbake itself for the same reason.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovte: move shell auto scripts into seperate package
Andreas Müller [Thu, 25 Apr 2019 00:10:54 +0000 (02:10 +0200)]
vte: move shell auto scripts into seperate package

It bugged me for a while that xfce4-terminal sets (tab-)title to 'Untitled'.
This is caused by bash variable PROMPT_COMMAND not set. vte ships /etc/profile.d/vte.sh
adding PROMPT_COMMAND and a function to handle.

Since

* not all consumers of 'libvte' are interested in this feature
* executable shipped by package 'vte' is not necessary for PROMPT_COMMAND support

create a seperate package.
Once applied patches for xfce4-terminal and gnome-terminal will be send.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel-module-split.bbclass: support CONFIG_MODULE_COMPRESS=y
Jens Rehsack [Thu, 18 Apr 2019 14:08:42 +0000 (16:08 +0200)]
kernel-module-split.bbclass: support CONFIG_MODULE_COMPRESS=y

In case, kernel config enables compressed modules, support of
splitting via split_kernel_module_packages won't find any module.
So, first expand module pattern regex to recognize compressed
modules and then objcopy on temporary extacted to extract module
information.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: upgrade to 242
Andrej Valek [Thu, 18 Apr 2019 10:19:06 +0000 (12:19 +0200)]
systemd: upgrade to 242

PATCH REBASED:
==============
0001-do-not-disable-buffer-in-writing-files.patch
0002-don-t-use-glibc-specific-qsort_r.patch
0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
0004-add-fallback-parse_printf_format-implementation.patch
0005-rules-watch-metadata-changes-in-ide-devices.patch
0005-src-basic-missing.h-check-for-missing-strndupa.patch
0007-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not.patch
0009-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
0021-avoid-redefinition-of-prctl_mm_map-structure.patch
0024-test-json.c-define-M_PIl.patch

PATCH DROPPED:
==============
0001-meson-declare-version.h-as-dep-for-various-targets-t.patch
0001-meson-declare-version.h-as-dependency-for-systemd.patch
0013-test-hexdecoct.c-Include-missing.h-for-strndupa.patch

PATCH ADDED:
0025-fs-utilh-add-missing-sys-stat-include.patch

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglibc: always use bfd linker
Martin Jansa [Thu, 28 Mar 2019 10:21:39 +0000 (10:21 +0000)]
glibc: always use bfd linker

* Work around broken ld-2.29.so when gold is used
  causing qemu-arm to segfault during e.g. gobject-introspection
  or postinst at do_rootfs time, more details in:
  http://lists.openembedded.org/pipermail/openembedded-devel/2019-March/198937.html
  https://sourceware.org/bugzilla/show_bug.cgi?id=24148
  https://sourceware.org/bugzilla/show_bug.cgi?id=10937
  https://sourceware.org/bugzilla/show_bug.cgi?id=18103

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool/manualexecution: Enable test case configuration option
sangeeta jain [Fri, 19 Apr 2019 08:22:26 +0000 (16:22 +0800)]
resulttool/manualexecution: Enable test case configuration option

Current manualexecution required user to exceute all test cases defined inside a "modulename.json" file in oeqa/manual

There are cases when all test cases all not required to run for a module on specific DUT.

Enable manualexecution to have the optional feature where it will use pre-defined json format test case configuration file
where user will be able to select test cases from the "modulename.json" instead of running all of them. This will help
in reducing testing time and reporting unneccesary skip or failures.

Example pre-defined json format test case configuration file (for build-applince):

{
    "testcases" : [
        "build-appliance.build-appliance.Create_core-image-sato-sdk_using_build_appliance",
        "build-appliance.build-appliance.Build_a_image_without_error_(added_recipe)"
    ]
}

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowebkitgtk: Fix build with clang
Khem Raj [Sat, 20 Apr 2019 01:27:38 +0000 (18:27 -0700)]
webkitgtk: Fix build with clang

Newer version of webkitgtk has some compile failures with clang/libc++
combination.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoRevert "wic: Set a miniumum FAT16 volume size."
Angus Lees [Thu, 21 Mar 2019 05:46:05 +0000 (16:46 +1100)]
Revert "wic: Set a miniumum FAT16 volume size."

This reverts commit f7dfb4d43247d3c13a4e0a3853007d63b9512b83.

FAT16 volumes do not have a minimum size of 8250 blocks
(== slightly over 4MB).  Exhibit A: floppy disks.

The original commit message suggests this was a workaround for a bug in
parted - in which case we should fix it there, or use the wic
`--fixed-size` option to pass down an enforced minimum from a more
context-aware point in the callstack.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicu: Upgrade 64.1 -> 64.2
Zang Ruochen [Wed, 24 Apr 2019 03:32:56 +0000 (11:32 +0800)]
icu: Upgrade 64.1 -> 64.2

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowget: update to 1.20.3
Oleksandr Kravchuk [Wed, 24 Apr 2019 06:56:03 +0000 (08:56 +0200)]
wget: update to 1.20.3

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3-pygobject: update to 3.32.1
Oleksandr Kravchuk [Wed, 24 Apr 2019 06:49:37 +0000 (08:49 +0200)]
python3-pygobject: update to 3.32.1

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython-numpy: update to 1.16.3
Oleksandr Kravchuk [Wed, 24 Apr 2019 06:36:12 +0000 (08:36 +0200)]
python-numpy: update to 1.16.3

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovte: upgrade 0.52.2 -> 0.56.1
Andreas Müller [Wed, 24 Apr 2019 09:13:18 +0000 (11:13 +0200)]
vte: upgrade 0.52.2 -> 0.56.1

* license: COPYING was replaced by COPYING.LGPL2/COPYING.LGPL3/COPYING.GPL3
* prettify recipe a bit

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocore-image-rt-sdk: make sure that we append to DEPENDS
Naveen Saini [Thu, 25 Apr 2019 08:56:02 +0000 (16:56 +0800)]
core-image-rt-sdk: make sure that we append to DEPENDS

This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocore-image-rt: make sure that we append to DEPENDS
Naveen Saini [Thu, 25 Apr 2019 08:55:43 +0000 (16:55 +0800)]
core-image-rt: make sure that we append to DEPENDS

This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/core/runner: dump stdout and stderr of each test case
Mardegan, Alberto [Thu, 25 Apr 2019 08:03:28 +0000 (08:03 +0000)]
oeqa/core/runner: dump stdout and stderr of each test case

Some CI pipelines might perform further processing of the test output
(for instance, to plot some metrics into a chart). However, Since `thud`
we switched away from the XML-based jUnit reporting, and at the same
time we lost the ability of collecting the stdout and stderr of the
various tests.

We now restore this functionality by adding `stdout` and `stderr` keys
to the JSON reports. This behavior is off by default; in order to enable
it, one must set the `TESTREPORT_FULLLOGS` variable in the bitbake
configuration.

Signed-off-by: Alberto Mardegan <amardegan@luxoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowebkitgtk: set CVE_PRODUCT
Chen Qi [Thu, 25 Apr 2019 06:14:03 +0000 (14:14 +0800)]
webkitgtk: set CVE_PRODUCT

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocryptodev: fix module loading error
Kai Kang [Thu, 25 Apr 2019 05:40:31 +0000 (01:40 -0400)]
cryptodev: fix module loading error

Backport patch from upstream to fix module cryptodev loading error.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodnf: Enable nativesdk
Lei Maohui [Thu, 25 Apr 2019 00:03:58 +0000 (08:03 +0800)]
dnf: Enable nativesdk

Make dnf work on nativesdk environment.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomesa: Update 19.0.1 -> 19.0.3
Fabio Berton [Wed, 24 Apr 2019 20:15:29 +0000 (17:15 -0300)]
mesa: Update 19.0.1 -> 19.0.3

Mesa 19.0.3 is a bug fix release which fixes bugs found since the
19.0.1 release.

For full log see:

https://www.mesa3d.org/relnotes/19.0.2.html
https://www.mesa3d.org/relnotes/19.0.3.html

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoUse the best xz compression for the SDK
Adrian Bunk [Wed, 24 Apr 2019 18:09:52 +0000 (21:09 +0300)]
Use the best xz compression for the SDK

It saves 23% space for me, and decompression time is also shorter.

Compression time and xz memory usage should be less of a worry
for the SDK.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng-tools: Add missing patch Upstream-Status
Richard Purdie [Thu, 25 Apr 2019 10:56:14 +0000 (11:56 +0100)]
lttng-tools: Add missing patch Upstream-Status

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoninja: add Upstream-Status and SOB for musl patch
Oleksandr Kravchuk [Wed, 24 Apr 2019 14:44:38 +0000 (16:44 +0200)]
ninja: add Upstream-Status and SOB for musl patch

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresultool/resultutils: Fix module import error
Richard Purdie [Thu, 25 Apr 2019 10:09:11 +0000 (11:09 +0100)]
resultool/resultutils: Fix module import error

Fix AttributeError: module 'urllib' has no attribute 'request' when
using remote http urls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogtk-doc.bbclass: unify option setting for meson-based recipes
Alexander Kanavin [Wed, 24 Apr 2019 11:26:09 +0000 (13:26 +0200)]
gtk-doc.bbclass: unify option setting for meson-based recipes

This is done similarly to gobject-introspection work by Andreas Müller,
and allows dropping duplicate clutter from the recipes.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicecc.bbclass: stop causing everything to be effectivelly MACHINE_ARCH
Martin Jansa [Wed, 24 Apr 2019 16:32:49 +0000 (16:32 +0000)]
icecc.bbclass: stop causing everything to be effectivelly MACHINE_ARCH

* since this change:
  commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
  Author: Douglas Royds <douglas.royds@taitradio.com>
  Date:   Thu Dec 20 11:59:47 2018 +1300

    icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time

  the set_icecc_env function depends on KERNEL_CC variable even for recipes
  like linux-libc-headers

* KERNEL_CC variable depends on STAGING_KERNEL_DIR:
  Variable KERNEL_CC value is ${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}
  List of dependencies for variable KERNEL_CC is {'STAGING_KERNEL_DIR', 'HOST_PREFIX', 'DEBUG_PREFIX_MAP', 'HOST_CC_KERNEL_ARCH', 'KERNEL_SRC_PATH'}

  which depends on MACHINE:
  Variable STAGING_KERNEL_DIR value is ${TMPDIR}/work-shared/${MACHINE}/kernel-source
  List of dependencies for variable STAGING_KERNEL_DIR is {'MACHINE'}

* as detected with:
  openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets=glibc --analyze

  ERROR: linux-libc-headers different signature for task do_configure.sigdata between qemux86 and qemux86copy
  NOTE: Starting bitbake server...
  basehash changed from 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee to f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa
  Variable MACHINE value changed from 'qemux86' to 'qemux86copy'

  $ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1556122458/qemux86*/*/linux-libc-headers/*do_configure.sigdata*
  NOTE: Starting bitbake server...
  basehash changed from f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa to 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee
  Variable MACHINE value changed from 'qemux86copy' to 'qemux86'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobuildhistory: call a dependency parser only on actual dependency lists
Alexander Kanavin [Wed, 24 Apr 2019 16:34:15 +0000 (18:34 +0200)]
buildhistory: call a dependency parser only on actual dependency lists

Previously it was also called on filelists and possibly other items which
broke the parser.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool: Add log subcommand
Joshua Watt [Fri, 19 Apr 2019 02:57:18 +0000 (21:57 -0500)]
resulttool: Add log subcommand

Adds a subcommand for dumping various logs from test results

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool: Load results from URL
Joshua Watt [Fri, 19 Apr 2019 02:57:17 +0000 (21:57 -0500)]
resulttool: Load results from URL

Adds support for resulttool to load JSON files directly from a http://
or https:// URL

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agom4: add ptest support
Changqing Li [Tue, 23 Apr 2019 09:43:49 +0000 (17:43 +0800)]
m4: add ptest support

add patch 0001-test-getopt-posix-fix.patch for fix test-getopt-posix

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3-pip: update to 19.0.3
Alexander Kanavin [Tue, 23 Apr 2019 16:19:15 +0000 (18:19 +0200)]
python3-pip: update to 19.0.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3-pbr: update to 5.1.3
Alexander Kanavin [Tue, 23 Apr 2019 16:19:14 +0000 (18:19 +0200)]
python3-pbr: update to 5.1.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3-mako: update to 1.0.9
Alexander Kanavin [Tue, 23 Apr 2019 16:19:13 +0000 (18:19 +0200)]
python3-mako: update to 1.0.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython-setuptools: update to 41.0.1
Alexander Kanavin [Tue, 23 Apr 2019 16:19:12 +0000 (18:19 +0200)]
python-setuptools: update to 41.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython-scons: update to 3.0.5
Alexander Kanavin [Tue, 23 Apr 2019 16:19:11 +0000 (18:19 +0200)]
python-scons: update to 3.0.5

Do not use the latest pypi tarball, as it lacks several files (the LICENSE, for instance).

License-update: copyright years.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomsmtp: fix upstream version check
Alexander Kanavin [Tue, 23 Apr 2019 16:19:08 +0000 (18:19 +0200)]
msmtp: fix upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoacpica: update to 20190405
Alexander Kanavin [Tue, 23 Apr 2019 16:50:18 +0000 (18:50 +0200)]
acpica: update to 20190405

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoacpica: upgrade to 20190215
Ross Burton [Tue, 23 Apr 2019 16:50:17 +0000 (18:50 +0200)]
acpica: upgrade to 20190215

Drop yy_scan_string patch, this only affects builds with flex 2.6.2.  We
currently have 2.6.0 and when we upgrade it will be to at least 2.6.3, which
fixes the regression.

Drop manipulate_fds_instead-of-FILE.patch, the original problem was fix upstream
in May 2015[1] so the 20170303 upgrade should have dropped this patch instead of
rebasing.

Call the upstream install target with variables set appropriately, instead of
hand-coding an install.

[1] https://github.com/acpica/acpica/commit/ecb91f4c3a151cbb280ee445166e7c6f4dc441a5

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: add missing Upstream-Status and SOB to a patch
Alexander Kanavin [Tue, 23 Apr 2019 10:03:59 +0000 (12:03 +0200)]
meson: add missing Upstream-Status and SOB to a patch

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng-tools: fix Upstream-Status
Ross Burton [Tue, 23 Apr 2019 09:34:36 +0000 (10:34 +0100)]
lttng-tools: fix Upstream-Status

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobase-files: move hostname operations out of issue file settings
Chen Qi [Wed, 17 Apr 2019 02:01:25 +0000 (10:01 +0800)]
base-files: move hostname operations out of issue file settings

The function do_install_basefilesissue is meant to deal with
/etc/issue* files and the following setting could actually be
overridden.

  BASEFILESISSUEINSTALL ?= "do_install_basefilesissue"

So move the hostname operations out of this function.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoconnman: add PACKAGECONFIG for nfc, fix MACHINE_ARCH signature when l2tp is enabled
Martin Jansa [Mon, 15 Apr 2019 22:07:51 +0000 (22:07 +0000)]
connman: add PACKAGECONFIG for nfc, fix MACHINE_ARCH signature when l2tp is enabled

* import 2 fixes from LuneOS
* with l2tp PACKAGECONFIG enabled connman depends on MACHINE_ARCH xl2tpd:
   === Comparing signatures for task do_package_write_ipk.sigdata between hammerhead and mako ===
  ERROR: connman different signature for task do_package_write_ipk.sigdata between hammerhead and mako
  NOTE: Starting bitbake server...
  Hash for dependent task xl2tpd/xl2tpd_git.bb.do_packagedata changed from 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 to c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142
  Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-openembedded/meta-networking/recipes-protocols/xl2tpd/xl2tpd_git.bb.do_packagedata with hashes 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 or c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoclasses/waf: Set WAFLOCK
Joshua Watt [Tue, 16 Apr 2019 14:07:02 +0000 (09:07 -0500)]
classes/waf: Set WAFLOCK

Sets the WAFLOCK environment variable. This controls the name of the
lock file that waf uses to pass the build configuration from 'configure'
to 'build' and 'install'. Using a uniquely generated name based on the
parameters passed to 'configure' ensures that the source directory can
be configured for multiple different builds without conflicting (since
the lock file is stored in ${S})

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: fix ptest failure about 'dc'
Chen Qi [Wed, 17 Apr 2019 03:18:51 +0000 (11:18 +0800)]
busybox: fix ptest failure about 'dc'

Fix the following two failure of busybox ptest:

  FAIL: dc read
  FAIL: dc read string

These two test cases relies on the functionalities enabled by
CONFIG_FEATURE_DC_BIG.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3-pygobject: update to 3.32.0
Alexander Kanavin [Thu, 18 Apr 2019 15:59:18 +0000 (17:59 +0200)]
python3-pygobject: update to 3.32.0

Switch to meson build system.

Add a patch to disable tests.

Add "introspection" to unknown configure option whitelist, as
this recipe needs g-i unconditionally.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: do not try to substitute the prefix in python supplied paths
Alexander Kanavin [Thu, 18 Apr 2019 15:59:17 +0000 (17:59 +0200)]
meson: do not try to substitute the prefix in python supplied paths

The prefix should be correct in the first place, and substitution breaks
with our custom patched Python.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: add another multilib fix
Alexander Kanavin [Thu, 18 Apr 2019 15:59:16 +0000 (17:59 +0200)]
python3: add another multilib fix

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoepiphany: update to 3.32.1.2
Alexander Kanavin [Thu, 18 Apr 2019 15:59:15 +0000 (17:59 +0200)]
epiphany: update to 3.32.1.2

Drop an option no longer provided by upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicu: update to 64.1
Alexander Kanavin [Thu, 18 Apr 2019 15:59:14 +0000 (17:59 +0200)]
icu: update to 64.1

License-update: copyright years changed.

Drop upstreamed/backported patches.

Add a patch to fix big endian build failure.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoltp: Fix setrlimit03 call succeeded unexpectedly
He Zhe [Fri, 19 Apr 2019 08:59:23 +0000 (16:59 +0800)]
ltp: Fix setrlimit03 call succeeded unexpectedly

Backport a patch from upstream to fix the following error.
"setrlimit03.c:54: FAIL: call succeeded unexpectedly"

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcap: update to 2.27
Oleksandr Kravchuk [Mon, 22 Apr 2019 14:59:01 +0000 (16:59 +0200)]
libcap: update to 2.27

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopixman: update to 0.38.4
Oleksandr Kravchuk [Mon, 22 Apr 2019 14:35:46 +0000 (16:35 +0200)]
pixman: update to 0.38.4

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel.bbclass: convert base_do_unpack_append() to a task
Steven Hung (洪于玉) [Fri, 19 Apr 2019 07:31:58 +0000 (07:31 +0000)]
kernel.bbclass: convert base_do_unpack_append() to a task

<pre>
when&#32;externalsrc&#32;is&#32;enabled&#32;and&#32;the&#32;&#39;do_unpack&#39;&#32;task&#32;is&#32;deleted,
building&#32;kernel&#32;module&#32;fail

Signed-off-by:&#32;Steven&#32;Hung&#32;(&#27946;&#20110;&#29577;)&#32;&lt;Steven.Hung@mediatek.com&gt;
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovalgrind: update from 3.14.0 to 3.15.0
Randy MacLeod [Fri, 19 Apr 2019 19:01:39 +0000 (15:01 -0400)]
valgrind: update from 3.14.0 to 3.15.0

The SRC_URI moved.
Two local patches are now fixed upstream so remove them.

The glibc ptest results are essentially the same.

             3.14  3.15
TOTAL:        579   589
PASSED:       297   301
FAILED:       251   254
SKIPPED:       31    34
DURATION:    1312  1171

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemu: Add PACKAGECONFIG for snappy
Robert Joslyn [Sat, 20 Apr 2019 22:05:16 +0000 (15:05 -0700)]
qemu: Add PACKAGECONFIG for snappy

In addition to toggling libsnappy support, this allows a qemu-native
build to explicitly disable snappy support. When building qemu-native,
the configure script will detect libsnappy on the build machine and
improperly enable snappy support. This can corrupt the sstate cache if
the cache is populated with a qemu-native build with snappy improperly
enabled, and the cached qemu-native gets used on another build machine
that does not have libsnappy.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocups: update to 2.2.11
Oleksandr Kravchuk [Mon, 22 Apr 2019 15:13:17 +0000 (17:13 +0200)]
cups: update to 2.2.11

CUPS 2.2.11 is a bug fix release that addresses issues in the scheduler,
IPP Everywhere support, CUPS library, and USB printer support.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agou-boot: Fix missing Python.h build failure
Alistair Francis [Thu, 18 Apr 2019 04:35:51 +0000 (04:35 +0000)]
u-boot: Fix missing Python.h build failure

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agohelp2man-native: update to 1.47.10
Oleksandr Kravchuk [Tue, 23 Apr 2019 02:52:32 +0000 (04:52 +0200)]
help2man-native: update to 1.47.10

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoorc: update to 0.4.29
Oleksandr Kravchuk [Tue, 23 Apr 2019 02:37:26 +0000 (04:37 +0200)]
orc: update to 0.4.29

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolz4: update to 1.9.0
Oleksandr Kravchuk [Tue, 23 Apr 2019 02:22:17 +0000 (04:22 +0200)]
lz4: update to 1.9.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognupg: update to 2.2.15
Oleksandr Kravchuk [Tue, 23 Apr 2019 02:18:57 +0000 (04:18 +0200)]
gnupg: update to 2.2.15

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoquota: update to 4.05
Oleksandr Kravchuk [Tue, 23 Apr 2019 01:59:39 +0000 (03:59 +0200)]
quota: update to 4.05

License checksum from quota.c was removed since according to the
project, copyrighted code in question has been replaced with own
implementation (see @bcbc0d08e5cd).

Removed patches were upstreamed.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogit: update to 2.21.0
Oleksandr Kravchuk [Mon, 22 Apr 2019 21:42:04 +0000 (23:42 +0200)]
git: update to 2.21.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibpsl: update to 0.21.0
Oleksandr Kravchuk [Mon, 22 Apr 2019 22:57:35 +0000 (00:57 +0200)]
libpsl: update to 0.21.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcroco: update to 0.6.13
Oleksandr Kravchuk [Mon, 22 Apr 2019 22:54:38 +0000 (00:54 +0200)]
libcroco: update to 0.6.13

Removed patches were upstreamed.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibpng: update to 1.6.37
Oleksandr Kravchuk [Mon, 22 Apr 2019 22:45:15 +0000 (00:45 +0200)]
libpng: update to 1.6.37

Removed patch was upsteamed.

License checksums were changed due to modified copyright year and fixed
typo in LICENSE file (see @fef895aa28 and @8da8257d0b).

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibnotify: update to 0.7.8
Oleksandr Kravchuk [Mon, 22 Apr 2019 22:36:48 +0000 (00:36 +0200)]
libnotify: update to 0.7.8

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibinput: update to 1.13.1
Oleksandr Kravchuk [Mon, 22 Apr 2019 22:13:46 +0000 (00:13 +0200)]
libinput: update to 1.13.1

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdrm: update to 2.4.98
Oleksandr Kravchuk [Mon, 22 Apr 2019 22:06:15 +0000 (00:06 +0200)]
libdrm: update to 2.4.98

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc-sanitizers: fix -Werror=maybe-uninitialized issue
Mingli Yu [Mon, 22 Apr 2019 08:41:32 +0000 (16:41 +0800)]
gcc-sanitizers: fix -Werror=maybe-uninitialized issue

When DEBUG_BUILD = "1" added in local.conf, there
comes below build error when "bitbake gcc-sanitizers":
| ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink':
| ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|   return S_ISLNK (st.st_mode);

After commit[16643b0322 bitbake.conf: Use -Og in DEBUG_OPTIMIZATION]
introduced, "-Og" added to compiler when debug
build enabled.

Per https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00315.html,
the gcc upstream thinks the warning is a false
positive and suggests to use -O2 rather than -Og
or -O1 when compiling that file, so pass -Wno-error
to compiler when -Og is used to silence the error.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: change default locale from C.UTF-8 to C
Changqing Li [Tue, 16 Apr 2019 09:49:43 +0000 (17:49 +0800)]
systemd: change default locale from C.UTF-8 to C

current default locale is set to C.UTF-8, but glibc not support
locale C.UTF-8. so set to the default locale C.

[snip]
        if not meson.is_cross_build()
                choose_default_locale_sh = find_program('tools/choose-default-locale.sh')
                default_locale = run_command(choose_default_locale_sh).stdout().strip()
        else
                default_locale = 'C.UTF-8'
        endif

if default locale set to C.UTF-8, it will cause libpcre ptest fail:

  re> //8+L
** Failed to set locale ""

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocore-image-sato-sdk-ptest: Add temporary PROVIDES core-image-sato-ptest
Richard Purdie [Wed, 17 Apr 2019 16:03:42 +0000 (17:03 +0100)]
core-image-sato-sdk-ptest: Add temporary PROVIDES core-image-sato-ptest

Since we want to ultimately move this recipe to that name, add a PROVIDES
to allow things to work whilst we fix the bugs preventing the move. This
avoids having to keep changing the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocore-image-sato-sdk-ptest: Include more ptests in ptest image
Richard Purdie [Wed, 17 Apr 2019 13:21:03 +0000 (14:21 +0100)]
core-image-sato-sdk-ptest: Include more ptests in ptest image

There are recipes not included in core-image-sato-sdk which have ptests, include
these in our ptest test image using the new include file.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocore-image-sato-ptest-fast: Add 'fast' ptest execution image
Richard Purdie [Wed, 17 Apr 2019 13:18:03 +0000 (14:18 +0100)]
core-image-sato-ptest-fast: Add 'fast' ptest execution image

Create a common include file which lists recipes that have ptests divided
into 'fast' and 'slow' groups. This allows us to include ptests which otherwise
may not get included in images and allows us to test the faster running things
more regularly.

The new image allows access to these faster executing tests. 'fast' is defined
as tests which execute in under 30s roughly speaking.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoelfutils: fix build failure with musl
Mingli Yu [Tue, 16 Apr 2019 08:05:01 +0000 (16:05 +0800)]
elfutils: fix build failure with musl

Fix below build failure with musl when ptest
enabled.
| In file included from ../../elfutils-0.176/tests/dwfl-proc-attach.c:33:
| ../../elfutils-0.176/lib/system.h:63:35: error: called object 'err' is not a function or function pointer
|  #define error(status, errno, ...) err(status, __VA_ARGS__)
|                                    ^~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:92:5: note: in expansion of macro 'error'
|      error (-1, 0, "dwfl_linux_proc_attach pid %d: %s", pid,
|      ^~~~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:79:7: note: declared here
|    int err;
|        ^~~

The root cause is because the conflicts between
vairable and function name, so change the variable
name to workaround it.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoelfutils: add ptest support
Mingli Yu [Tue, 16 Apr 2019 08:05:00 +0000 (16:05 +0800)]
elfutils: add ptest support

Add testsuite-ignore-elflint.diff from debian
(http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz)
to fix below ptest failure:
 | ./run-strip-strmerge.sh: line 33: testrun_on_self_skip: command not found
 | FAIL: run-strip-strmerge.sh

Add check for gcc for two test cases such as
run-strip-nothing.sh and run-strip-g.sh which
depends on gcc at run time.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocore-image-sato-sdk-ptest: Try and keep image below 4GB limit
Richard Purdie [Mon, 15 Apr 2019 20:01:31 +0000 (21:01 +0100)]
core-image-sato-sdk-ptest: Try and keep image below 4GB limit

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibyaml: update SRC_URI[md5sum] and SRC_URI[sha256sum]
Yi Zhao [Mon, 15 Apr 2019 08:32:47 +0000 (16:32 +0800)]
libyaml: update SRC_URI[md5sum] and SRC_URI[sha256sum]

Upstream appear to have regenerated the tarball, the new one is the same except the
directory name changed from libyaml to yaml. Adapt to this.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython-numpy: update to 1.16.2
Alexander Kanavin [Mon, 15 Apr 2019 10:54:57 +0000 (12:54 +0200)]
python-numpy: update to 1.16.2

Drop files/fix_shebang_f2py.patch as the code has been removed upstream.

License-update: copyright years, file paths.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython: update to 3.7.3
Alexander Kanavin [Mon, 15 Apr 2019 10:54:55 +0000 (12:54 +0200)]
python: update to 3.7.3

License-update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>