]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agogstreamer1.0-omx: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:28:01 +0000 (14:28 +0000)]
gstreamer1.0-omx: upgrade to version 1.18.0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogst-examples: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:28:00 +0000 (14:28 +0000)]
gst-examples: upgrade to version 1.18.0

DEPENDS:
 - Upstream now depends on libsoup-2.4 and json-glib

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-vaapi: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:59 +0000 (14:27 +0000)]
gstreamer1.0-vaapi: upgrade to version 1.18.0

    * 0001-vaapsink-downgrade-to-marginal.patch
      Removed since these are included in 1.18.0
      https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/commit/13d090b5660a2e2e2c997db44ba9a391101e8bd6

    API and plugin documentation are no longer built with gtk_doc.
    The gtk_doc documentation has been removed in favour of a new unified
    documentation module built with hotdoc.
    Distributors should use the documentation release tarball instead of trying
    to package hotdoc and building the documentation from scratch.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-rtsp-server: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:58 +0000 (14:27 +0000)]
gstreamer1.0-rtsp-server: upgrade to version 1.18.0

    * 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
      Removed since these are included in 1.18.0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-python: install append is not need any more
Jose Quaresma [Thu, 29 Oct 2020 14:27:57 +0000 (14:27 +0000)]
gstreamer1.0-python: install append is not need any more

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-python: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:56 +0000 (14:27 +0000)]
gstreamer1.0-python: upgrade to version 1.18.0

    * 0001-meson.build-fix-builds-with-python-3.8.patch
      Removed since these are included in 1.18.0

DEPENDS:
RDEPENDS:
 - Upstream now depends gstreamer1.0-plugins-base

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-ugly: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:55 +0000 (14:27 +0000)]
gstreamer1.0-plugins-ugly: upgrade to version 1.18.0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-bad: add new meson options as PACKAGECONFIG
Jose Quaresma [Thu, 29 Oct 2020 14:27:54 +0000 (14:27 +0000)]
gstreamer1.0-plugins-bad: add new meson options as PACKAGECONFIG

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-bad: disable new meson options
Jose Quaresma [Thu, 29 Oct 2020 14:27:53 +0000 (14:27 +0000)]
gstreamer1.0-plugins-bad: disable new meson options

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-bad: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:52 +0000 (14:27 +0000)]
gstreamer1.0-plugins-bad: upgrade to version 1.18.0

    * 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
      Removed since these are included in 1.18.0

PACKAGECONFIG:
 - vdpau has been removed upstream
 - vulkan needs now needs shaderc-native to build

EXTRA_OEMESON:
 - yadif has been removed upstream
 - nvdec and nvenc has been replaced with nvcodec

FILES:
 - add new files for transcode plugin

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-good: add new meson option as PACKAGECONFIG
Jose Quaresma [Thu, 29 Oct 2020 14:27:51 +0000 (14:27 +0000)]
gstreamer1.0-plugins-good: add new meson option as PACKAGECONFIG

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-good: disable new meson options
Jose Quaresma [Thu, 29 Oct 2020 14:27:50 +0000 (14:27 +0000)]
gstreamer1.0-plugins-good: disable new meson options

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-good: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:49 +0000 (14:27 +0000)]
gstreamer1.0-plugins-good: upgrade to version 1.18.0

    * 0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch
      Removed since these are included in 1.18.0

License-Update: remove file://common/coverage/coverage-report.pl
Upstream dont have it any more.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-base: add new meson option as PACKAGECONFIG
Jose Quaresma [Thu, 29 Oct 2020 14:27:48 +0000 (14:27 +0000)]
gstreamer1.0-plugins-base: add new meson option as PACKAGECONFIG

- gl_winsys have a new meson option to set egl

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-base: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:47 +0000 (14:27 +0000)]
gstreamer1.0-plugins-base: upgrade to version 1.18.0

    * 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
    * 0002-meson-Add-variables-for-gir-files.patch
      Removed since these are included in 1.18.0

License-Update: remove file://common/coverage/coverage-report.pl
Upstream dont have it any more.

    API and plugin documentation are no longer built with gtk_doc.
    The gtk_doc documentation has been removed in favour of a new unified
    documentation module built with hotdoc.
    Distributors should use the documentation release tarball instead of trying
    to package hotdoc and building the documentation from scratch.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0: upgrade to version 1.18.0
Jose Quaresma [Thu, 29 Oct 2020 14:27:46 +0000 (14:27 +0000)]
gstreamer1.0: upgrade to version 1.18.0

    * 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
      Submited
      https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/669

    * 0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
      Removed since these are included in 1.18.0

    * 0003-meson-Add-valgrind-feature.patch
      Removed because upstream don't depend anymore on valgrind
      https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/595

    * 0002-Remove-unused-valgrind-detection.patch
      Upstream-Status: Backport [a2cbf75523cdf8a4df1baa7007d86ef455972245]
      https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/a2cbf75523cdf8a4df1baa7007d86ef455972245

    API and plugin documentation are no longer built with gtk_doc.
    The gtk_doc documentation has been removed in favour of a new unified
    documentation module built with hotdoc.
    Distributors should use the documentation release tarball instead of trying
    to package hotdoc and building the documentation from scratch.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0: Fix reproducibility issue around libcap
