]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agoat-spi2-atk: upgrade 2.30.0 -> 2.32.0
Alexander Kanavin [Mon, 20 May 2019 14:11:08 +0000 (16:11 +0200)]
at-spi2-atk: upgrade 2.30.0 -> 2.32.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoat-spi2-core: upgrade 2.30.0 -> 2.32.1
Alexander Kanavin [Mon, 20 May 2019 14:11:07 +0000 (16:11 +0200)]
at-spi2-core: upgrade 2.30.0 -> 2.32.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopkgconf: upgrade 1.6.0 -> 1.6.1
Alexander Kanavin [Mon, 20 May 2019 14:11:06 +0000 (16:11 +0200)]
pkgconf: upgrade 1.6.0 -> 1.6.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pip: upgrade 19.0.3 -> 19.1.1
Alexander Kanavin [Mon, 20 May 2019 14:11:04 +0000 (16:11 +0200)]
python3-pip: upgrade 19.0.3 -> 19.1.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxcrypt: upgrade 4.4.4 -> 4.4.6
Alexander Kanavin [Mon, 20 May 2019 14:11:03 +0000 (16:11 +0200)]
libxcrypt: upgrade 4.4.4 -> 4.4.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolz4: upgrade 1.9.0 -> 1.9.1
Alexander Kanavin [Mon, 20 May 2019 14:11:02 +0000 (16:11 +0200)]
lz4: upgrade 1.9.0 -> 1.9.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-lib: upgrade 1.1.8 -> 1.1.9
Alexander Kanavin [Mon, 20 May 2019 14:11:00 +0000 (16:11 +0200)]
alsa-lib: upgrade 1.1.8 -> 1.1.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-utils: upgrade 1.1.8 -> 1.1.9
Alexander Kanavin [Mon, 20 May 2019 14:10:59 +0000 (16:10 +0200)]
alsa-utils: upgrade 1.1.8 -> 1.1.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-plugins: upgrade 1.1.8 -> 1.1.9
Alexander Kanavin [Mon, 20 May 2019 14:10:58 +0000 (16:10 +0200)]
alsa-plugins: upgrade 1.1.8 -> 1.1.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogawk: upgrade 4.2.1 -> 5.0.0
Alexander Kanavin [Mon, 20 May 2019 14:10:57 +0000 (16:10 +0200)]
gawk: upgrade 4.2.1 -> 5.0.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemtap: upgrade 4.0 -> 4.1
Alexander Kanavin [Mon, 20 May 2019 14:10:56 +0000 (16:10 +0200)]
systemtap: upgrade 4.0 -> 4.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo: update 1.12.1->1.12.5
Alexander Kanavin [Mon, 20 May 2019 14:10:55 +0000 (16:10 +0200)]
go: update 1.12.1->1.12.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonss: upgrade 3.43 -> 3.44
Alexander Kanavin [Mon, 20 May 2019 14:10:54 +0000 (16:10 +0200)]
nss: upgrade 3.43 -> 3.44

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-mako: upgrade 1.0.9 -> 1.0.10
Alexander Kanavin [Mon, 20 May 2019 14:10:53 +0000 (16:10 +0200)]
python3-mako: upgrade 1.0.9 -> 1.0.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoatk: upgrade 2.30.0 -> 2.32.0
Alexander Kanavin [Mon, 20 May 2019 14:10:52 +0000 (16:10 +0200)]
atk: upgrade 2.30.0 -> 2.32.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobison: upgrade 3.1 -> 3.3.2
Alexander Kanavin [Mon, 20 May 2019 14:10:51 +0000 (16:10 +0200)]
bison: upgrade 3.1 -> 3.3.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoadwaita-icon-theme: upgrade 3.30.1 -> 3.32.0
Alexander Kanavin [Mon, 20 May 2019 14:10:49 +0000 (16:10 +0200)]
adwaita-icon-theme: upgrade 3.30.1 -> 3.32.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibdazzle: upgrade 3.32.1 -> 3.32.2
Alexander Kanavin [Mon, 20 May 2019 14:10:48 +0000 (16:10 +0200)]
libdazzle: upgrade 3.32.1 -> 3.32.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocreaterepo-c: upgrade 0.12.2 -> 0.14.0
Alexander Kanavin [Mon, 20 May 2019 14:10:47 +0000 (16:10 +0200)]
createrepo-c: upgrade 0.12.2 -> 0.14.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibmodulemd: fix erroneous linking against v2 library when v1 was requested
Alexander Kanavin [Tue, 21 May 2019 16:11:58 +0000 (18:11 +0200)]
libmodulemd: fix erroneous linking against v2 library when v1 was requested

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibmodulemd: upgrade 2.2.3 -> 2.4.0
Alexander Kanavin [Mon, 20 May 2019 14:10:46 +0000 (16:10 +0200)]
libmodulemd: upgrade 2.2.3 -> 2.4.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo: upgrade 1.9.6 -> 1.10.2
Alexander Kanavin [Mon, 20 May 2019 14:10:45 +0000 (16:10 +0200)]
librepo: upgrade 1.9.6 -> 1.10.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoofono: Fix another race condition during the build
Adrian Bunk [Tue, 21 May 2019 11:44:35 +0000 (14:44 +0300)]
ofono: Fix another race condition during the build

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoofono: Use external ell instead of an internal copy
Adrian Bunk [Fri, 17 May 2019 07:56:14 +0000 (10:56 +0300)]
ofono: Use external ell instead of an internal copy

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxfont2: set CVE_PRODUCT
Chen Qi [Fri, 17 May 2019 03:22:02 +0000 (11:22 +0800)]
libxfont2: set CVE_PRODUCT

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython: add a fix for CVE-2019-9948 and CVE-2019-9636
Martin Jansa [Fri, 17 May 2019 20:16:17 +0000 (20:16 +0000)]
python: add a fix for CVE-2019-9948 and CVE-2019-9636

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: add 'file' to ptest depends
Randy MacLeod [Fri, 17 May 2019 20:10:21 +0000 (16:10 -0400)]
valgrind: add 'file' to ptest depends

