]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agovalgrind: make a few more ptests pass
Randy MacLeod [Tue, 10 Sep 2019 21:41:34 +0000 (17:41 -0400)]
valgrind: make a few more ptests pass

Adjust two memcheck vgtest files to deal with relative paths
that are in test executables when cross-compiling.
Add libgomp to enable OpenMP tests.
Add the bz2 executable for memcheck/tests/vcpu_bz2.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agovalgrind: enable ~500 more ptests
Randy MacLeod [Tue, 10 Sep 2019 21:41:33 +0000 (17:41 -0400)]
valgrind: enable ~500 more ptests

Add valgrind's top level config.h to the ptest package since
it is used by several scripts to determine which tests to run.

Drop the removal of:
   none/tests/shell,
the content was already moved to:
   none/tests/scripts/shell
so the filter useless and the files no longer cause a problem.

Add a few more test directories that had been omitted.
Add perf/bigcode for test: none/tests/bigcode

Leave .c, .h, .S files in the ptest image since several of them are
needed to run the tests. The overhead is ~13 MB which is high but
keeping all test code is easier than figuring out which source files
are needed and the entire valgrind-ptest package is ~115 MB so in
this context it's an acceptable trade-off.

Add bash dependency for ptest for none/tests/scripts/shell

With core-image-minimal on qemux86-64/kvm:
Recipe         | Passed      | Failed   | Skipped   | Time(s)
before         | 149         | 1        | 9         | 663
after          | 648         | 12       | 60        | 1541

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoqemu: Security Advisory - qemu - CVE-2019-15890
Li Zhou [Wed, 11 Sep 2019 06:02:53 +0000 (14:02 +0800)]
qemu: Security Advisory - qemu - CVE-2019-15890

Backporting patch from
https://gitlab.freedesktop.org/slirp/libslirp/commit/c5927943
to solve CVE-2019-15890.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogdb: Mark gdbserver as ALLOW_EMPTY for riscv32
Alistair Francis [Wed, 11 Sep 2019 17:22:56 +0000 (10:22 -0700)]
gdb: Mark gdbserver as ALLOW_EMPTY for riscv32

riscv64 already has gdbserver set as ALLOW_EMPTY, so let's set it for
riscv32 as well.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibsoup:enable libsoup build as native package
Jiang Lu [Thu, 12 Sep 2019 09:08:21 +0000 (05:08 -0400)]
libsoup:enable libsoup build as native package

Enable libsoup build as a native package, for it may invoked by
other native package, such as ostree.

Signed-off-by: Jiang Lu <lu.jiang@windriver.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoglib-networking:enable glib-networking build as native package
Jiang Lu [Thu, 12 Sep 2019 09:08:20 +0000 (05:08 -0400)]
glib-networking:enable glib-networking build as native package

Enable glib-networking build as a native package, for it is depended
by libsoup.

Signed-off-by: Jiang Lu <lu.jiang@windriver.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agognupg: Extend -native wrapper to fix gpgme-native's gpgconf problems
Jason Wessel [Wed, 11 Sep 2019 18:32:04 +0000 (11:32 -0700)]
gnupg: Extend -native wrapper to fix gpgme-native's gpgconf problems

The gpg commit signing in ostree-native doesn't work properly when
running from sstate.  The ostree-native is linked with gpgme-native's
libraries, which have calls into gpg.

Ultimately it turned out the problem was that gpgme calls gpgconf and
some of the other gnupg-native binaries directly.  Not all the
binaries have a wrapper which sets the environment variable GNUPG_BIN.
Without this wrapper these binaries it gets the path assignment from
the original compilation which causes a fault when running from sstate
in a new tmp directory because these paths will not exist.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agonfs-utils: fix nfs mount error on 32bit nfs server
Yi Zhao [Thu, 12 Sep 2019 03:28:24 +0000 (11:28 +0800)]
nfs-utils: fix nfs mount error on 32bit nfs server

There is a client side error "Stale file handle" when mounting from a
nfs server running on 32bit arch.

Steps to reproduce:
1. $ MACHINE=qemux86 bitbake core-image-sato
2. $ runqemu qemux86 kvm nographic qemuparams="-m 1024"
3. $ echo "/nfs_root *(insecure,rw,async,no_root_squash,no_subtree_check)" \
     >> /etc/exports
   $ /etc/init.d/nfsserver restart

  root@qemux86:~# mount -t nfs 127.0.0.1:/nfs_root /mnt
  mount: mounting 127.0.0.1:/nfs_root on /mnt failed: Stale file handle

Backport a patch to fix this issue.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agotimezone:upgrade 2019b -> 2019c
Zang Ruochen [Thu, 12 Sep 2019 06:52:21 +0000 (14:52 +0800)]
timezone:upgrade 2019b -> 2019c

-tzdata : upgrade from 2019b to 2019c.

-tzcode-native : upgrade from 2019b to 2019c.

-tzdata.bb and tzcode-native.bb require timezone.inc.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomesa: no need to depend on target python3
Ross Burton [Wed, 11 Sep 2019 12:31:50 +0000 (13:31 +0100)]
mesa: no need to depend on target python3