Jose Quaresma [Thu, 29 Oct 2020 14:27:45 +0000 (14:27 +0000)]
gstreamer1.0: Fix reproducibility issue around libcap

Currently gstreamer configuration depends libcap and on whether
setcap is found on the host system.

Removing libcap from DEPENDS and only use it when the 'setcap' is enabled.

    * capfix.patch
      Removed as the same goals can be achieved only with the PACKAGECONFIG 'setcap'

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: update 2.66.1 -> 2.66.2
Alexander Kanavin [Thu, 29 Oct 2020 12:30:00 +0000 (13:30 +0100)]
glib-2.0: update 2.66.1 -> 2.66.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython: update 3.8.5 -> 3.9.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:58 +0000 (22:05 +0100)]
python: update 3.8.5 -> 3.9.0

Drop 0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch,
0001-configure.ac-fix-LIBPL.patch and 0001-python3-Do-not-hardcode-lib-for-distutils.patch
as they are all replaced by the new --platlibdir option to ./configure

Rename 0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch to
0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
and describe the changes better.

License-Update: documentation now dual license under PSF & BSD
(not relevant for the recipe.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxml2: add a patch to fix python 3.9 support
Alexander Kanavin [Wed, 28 Oct 2020 21:05:57 +0000 (22:05 +0100)]
libxml2: add a patch to fix python 3.9 support

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopkg-utils: correct priority matching in update-alternatives
Alexander Kanavin [Wed, 28 Oct 2020 21:05:56 +0000 (22:05 +0100)]
opkg-utils: correct priority matching in update-alternatives

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: remove host contamination with gtest
Alexander Kanavin [Wed, 28 Oct 2020 21:05:55 +0000 (22:05 +0100)]
apt: remove host contamination with gtest

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: adjust MIPS64 N32 support
Alexander Kanavin [Wed, 28 Oct 2020 21:05:54 +0000 (22:05 +0100)]
rpm: adjust MIPS64 N32 support

upstream has switched from libmagic to elfutils to determine
file 'colors', and so this adapts the existing patch accordingly.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk-doc: upgrade 1.32 -> 1.33.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:53 +0000 (22:05 +0100)]
gtk-doc: upgrade 1.32 -> 1.33.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: upgrade 3.36.4 -> 3.38.1
Alexander Kanavin [Wed, 28 Oct 2020 21:05:52 +0000 (22:05 +0100)]
epiphany: upgrade 3.36.4 -> 3.38.1

libportal is a new hard dependency.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibportal: add a recipe
Alexander Kanavin [Wed, 28 Oct 2020 21:05:51 +0000 (22:05 +0100)]
libportal: add a recipe

This is a new build requirement of epiphany browser.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: upgrade 0.0.13 -> 1.0.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:50 +0000 (22:05 +0100)]
libhandy: upgrade 0.0.13 -> 1.0.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovte: update 0.60.3 -> 0.62.1
Alexander Kanavin [Wed, 28 Oct 2020 21:05:49 +0000 (22:05 +0100)]
vte: update 0.60.3 -> 0.62.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap: update 2.43 -> 2.44
Alexander Kanavin [Wed, 28 Oct 2020 21:05:48 +0000 (22:05 +0100)]
libcap: update 2.43 -> 2.44

Rebase the patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognutls: update 3.16.4 -> 3.16.5
Alexander Kanavin [Wed, 28 Oct 2020 21:05:47 +0000 (22:05 +0100)]
gnutls: update 3.16.4 -> 3.16.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodos2unix: update 7.4.1 -> 7.4.2
Alexander Kanavin [Wed, 28 Oct 2020 21:05:46 +0000 (22:05 +0100)]
dos2unix: update 7.4.1 -> 7.4.2

License-Update: copyright years
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: update 2.28.4 -> 2.30.1
Alexander Kanavin [Wed, 28 Oct 2020 21:05:45 +0000 (22:05 +0100)]
webkitgtk: update 2.28.4 -> 2.30.1

Drop 0001-OptionsGTK.cmake-drop-the-hardcoded-introspection-gt.patch and
cross-compile.patch as upstream has removed the code.

Rebase 0001-Enable-THREADS_PREFER_PTHREAD_FLAG.patch.

Add a systemd config option, subject to systemd in DISTRO_FEATURES.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: update 2.12.2 -> 2.12.3
Alexander Kanavin [Wed, 28 Oct 2020 21:05:44 +0000 (22:05 +0100)]
lttng-modules: update 2.12.2 -> 2.12.3

Drop a pile of backports.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxf86-video-vesa: update 2.4.0 -> 2.5.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:43 +0000 (22:05 +0100)]
xf86-video-vesa: update 2.4.0 -> 2.5.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 20.1.8 -> 20.2.1
Alexander Kanavin [Wed, 28 Oct 2020 21:05:42 +0000 (22:05 +0100)]
mesa: update 20.1.8 -> 20.2.1