to avoid:
   ./run_openmp_test: line 12: /usr/bin/file: No such file or directory
   SKIP: drd/tests/omp_matinv
when using core-image-minimal to run valgrind ptests.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: Make ptest timestamps copasetic
Randy MacLeod [Fri, 17 May 2019 20:10:20 +0000 (16:10 -0400)]
valgrind: Make ptest timestamps copasetic

Avoid ptest failures due to .diffs such as
cachegrind/tests/ann1.post.diff:
   @ Source file 'a.c' is more recent than input file 'cgout-test'.
   @ Annotations may not be correct.
by using:
   touch a.c -r cgout-test

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpcre2: upgrade 10.32 -> 10.33
Alexander Kanavin [Fri, 17 May 2019 18:48:59 +0000 (20:48 +0200)]
libpcre2: upgrade 10.32 -> 10.33

License-update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosocat: Remove workaround for musl issue now fixed upstream
Adrian Bunk [Sat, 18 May 2019 18:05:11 +0000 (21:05 +0300)]
socat: Remove workaround for musl issue now fixed upstream

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinsane: add sanity checks to SRC_URI
Ross Burton [Fri, 17 May 2019 23:37:43 +0000 (16:37 -0700)]
insane: add sanity checks to SRC_URI

The SRC_URI almost definitely shouldn't be using ${PN}, and GitHub */archive/*
tarballs are dynamically generated so the checksums will change over time.

Detect both of these, and emit a QA warning if found.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoicu: Remove workaround for musl issue fixed upstream 2 years ago
Adrian Bunk [Sat, 18 May 2019 09:30:51 +0000 (12:30 +0300)]
icu: Remove workaround for musl issue fixed upstream 2 years ago

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognu-config: Update to latest SHA
Alistair Francis [Fri, 17 May 2019 23:54:08 +0000 (16:54 -0700)]
gnu-config: Update to latest SHA

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogdb: Upgrade from 8.2.1 to 8.3
Alistair Francis [Fri, 17 May 2019 23:53:08 +0000 (16:53 -0700)]
gdb: Upgrade from 8.2.1 to 8.3

Bump GDB and change the oeqa selftest expression to allow ptests to
pass.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibnss-mdns: Stop trying to build for musl
Adrian Bunk [Sat, 18 May 2019 17:21:35 +0000 (20:21 +0300)]
libnss-mdns: Stop trying to build for musl

There's no point in building an NSS module for a C library
that doesn't support NSS.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-numpy: Avoid installing copy of f2py script
Alejandro Enedino Hernandez Samaniego [Fri, 17 May 2019 23:49:12 +0000 (16:49 -0700)]
python-numpy: Avoid installing copy of f2py script

Both python-numpy and python3-numpy try to install the file:

${D}/${bindir}/f2py

which causes an error during do_rootfs since the package manager complains about that.

The numpy packages create basically copies of f2py script with the following names:
f2py (on both)
f2py2 (on python 2)
f2py2.7 (on python 2)
f2py3 (on python 3)
f2py3.7 (on python 3)

Remove the copy of f2py from python-numpy in favor of using the one from python3
to avoid installation issues at do_rootfs().

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovim: Rework things so vim adds features not vim-tiny removes
Tom Rini [Sat, 18 May 2019 18:34:13 +0000 (14:34 -0400)]
vim: Rework things so vim adds features not vim-tiny removes

Now that we have a common inc file for both vim and vim-tiny move a few
bits of logic out of vim.inc and in to vim_$VER.bb so that vim adds
things rather than vim-tiny removes them.