5 years agopython3: handle STAGING_LIBDIR/INCDIR being unset
Ross Burton [Wed, 11 Sep 2019 12:30:51 +0000 (13:30 +0100)]
python3: handle STAGING_LIBDIR/INCDIR being unset

5 years agosystemd: provides ${base_sbindir}/udevadm
Kai Kang [Tue, 10 Sep 2019 03:26:34 +0000 (23:26 -0400)]
systemd: provides ${base_sbindir}/udevadm

In some udev rules files such as 97-hid2hci.rules from bluez5, it calls
/sbin/udevadm in a rule. eudev provides /usr/bin/udevadm and
/sbin/udevadm which is a link to /usr/bin/udevadm. But systemd only
provides /bin/udevadm. It is not convenient to update the rule file that
udevadm reside in different directories for eudev and system.

So create link file ${base_sbindir}/udevadm in systemd just the same as
eudev to fix such kind of issues.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython-numpy: fix build for libn32
Chen Qi [Tue, 10 Sep 2019 11:00:08 +0000 (19:00 +0800)]
python-numpy: fix build for libn32

Fix do_compile failure for libn32. To reproduce, use the following config.

  MACHINE = "qemumips64"
  require conf/multilib.conf
  MULTILIB_GLOBAL_VARIANTS_append = " libn32"
  MULTILIBS ?= "multilib:lib32 multilib:libn32"
  DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
  DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"

The error message is as following.

  numpy/core/include/numpy/npy_common.h:206:10: error: #error Unsupported size for type off_t

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoghostscript: CVE-2019-14811, CVE-2019-14817
Stefan Ghinea [Tue, 10 Sep 2019 06:34:12 +0000 (09:34 +0300)]
ghostscript: CVE-2019-14811, CVE-2019-14817

A flaw was found in, ghostscript versions prior to 9.28,
in the .pdf_hook_DSC_Creator procedure where it did not
properly secure its privileged calls, enabling scripts to
bypass `-dSAFER` restrictions. A specially crafted PostScript
file could disable security protection and then have access
to the file system, or execute arbitrary commands.

A flaw was found in, ghostscript versions prior to 9.28,
in the .pdfexectoken and other procedures where it did not
properly secure its privileged calls, enabling scripts to
bypass `-dSAFER` restrictions. A specially crafted PostScript
file could disable security protection and then have access
to the file system, or execute arbitrary commands.

References:
https://nvd.nist.gov/vuln/detail/CVE-2019-14811
https://nvd.nist.gov/vuln/detail/CVE-2019-14817

Upstream patches:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=885444fcbe10dc42787ecb76686c8ee4dd33bf33
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=cd1b1cacadac2479e291efe611979bdc1b3bdb19

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomesa: Upgrade 19.1.1 -> 19.1.6
Otavio Salvador [Mon, 9 Sep 2019 14:51:47 +0000 (11:51 -0300)]
mesa: Upgrade 19.1.1 -> 19.1.6

  - Add python3 to DEPENDS: mesa commit cb3072488c changed function
    that verifies python installation and to this new function works
    we need to have Python3 in DEPENDS.

This is a bugfix only set of releases. Check following links for the
relevant release notes:

  - https://www.mesa3d.org/relnotes/19.1.2.html
  - https://www.mesa3d.org/relnotes/19.1.3.html
  - https://www.mesa3d.org/relnotes/19.1.4.html
  - https://www.mesa3d.org/relnotes/19.1.5.html
  - https://www.mesa3d.org/relnotes/19.1.6.html

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer1.0-libav: enable gtk-doc again
Ross Burton [Mon, 9 Sep 2019 15:32:10 +0000 (16:32 +0100)]
gstreamer1.0-libav: enable gtk-doc again

Remove the broken piece of the API documentation template so the documentation
can be generated again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooe-git-proxy: fix dash "Bad substitution"
Henning Schild [Tue, 3 Sep 2019 13:43:50 +0000 (15:43 +0200)]
oe-git-proxy: fix dash "Bad substitution"

The script claims it works with dash, make sure that is actually the
case.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooe-git-proxy: NO_PROXY suffix matching without wildcard for match_host
Henning Schild [Tue, 3 Sep 2019 13:43:49 +0000 (15:43 +0200)]
oe-git-proxy: NO_PROXY suffix matching without wildcard for match_host

NO_PROXY can also contain just suffixes that do not start with a "*". We
failed to match those so far. Just add an extra "*" to also match those
suffixes. If one was there we get "**" which does not hurt.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooe-git-proxy: disable shell pathname expansion for the whole script
Henning Schild [Tue, 3 Sep 2019 13:43:48 +0000 (15:43 +0200)]
oe-git-proxy: disable shell pathname expansion for the whole script

This truly fixes the issue that cbc148d5d93d5f3531434fee7b234a16196b3088
wanted to solve, without breaking the iteration over multiple entries.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoRevert "oe-git-proxy: Avoid resolving NO_PROXY against local files"
Henning Schild [Tue, 3 Sep 2019 13:43:47 +0000 (15:43 +0200)]
Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files"