Build tweaks:
- drop separate dri option and the patch that adds it; just setting -Ddri-drivers='' is enough
- strip leading/trailing commas from drivers' lists, as upstream no longer allows blank entries if the list
is not empty (e.g. -Ddri-drivers=,driver1,driver2 is now producing an error).
- drop the long-obsolete llvm 3.3/3.2 logic

License-Update: reformatted into rst
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsecret: update 0.20.3 -> 0.20.4
Alexander Kanavin [Wed, 28 Oct 2020 21:05:41 +0000 (22:05 +0100)]
libsecret: update 0.20.3 -> 0.20.4

Drop the patch as it is merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogsettings-desktop-schemas: update 3.36.1 -> 3.38.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:40 +0000 (22:05 +0100)]
gsettings-desktop-schemas: update 3.36.1 -> 3.38.0

Drop 0001-Do-not-skip-gir-installation-for-cross-compiling.patch as
upstream has done the same change.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: update 20200515 -> 20200930
Alexander Kanavin [Wed, 28 Oct 2020 21:05:39 +0000 (22:05 +0100)]
ltp: update 20200515 -> 20200930

Drop backports.

Remove 0001-sigwaitinfo-Do-not-run-invalid-undefined-test-cases.patch as
upstream has removed the code being patched.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoghostscript: update 9.52 -> 9.53.3
Alexander Kanavin [Wed, 28 Oct 2020 21:05:38 +0000 (22:05 +0100)]
ghostscript: update 9.52 -> 9.53.3

ghostscript-9.15-parallel-make.patch rebased; one of the
chunks removed upstream.

Remove bundled jpeg source, as that seems to be the only way
to get ghostscript to fall back to system jpeg library.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoelfutils: update 0.180 -> 0.181
Alexander Kanavin [Wed, 28 Oct 2020 21:05:37 +0000 (22:05 +0100)]
elfutils: update 0.180 -> 0.181

Add a config option for client debuginfod library.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: update 4.15.1 -> 4.16.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:36 +0000 (22:05 +0100)]
rpm: update 4.15.1 -> 4.16.0

Drop backports.
Drop 0001-rpmfc.c-do-not-run-file-classification-in-parallel.patch as
enabling compression support in libmagic finally allows us to use
parallel file classification.

Add a backported patch that fixes musl builds.

License-Update: formatting
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofile: enable all built-in compression checkers
Alexander Kanavin [Wed, 28 Oct 2020 21:05:35 +0000 (22:05 +0100)]
file: enable all built-in compression checkers

This allows re-enabling parallel file classification in rpm
in particular, as otherwise libmagic calls out to external
executables, which isn't implemented in a thread-safe way.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognu-config: update to latest revision
Alexander Kanavin [Wed, 28 Oct 2020 21:05:34 +0000 (22:05 +0100)]
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoovmf: update edk2-stable202005 -> edk2-stable202008
Alexander Kanavin [Wed, 28 Oct 2020 21:05:33 +0000 (22:05 +0100)]
ovmf: update edk2-stable202005 -> edk2-stable202008

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agojson-glib: upgrade 1.4.4 -> 1.6.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:32 +0000 (22:05 +0100)]
json-glib: upgrade 1.4.4 -> 1.6.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogobject-introspection: upgrade 1.64.1 -> 1.66.1
Alexander Kanavin [Wed, 28 Oct 2020 21:05:31 +0000 (22:05 +0100)]
gobject-introspection: upgrade 1.64.1 -> 1.66.1

Add a patch to avoid build errors if building g-i data is disabled.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibdazzle: upgrade 3.36.0 -> 3.38.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:30 +0000 (22:05 +0100)]
libdazzle: upgrade 3.36.0 -> 3.38.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pygobject: upgrade 3.36.1 -> 3.38.0
Alexander Kanavin [Wed, 28 Oct 2020 21:05:29 +0000 (22:05 +0100)]
python3-pygobject: upgrade 3.36.1 -> 3.38.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake: update 3.18.2 -> 3.18.4
Alexander Kanavin [Wed, 28 Oct 2020 21:05:28 +0000 (22:05 +0100)]
cmake: update 3.18.2 -> 3.18.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: upgrade 2.64.5 -> 2.66.1
Alexander Kanavin [Wed, 28 Oct 2020 21:05:27 +0000 (22:05 +0100)]
glib-2.0: upgrade 2.64.5 -> 2.66.1

Drop the timezone changes as these are included in the upgraded version.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-boot: upgrade 246.2 -> 246.6
Alexander Kanavin [Wed, 28 Oct 2020 21:05:26 +0000 (22:05 +0100)]
systemd-boot: upgrade 246.2 -> 246.6

As systemd-boot shares SRCREV with the main systemd recipe, the version
should be kept in sync with it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-core/busybox: fixup licensing information
Yann E. MORIN [Wed, 28 Oct 2020 15:47:56 +0000 (16:47 +0100)]
recipes-core/busybox: fixup licensing information