Suggested-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovim: split the common part into vim.inc
Alexander Kanavin [Fri, 17 May 2019 13:53:09 +0000 (15:53 +0200)]
vim: split the common part into vim.inc

Previously vim-tiny would include the vim recipe wholesale;
this meant that they had to be upgraded in a single transaction
which devtool cannot cope with. This thwarted the latest AUH
run in particular.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Some upstreamable musl patches have been upstreamed
Adrian Bunk [Sat, 18 May 2019 06:51:24 +0000 (09:51 +0300)]
systemd: Some upstreamable musl patches have been upstreamed

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonss-myhostname: Stop trying to build for musl
Adrian Bunk [Sat, 18 May 2019 17:21:36 +0000 (20:21 +0300)]
nss-myhostname: Stop trying to build for musl

There's no point in building an NSS module for a C library
that doesn't support NSS.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux: Add missing ptest dependencies
Mariano López [Sun, 19 May 2019 21:21:18 +0000 (16:21 -0500)]
util-linux: Add missing ptest dependencies

There are some missing dependencies for the util-linux-ptest package
that causes inconsistencies in the package tests run in different images.

The kernel module in RRECOMMENDS is not build at this time, it needs
more testing and check if the configuration change can be part of the
yocto-kernel-cache repository.

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonpm: remove some temporary build files
Jean-Marie LEMETAYER [Fri, 17 May 2019 15:14:10 +0000 (17:14 +0200)]
npm: remove some temporary build files