This reverts commit cbc148d5d93d5f3531434fee7b234a16196b3088.

The quoting causes H to be one string with spaces, so looping over
multiple entries does not work anymore.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooeqa: add case for oe-git-proxy
Henning Schild [Tue, 3 Sep 2019 13:43:46 +0000 (15:43 +0200)]
oeqa: add case for oe-git-proxy

The escaping, splitting and matching of NO_PROXY in oe-git-proxy
deserves its own testcase, add it.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooe-git-proxy: allow setting SOCAT from outside
Henning Schild [Tue, 3 Sep 2019 13:43:45 +0000 (15:43 +0200)]
oe-git-proxy: allow setting SOCAT from outside

This allows to write selftests where we can mock the real socat.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibtasn1: fix build with api-documentation enabled
Ross Burton [Mon, 9 Sep 2019 12:23:01 +0000 (13:23 +0100)]
libtasn1: fix build with api-documentation enabled

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoelfutils: Fix build on ppc/musl
Khem Raj [Sun, 8 Sep 2019 23:23:31 +0000 (16:23 -0700)]
elfutils: Fix build on ppc/musl

musl relies on the pt_regs definitions from kernel ptrace headers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobtrfs-tools:upgrade 5.2.1 -> 5.2.2
Zang Ruochen [Mon, 9 Sep 2019 05:32:00 +0000 (13:32 +0800)]
btrfs-tools:upgrade 5.2.1 -> 5.2.2

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoptrace: Drop ptrace aid for musl/ppc
Khem Raj [Mon, 9 Sep 2019 02:33:26 +0000 (19:33 -0700)]
ptrace: Drop ptrace aid for musl/ppc

This has been fixed and is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoelfutils: 0.176 -> 0.177
Hongxu Jia [Fri, 23 Aug 2019 03:02:10 +0000 (11:02 +0800)]
elfutils: 0.176 -> 0.177

- Update Debian patches
  http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz

- Rebase Debian patches to 0.177
  debian/hppa_backend.diff
  debian/mips_backend.diff
  debian/arm_backend.diff
  debian/mips_readelf_w.patch
  debian/testsuite-ignore-elflint.diff
  debian/mips_cfi.patch

- Fix build failure while applying debian patches
  0001-fix-compile-failure-with-debian-patches.patch

- Rebase musl patches

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoscreen: add /etc/screenrc as global config file
Yi Zhao [Fri, 16 Aug 2019 08:56:21 +0000 (16:56 +0800)]
screen: add /etc/screenrc as global config file

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoiw: upgrade to 5.3
Changhyeok Bae [Fri, 23 Aug 2019 20:38:23 +0000 (22:38 +0200)]
iw: upgrade to 5.3

Separated build dir doesn't work because Makefile points out source dir.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooeqa/selftest: Rework toolchain tests to use OEPTestResultTestCase
Nathan Rossi [Wed, 11 Sep 2019 14:13:07 +0000 (14:13 +0000)]
oeqa/selftest: Rework toolchain tests to use OEPTestResultTestCase

Use OEPTestResultTestCase to collect results and add logfile collection
and compression.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core/case.py: Add OEPTestResultTestCase for ptestresult helpers
Nathan Rossi [Wed, 11 Sep 2019 14:13:07 +0000 (14:13 +0000)]
oeqa/core/case.py: Add OEPTestResultTestCase for ptestresult helpers

Add the OEPTestResultTestCase class as a mix-in class to provide helper
functions for interacting with ptestresults within the extraresults
object generated by the test case.

This class also provides default compression of log text and log files.

Also add support to resulttool for decoding/decompressing log files
embedded in the test results.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-cross.inc: Process binaries in build dir to be relocatable
Nathan Rossi [Wed, 11 Sep 2019 14:13:07 +0000 (14:13 +0000)]
gcc-cross.inc: Process binaries in build dir to be relocatable

Process binaries within the build directory before stashing to be
relocatable with ORIGIN relative rpaths. This corrects issues with
rpaths being invalid when trying to use the binaries from an unstashed
build directory (e.g. gcc-runtime).

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool: Handle multiple series containing ptestresults
Nathan Rossi [Wed, 11 Sep 2019 14:13:07 +0000 (14:13 +0000)]
resulttool: Handle multiple series containing ptestresults

Handle multiple results series having ptestresults content. The contents
are merged on a per-result basis where duplicates are ignored (with a
warning message printed). The 'ptestresults.sections' collection is also
merged on a per-suite basis.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibevent: don't treat test stats line as pass/fail in ptest
Trevor Gamblin [Tue, 10 Sep 2019 11:56:17 +0000 (07:56 -0400)]
libevent: don't treat test stats line as pass/fail in ptest

Supplemental to commit fb17b46e2. The libevent "regress" test
outputs its own pass/fail results, e.g.
"2/300 TESTS FAILED. (31 skipped)", which will be miscounted
as an extra test fail in the ptest log. Fixed this to ignore
the libevent results line when counting actual pass/fail
results.

Also removed the for loop in run-ptest and targeted only the
libevent "regress" test, as the other tests being run were
related to performance and did not provide a relevant pass/fail
output.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agochrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks
Nathan Rossi [Tue, 10 Sep 2019 12:40:59 +0000 (12:40 +0000)]
chrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks

Add the break_hardlinks kwarg to break hardlinks when modifying files.
This uses the bb.utils.break_hardlinks function to break hardlinks. The
default is to maintain existing behaviour and leave hardlinks in place.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/context.py: For -t/-T use append argparse action
Nathan Rossi [Tue, 10 Sep 2019 12:40:59 +0000 (12:40 +0000)]
oeqa/selftest/context.py: For -t/-T use append argparse action

Use the 'append' action of argparse instead of nargs. This changes the
behaviour of the option from "-t foo bar -r" to "-t foo -t bar -r".

Additionally rename the long form options to be consistent with
behaviour, such that they specifying a single tag at a time.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Tweak binutils tests tags as toolchain/user and system
Richard Purdie [Sat, 7 Sep 2019 13:10:45 +0000 (14:10 +0100)]
oeqa/selftest: Tweak binutils tests tags as toolchain/user and system

This matches the other toolchain tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/cases/glibc.py: Rework and tag with toolchain-user/system
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)]
oeqa/selftest/cases/glibc.py: Rework and tag with toolchain-user/system

Rework the glibc execution into a common base class. Additionally tag
the tests with "toolchain-user" and "toolchain-system".

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/cases/gcc.py: Split into classes for parallelism
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)]
oeqa/selftest/cases/gcc.py: Split into classes for parallelism

Split the gcc selftest cases into multiple classes one for each test.
This is done in order to make it easy to execute multiple gcc tests in
parallel when using oe-selftest with the '-j' arg.

Additionally tag the user tests with "toolchain-user" and the system
emulation (qemu system) tests with "toolchain-system".

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core/decorator: Fix super class modifying subclass tags
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)]
oeqa/core/decorator: Fix super class modifying subclass tags

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/context.py: Change -t/-T args to be optional
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)]
oeqa/selftest/context.py: Change -t/-T args to be optional

Change the -t/-T args to be optional so that they can be used together
with the existing -r/-a/... args to run a more flexible filtering of
test tags.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Use extraresults on self instead of self.tc
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)]
oeqa/selftest: Use extraresults on self instead of self.tc

In order to take advantage of multiprocess execution of tests the
extraresults must be passed through the TestResult. With changes to how
oeqa/core handles test cases the extraresults attribute of the testcase
is passed to the TestResult, with passing across process boundaries
handled automatically.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Toolchain tests suffix "-user" for qemu usermode results
Nathan Rossi [Wed, 4 Sep 2019 14:23:23 +0000 (14:23 +0000)]
oeqa/selftest: Toolchain tests suffix "-user" for qemu usermode results

Suffix the ptestresults suite with "-user" for tests that are executing
against usermode qemu.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: For toolchain tests do not fail if a test failed
Nathan Rossi [Wed, 4 Sep 2019 14:23:23 +0000 (14:23 +0000)]
oeqa/selftest: For toolchain tests do not fail if a test failed

Do not fail the running selftest test case if the test suite has a
failed test case. Currently toolchain tests suites (binutils, gcc,
glibc) fail but this does not indicate failure to execute the tests.

Also remove the logging of each test that failed.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/cases/glibc.py: Don't install python3 and pexpect
Nathan Rossi [Wed, 4 Sep 2019 14:23:23 +0000 (14:23 +0000)]
oeqa/selftest/cases/glibc.py: Don't install python3 and pexpect

When running the system emulation test case, do not include python3 or
pexpect in the image. The test cases that use these also need gdb (with
python configured).

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/glibc: Create selftest case for glibc test suite
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)]
oeqa/selftest/glibc: Create selftest case for glibc test suite

Create a oeqa selftest test case to execute the glibc test suite and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.

An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GlibcSelfTestSystemEmulated test case
handles setup of the target image, setup of and NFS server as well as
execution with runqemu.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/gcc: Create selftest case for gcc test suite
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)]
oeqa/selftest/gcc: Create selftest case for gcc test suite

Create a oeqa selftest test case to execute the gcc test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.

An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GccSelfTestSystemEmulated test case
handles setup of the target image as well as execution with runqemu.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/binutils: Create selftest case for binutils test suite
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)]
oeqa/selftest/binutils: Create selftest case for binutils test suite

Create a oeqa selftest test case to execute the binutils test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Markup 'machine' specific test cases
Richard Purdie [Tue, 3 Sep 2019 21:25:40 +0000 (22:25 +0100)]
oeqa/selftest: Markup 'machine' specific test cases

These test cases are run by the autobuilder on a machine specific basis.
Add tags to these classes so they can be controlled by the metadata rather
than hardcoded in the autobuilder config.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core/runner.py: Fix OETestTag listing
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)]
oeqa/core/runner.py: Fix OETestTag listing

Use the __oeqa_testtags attribute added by OETestTag and display no, one
or more tags separated by a comma. Also change the formatting of the
output so that the list of tests is formatted as "<test> (<tags>)" and
remove the table header for "id" (it is no longer available).

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Add test run filtering based on test tags
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)]
oeqa/selftest: Add test run filtering based on test tags