Commit 7d32417b4d (busybox: Correct the name of the bzip2 license)
changes the licesne from 'bzip2' to 'bzip2-1.0.6' on the rationale
that the 'bzip2 license was renamed from "bzip2" to "bzip2-1.0.6"
[...] to match the official SPDX identifier.'

Though the above is true for the bzip2 and pbzip2 packages, the bzip2
code bundled in busybox is a copy from the bzip2 1.0.4 version, not the
1.0.6 version.

As such, using bzip2-1.0.6 is wrong.

Unfortunately, there is no official SPDX license identifier for this
bzip2 1.0.4 version, so we just mimick the existing ones (bzip2-1.0.5
and bzip2-1.0.6) by using bzip2-1.0.4.

Also, there is a license file attached to that, so we add it to the
list.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Alexandre BELLONI <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocommon-licenses: add bzip2-1.0.4
Yann E. MORIN [Wed, 28 Oct 2020 15:47:55 +0000 (16:47 +0100)]
common-licenses: add bzip2-1.0.4

The bzip2 license changes with each version; the changes are subtle, but
that makes it a different license everytime:
  - copyright year
  - authorship identification and address
  - version of the release
  - date of the release

Although we currently only have bzip2 and pbzip2 packages, we're going
to need this license for busybox, which uses code from bzip2-1.0.4.

Add it, as copied from the upstream bzip2 git tree at tag 'bzip2-1.0.4'
(commit f10a33538e9bab6deb61779b3d8aae168824ef48).

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: add grub-nativesdk
Khasim Mohammed [Wed, 28 Oct 2020 11:10:02 +0000 (16:40 +0530)]
grub: add grub-nativesdk

Add nativesdk support to make grub-mkimage tool part of Host tools
in the generated SDK.

The conf file should have "TOOLCHAIN_HOST_TASK_append = " nativesdk-grub"
for the grub-mkimage to show up.

Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxcb-proto: update to 1.14.1
Richard Leitner [Wed, 28 Oct 2020 09:43:21 +0000 (10:43 +0100)]
xcb-proto: update to 1.14.1

This fixes [1] the following build error for nativesdk on Fedora 33
which is caused by the removal of fractions.gcd() in favor of math.gcd()
in python 3.9 [2]:

ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)

Furthermore the SRC_URI is adapted as the old one doesn't provide the
1.14.1 archive.