Fixes [YOCTO #11028]

When dealing with node modules which use "node-gyp" [1] to build native
addons to node. Some temporary build files stay in the image: object
files, static library files, dependency files, ...

This commit does not keep only the required files, but remove the files
which can leads to QA issues (staticdev with static library files).

[1]: https://github.com/nodejs/node-gyp

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonpm: fix node and npm default directory conflict
Jean-Marie LEMETAYER [Fri, 17 May 2019 15:14:09 +0000 (17:14 +0200)]
npm: fix node and npm default directory conflict

Fixes [YOCTO #13349]

When dealing with node modules which have declared "bin" files [1], npm
will create a link in '/usr/bin' with a relative link to
'../lib/node_modules/<module bin file>'.

The commits e9270af4296ce2af292059617a717e42fc17425c and
2713d9bcc39c712ef34003ce8424416441be558e explicitely use
'/usr/lib/node/' as install directory, but does not care about the "bin"
symbolic linked files.

In order to keep valid links, and to keep it as simple as possible, the
path '/usr/lib/node_modules/' is used as install directory for npm. And
a symbolic link is created to have a valid '/usr/lib/node/' path, needed
for node.

[1]: https://docs.npmjs.com/files/package.json#bin

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonpm: get npm package name from npm pack
Jean-Marie LEMETAYER [Fri, 17 May 2019 15:14:08 +0000 (17:14 +0200)]
npm: get npm package name from npm pack

Fixes [YOCTO #12534]

When using npm packages with exotic names, like "JSONSelect" (with
uppercase) or "@angular/cli" (with at sign and slash), there are three
different names:
  - the recipe name ("jsonselect" or "angular-cli")
  - the npm module name ("JSONSelect" or "@angular/cli")
  - the npm pack name ("JSONSelect" or "angular-cli")

The commit fa9c077068a2acea04389fa2b44eb2e93548fce2 allow to have
different recipe name and npm module name by setting the NPMPN variable.

This commit allows to have yet another npm pack name. The pack filename
is now dynamically retrieved from the 'npm pack' command.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoofono: upgrade 1.25 -> 1.29
Adrian Bunk [Thu, 16 May 2019 08:56:36 +0000 (11:56 +0300)]
ofono: upgrade 1.25 -> 1.29

Remove patch applied upstream.
Backport two fixes for build failures

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: fix imx gallium driver PACKAGECONFIG option
Marco Felsch [Thu, 16 May 2019 15:04:05 +0000 (17:04 +0200)]
mesa: fix imx gallium driver PACKAGECONFIG option

Since commit [1] the imx-drm driver is covered by the generic kmsro
driver.

[1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium
Alexander Kanavin [Thu, 16 May 2019 15:04:04 +0000 (17:04 +0200)]
qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium

This matches what the qemux86_64 is currently using, and
will allow testing the instructions added in the meantime;
particularly various SSE extensions are now enabled.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackagegroup-cross-canadian: repackage when TUNE_ARCH changes
Alexander Kanavin [Thu, 16 May 2019 15:04:03 +0000 (17:04 +0200)]
packagegroup-cross-canadian: repackage when TUNE_ARCH changes

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Disable idn properly for musl instead of NI_IDN workarounds
Adrian Bunk [Thu, 16 May 2019 17:16:11 +0000 (20:16 +0300)]
systemd: Disable idn properly for musl instead of NI_IDN workarounds

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: add missing libgcc dependency to glib-2.0-ptest
Ross Burton [Thu, 16 May 2019 19:01:05 +0000 (12:01 -0700)]
glib-2.0: add missing libgcc dependency to glib-2.0-ptest

The thread tests need libgcc for pthread_cancel to work.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcmode-default.inc: use the same TUNE_PKGARCH variable as PN set in go-cross
Martin Jansa [Thu, 16 May 2019 16:56:24 +0000 (16:56 +0000)]
tcmode-default.inc: use the same TUNE_PKGARCH variable as PN set in go-cross

* otherwise P_V might be set for i686 and PN and RECIPE_MAINTAINER for i586
  from bitbake -e lib32-gcc-cross-i686:

  PREFERRED_VERSION_lib32-go-cross-i686="1.12%"
  RECIPE_MAINTAINER_pn-go-cross-i586="Khem Raj <raj.khem@gmail.com>"

  $ git grep 'go-cross-${'
  meta/conf/distro/include/maintainers.inc:RECIPE_MAINTAINER_pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem@gmail.com>"
  meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
  meta/recipes-devtools/go/go-cross.inc:PN = "go-cross-${TUNE_PKGARCH}"

* actually is there a reson to use TUNE_PKGARCH here (unlike other cross/canadian-cross recipes
  which are using TARGET_ARCH/TRANSLATED_TARGET_ARCH)?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoapr/apr-util: Add ptest dependency on libgcc
Richard Purdie [Thu, 16 May 2019 11:46:03 +0000 (12:46 +0100)]
apr/apr-util: Add ptest dependency on libgcc

Avoid:

libgcc_s.so.1 must be installed for pthread_cancel to work

when running the ptest without libgcc.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packages
Richard Purdie [Thu, 16 May 2019 11:45:01 +0000 (12:45 +0100)]
gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packages

This solves ptest runtime errors where make was missing causing the ptests
to fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Add TEMP_FAILURE_RETRY from glibc
Adrian Bunk [Thu, 16 May 2019 07:48:34 +0000 (10:48 +0300)]
musl: Add TEMP_FAILURE_RETRY from glibc

Patch it into musl instead of patching all users
(currently elfutils and next ofono).

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogrub-efi-cfg, systemd-boot-cfg: use MACHINE_ARCH
Martin Jansa [Thu, 16 May 2019 07:03:34 +0000 (07:03 +0000)]
grub-efi-cfg, systemd-boot-cfg: use MACHINE_ARCH

* both use KERNEL_IMAGETYPE variable which is MACHINE specific
* fixes:

  === Comparing signatures for task do_configure.sigdata between hammerhead and mako ===
  ERROR: grub-bootconf different signature for task do_configure.sigdata between hammerhead and mako
  basehash changed from 710332f3ec15670302dd690708730c9e418d53790ce36d6a91b049ae4f7069b1 to c9a46e58b4634b5fd47d20683f8320e15f5c4cb7628e3a62ed97d8528d7aabd2
  Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'

  ERROR: systemd-bootconf different signature for task do_configure.sigdata between hammerhead and mako
  basehash changed from 2abbaf6d7760696fbf1ff5df5705239b475ccbf6f0c831fc4031984c0ce0e9f2 to 24f1e7886dee02b04bc180acc1c946ad82ce842655e5a5f4a8006f4a8490f985
  Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'

  detected with:
  openembedded-core/scripts/sstate-diff-machines.sh --targets=world --tmpdir=tmp-glibc/ --analyze --machines="hammerhead mako qemux86"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomdadm: install the systemd service through Makefile
Liwei Song [Thu, 16 May 2019 02:41:40 +0000 (22:41 -0400)]
mdadm: install the systemd service through Makefile

The original mdadm service may include variable like BINDIR,
It should use the real value of it, since the install method
"install-systemd" in Makefile can easily do such work, so don't
install it in bb file manually, use "make install-systemd" to
install all the service of mdadm.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' option
Haiqing Bai [Thu, 16 May 2019 01:50:12 +0000 (09:50 +0800)]
sysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' option

If 'cron' is added into PACKAGECONFIG, for sysvinit, the related
cron scripts will be installed; for systemd, the services of
data collect and summary will be installed.

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtest-needs-perl: upgrade 0.002005 -> 0.002006
Tim Orling [Thu, 16 May 2019 00:29:19 +0000 (17:29 -0700)]
libtest-needs-perl: upgrade 0.002005 -> 0.002006

Change SRC_URI to https://cpan.metacpan.org

License-Update: Lines moved further down in README.

Upstream release notes:
0.002006 - 2019-04-04
  - added additional references to related modules in pod
  - various internal cleanups
  - fix backwards compatibility with earlier versions of version.pm
  - fix output from test script when tests fail
  - added note about RELEASE_TESTING to test message on forced failures

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoepiphany: Do not bypass initialization of variable with __attribute__((cleanup))
Khem Raj [Fri, 10 May 2019 22:26:53 +0000 (15:26 -0700)]
epiphany: Do not bypass initialization of variable with __attribute__((cleanup))

This is reported with clang e.g.
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:391:5: error: cannot jump from this goto statement to its label
    goto out;
    ^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup))
  g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
                   ^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:385:5: error: cannot jump from this goto statement to its label
    goto out;
    ^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup))                                                                                                                     g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
                   ^