Add '--run-only-tags' for running tests which match any of the provided
tags, and '--run-exclude-tags' for running all tests except those that
have any of the provided tags.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core: Rework OETestTag and remove unused OETestFilter
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)]
oeqa/core: Rework OETestTag and remove unused OETestFilter

Rework OETestTag so that it does not rely on the existing decorator code
base and instead inserts the tags into an attribute on the decorated
target (e.g. class/type or method). This allows the use of OETestTag on
classes and method.

In order to filter tagged tests rework the loaders filtering code,
removing the generic-ness (with validation and attributes/etc.) and
replace it with a "tags_filter" parameter which is a function that
filters a test based on the tags it has. This allows the loader user to
filter on tags in more specific ways (e.g. include all untagged tests
and any tests tagged with foo). Plumb all this through the context code
and testing code.

Update the associated tests to pass correctly with the changes.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core: Implement proper extra result collection and serialization
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)]
oeqa/core: Implement proper extra result collection and serialization

Implement handling of extra result (e.g. ptestresult) collection with
the addition of a "extraresults" extraction function in OETestResult. In
order to be able to serialize and deserialize the extraresults data,
allow OETestResult add* calls to take a details kwarg. The subunit
module can handle cross-process transfer of binary data for the details
kwarg. With a TestResult proxy class to sit inbetween to encode and
decode to and from json.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-manifest.json: Fix typo in summary
Khem Raj [Sat, 7 Sep 2019 18:30:22 +0000 (11:30 -0700)]
python3-manifest.json: Fix typo in summary

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto: drop 5.0 recipes
Bruce Ashfield [Fri, 6 Sep 2019 17:12:33 +0000 (13:12 -0400)]
linux-yocto: drop 5.0 recipes

The 5.2 reference kernels replace the EOL 5.0 series. So we drop
the named recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibevent: add granularity to ptest log
Trevor Gamblin [Fri, 6 Sep 2019 18:51:59 +0000 (14:51 -0400)]
libevent: add granularity to ptest log

The libevent ptest used to report only a global pass or a fail result.
Count individual PASS, FAIL, SKIP results. The SKIP results now
include tests that are disabled in the libevent code.

libevent's ptest output did not comply with the automake-style output
"result: testname", and reported a FAIL status at the end of the test
run if any of the libevent tests failed. This patch makes the log
consistent with the automake style:

    PASS: http/cancel_by_host_no_ns
    PASS: http/cancel_inactive_server
    PASS: http/cancel_by_host_no_ns_inactive_server
    SKIPPED: http/cancel_by_host_server_timeout
    SKIPPED: http/cancel_server_timeout

and provides a summary as follows:

    === Test Summary ===
    TOTAL: 316
    PASSED: 300
    FAILED: 0
    SKIPPED: 16
    DURATION: 87
    END: /usr/lib/libevent/ptest

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodiffutils: Added perl to support ptest & Skipped one test case
Peiran Hong [Fri, 6 Sep 2019 20:44:19 +0000 (16:44 -0400)]
diffutils: Added perl to support ptest & Skipped one test case

Added perl to the run-time dependency of the recipe for diffutils since
it is required by the test "large-subpot".
The test "strip-trailing-cr" is skipped since it requires valgrind to
work, but valgrind is considered too heavy-weight for diffutils package.

Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: Recognise svlogd as another logger
Khem Raj [Fri, 6 Sep 2019 20:25:51 +0000 (13:25 -0700)]
oeqa: Recognise svlogd as another logger

This is provided by runit which another init system like systemd,
sysvinit, this lets oeqa run on systems which are using runit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxcrypt: update to 4.4.8
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:38:01 +0000 (17:38 +0200)]
libxcrypt: update to 4.4.8

LICENSE file checksum changed because few contributors were mentioned
(see @edbdbbc50beced9c723e7405334583c60a702796).

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodropbear: don't create invalid symlinks if ssh, scp, etc are disabled
Andre McCurdy [Fri, 23 Aug 2019 20:51:42 +0000 (13:51 -0700)]
dropbear: don't create invalid symlinks if ssh, scp, etc are disabled

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofeature-arm-thumb.inc: fix ARM_THUMB_SUFFIX
Andre McCurdy [Fri, 23 Aug 2019 20:51:36 +0000 (13:51 -0700)]
feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX

Since TUNE_FEATURES now either contains a CPU or an architecture (but
not both) we can't rely on finding the architecture in TUNE_FEATURES.
Use architecture specific over-rides instead.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiputils: Set prefix correctly for usrmerge
Alex Kiernan [Wed, 4 Sep 2019 07:43:44 +0000 (08:43 +0100)]
iputils: Set prefix correctly for usrmerge