[1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/426ae35bee1fa0fdb8b5120b1dcd20cee6e34512
[2] https://bugs.python.org/issue39350

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotimezone: upgrade to 2020d
Changqing Li [Wed, 28 Oct 2020 08:42:48 +0000 (16:42 +0800)]
timezone: upgrade to 2020d

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemuboot.bbclass: Fix a typo
Khem Raj [Wed, 28 Oct 2020 04:09:04 +0000 (21:09 -0700)]
qemuboot.bbclass: Fix a typo

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa: fix some unresponsive homepages and bugtracker links
Maxime Roussin-Bélanger [Tue, 27 Oct 2020 02:21:36 +0000 (22:21 -0400)]
meta: fix some unresponsive homepages and bugtracker links

remove some extra whitespaces

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomusl: Update to latest master
Khem Raj [Tue, 27 Oct 2020 17:58:37 +0000 (10:58 -0700)]
musl: Update to latest master

Changes in this revision bump are
0b87551b (upstream/master) lift sigaction abort locking to fix posix_spawn child deadlock
99d5098a update crypt_blowfish to support $2b$ prefix
957c2763 remove unused weak definition of __tl_sync in membarrier.c
55767360 move aio implementation details to a proper internal header
37337660 remove long-unused struct __timer from pthread_impl.h
85e16aec drop use of pthread_once in timer_create
6ae2568b remove unused SIGTIMER handler in timer_create
47baa030 remove incorrect fflush from assert failure handler
da845d52 fix getgrouplist when nscd reports an empty list
b7bc9665 fix posix_spawn interaction with fork and abort by taking lock
25ea9f71 fix unintended observability of SIGABRT disposition reset via sigaction
bd153422 implement _Fork and refactor fork using it
e1e98d86 rename fork source file
50716702 ldso: use pthread_t rather than kernel tid to track ctor visitor
1efc8eb2 fix stale lock when allocation of ctor queue fails during dlopen
69a1b390 drop use of pthread_once in mutexattr kernel support tests
b115bee4 fix missing synchronization of fork with abort
3cd3de61 move __abort_lock to its own file and drop pointless weak_alias trick
34904d83 fix fork of processes with active async io contexts

Details are here [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=a5aff1972c9e3981566414b09a28e331ccd2be5d..0b87551bdfb74ac411caa335d8ad0b89a7f139c6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomaintainers.inc: Add Jose Quaresma
Jose Quaresma [Mon, 26 Oct 2020 11:39:06 +0000 (11:39 +0000)]
maintainers.inc: Add Jose Quaresma

Jose Quaresma is responsible for the maintenance as follows:

shaderc
glslang
spirv-tools

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: fix identation and cleanup install append
Jose Quaresma [Mon, 26 Oct 2020 11:39:05 +0000 (11:39 +0000)]
spirv-tools: fix identation and cleanup install append

- replace tabs with spaces and remove extra spaces
- remove extra slash from '${D}/' on install append

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoshaderc: add receipe
Jose Quaresma [Mon, 26 Oct 2020 11:39:04 +0000 (11:39 +0000)]
shaderc: add receipe

A collection of tools, libraries and tests for shader compilation

This receipe is needed to build the gstreamer vulkan plugin
as it provides the binary glslc.

It is based on arch linux shaderc packge including the patches
https://github.com/archlinux/svntogit-packages/blob/91f0fa6ee3a220264a448527c1a8cf037caaad8e/trunk/PKGBUILD

    * 0001-fix-glslang-link-order.patch
      Upstream-Status: Backport [21c8be385b3fab5edcb934a6d99f69fd389c4e67]

    * 0002-shaderc-2019.0-fix-build-against-new-glslang.patch
      Upstream-Status: Pending

    * 0003-cmake-de-vendor-libs-and-disable-git-versioning.patch
      Upstream-Status: Inappropriate [configuration]

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglslang: add receipe
Jose Quaresma [Mon, 26 Oct 2020 11:39:03 +0000 (11:39 +0000)]
glslang: add receipe

Glslang is the official reference compiler front end for the
OpenGL ES and OpenGL shading languages. It implements a strict interpretation
of the specifications for these languages. It is open and free for anyone to use,
either from a command line or programmatically.

This receipe is needed to build the new shaderc

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: enable native build and install more header files
Jose Quaresma [Mon, 26 Oct 2020 11:39:02 +0000 (11:39 +0000)]
spirv-tools: enable native build and install more header files

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: import from meta-oe to OE core
Jose Quaresma [Mon, 26 Oct 2020 11:39:01 +0000 (11:39 +0000)]
spirv-tools: import from meta-oe to OE core

This receipe is needed to build the new shaderc

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrep: upgrade 3.4 -> 3.5
Denys Dmytriyenko [Fri, 16 Oct 2020 17:00:40 +0000 (13:00 -0400)]
grep: upgrade 3.4 -> 3.5

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agort-tests: Update recipes to use 1.8
Randy Witt [Mon, 19 Oct 2020 21:42:14 +0000 (14:42 -0700)]
rt-tests: Update recipes to use 1.8

John Kacur(the maintainer of rt-tests), recommends "that they use
unstable/devel/latest as the maintained stable branch". I received this
information on IRC, I couldn't find it documented anywhere else.

This means that both rt-tests and hwlatdetect can be updated to be 1.8,
the latest release on unstable/devel/latest.

0001-gzip-with-n-for-build-reproducibilty.patch was removed because
upstream now uses "gzip -n" by default.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonumactl: Skip the ptests when numa is not supported
Randy Witt [Mon, 19 Oct 2020 21:42:13 +0000 (14:42 -0700)]
numactl: Skip the ptests when numa is not supported

When numa is not supported, there is no reason to run the ptests since
they will fail. While the best scenario would be for the upstream tests
to skip themselves when numa is not supported, for now skip them in
run-ptest.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonumactl: Remove COMPATIBLE_HOST restrictions
Randy Witt [Mon, 19 Oct 2020 21:42:12 +0000 (14:42 -0700)]
numactl: Remove COMPATIBLE_HOST restrictions

Since there may be recipes that depend on libnuma, even though the
hardware doesn't support numa, remove the COMPATIBLE_HOST restrictions.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomaintainers: Add myself as numactl maintainer to avoid QA errors
Richard Purdie [Mon, 26 Oct 2020 12:26:14 +0000 (12:26 +0000)]
maintainers: Add myself as numactl maintainer to avoid QA errors

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonumactl: Add the recipe for numactl
Randy Witt [Mon, 19 Oct 2020 21:42:11 +0000 (14:42 -0700)]
numactl: Add the recipe for numactl

This is a direct copy of numactl from meta-openembedded. numactl is
being moved to oe-core since the latest versions of rt-tests(which is in
oe-core) require libnuma.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pycairo: upgrade 1.19.1 -> 1.20.0
zangrc [Tue, 20 Oct 2020 03:30:59 +0000 (11:30 +0800)]
python3-pycairo: upgrade 1.19.1 -> 1.20.0

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/buildhistory_analysis: Avoid tracebacks from file comparision code
Richard Purdie [Thu, 29 Oct 2020 15:21:35 +0000 (15:21 +0000)]
scripts/buildhistory_analysis: Avoid tracebacks from file comparision code

We're seeing tracebacks from buildhistory analysing the python 3.8 -> 3.9
upgrade due to the significant file renames. Avoid these by checking before
removal as they can happen multiple times.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodeb: replace deprecated apt force-yes argument
Richard Leitner [Thu, 29 Oct 2020 10:07:02 +0000 (11:07 +0100)]
deb: replace deprecated apt force-yes argument

apt-get deprecated --force-yes in favor of various options starting with
--allow [1]. Replace it to avoid the following warning:

W: --force-yes is deprecated, use one of the options starting with --allow instead.

[1] https://salsa.debian.org/apt-team/apt/-/blob/master/debian/changelog

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonetbase: Add whitespace to purge bogus hash equivalence from autobuilder
Richard Purdie [Thu, 29 Oct 2020 18:12:13 +0000 (18:12 +0000)]
netbase: Add whitespace to purge bogus hash equivalence from autobuilder

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonetbase: update SRC_URI to reflect new file name
Steve Sakoman [Thu, 22 Oct 2020 19:19:47 +0000 (09:19 -1000)]
netbase: update SRC_URI to reflect new file name

The netbase_6.1.tar.xz file was removed and replaced with
netbase_6.1_bpo10+1.tar.xz.  File contents are identical except
for the changelog:

$ diff -rup netbase-6.1 netbase-6.1~bpo10+1/
 diff -rup netbase-6.1/debian/changelog netbase-6.1~bpo10+1/debian/changelog
 --- netbase-6.1/debian/changelog 2020-02-16 13:22:04.000000000 -1000
 +++ netbase-6.1~bpo10+1/debian/changelog 2020-08-26 23:10:59.000000000 -1000
 @@ -1,3 +1,9 @@
 +netbase (6.1~bpo10+1) buster-backports; urgency=medium
 +
 +  * Rebuild for buster-backports. (Closes: #969058)
 +
 + -- Arturo Borrero Gonzalez <arturo@debian.org>  Thu, 27 Aug 2020 11:10:59 +0200
 +
  netbase (6.1) unstable; urgency=medium

    * services: added isakmp (500/udp) which was removed by mistake in

[YOCTO #14084]

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinit-ifupdown: Merge all interface files for differnet qemus
Khem Raj [Wed, 28 Oct 2020 04:09:03 +0000 (21:09 -0700)]
init-ifupdown: Merge all interface files for differnet qemus

all these were exact copies, therefore just use qemuall to house this
file as it will be same across all qemu machines

Additionally, it can support out of tree qemu definitions better eg.
qemuppc64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinit-ifupdown: Define interfaces file for riscv emulators
Khem Raj [Wed, 28 Oct 2020 04:09:01 +0000 (21:09 -0700)]
init-ifupdown: Define interfaces file for riscv emulators

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosstatesig: Log timestamps for hashequiv in reprodubile builds for do_package
Richard Purdie [Wed, 29 Jan 2020 17:28:46 +0000 (17:28 +0000)]
sstatesig: Log timestamps for hashequiv in reprodubile builds for do_package

Currently if a task generates the same output with different timestamps,
hasequiv won't detect it but reproducibile builds will fail tests due
to the different timestamps.

Add do_package timestamps to the hash when reproducibile builds are enabled
to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Disable gold linker and JIT on riscv
Khem Raj [Tue, 27 Oct 2020 04:58:58 +0000 (21:58 -0700)]
webkitgtk: Disable gold linker and JIT on riscv

both unsupported _yet_ on RISCV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Exclude ${CCACHE_DIR} from pseudo database
Mingli Yu [Tue, 27 Oct 2020 01:29:39 +0000 (09:29 +0800)]
bitbake.conf: Exclude ${CCACHE_DIR} from pseudo database

When ccache enabled as below:
INHERIT += "ccache"
CCACHE_DIR = "/path/build/ccache"

There comes do_install failure for some recipes randomly, take
linux-libc-headerswhen as example.
 $ cat /path/build/tmp/work/corei7-64-wrs-linux/linux-libc-headers/5.8-r0/pseudo/pseudo.log
 [snip]
 path mismatch [1 link]: ino 243004209 db '/path/build/ccache/6/stats' req '/path/build/ccache/7/stats.lock'.
 [snip]

Exclude ${CCACHE_DIR} from pseudo database to fix the potential
do_install failure.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: fix several CVEs in grub 2.04
Yongxin Liu [Wed, 28 Oct 2020 03:18:06 +0000 (11:18 +0800)]
grub: fix several CVEs in grub 2.04

Backport patches from https://git.savannah.gnu.org/git/grub.git
to fix some CVEs. Here is the list.

CVE-2020-14308:
0001-calloc-Make-sure-we-always-have-an-overflow-checking.patch
0002-lvm-Add-LVM-cache-logical-volume-handling.patch
0003-calloc-Use-calloc-at-most-places.patch

CVE-2020-14309, CVE-2020-14310, CVE-2020-14311:
0004-safemath-Add-some-arithmetic-primitives-that-check-f.patch
0005-malloc-Use-overflow-checking-primitives-where-we-do-.patch

CVE-2020-15706:
0006-script-Remove-unused-fields-from-grub_script_functio.patch
0007-script-Avoid-a-use-after-free-when-redefining-a-func.patch

CVE-2020-15707:
0008-linux-Fix-integer-overflows-in-initrd-size-handling.patch

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision 2020-10 2020-10-gatesgarth yocto-3.2
Richard Purdie [Mon, 26 Oct 2020 22:14:31 +0000 (22:14 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-core-tools-profile: Remove lttng-tools and perf for rv32/glibc
Khem Raj [Mon, 26 Oct 2020 18:40:33 +0000 (11:40 -0700)]
packagegroup-core-tools-profile: Remove lttng-tools and perf for rv32/glibc

They still lack riscv32 ports

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: fix parsing of slim encoded tzdata
Ross Burton [Mon, 26 Oct 2020 18:01:06 +0000 (18:01 +0000)]
glib-2.0: fix parsing of slim encoded tzdata

As of tzcode 2020b the timezone data is encoded using the 'slim' format
instead of the previous 'fat'.  This exposes a number of bugs in GLib,
so backport the fixes to improve the parser.

[ YOCTO #14106 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Fix build on musl after drd fixes
Richard Purdie [Mon, 26 Oct 2020 12:50:09 +0000 (12:50 +0000)]
valgrind: Fix build on musl after drd fixes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: drd: fix pthread intercept test failures
Stacy Gaikovaia [Tue, 13 Oct 2020 14:44:26 +0000 (10:44 -0400)]
valgrind: drd: fix pthread intercept test failures

After glibc uprev 2.31 -> 2.32, the following drd ptests
fail with the error "condition variable has not been initialized".

drd/tests/annotate_hb_err
drd/tests/annotate_sem
drd/tests/annotate_rwlock
drd/tests/annotate_order_2
drd/tests/annotate_smart_pointer
drd/tests/annotate_spinlock
drd/tests/monitor_example
drd/tests/pth_cond_race
drd/tests/pth_inconsistent_cond_wait

In glibc 2.32, the POSIX thread functions are in both
libc and libpthread, causing valgrind to misinterpert
test behaviour. This patch tells valgrind to intercept
both the libc and the libpthread functions, resolving
these ptest failures.

Here are the latest test results on qemux86-64:
=== Test Summary ===
TOTAL: 728
PASSED: 688
FAILED: 1
SKIPPED: 39

The failed test is in helgrind:
FAIL: helgrind/tests/pth_destroy_cond

Patch can be removed once we uprev valgrind.
See valgrind commit 15330adf7c2471fbaa6a0818db07078d81dbff97.

Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "classes/buildhistory: also save recipe info for native recipes"
Richard Purdie [Fri, 23 Oct 2020 10:42:33 +0000 (11:42 +0100)]
Revert "classes/buildhistory: also save recipe info for native recipes"

This reverts commit d123606c4bef85c2436b40f51e47b602b7600c0b.

This change contains races as it will start poking into do_package task
directories from do_populate_sysroot. If we want to do this for native
recipes, we need to add guards around the package code and only make
this happen for native in populate_sysroot, not target in
populate_sysroot too. Backtrace from an example problem below:

ERROR: openssl-1.1.1g-r0 do_populate_sysroot: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:buildhistory_emit_pkghistory(d)
     0003:
File: '/home/ross/Yocto/poky/meta/classes/buildhistory.bbclass', lineno: 319, function: buildhistory_emit_pkghistory
     0315:
     0316:        write_pkghistory(pkginfo, d)
     0317:
     0318:    # Create files-in-<package-name>.txt files containing a list of files of each recipe's package
 *** 0319:    bb.build.exec_func("buildhistory_list_pkg_files", d)
     0320:}
     0321:
     0322:python buildhistory_emit_outputsigs() {
     0323:    if not "task" in (d.getVar('BUILDHISTORY_FEATURES') or "").split():
File: '/home/ross/Yocto/poky/bitbake/lib/bb/build.py', lineno: 256, function: exec_func
     0252:    with bb.utils.fileslocked(lockfiles):
     0253:        if ispython:
     0254:            exec_func_python(func, d, runfile, cwd=adir)
     0255:        else:
 *** 0256:            exec_func_shell(func, d, runfile, cwd=adir)
     0257:
     0258:    try:
     0259:        curcwd = os.getcwd()
     0260:    except:
File: '/home/ross/Yocto/poky/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell
     0499:    with open(fifopath, 'r+b', buffering=0) as fifo:
     0500:        try:
     0501:            bb.debug(2, "Executing shell function %s" % func)
     0502:            with open(os.devnull, 'r+') as stdin, logfile:
 *** 0503:                bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
     0504:        except bb.process.ExecutionError as exe:
     0505:            # Find the backtrace that the shell trap generated
     0506:            backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
     0507:            stdout_lines = (exe.stdout or "").split("\n")
File: '/home/ross/Yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run
     0180:        if not stderr is None:
     0181:            stderr = stderr.decode("utf-8")
     0182:
     0183:    if pipe.returncode != 0:
 *** 0184:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0185:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/yocto/ross/build/tmp/work/neoversen1-poky-linux/openssl/1.1.1g-r0/temp/run.buildhistory_list_pkg_files.4158804' failed with exit code 2:
/yocto/ross/build/tmp/work/neoversen1-poky-linux/openssl/1.1.1g-r0/temp/run.buildhistory_list_pkg_files.4158804: 183: cd: can't cd to /yocto/ross/build/tmp/work/neoversen1-poky-linux/openssl/1.1.1g-r0/packages-split/openssl-engines

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: package nvidia firmware
Max Krummenacher [Mon, 19 Oct 2020 23:06:08 +0000 (01:06 +0200)]
linux-firmware: package nvidia firmware

Add packages for the firmware required by the Nvidia chipsets.
Split it in Tegra K1, all other Tegras and desktop GPU packages.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: package marvel sdio 8997 firmware
Max Krummenacher [Mon, 19 Oct 2020 23:06:07 +0000 (01:06 +0200)]
linux-firmware: package marvel sdio 8997 firmware

Add package for the firmware required by the Marvell 8997 chipset when
connected over SDIO.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimagefeatures: New test case, test_empty_image, added
Khairul Rohaizzat Jamaluddin [Wed, 21 Oct 2020 08:55:28 +0000 (16:55 +0800)]
imagefeatures: New test case, test_empty_image, added

An empty image build file exists under the meta-selftest folder, test-empty-image.bb,
which builds an image with no additional packages. However, there were no further
selftest created to verify its emptiness

This change consists of the selftest related to the said image to verify its
emptiness and the 'import glob' moved as global import instead of local import.

The expected outcome of the test should be TRUE or 1 if the .manifest file content
is empty.

[YOCTO #8455]

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoharfbuzz: Refresh patch
Zang Ruochen [Wed, 30 Sep 2020 04:05:15 +0000 (12:05 +0800)]
harfbuzz: Refresh patch

Because two modifications conflict in the patch, do_patch will make an error when using patch as a patchtool.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston-init: Allow setting idle time to 0
Alistair [Thu, 22 Oct 2020 02:45:49 +0000 (19:45 -0700)]
weston-init: Allow setting idle time to 0

Add a PACKAGECONFIG that can be used to set the idle-time to 0. This is
useful for always on machine (such as kiosks) and for debugging.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotcl: adapt to potential pseudo changes
Mingli Yu [Thu, 22 Oct 2020 03:27:25 +0000 (11:27 +0800)]
tcl: adapt to potential pseudo changes

It failed as below when rerun do_install for tcl:
 $ bitbake tcl
 $ bitbake tcl -f -cinstall
 [snip]
 | NOTE: make -j 72 DESTDIR=/build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/image install
 | abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
 | /build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/temp/run.do_install.3490694: line 184: 3499214 Aborted                 (core dumped) make -j 72 "$@"

By default the S is ${WORKDIR}/${BPN}-${PV}, but after unpack,
the tcl source [1] unpacked to ${WORKDIR}/${BPN}${PV} and all the
files under ${WORKDIR}/${BPN}${PV} are acutally the source files.

But the the main Makefile.in is under ${WORKDIR}/${BPN}${PV}/unix
for tcl, so there is below logic in tcl recipe:
S = "${WORKDIR}/${BPN}${PV}/unix"

To adapt the potential pseudo changes, there is a general logic to
exclude ${S} from pseudo database in base.bbclass in [2]. That's to
say, just the dir ${WORKDIR}/${BPN}${PV}/unix is excluded from the
pseudo database.

But it's not enough for tcl, we need to exclude the actual source dir
${WORKDIR}/${BPN}${PV} from pseudo database specifically to fix the
above do_install failure.

[1] https://downloads.sourceforge.net/tcl/tcl8.6.0-src.tar.gz
[2] https://git.openembedded.org/openembedded-core/tree/meta/classes/base.bbclass#n396

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston: Fix PACKAGECONFIG for remoting
Robert Yang [Thu, 22 Oct 2020 11:58:41 +0000 (19:58 +0800)]
weston: Fix PACKAGECONFIG for remoting

Fix a typo: gstreamer-1.0 -> gstreamer1.0.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobaremetal-helloworld: Fix install path since S doesnt have a trailing slash
Alejandro Hernandez Samaniego [Thu, 22 Oct 2020 08:32:22 +0000 (02:32 -0600)]
baremetal-helloworld: Fix install path since S doesnt have a trailing slash

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 20 Oct 2020 10:21:50 +0000 (11:21 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa: Add sync call to command execution
Richard Purdie [Mon, 19 Oct 2020 12:50:19 +0000 (13:50 +0100)]
oeqa: Add sync call to command execution

We previously put a sync call into devtool to try and combat the bitbake
timeout issues on the autobuilder. It isn't enough as the timeouts occur
mid test. They are also occurring on non-devtool tests.

Add in sync calls around command execution instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: change TLBs number to 64 in 34Kf mips cpu model
Victor Kamensky [Mon, 19 Oct 2020 22:21:46 +0000 (15:21 -0700)]
qemu: change TLBs number to 64 in 34Kf mips cpu model

Replace OE private qemu patch with one that got upstreamed
and solves the same problem: increase qemumips CI performance
by increasing number of TLBs in CPU model and reduce need to
run software TLB refill code.

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "qemu: add 34Kf-64tlb fictitious cpu type"
Victor Kamensky [Mon, 19 Oct 2020 22:21:45 +0000 (15:21 -0700)]
Revert "qemu: add 34Kf-64tlb fictitious cpu type"

This reverts commit 4470a04943352224955f17e004962f0f9e1c9b0c.

Will be replaced with upstreamed solution instead, that just
bumped number of TLBs to 64 in original 34Kf CPU model.

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