Ensure that the initialization is deterministic for goto to work reliably

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agommc-utils: Fix build with clang
Khem Raj [Fri, 10 May 2019 20:49:53 +0000 (13:49 -0700)]
mmc-utils: Fix build with clang

clang has more warnings to report, lets fix them

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodhcp: fix a NSUPDATE compiling issue
Ming Liu [Tue, 14 May 2019 18:32:13 +0000 (20:32 +0200)]
dhcp: fix a NSUPDATE compiling issue

This patch fixes a following issue:
| omapip/isclib.c: In function 'dns_client_init':
| omapip/isclib.c:356:18: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
|   if (dhcp_gbl_ctx.dnsclient == NULL) {
|                   ^
| omapip/isclib.c:363:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
|            &dhcp_gbl_ctx.dnsclient,
|                         ^
| omapip/isclib.c:364:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local4'
|            (dhcp_gbl_ctx.use_local4 ?
|                         ^
| omapip/isclib.c:365:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local4_sockaddr'
|             &dhcp_gbl_ctx.local4_sockaddr
|                          ^
| omapip/isclib.c:367:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local6'
|            (dhcp_gbl_ctx.use_local6 ?
|                         ^
| omapip/isclib.c:368:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local6_sockaddr'
|             &dhcp_gbl_ctx.local6_sockaddr

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel.bbclass: adjust a condition checking
Ming Liu [Tue, 14 May 2019 18:31:50 +0000 (20:31 +0200)]
kernel.bbclass: adjust a condition checking

do_bundle_initramfs does not have to depend on
${INITRAMFS_IMAGE}:do_image_complete if INITRAMFS_IMAGE_BUNDLE is not
set.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Convert recipe to use meson build system
Fabio Berton [Wed, 15 May 2019 16:22:43 +0000 (18:22 +0200)]
mesa: Convert recipe to use meson build system

  - Remove all non related meson patches
  - Change radeon driver to r100
  - Add python3-mako-native gettext-native to DEPENDS

Based on https://patchwork.openembedded.org/patch/158748/

Alex: added a patch to restore glx-tls option, which
addresses the musl runtime issue.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibinput: Upgrade 1.13.1 -> 1.13.2
Zang Ruochen [Wed, 15 May 2019 06:57:51 +0000 (14:57 +0800)]
libinput: Upgrade 1.13.1 -> 1.13.2

Upgrade from libinput_1.13.1.bb to libinput_1.13.2.bb

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: fix last failing ptest
Ross Burton [Tue, 14 May 2019 16:32:12 +0000 (09:32 -0700)]
glib-2.0: fix last failing ptest

Upstream glib don't really actually test the test suite with modern glibc and
all the locales present so we're finding a number of bugs.  Backport another fix
from upstream to fix the test data with modern glibc.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoptest: Add RDEPENDS frpm PN-ptest to PN package
Richard Purdie [Tue, 14 May 2019 11:22:14 +0000 (12:22 +0100)]
ptest: Add RDEPENDS frpm PN-ptest to PN package

Many different ptests are breaking as they assume that ${PN}-ptest
depends on ${PN}. It doesn't currently but should. If we fix this, many
different ptests start passing when they previously failed.

It does depend on fixing an issue in the dbus-test recipe which is done
in the preceeding patch (mentioned in case this gets backported).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodbus-test: Improve ptest dependencies dependencies
Richard Purdie [Tue, 14 May 2019 16:28:08 +0000 (17:28 +0100)]
dbus-test: Improve ptest dependencies dependencies

The dbus-test package is empty, move its dependencies to the ${PN}-ptest
package. Also ensure that it doesn't depend on the empty ${PN} package
which is about to start causing image failures in the following commit.
In this case the correct dependency is dbus itself.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: fix call/cachegrind ptests
Randy MacLeod [Tue, 14 May 2019 03:57:16 +0000 (23:57 -0400)]
valgrind: fix call/cachegrind ptests

Use the *_annotate executables from ${bindir}

Actually install cachegrind/tests/a.c since it is used by
the call/cachegrind/tests/ann[12].vgtest files.

With this change and the previous commits, the ptest results
on qemux86-64 when invoked with:
    runqemu qemux86 kvm nographic slirp qemuparams="-m 2048"
are:

=== Test Summary ===
TOTAL: 159
PASSED: 149
FAILED: 1
SKIPPED: 9

Only drd/tests/pth_detached3 remains to be fixed.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: adjust test filters and expected output
Randy MacLeod [Tue, 14 May 2019 03:57:15 +0000 (23:57 -0400)]
valgrind: adjust test filters and expected output

Skip two filters in filter_xml_frames since they
are intended to filter filesystem paths under '/usr' that
vary from platform to platform. In the ptest case
for Yocto's valgrind, the ptest executables are placed under:
   /usr/lib/valgrind/ptest
and if these frames are filtered out, then several 'drd' tests fail
the comparision between expected and actual output.

Also adjust the std_list expected output to agree with that
produced when the --yocto-ptest option to vg_regtest is used.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: update the ptest subdirs list
Randy MacLeod [Tue, 14 May 2019 03:57:14 +0000 (23:57 -0400)]
valgrind: update the ptest subdirs list

Split the list into one directory per line.
Sort the list alphabetically.
Add the gdbserver_tests directory to get the 'gone' executable
which is needed by:
    memcheck/tests/gone_abrt_xml.vgtest

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: Include debugging symbols in ptests
Richard Purdie [Tue, 14 May 2019 03:57:13 +0000 (23:57 -0400)]
valgrind: Include debugging symbols in ptests

About half the ptests will fail if the executables deployed
as part of the ptest package are stripped. We therefore need
to add a dependency on the dbg symbols package and silence the
QA test which would complain about this since we really do want
it in this case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: fix vg_regtest return code
Randy MacLeod [Tue, 14 May 2019 03:57:12 +0000 (23:57 -0400)]
valgrind: fix vg_regtest return code

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocore-image-sato-sdk-ptest: Tweak size to stay within 4GB limit
Richard Purdie [Wed, 15 May 2019 14:45:14 +0000 (15:45 +0100)]
core-image-sato-sdk-ptest: Tweak size to stay within 4GB limit

Adding the valgrind debug symbol information caused the genericx86-64 image to
overflow the 4GB boundary. Tweak the sizes to avoid autobuilder failures yet
leave enough space all the tests still run successfully.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperf: make sure that the tools/include/uapi/asm-generic directory exists
Martin Jansa [Tue, 14 May 2019 07:30:30 +0000 (07:30 +0000)]
perf: make sure that the tools/include/uapi/asm-generic directory exists

* before trying to copy unistd.h into it

* older kernels don't have uapi in tools/include and do_configure fails
  with:
  DEBUG: Executing shell function do_configure
  cp: cannot create regular file '.../perf/1.0-r9/perf-1.0/tools/include/uapi/asm-generic/unistd.h':
  No such file or directory
  WARNING: exit code 1 from a shell command.

* tools/include/uapi was added in kernel 4.8 with
  https://github.com/torvalds/linux/commit/c4b6014e8bb0c8d47fe5c71ebc604f31091e5d3f
  tools: Add copy of perf_event.h to tools/include/linux/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodistutils: Tidy and simplify for readability
Douglas Royds [Tue, 14 May 2019 05:55:59 +0000 (17:55 +1200)]
distutils: Tidy and simplify for readability

Line lengths, remove duplication, and use the PYTHON variable provided by
pythonnative.bbclass.

Coincidentally fixes a dormant defect in distutils3.bbclass in which we were
sedding for STAGING_BINDIR_NATIVE/python-python3/python3.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRemove irda-utils and the irda feature
Adrian Bunk [Tue, 14 May 2019 08:45:48 +0000 (11:45 +0300)]
Remove irda-utils and the irda feature

IrDA support was removed in kernel 4.17.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/bootimg-efi: replace hardcoded volume name with label
Chee Yang Lee [Mon, 13 May 2019 04:07:09 +0000 (12:07 +0800)]
wic/bootimg-efi: replace hardcoded volume name with label

volume name should refer to --label in .wks.
Replace the hardcoded volume name  with label.
set "ESP" as default name when no lable specified.

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackagegroup-self-hosted: drop epiphany
Alexander Kanavin [Mon, 13 May 2019 15:33:03 +0000 (17:33 +0200)]
packagegroup-self-hosted: drop epiphany

Originally a web browser was added to build-appliance-image to
enable Hob's use cases that involve opening a URI; with Hob long gone,
a web browser is no longer necessary to have in build-appliance-image.

This will also address the out-of-resources problem when
build-appliance-image builds itself in a VM, as a test case.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoell: update to 0.20
Oleksandr Kravchuk [Mon, 13 May 2019 14:11:16 +0000 (16:11 +0200)]
ell: update to 0.20

Changelog:
- Fix issue with DHCP client and handling renewing state
- Fix issue with DHCP client and handling rebinding state
- Fix issue with DHCP client and recommended retry timeouts
- Fix issue with Generic Netlink and family discovery

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd
Hongxu Jia [Mon, 13 May 2019 15:12:46 +0000 (11:12 -0400)]
oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd

As runqemu with launch_cmd means directly run the command, don't need set
rootfs or env vars.

Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
work, which is overridden by latter qemuparams="-serial tcp:127.0.0.1" in
QemuRunner.launch();

So we set qemuparams as a parameter in runqemu, the fix makes it work

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssl: Remove openssl10
Adrian Bunk [Sun, 12 May 2019 19:53:19 +0000 (22:53 +0300)]
openssl: Remove openssl10

OpenSSL 1.0 has been replaced by 1.1, and it would be harder
to security-support after the upstream EOL at the end of 2019.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/target/ssh: Replace suggogatepass with ignoring errors
Richard Purdie [Sun, 12 May 2019 18:49:25 +0000 (19:49 +0100)]
oeqa/target/ssh: Replace suggogatepass with ignoring errors

We continued to see encoding problems with ssh commands run in oeqa. After much
research the conclusion was we should use ignore the errors since some occasional bad
locale encoding is better than the unicode decoding issues we were seeing which crashed
large parts of tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoweston-init: Fix WESTON_USER typo
Breno Leitao [Mon, 13 May 2019 14:26:52 +0000 (15:26 +0100)]
weston-init: Fix WESTON_USER typo

Commit 837c786d600ba69('weston-init: Add support for non-root start') added a
typo that uses WEST_USER instead of WESTON_USER variable when chwon'ing the
XDG_RUNTIME_DIR directory. Since WEST_USER is not defined, it will `chown
:$WESTON_USER file`, which will work, but that is not 100% correctly and should
be fixed.

This patch basically fix the typo and now the file will be chown'ed to the
WESTON_USER user.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogroff: imporve musl support
Hongxu Jia [Mon, 13 May 2019 02:30:36 +0000 (10:30 +0800)]
groff: imporve musl support

Drop local fix, backport upstream gnulib fix and translate to tarball groff.

Suggested-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: fix compile error for arm64
Kai Kang [Tue, 23 Apr 2019 10:12:16 +0000 (06:12 -0400)]
webkitgtk: fix compile error for arm64

It removes function JSC::AssemblerBuffer::data() for ARM64 in commit
https://trac.webkit.org/changeset/236589/webkit. But it is required by
Cortex A53 from https://trac.webkit.org/changeset/175514/webkit and
fails to compile for arm64:

| .../tmp/work/aarch64-poky-linux/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/JavaScriptCore/assembler/ARM64Assembler.h:3769:100: error: 'class JSC::AssemblerBuffer' has no member named 'data'
|     if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000))

Not set WTF_CPU_ARM64_CORTEXA53 for arm64 to fix the failure.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: Avoid PROVIDES warning from rng-tools dependency
Richard Purdie [Sun, 12 May 2019 13:17:06 +0000 (14:17 +0100)]
openssh: Avoid PROVIDES warning from rng-tools dependency

Avoid the warning:

WARNING: Nothing RPROVIDES 'nativesdk-rng-tools' (but virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-connectivity/openssh/openssh_7.9p1.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoghostscript: 9.26 -> 9.27
Hongxu Jia [Sun, 12 May 2019 08:16:30 +0000 (16:16 +0800)]
ghostscript: 9.26 -> 9.27

- Rebase ghostscript-9.02-genarch.patch

- Drop backported CVE patches

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxml2: upgrade 2.9.8 -> 2.9.9
Hongxu Jia [Sun, 12 May 2019 08:16:29 +0000 (16:16 +0800)]
libxml2: upgrade 2.9.8 -> 2.9.9

- Drop backported fix-CVE-2017-8872.patch,
  fix-CVE-2018-14404.patch and
  0001-Fix-infinite-loop-in-LZMA-decompression.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogroff: upgrade 1.22.3 -> 1.22.4
Hongxu Jia [Sun, 12 May 2019 08:16:28 +0000 (16:16 +0800)]
groff: upgrade 1.22.3 -> 1.22.4

- Drop groff-1.22.2-correct-man.local-install-path.patch and
  0001-Unset-need_charset_alias-when-building-for-musl.patch

- Inherit bbclass pkgcnofig to fix `undefined macro: AC_DEFINE'
  ...
  | configure:20010: error: possibly undefined macro: AC_DEFINE
  ...

- Use autotools-brokensep to replace autotools to workaround failure
  caused by out of tree
  ...
  | rm -f lib/alloca.h-t lib/alloca.h && \
  | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  |   cat ../groff-1.22.4/lib/alloca.in.h; \
  | } > lib/alloca.h-t && \
  | mv -f lib/alloca.h-t lib/alloca.h
  | /bin/sh: line 4: lib/alloca.h-t: No such file or directory
  | Makefile:10407: recipe for target 'lib/alloca.h' failed
  ...

- Add `--without-doc' to not use target groff to generate doc at build time,
  since upstream commit [cfe916e Support of configure option to build the
  documentation.]

- Remove groff depends groff-native, and add DEPENDS bison-native

- Add 0001-fix-shebang-for-taget.patch

- Add 0001-support-musl.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosubversion: upgrade 1.11.1 -> 1.12.0
Hongxu Jia [Sun, 12 May 2019 08:16:27 +0000 (16:16 +0800)]
subversion: upgrade 1.11.1 -> 1.12.0

- Backport a patch to fix build failure while APR 1.7.0
...
checking for apr_int64_t Python/C API format string...
configure: error: failed to recognize APR_INT64_T_FMT on this platform
...

- Rebase disable_macos.patch and serfmacro.patch

License-update: no change, declare two new added file
* in build/ac-macros/ax_boost_base.m4
* in build/ac-macros/ax_boost_unit_test_framework.m4

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogpgme: upgrade 1.12.0 -> 1.13.0
Hongxu Jia [Sun, 12 May 2019 08:16:26 +0000 (16:16 +0800)]
gpgme: upgrade 1.12.0 -> 1.13.0

- Revert gpgrt-config support which oe-core does not support it

- Rebase 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch
  and 0001-pkgconfig.patch

- Tweak LANGUAGES, since upstream auto check the version of python rather
  than specify option
  [ff6ff61 python: Auto-check for all installed python versions.]

License-update: SPDX identifiers site and formats
[8d91c0f Add SPDX identifiers to most source files]
"s/LGPL-2.1+/LGPL-2.1-or-later/"
"s#https://www.gnu.org/licenses#https://gnu.org/licenses#"

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX
Hongxu Jia [Sun, 12 May 2019 08:16:25 +0000 (16:16 +0800)]
ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX

The upstream git tag has a `upstream/' prefix, such as:
>>> import re
>>> pattern = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)"
>>> string = "upstream/6.1+20181013"
>>> result = re.match(pattern, string)
>>> result['pver']
'6.1+20181013'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobash: upgrade 4.4.18 -> 5.0
Hongxu Jia [Sun, 12 May 2019 08:16:24 +0000 (16:16 +0800)]
bash: upgrade 4.4.18 -> 5.0

- Rebase build-tests.patch and execute_cmd.patch to 5.0

- Drop 0001-help-fix-printf-format-security-warning.patch
  and pathexp-dep.patch, upstream has fixed them in commit
  [d233b48 bash-5.0 distribution sources and documentation]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-db: upgrade 2.8.4 -> 2.8.5
Hongxu Jia [Sun, 12 May 2019 08:16:23 +0000 (16:16 +0800)]
man-db: upgrade 2.8.4 -> 2.8.5

Upstream shipped a systemd service in the following commit
[bc52248 Ship a systemd timer for daily DB maintenance]
Backward compatible, disable it by default

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-pages: upgrade 4.16 -> 5.01
Hongxu Jia [Sun, 12 May 2019 08:16:22 +0000 (16:16 +0800)]
man-pages: upgrade 4.16 -> 5.01

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoapr: upgrade 1.6.5 -> 1.7.0
Hongxu Jia [Sun, 12 May 2019 08:16:21 +0000 (16:16 +0800)]
apr: upgrade 1.6.5 -> 1.7.0

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobase-passwd: Add kvm group
Jacob Kroon [Mon, 4 Feb 2019 03:11:53 +0000 (04:11 +0100)]
base-passwd: Add kvm group

Although base-passwd in OE is somewhat outdated, upgrading
to a newer version is not going to solve eudev warnings about
missing groups during boot; input/shutdown/kvm are still not
listed in groups.master. The reason for this is that
Debian uses systemd, which will automatically create
missing groups(systemd-sysusers). In a sysvinit+eudev
configuration you instead get a warning printed to
the console:

  udevd[<pid>]: specified group 'kvm' unknown

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: add missing locales for the tests
Ross Burton [Fri, 10 May 2019 10:59:39 +0000 (11:59 +0100)]
glib-2.0: add missing locales for the tests

Some tests are either failing or skipping due to missing locales.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: fix locale handling
Ross Burton [Fri, 10 May 2019 09:58:27 +0000 (10:58 +0100)]
glib-2.0: fix locale handling

A bug upstream resulted in broken locale handling with the new glibc we have, so
the test suite was failing.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorun-postinsts: Fix full execution of scripts at first boot
Alejandro Enedino Hernandez Samaniego [Wed, 8 May 2019 19:04:01 +0000 (12:04 -0700)]
run-postinsts: Fix full execution of scripts at first boot

run-postinsts runs a given set of scripts during the first boot of the
device, when one of these scripts prints something to stdout (isnt
daemonized correctly), since stdout is not available at that time,
the script execution immediately returns with an error (exit_group()),
this error causes the script to terminate all threads within the process,
causing undesired behavior since the script might still had to execute
some other code.

Replace eval built-in with (), since () executes in a subshell,
even if one of the scripts exits, all threads of that process will only
be within that session, this ensures other scripts meant to be run are
still run afterwards.

[YOCTO #13266]

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>