Fix build with usrmerge enabled:

  WARNING: iputils-s20190709-r0 do_package: iputils: alternative target (/usr/bin/ping or /usr/bin/ping.iputils) does not exist, skipping...
  WARNING: iputils-s20190709-r0 do_package: iputils: NOT adding alternative provide /usr/bin/ping: /usr/bin/ping.iputils does not exist
  ERROR: iputils-s20190709-r0 do_package: QA Issue: iputils: Files/directories were installed but not shipped in any package:
    /bin/tftpd
    /bin/tracepath
    /bin/arping
    /bin/clockdiff
    /bin/ping
    /bin/traceroute6
    /sbin/rarpd
    /sbin/ninfod
    /sbin/rdisc
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  iputils: 9 installed and not shipped files. [installed-vs-shipped]
  WARNING: iputils-s20190709-r0 do_package: iputils: alt_link == alt_target: /usr/bin/ping == /usr/bin/ping

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-db: support usrmerge
Changqing Li [Mon, 2 Sep 2019 09:42:19 +0000 (17:42 +0800)]
man-db: support usrmerge

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodnf.py: installroot support usrmerge
Changqing Li [Tue, 3 Sep 2019 04:46:36 +0000 (12:46 +0800)]
dnf.py: installroot support usrmerge

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: 12.1.3 -> 12.1.6
Kai Kang [Wed, 4 Sep 2019 09:35:55 +0000 (05:35 -0400)]
sysstat: 12.1.3 -> 12.1.6

Update sysstat from 12.1.3 to 12.1.6.

* make sa_lib_dir refer to ${libexecdir}/sa to fix conflictions when
  multilib is enabled

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotexinfo: fix multilib file confliction
Kai Kang [Wed, 4 Sep 2019 09:35:54 +0000 (05:35 -0400)]
texinfo: fix multilib file confliction

Inherit multilib_script to fix file confliction when mutlilib enabled.

| Error: Transaction check error:
|   file /usr/bin/texi2any conflicts between attempted installs of
    lib32-texinfo-6.5-r0.core2_32 and texinfo-6.5-r0.core2_64

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocups: redefine CUPS_SERVERBIN
Kai Kang [Wed, 4 Sep 2019 09:35:53 +0000 (05:35 -0400)]
cups: redefine CUPS_SERVERBIN

Redefine CUPS_SERVERBIN to "$libexecdir/cups" for cups which solves file
confliction when multilib is enabled.

| Error: Transaction check error:
|   file /lib/systemd/system/org.cups.cups-lpd@.service conflicts between
    attempted installs of cups-2.2.11-r0.core2_64 and lib32-cups-2.2.11-r0.core2_32

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3native, pythonnative: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR
Khem Raj [Thu, 5 Sep 2019 00:22:11 +0000 (17:22 -0700)]
python3native, pythonnative: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR

packages can use

find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)

while we control PYTHON pointing to native py3 the libs and include
directories will then point to build host version, which can result in
unexpected combination and if we are lucky we get errors if its quite
different e.g. py2 libs/includes and py3 executable

This variable can be then used to export PYTHON_LIBRARY and
PYTHON_INCLUDE_DIR so that above find_packages can work correctly

see [1] for how it happens in cmake

LLDB uses it see [2]

[1] https://github.com/Kitware/CMake/blob/master/Modules/FindPythonLibs.cmake
[2] https://github.com/llvm/llvm-project/blob/master/lldb/cmake/modules/LLDBConfig.cmake#L226

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: make misc package rdepend on pydoc and pickle modules
Chen Qi [Thu, 5 Sep 2019 01:54:58 +0000 (09:54 +0800)]
python3: make misc package rdepend on pydoc and pickle modules

The cgitb module in misc package requires pydoc. And the trace
module in misc package requires pickle.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomdadm: skip timeout testcase 11spare-migration
Changqing Li [Fri, 6 Sep 2019 03:37:39 +0000 (11:37 +0800)]
mdadm: skip timeout testcase 11spare-migration

[YOCTO #13368]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobootchart2: switch to add patch from change source in do_install
Changqing Li [Fri, 6 Sep 2019 03:37:26 +0000 (11:37 +0800)]
bootchart2: switch to add patch from change source in do_install

it is not proper change source in do_install, it will make
source not updated even local.conf have change the DISTRO_FEATURES

[YOCTO #13493]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRevert "kernel.bbclass: adjust a condition checking"
Jason Wessel [Tue, 20 Aug 2019 13:06:47 +0000 (06:06 -0700)]
Revert "kernel.bbclass: adjust a condition checking"

This reverts commit 6676411fccff2d331878e4ca1f9411aafb056a80.

This revert restores the original code and adds a comment.  The commit
that was reverted broke a number of wic templates and tools which rely
on the initramfs creation dependency and the case where the
INITRAMFS_IMAGE_BUNDLE is not set.

If an end user does not want the INITRAMFS_IMAGE generated, it should
be set to "".

[ Issue: LIN1019-1791 ]

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson:upgrade 0.51.1 -> 0.51.2
Zang Ruochen [Fri, 6 Sep 2019 02:03:46 +0000 (10:03 +0800)]
meson:upgrade 0.51.1 -> 0.51.2

-meson/0001-Fix-missing-return-statements-that-are-seen-with-Wer.patch
Removed since this is included in 0.51.2.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoweston: uprev to 7.0.0
Ming Liu [Fri, 6 Sep 2019 03:35:20 +0000 (11:35 +0800)]
weston: uprev to 7.0.0

- Adjust patches to comply with weston-7.0.0.
- Also drop the obsolete patch 0001-make-error-portable.patch.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd: ensure reproducible builds by clearly exposing the time epoch support
Ross Burton [Thu, 5 Sep 2019 22:49:59 +0000 (23:49 +0100)]
systemd: ensure reproducible builds by clearly exposing the time epoch support

systemd has the ability to check the time on boot and if it's earlier than an
epoch determined at build time, set the time to that epoch.  This is useful for
systems where the system time is January 1st 1970 (because the unix timestamp
was 0 at boot) as then at least the time is reset to something approximating the
right year at least.

By default systemd uses the mtime of the NEWS file, which is static for tarballs
and corresponds to the time the release was made, but for git checkouts this is
simply the time do_unpack() was executed.  Thus, rebuilding systemd will cause
this embedded timestamp to change.

Remove the PACKAGECONFIG time-epoch which has the logic reversed: enabling
time-epoch will set the epoch to the unix timestamp 0).  Replace with
set-time-epoch with the following semantics:

- When disabled, the time epoch is set to 0 (1st January 1970), so there is no
  time manipulation on boot.

- When enabled, if reproducible builds are configured by setting
  SOURCE_DATE_EPOCH then that timestamp is used for the time epoch.  If
  reproducible builds are not configured then the timestamp of NEWS (thus the
  build time) is used.

The set-time-epoch flag is enabled by default.

[ YOCTO #13473 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython3-git: update to 3.0.2
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:51:53 +0000 (17:51 +0200)]
python3-git: update to 3.0.2

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython3-pbr: update to 5.4.3
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:51:52 +0000 (17:51 +0200)]
python3-pbr: update to 5.4.3

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoresulttool: Add reproducible log extraction
Joshua Watt [Thu, 5 Sep 2019 13:54:44 +0000 (08:54 -0500)]
resulttool: Add reproducible log extraction

Adds an argument to the log subcommand to extract the raw logs from the
reproducible selftest.

To prevent ambiguity, the "--raw" argument has been renamed
"--raw-ptest", although the old "--raw" argument is kept around for
compatibility.

[YOCTO #13324]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibsecret: 0.19.0
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:32:18 +0000 (17:32 +0200)]
libsecret: 0.19.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoautotools: always include config_site.d files in CONFIG_SITE
Dan Callaghan [Mon, 5 Aug 2019 01:13:53 +0000 (11:13 +1000)]
autotools: always include config_site.d files in CONFIG_SITE

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13375
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython3-dbus:upgrade 1.2.8 -> 1.2.10
Zang Ruochen [Thu, 5 Sep 2019 07:41:26 +0000 (15:41 +0800)]
python3-dbus:upgrade 1.2.8 -> 1.2.10

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopackage.bbclass: allow shell-style wildcards in PRIVATE_LIBS
Alexander Kanavin [Tue, 3 Sep 2019 16:32:41 +0000 (18:32 +0200)]
package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

PRIVATE_LIBS is used to exclude 'private' libraries from getting added to
automatic runtime dependency resolution. This variable currently has to list
all libraries by name, which becomes a maintenance issue if the list
of such libraries frequently changes, or is very large.

This change allows using shell-style wildcards in the variable, similar
to how FILES lists what gets packaged.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibjpeg-turbo: upgrade 2.0.2 -> 2.0.3
Anuj Mittal [Thu, 5 Sep 2019 07:51:53 +0000 (15:51 +0800)]
libjpeg-turbo: upgrade 2.0.2 -> 2.0.3

Bug fix release. Release notes:

https://github.com/libjpeg-turbo/libjpeg-turbo/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodtc:upgrade 1.5.0 -> 1.5.1
Zang Ruochen [Thu, 5 Sep 2019 06:17:05 +0000 (14:17 +0800)]
dtc:upgrade 1.5.0 -> 1.5.1

-License-Update:
-file://GPL : Updated mailing address.
-file://libfdt/libfdt.h : Removed part of the copyright description of this file.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibogg:upgrade 1.3.3 -> 1.3.4
Zang Ruochen [Thu, 5 Sep 2019 05:53:26 +0000 (13:53 +0800)]
libogg:upgrade 1.3.3 -> 1.3.4

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogcc-9.2: Fix risc-v dynamic linker relocation
Khem Raj [Thu, 5 Sep 2019 01:29:58 +0000 (18:29 -0700)]
gcc-9.2: Fix risc-v dynamic linker relocation

Accidentally dropped in 9.2 update

Reported-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoharfbuzz: upgrade to 2.6.1
Ross Burton [Wed, 4 Sep 2019 17:10:49 +0000 (18:10 +0100)]
harfbuzz: upgrade to 2.6.1

Add a (disabled) PACKAGECONFIG for Graphite2.

Update the license checksum for hb-ucd.cc, which for some reason was
checksumming the entire file and not just the license header.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopango: add PACKAGECONFIG for libthai support
Ross Burton [Wed, 4 Sep 2019 15:11:08 +0000 (16:11 +0100)]
pango: add PACKAGECONFIG for libthai support

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopango: 1.44.6 upgrade
Ross Burton [Wed, 4 Sep 2019 13:49:46 +0000 (14:49 +0100)]
pango: 1.44.6 upgrade

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agorunqemu: Fix typo in help text.
Drew Moseley [Tue, 3 Sep 2019 21:21:25 +0000 (17:21 -0400)]
runqemu: Fix typo in help text.

Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomusl: Update to latest master
Khem Raj [Tue, 3 Sep 2019 22:59:32 +0000 (15:59 -0700)]
musl: Update to latest master

sys/user.h related API fixed on ppc/ppc64

Detailed log [1]

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=29e8737f81ccc9fbadcf61a75318aa3d0516aafa..6ad514e4e278f0c3b18eb2db1d45638c9af1c07f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolib/oe/gpg_sign.py: Remove unwanted import
Vijai Kumar K [Wed, 4 Sep 2019 10:01:42 +0000 (15:31 +0530)]
lib/oe/gpg_sign.py: Remove unwanted import

Remove unwanted import of oe.utils.

Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogzip: add nativesdk support
Denys Zagorui [Wed, 4 Sep 2019 10:41:48 +0000 (10:41 +0000)]
gzip: add nativesdk support

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopatch: add CVE tags to patches
Ross Burton [Tue, 3 Sep 2019 15:59:05 +0000 (16:59 +0100)]
patch: add CVE tags to patches

These patches improve CVE fixes but trip up patch status sanity checks, so add
CVE tags to them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoqemu: Fix dependency of PACKAGECONFIG libcurl
He Zhe [Thu, 29 Aug 2019 13:15:50 +0000 (21:15 +0800)]
qemu: Fix dependency of PACKAGECONFIG libcurl

When PACKAGECONFIG libcurl is enabled, we would get the following build failure.
ERROR: Nothing PROVIDES 'libcurl' (but perf.bb DEPENDS on or otherwise requires it). Close matches:

The dependency should be curl.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoqemu: Add pkg-config handling for libgcrypt
He Zhe [Thu, 29 Aug 2019 13:15:49 +0000 (21:15 +0800)]
qemu: Add pkg-config handling for libgcrypt

When PACKAGECONFIG libgcrypt is enabled, we would get the following error.

ERROR: /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config

In oe-core, libgcrypt has been turned to be configured with pkg-config instead
of libgcrypt-config, but qemu configure script does not contain pkg-config
related part for libgcrypt to handle it.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibgpg-error: Fix build with gawk 5.x
Khem Raj [Sat, 31 Aug 2019 14:22:52 +0000 (07:22 -0700)]
libgpg-error: Fix build with gawk 5.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobuild-compare: 2015.02.10 -> 2019.08.14
Robert Yang [Fri, 30 Aug 2019 07:35:30 +0000 (15:35 +0800)]
build-compare: 2015.02.10 -> 2019.08.14

* Removed the following patches which are already merged by upstream:
  0001-Add-support-for-deb-and-ipk-packaging.patch
  Rename-rpm-check.sh-to-pkg-diff.sh.patch
  functions.sh-improve-deb-and-ipk-checking.patch
  functions.sh-remove-space-at-head.patch
  functions.sh-run-rpm-once-to-make-it-faster.patch
  pkg-diff.sh-check-for-fifo-named-pipe.patch
  pkg-diff.sh-check_single_file-return-at-once-when-sa.patch
  pkg-diff.sh-remove-space-in-the-end-for-ftype.patch

* Rebased Ignore-DWARF-sections.patch

This version is very outstanding when compare binary packages, e.g.:
PRSERV_HOST = "localhost:0"
INHERIT += "packagefeed-stability"
PACKAGE_CLASSES = "package_ipk
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_1

Add a "bbnote 'hello'" to autotools.bbclass' autotools_do_configure.

* BEFORE the upgrading, the result is:
$ diff /tmp/ipk_1  /tmp/ipk_2 -Nur | diffstat
 ipk_2 | 1570 +++++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 785 insertions(+), 785 deletions(-)

* AFTER the upgrading, the result is:
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_2
$ diff /tmp/ipk_1 /tmp/ipk_2 -Nur
No output

And if we really modifed a recipe such as opkg, then it would show that it is
changed.

For a full world build AFTER the upgrading:
$ diff /tmp/ipk_6 /tmp/ipk_7 -Nur | diffstat
 ipk_7 | 2090 +++++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 1045 insertions(+), 1045 deletions(-)

There are 10968 packages in totall, 1045 ones have been changed, so we can still
improve it in the future.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
5 years agogcc-8.3: remove 8.3 from zeus
Armin Kuster [Tue, 3 Sep 2019 15:58:48 +0000 (08:58 -0700)]
gcc-8.3: remove 8.3 from zeus

warrior only had one gcc so lets be consistent.

This will also reduce our maintenance overhead and we don't build this either

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemtap: Drop patches merged upstream
Richard Purdie [Fri, 6 Sep 2019 07:28:17 +0000 (08:28 +0100)]
systemtap: Drop patches merged upstream

Several of our patches were merged upstream just beyond our current version.
Update to that version and drop them.

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