]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agoepiphany: Add missing dependency on gnutls
Khem Raj [Sun, 18 Apr 2021 21:32:07 +0000 (14:32 -0700)]
epiphany: Add missing dependency on gnutls

This was being pulled in by other dependencies thus far

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobtrfs-tools: Try to follow style guide
Robert Joslyn [Sun, 18 Apr 2021 03:40:41 +0000 (20:40 -0700)]
btrfs-tools: Try to follow style guide

Cosmetic changes to better follow the style guide.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobtrfs-tools: Add PACKAGECONFIG options
Robert Joslyn [Sun, 18 Apr 2021 03:40:40 +0000 (20:40 -0700)]
btrfs-tools: Add PACKAGECONFIG options

Add options to make it easier to control which features are enabled. All
of these default to enabled by upstream, so keep them enabled to
maintain previous behavior.

The convert option also supports reiserfs, but no recipes exist in the
layer index. Limit the option to ext filesystems until someone cares
enough to make reiserfs recipes.

Remove acl and attr from DEPENDS, as they do not apper to be needed. Add
zlib since it is required.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobtrfs-tools: Update to 5.11.1
Robert Joslyn [Sun, 18 Apr 2021 03:40:39 +0000 (20:40 -0700)]
btrfs-tools: Update to 5.11.1

Update licensing, as libtrfsutil is under LGPLv3+. Note that libtrfsutil
is in the process of being relicensed to LGPLv2.1+:
https://github.com/kdave/btrfs-progs/issues/323

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoautoconf-archive: update to 2021.02.19
Oleksandr Kravchuk [Sat, 17 Apr 2021 23:11:41 +0000 (01:11 +0200)]
autoconf-archive: update to 2021.02.19

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/runtime/cases: Only disable/enable for current boot
Wes Lindauer [Mon, 12 Apr 2021 03:50:34 +0000 (23:50 -0400)]
oeqa/runtime/cases: Only disable/enable for current boot

Previously doing a stop/start worked, but using a disable/enable does
not work on a read-only rootfs. Add a --runtime flag to systemctl so
that systemd only modifies the current boot and does not attempt to
write to the filesystem.

This also keeps the test from making a permanent (one could argue
policy) change to the running system being tested. i.e. What if the
image being tested had intentionally disabled the timesyncd service in
preference to using chrony or ntpd? The test shouldn't assume that the
user wants the timesyncd service enabled.

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools: update to 56.0.0
Oleksandr Kravchuk [Sat, 17 Apr 2021 20:21:58 +0000 (22:21 +0200)]
python3-setuptools: update to 56.0.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: Upgrade 3.9.2 -> 3.9.4
Alejandro Enedino Hernandez Samaniego [Sat, 17 Apr 2021 00:48:35 +0000 (18:48 -0600)]
python3: Upgrade 3.9.2 -> 3.9.4

- Rebased patch 0001-test_locale.py-correct-the-test-output-format
  Maintainer needs to sign CLA and resubmit
- configure now explicitly requires autoconf-archive to be present

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: Improve logging, syntax and update deprecated modules to create_manifest
Alejandro Enedino Hernandez Samaniego [Sat, 17 Apr 2021 00:48:34 +0000 (18:48 -0600)]
python3: Improve logging, syntax and update deprecated modules to create_manifest

The imp module has een deprecated by upstream python, drop its usage
  (imp.get_tag) in favor of sys.implementation.cache_tag.

Avoid incorrectly getting dependencies for running script and
multiprocessing module.

Improve logging behavior of the create_manifest task:
- Use indentation.
- Logs on temp directory.
- Use a proper debug flag.
- Standarize syntax.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: Fix build on mips/musl
Khem Raj [Tue, 13 Apr 2021 06:48:41 +0000 (23:48 -0700)]
systemd: Fix build on mips/musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
Otavio Salvador [Thu, 15 Apr 2021 23:43:04 +0000 (20:43 -0300)]
gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-base: Add 'viv-fb' OpenGL Window System option
Otavio Salvador [Thu, 15 Apr 2021 23:43:03 +0000 (20:43 -0300)]
gstreamer1.0-plugins-base: Add 'viv-fb' OpenGL Window System option

This adds the 'viv-fb' PACKAGECONFIG option to allow Vivante GPU window
system to work.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pygobject: upgrade 3.38.0 -> 3.40.1
zhengruoqin [Fri, 16 Apr 2021 11:23:46 +0000 (19:23 +0800)]
python3-pygobject: upgrade 3.38.0 -> 3.40.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomaintainers.inc: Modify email address
zangrc [Fri, 16 Apr 2021 01:41:48 +0000 (09:41 +0800)]
maintainers.inc: Modify email address

zangrc.fnst@cn.fujitsu.com -> zangrc.fnst@fujitsu.com
wangmy@cn.fujitsu.com -> wangmy@fujitsu.com

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: upgrade 21.0.1 -> 21.0.2
wangmy [Thu, 15 Apr 2021 23:50:02 +0000 (07:50 +0800)]
mesa: upgrade 21.0.1 -> 21.0.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: update SRC_URI to use https protocol
wangmy [Thu, 15 Apr 2021 16:43:30 +0000 (09:43 -0700)]
go: update SRC_URI to use https protocol

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoparselogs: ignore floppy error on qemu-system-x86 at boot stage
Yanfei Xu [Fri, 9 Apr 2021 09:03:29 +0000 (17:03 +0800)]
parselogs: ignore floppy error on qemu-system-x86 at boot stage

We can disable floppy drive by BIOS on a hardware, but an empty floppy
drive is connected by default on qemu-system-x86. Linux usually detect
the device and modprode the matched floppy.ko at the boot stage. Due to
we don't specify a floppy deivce in qemu boot arguments, then the errors
about floppy reading comes out.

It is harmless and normal, so we could ignore this error message on
qemux86.

Seen if kernel-modules is included in the image which pulls in the
relavent kernel module.

https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/runtime: space needed
Jon Mason [Wed, 14 Apr 2021 15:19:16 +0000 (11:19 -0400)]
oeqa/runtime: space needed

Messages are currently being printed as:
Test requires dropbear, oropenssh-sshd to be installed
but should be
Test requires dropbear, or openssh-sshd to be installed
Adding the space after the 'or' corrects this.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoman-pages: upgrade 5.10 -> 5.11
wangmy [Thu, 15 Apr 2021 06:07:19 +0000 (14:07 +0800)]
man-pages: upgrade 5.10 -> 5.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agompg123: upgrade 1.26.4 -> 1.26.5
wangmy [Thu, 15 Apr 2021 06:07:21 +0000 (14:07 +0800)]
mpg123: upgrade 1.26.4 -> 1.26.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogroff: not ship /usr/bin/grap2graph
Mingli Yu [Thu, 15 Apr 2021 08:33:20 +0000 (16:33 +0800)]
groff: not ship /usr/bin/grap2graph

grap2graph which converts a GRAP diagram into a cropped image fails
to run as below:
 $ grap2graph
 /usr/bin/grap2graph: line 89: convert: command not found
 /usr/bin/grap2graph: warning: falling back to old '-crop 0x0' trim method
 /usr/bin/grap2graph: line 104: convert: command not found
 /usr/bin/grap2graph: line 103: grap: command not found

Considering we don't often need to convert a GRAP diagram into
a cropped image and the recipe ImageMagick which provides convert
command is in meta-oe layer, so don't ship the related files to
avoid the confusion about the above run time error.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoicu: upgrade 68.2 -> 69.1
wangmy [Thu, 15 Apr 2021 08:32:16 +0000 (16:32 +0800)]
icu: upgrade 68.2 -> 69.1

refresh 0001-icu-Added-armeb-support.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibdrm: upgrade 2.4.104 -> 2.4.105
zhengruoqin [Thu, 15 Apr 2021 14:54:16 +0000 (22:54 +0800)]
libdrm: upgrade 2.4.104 -> 2.4.105

0001-meson-Also-search-for-rst2man.py.patch
removed since it is included in 2.4.105

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibrepo: upgrade 1.13.0 -> 1.14.0
zhengruoqin [Thu, 15 Apr 2021 14:53:39 +0000 (22:53 +0800)]
librepo: upgrade 1.13.0 -> 1.14.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibdazzle: upgrade 3.38.0 -> 3.40.0
zhengruoqin [Thu, 15 Apr 2021 14:52:35 +0000 (22:52 +0800)]
libdazzle: upgrade 3.38.0 -> 3.40.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcomps: upgrade 0.1.15 -> 0.1.16
wangmy [Thu, 15 Apr 2021 06:08:20 +0000 (14:08 +0800)]
libcomps: upgrade 0.1.15 -> 0.1.16

refresh 0001-Add-crc32.c-to-sources-list.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap: upgrade 2.48 -> 2.49
wangmy [Thu, 15 Apr 2021 06:08:19 +0000 (14:08 +0800)]
libcap: upgrade 2.48 -> 2.49

License-Update: add description of GPL v2.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosanity: Add error check for '%' in build path
Richard Purdie [Thu, 15 Apr 2021 12:49:13 +0000 (13:49 +0100)]
sanity: Add error check for '%' in build path

It has been reported that '%' characters in build paths break with python
exceptions, probably due to confusion with python string escaping. Whilst it
is probably fixable, showing the user a human readable error is better given
it doesn't work.

[YOCTO #14282]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane: clean up some more warning messages
Ross Burton [Tue, 13 Apr 2021 15:18:22 +0000 (16:18 +0100)]
insane: clean up some more warning messages

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobinutils: rename BRANCH var
Armin Kuster [Tue, 13 Apr 2021 14:22:45 +0000 (07:22 -0700)]
binutils: rename BRANCH var

If BRANCH is defined in local.conf then that name is used to d/l sources
for binutils. You will get this error:

Fetcher failure for URL: 'git://sourceware.org/git/binutils-gdb.git;branch=hardknott;protocol=git'. Unable to fetch URL from any source.

Rename to SRCBRANCH like glibc has to avoid the more common variable name BRANCH.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
--
V2]
Remove commented out BINUPV and function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "inittab: Add getty launch on hvc0 for qemuppc64"
Kevin Hao [Wed, 7 Apr 2021 12:18:12 +0000 (20:18 +0800)]
Revert "inittab: Add getty launch on hvc0 for qemuppc64"

This reverts commit ed69ef20167da0986bc9363d1a91e62001995af4.

The console entry has already been added into /etc/inittab based
on the SERIAL_CONSOLES. So drop this redundant entry.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysvinit-inittab/start_getty: Check /sys for the tty device existence
Kevin Hao [Wed, 7 Apr 2021 12:18:11 +0000 (20:18 +0800)]
sysvinit-inittab/start_getty: Check /sys for the tty device existence

The hvc tty driver doesn't populate a file like /proc/tty/driver/serial,
so the current implementation of start_getty doesn't work for the hvc
console. By checking the /sys/class/tty/ for the tty device existence,
it should support more console types and also make the codes more simple.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomodutils-initscripts: Bail out when no module is installed
Kevin Hao [Wed, 7 Apr 2021 12:18:10 +0000 (20:18 +0800)]
modutils-initscripts: Bail out when no module is installed

Fix the following warning when boot with a core-image-minimal rootfs:
  depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibtool: make sure autoheader run before automake
Mingli Yu [Tue, 13 Apr 2021 09:00:11 +0000 (17:00 +0800)]
libtool: make sure autoheader run before automake

When use automake to generate Makefile.in from Makefile.am, there
comes below race:
 | configure.ac:45: error: required file 'config-h.in' not found

It is because the file config-h.in in updating process by autoheader,
so make automake run after autoheader to avoid the above race.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokmod: do not symlink config.guess/config.sub during autoreconf
Gavin Li [Tue, 13 Apr 2021 05:29:23 +0000 (22:29 -0700)]
kmod: do not symlink config.guess/config.sub during autoreconf

I was encountering the following race condition on poky:

- automake-native does do_install.
- automake-native does do_populate_sysroot. This hardlinks config.guess
  and config.sub into ${D}.
- kmod-native does do_configure. This runs `autoreconf`, which runs
  `automake --add-missing` (symlinks config.guess/config.sub from
  recipe-sysroot-native to build dir), then runs `gnu-configize` (copies
  _its own_ config.guess/config.sub _on top_ of the already existing
  ones). Since the destinations already had symlinks, the copy would
  overwrite config.guess/config.sub in recipe-sysroot-native, which
  would in turn overwrite the same in ${D} due to being hardlinked.
- automake-native does do_package. The outhash is thus calculated on the
  clobbered config.guess/config.sub files.

With hash equivalency enabled, the different outhash produced a
different unihash, which kept me from reusing sstate between my laptop
and my build server. This race condition would happen only on the build
server (BB_NUMBER_THREADS = 32) but never on my laptop
(BB_NUMBER_THREADS = 6).

I didn't see the --install and --symlink flags being used by any other
recipe, so I removed them, and that fixed the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopango: re-enable ptest
Saul Wold [Mon, 12 Apr 2021 17:08:33 +0000 (10:08 -0700)]
pango: re-enable ptest

The run-ptest script got accidently dropped from the SRC_URI during
a past update and ptest patch.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: upgrade 247.4 -> 247.6
Anthony Bagwell [Mon, 12 Apr 2021 15:17:08 +0000 (16:17 +0100)]
systemd: upgrade 247.4 -> 247.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: upgrade 1.16.2 -> 1.16.3
wangmy [Sat, 10 Apr 2021 01:30:05 +0000 (18:30 -0700)]
go: upgrade 1.16.2 -> 1.16.3

This is bugfix release in 1.16 series [1]

[1] https://github.com/golang/go/issues?q=milestone%3AGo1.16.3+label%3ACherryPickApproved

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0: update patch upstream status
Jose Quaresma [Fri, 9 Apr 2021 23:46:20 +0000 (00:46 +0100)]
gstreamer1.0: update patch upstream status

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocpan-base: set default UPSTREAM_CHECK_REGEX
Konrad Weihmann [Fri, 9 Apr 2021 16:51:23 +0000 (18:51 +0200)]
cpan-base: set default UPSTREAM_CHECK_REGEX

as cpan release versions are almost always follow an a.b version scheme,
it's better to filter out beta releases such as a.b.c.
Use the first resource fetched from https://cpan.metacpan.org as base
for calculating the needed regex.
In case nothing can be calculated fall back to nothing.
Add this to cpan-base to enable it for new & old style cpan integration.

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglslang: strip whitespace in pkgconfig file
Ross Burton [Fri, 9 Apr 2021 15:00:14 +0000 (16:00 +0100)]
glslang: strip whitespace in pkgconfig file

Whilst pkg-config is fine with .pc files containing leading whitespace,
pkgconf is less forgiving.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: fix empty ltp-dev package
Jonas Höppner [Fri, 9 Apr 2021 06:35:22 +0000 (06:35 +0000)]
ltp: fix empty ltp-dev package

Currently the headers are not installed and the ltp-dev package is
empty.

This patch adds an include-install make target in the do_install step to
install them in sysroot which ends up as a working ltp-dev package.

Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocross-canadian: Whitelist "mingw32" as TARGET_OS
Anatol Belski [Wed, 7 Apr 2021 11:22:06 +0000 (11:22 +0000)]
cross-canadian: Whitelist "mingw32" as TARGET_OS

If a recipe inherits cross-canadian and contains "nativesdk" in
BBCLASSEXTEND and meta-mingw is included and multiconfig is enabled,
bitbake will generate the correspending recipe. As meta-mingw sets
SDK_OS to "mingw32", that's what TARGET_OS will be set to as well.
Thus, currently such a recipe won't pass the check and fail with
a message:

Building cross-candian for an unknown TARGET_SYS
(x86_64-mysdk-mingw32), please update cross-canadian.bbclass

Even when building an SDK targeting Linux, but the mentioned conditions
are met, bitbake will try to generate the corresponding recipe and fail.

As the described combination seems valid, including "mingw32" into the
whitelist unconditionally as a fix is suggested.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-core-tools-testapps.bb: Remove kexec for riscv32
Mingli Yu [Wed, 7 Apr 2021 09:24:03 +0000 (17:24 +0800)]
packagegroup-core-tools-testapps.bb: Remove kexec for riscv32

kexec is not yet ported to riscv32.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-core-tools-profile: Remove valgrind for riscv32
Mingli Yu [Wed, 7 Apr 2021 05:49:20 +0000 (13:49 +0800)]
packagegroup-core-tools-profile: Remove valgrind for riscv32

valgrind is not yet ported to riscv32.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxshmfence: Build fixes for riscv32
Mingli Yu [Wed, 7 Apr 2021 08:08:24 +0000 (16:08 +0800)]
libxshmfence: Build fixes for riscv32

NR_futex is not defined by newer architectures e.g. riscv32 as
they only have 64bit variant of time_t. Glibc defines SYS_futex
interface based on __NR_futex, since this is used in applications,
such applications start to fail to build for these newer architectures.

Define a fallback to alias __NR_futex to __NR_futex_time64 to make
SYS_futex keep working.

Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarch-armv6m.inc: fix access rights
Ulrich Ölmann [Wed, 7 Apr 2021 16:48:05 +0000 (18:48 +0200)]
arch-armv6m.inc: fix access rights

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoexternalsrc: Detect code changes in submodules
Douglas Royds [Thu, 8 Apr 2021 01:08:55 +0000 (13:08 +1200)]
externalsrc: Detect code changes in submodules

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our source subtree.

[YOCTO #14333]

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "externalsrc: Detect code changes in submodules"
Douglas Royds [Thu, 8 Apr 2021 01:08:54 +0000 (13:08 +1200)]
Revert "externalsrc: Detect code changes in submodules"

This reverts commit 4525310d49d115a37705f04ac5c03d639e5e8f8c.

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our EXTERNALSRC subtree.

If we unpack one git repo inside another, like this:

    SRC_URI = "git://${GIT_SERVER}/repo1;name=repo1;destsuffix=repo1 \
               git://${GIT_SERVER}/repo2;name=repo2;destsuffix=repo1/repo2 \
               "

Git status reports, for repo1:

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
repo2/

If we run `devtool modify` on this recipe, do_patch runs with:

    PATCHTOOL = "git"
    PATCH_COMMIT_FUNCTIONS = "1"

The `patch_task_postfunc` (patch.bbclass, line 82) runs a `git add .` on the
top-level repo1, leaving the checkout in an invalid state. The following git
warning does not appear in the log:

    $ git add .
    warning: adding embedded git repository: repo2
    hint: You've added another git repository inside your current repository.
    hint: Clones of the outer repository will not contain the contents of
    hint: the embedded repository and will not know how to obtain it.
    hint: If you meant to add a submodule, use:
    hint:
    hint:  git submodule add <url> repo2
    hint:
    hint: If you added this path by mistake, you can remove it from the
    hint: index with:
    hint:
    hint:  git rm --cached repo2
    hint:
    hint: See "git help submodule" for more information.

    $ git submodule status
    fatal: no submodule mapping found in .gitmodules for path 'repo2'

No further git submodule commands can be run on the checkout.

We could enhance the `patch_task_postfunc` to look for any embedded git
checkouts and add them as submodules, but this seems unnecessary complexity for
an obscure edge-case. Although the git repo is left in an invalid state with
respect to the submodules, it still serves the purpose required by devtool:
To take further commits, and generate patch files from them.

We are still able to run these commands to examine any submodules,
where git submodule--helper reports paths relative to the top of the checkout:

    $ git ls-files --stage | grep ^160000
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

    $ git submodule--helper list
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

When a recipe sets EXTERNALSRC to a subdirectory of the git checkout, we test
for the existence of the reported submodule paths within the EXTERNALSRC
directory.

The latest versions of git submodule--helper accept a path to a subdirectory and
correctly report no submodules within that subdirectory. Regrettably, we still
support git versions that don't accept a path to a subdirectory.

[YOCTO #14333]

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoassimp: BBCLASSEXTEND to native and nativesdk
Samuli Piippo [Thu, 8 Apr 2021 06:28:26 +0000 (09:28 +0300)]
assimp: BBCLASSEXTEND to native and nativesdk

At least some Qt tooling depends on assimp.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibksba: upgrade 1.5.0 -> 1.5.1
wangmy [Thu, 8 Apr 2021 06:09:03 +0000 (14:09 +0800)]
libksba: upgrade 1.5.0 -> 1.5.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibportal: upgrade 0.3 -> 0.4
wangmy [Thu, 8 Apr 2021 06:09:04 +0000 (14:09 +0800)]
libportal: upgrade 0.3 -> 0.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agohelp2man: upgrade 1.48.2 -> 1.48.3
wangmy [Thu, 8 Apr 2021 06:09:02 +0000 (14:09 +0800)]
help2man: upgrade 1.48.2 -> 1.48.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva-utils: upgrade 2.10.0 -> 2.11.1
zhengruoqin [Thu, 8 Apr 2021 14:20:33 +0000 (22:20 +0800)]
libva-utils: upgrade 2.10.0 -> 2.11.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoruby: upgrade 3.0.0 -> 3.0.1
zhengruoqin [Thu, 8 Apr 2021 14:20:14 +0000 (22:20 +0800)]
ruby: upgrade 3.0.0 -> 3.0.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva: upgrade 2.10.0 -> 2.11.0
zhengruoqin [Thu, 8 Apr 2021 14:19:29 +0000 (22:19 +0800)]
libva: upgrade 2.10.0 -> 2.11.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "glib-2.0: add workaround to fix codegen.py.test failing"
Yi Fan Yu [Thu, 8 Apr 2021 18:42:26 +0000 (14:42 -0400)]
Revert "glib-2.0: add workaround to fix codegen.py.test failing"

This reverts commit afc9ba7d546f3f2e60fb6f46f740dc925542df16.

Ptest-runner was upgraded in e3fd8f17dfb41173dbe037c25087a69f90b1346f,
which means we no longer need to limit glib-2.0 ptest output.

[YOCTO #14170]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodeb: apply postinstall on sdk
hongxu [Thu, 8 Apr 2021 09:04:28 +0000 (02:04 -0700)]
deb: apply postinstall on sdk

If not postinstall applied, some nativesdk command could not be found
in sdk due to update-alternatives in postinst not be executed, such as chroot:

$ which chroot
/sbin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

After applying the fix
$ which chroot
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/contrib/image-manifest: add new script
Anders Wallin [Thu, 8 Apr 2021 18:03:36 +0000 (20:03 +0200)]
scripts/contrib/image-manifest: add new script

image-manifest: script to generate product/image specific BOM

The image-manifest script generates image specific reports based on
an image manifest file. Currently there is data generated by buildhistory,
pkgdata, and license manifest but this data is poorly formated and spread
across multiple text files. This script can generate a single JSON output
file that is machine readable by other tools.

The manifest-info collects package information and stores the information
in a tarball. manifest-info can be configured using a json configuration
file. The default configuration including all possible options can be
dumped using the dump-config subcommand.

image-manifest takes an image manifest file as input to get the runtime
dependencies. As an option image-manifest can also use the build dependency
file, pn-buildlist, to get the build dependencies excluding native
packages.

This script extends the oe-image-manifest script [0] done by Paul Eggleton

[0]
https://github.com/intel/clear-linux-dissector-web/blob/master/layerindex/static/files/oe-image-manifest

------------------------------------------------------
usage: image-manifest [-h] [-d] [-q] <subcommand> ...

Image manifest utility

options:
  -h, --help     show this help message and exit
  -d, --debug    Enable debug output
  -q, --quiet    Print only errors

subcommands:
  recipe-info    Get recipe info
  list-depends   List dependencies
  list-recipes   List recipes producing packages within an image
  list-packages  List packages within an image
  list-layers    List included layers
  dump-config    Dump default config
  manifest-info  Export recipe info for a manifest
Use image-manifest <subcommand> --help to get help on a specific command

Co-developed-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpa-supplicant: fix CVE-2021-30004
Stefan Ghinea [Thu, 8 Apr 2021 16:43:30 +0000 (19:43 +0300)]
wpa-supplicant: fix CVE-2021-30004

In wpa_supplicant and hostapd 2.9, forging attacks may occur because
AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and
tls/x509v3.c.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-30004

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=a0541334a6394f8237a4393b7372693cd7e96f15

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoacpica: upgrade 20210105 -> 20210331
wangmy [Thu, 8 Apr 2021 05:40:48 +0000 (13:40 +0800)]
acpica: upgrade 20210105 -> 20210331

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocurl: upgrade 7.75.0 -> 7.76.0
wangmy [Fri, 9 Apr 2021 08:27:20 +0000 (16:27 +0800)]
curl: upgrade 7.75.0 -> 7.76.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofile: upgrade 5.39 -> 5.40
wangmy [Thu, 8 Apr 2021 05:40:50 +0000 (13:40 +0800)]
file: upgrade 5.39 -> 5.40

0001-src-compress.c-correct-header-define-for-xz-lzma.patch
removed since it is included in 5.40

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: Fix path for test_python_looging
Anders Wallin [Fri, 9 Apr 2021 12:59:33 +0000 (14:59 +0200)]
lttng-tools: Fix path for test_python_looging

" was missing

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: Fix missing legacy test files
Anders Wallin [Fri, 9 Apr 2021 12:59:32 +0000 (14:59 +0200)]
lttng-tools: Fix missing legacy test files

tests/regression/tools/save-load

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovte: Upgrade to 0.64.0 release
Khem Raj [Mon, 5 Apr 2021 20:38:17 +0000 (13:38 -0700)]
vte: Upgrade to 0.64.0 release

Use git for SRC_URI as thi release has not appeared on gnome downloads yet
Drop LGPL-2.0 as it has fully moved to LGPL-3.1+ see [1] that also
covers for change in License checksums for GPL-3

Add license information to cover for Xterm files in libvte

Add new glade files into -dev package

[1] https://github.com/GNOME/vte/commit/5e14529d4219f3792690566ef7ec70febd87e070

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: upgrade 2.66.7 -> 2.68.0
wangmy [Wed, 31 Mar 2021 14:28:01 +0000 (22:28 +0800)]
glib-2.0: upgrade 2.66.7 -> 2.68.0

the following patches are refreshed:
0001-Set-host_machine-correctly-when-building-with-mingw3.patch
0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
0001-tests-codegen.py-removing-unecessary-print-statement.patch
relocate-modules.patch

the following patches are removed since they are included
in 2.68.0:
0001-gobject-Drop-use-of-volatile-from-get_type-macros.patch
0002-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0003-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0004-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0005-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0006-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0007-gdbusconnection-Drop-unnecessary-volatile-qualifiers.patch
0008-gdbuserror-Drop-unnecessary-volatile-qualifiers-from.patch
0009-gio-Drop-unnecessary-volatile-qualifiers-from-intern.patch
0010-kqueue-Fix-unlocked-access-to-shared-variable.patch
0011-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0012-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0013-gatomic-Drop-unnecessary-volatile-qualifiers-from-in.patch
0014-gatomic-Drop-unnecessary-volatile-qualifiers-from-ma.patch
0015-glib-Drop-unnecessary-volatile-qualifiers-from-inter.patch
0016-gobject-Drop-unnecessary-volatile-qualifiers-from-in.patch
0017-gmessages-Drop-unnecessary-volatile-qualifiers-from-.patch
0018-gtypes-Drop-volatile-qualifier-from-gatomicrefcount.patch
0019-gatomicarray-Drop-volatile-qualifier-from-GAtomicArr.patch
0020-gobject-Drop-volatile-qualifier-from-GObject.ref_cou.patch
0021-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0022-build-Drop-unnecessary-volatile-qualifiers-from-conf.patch
0023-gdbusprivate-Avoid-a-warning-about-a-statement-with-.patch
0024-tests-Add-comment-to-volatile-atomic-tests.patch
0025-gthread-Use-g_atomic-primitives-correctly-in-destruc.patch
0026-gtype-Fix-some-typos-in-comments.patch
0027-gtype-Add-some-missing-atomic-accesses-to-init_state.patch
0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
0029-docs-Document-not-to-use-volatile-qualifiers.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-gitdb: upgrade 4.0.5 -> 4.0.7
zhengruoqin [Wed, 31 Mar 2021 23:38:51 +0000 (07:38 +0800)]
python3-gitdb: upgrade 4.0.5 -> 4.0.7

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-dbusmock: upgrade 0.22.0 -> 0.23.0
zhengruoqin [Wed, 31 Mar 2021 23:38:34 +0000 (07:38 +0800)]
python3-dbusmock: upgrade 0.22.0 -> 0.23.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonetbase: upgrade 6.2 -> 6.3
zhengruoqin [Wed, 31 Mar 2021 23:38:03 +0000 (07:38 +0800)]
netbase: upgrade 6.2 -> 6.3

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsolv: upgrade 0.7.17 -> 0.7.18
wangmy [Wed, 31 Mar 2021 14:28:21 +0000 (22:28 +0800)]
libsolv: upgrade 0.7.17 -> 0.7.18

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoghostscript: upgrade 9.53.3 -> 9.54.0
wangmy [Wed, 31 Mar 2021 14:27:43 +0000 (22:27 +0800)]
ghostscript: upgrade 9.53.3 -> 9.54.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcr: upgrade 3.38.1 -> 3.40.0
wangmy [Wed, 31 Mar 2021 14:23:16 +0000 (22:23 +0800)]
gcr: upgrade 3.38.1 -> 3.40.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoccache: upgrade 4.2 -> 4.2.1
wangmy [Wed, 31 Mar 2021 14:22:25 +0000 (22:22 +0800)]
ccache: upgrade 4.2 -> 4.2.1

License-Update: add license information of src/third_party/win32/winerror_to_errno.h

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodbus-glib: upgrade 0.110 -> 0.112
wangmy [Wed, 31 Mar 2021 14:22:26 +0000 (22:22 +0800)]
dbus-glib: upgrade 0.110 -> 0.112

License-Update:add the following information of license
     SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoell: upgrade 0.38 -> 0.39
wangmy [Wed, 31 Mar 2021 14:22:27 +0000 (22:22 +0800)]
ell: upgrade 0.38 -> 0.39

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite3: upgrade 3.35.0 -> 3.35.3
Randy MacLeod [Tue, 30 Mar 2021 14:05:37 +0000 (10:05 -0400)]
sqlite3: upgrade 3.35.0 -> 3.35.3

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovte: upgrade 0.62.2 -> 0.62.3
Wang Mingyu [Wed, 24 Mar 2021 23:46:54 +0000 (07:46 +0800)]
vte: upgrade 0.62.2 -> 0.62.3

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: upgrade 2.30.5 -> 2.30.6
Wang Mingyu [Thu, 25 Mar 2021 03:28:00 +0000 (11:28 +0800)]
webkitgtk: upgrade 2.30.5 -> 2.30.6

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpebackend-fdo: upgrade 1.8.0 -> 1.8.2
zhengruoqin [Fri, 26 Mar 2021 10:24:17 +0000 (18:24 +0800)]
wpebackend-fdo: upgrade 1.8.0 -> 1.8.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: upgrade 3.38.2 -> 3.38.3
zhengruoqin [Fri, 26 Mar 2021 10:23:28 +0000 (18:23 +0800)]
epiphany: upgrade 3.38.2 -> 3.38.3

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibassuan: upgrade 2.5.4 -> 2.5.5
Wang Mingyu [Mon, 29 Mar 2021 05:51:23 +0000 (13:51 +0800)]
libassuan: upgrade 2.5.4 -> 2.5.5

refresh libassuan-add-pkgconfig-support.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Add libstdc++ debug symbols for ptest
Khem Raj [Wed, 14 Apr 2021 16:40:18 +0000 (09:40 -0700)]
valgrind: Add libstdc++ debug symbols for ptest

new/delete symbols are needed by overloaded-new.post test

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Add glibc-src to ptest rdeps
Khem Raj [Wed, 14 Apr 2021 16:40:17 +0000 (09:40 -0700)]
valgrind: Add glibc-src to ptest rdeps

gdbserver tests look for glibc sources ( rtld.c )
or else they are flagged as differences and tests marked as failures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Delete trailing whitespaces
Khem Raj [Wed, 14 Apr 2021 16:40:16 +0000 (09:40 -0700)]
valgrind: Delete trailing whitespaces

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Fix ptest swapcontext.vgtest
Yi Fan Yu [Mon, 12 Apr 2021 20:48:18 +0000 (13:48 -0700)]
valgrind: Fix ptest swapcontext.vgtest

Backport an upstream patch.
to limit the amount of stackstrace present.

Revert "valgrind: Disable ptest swapcontext.vgtest"
Effectively reverts commit 9dff5766f5795bb02677050045f24365f68bbc1a.

[YOCTO #14324]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Disable ptest swapcontext.vgtest
Yi Fan Yu [Fri, 26 Mar 2021 14:37:10 +0000 (07:37 -0700)]
valgrind: Disable ptest swapcontext.vgtest

New test introduced in valgrind 3.17.0.
Test fails on both qemuarm64 and qemux64.

[YOCTO #14324]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: update 3.16.1 -> 3.17.0
Yi Fan Yu [Fri, 26 Mar 2021 14:37:09 +0000 (07:37 -0700)]
valgrind: update 3.16.1 -> 3.17.0

Notable changes:
* library is now in libexecdir instead of libdir

Added patches:
* Add musl.supp: missing musl.supp in 3.17.0

Dropped backport patches:
* nlcontrolc: found in c79180a3afcf65902e578646c3b716cc749db406
* drd Fedora33: found in 15330adf7c2471fbaa6a0818db07078d81dbff97
* lmw lswi ppc64le: found in 74b74174d572fee4015b8f4e326db3cd949bcdc3

Other dropped patches
* helgrind intercept: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9
* drd musl fix: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9

TESTING RESULTS:
qemux86-64:
FAIL: drd/tests/swapcontext

      3.17.0  3.16.1
===================
TOTAL:  736    726
PASSED: 694    688
FAILED:   1      0
SKIPPED: 41     38

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoboost-build-native: upgrade 4.3.0 -> 4.4.1
Wang Mingyu [Wed, 24 Mar 2021 13:38:48 +0000 (21:38 +0800)]
boost-build-native: upgrade 4.3.0 -> 4.4.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobabeltrace2: upgrade 2.0.3 -> 2.0.4
Wang Mingyu [Wed, 24 Mar 2021 13:38:47 +0000 (21:38 +0800)]
babeltrace2: upgrade 2.0.3 -> 2.0.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoat-spi2-core: upgrade 2.38.0 -> 2.40.0
Wang Mingyu [Wed, 24 Mar 2021 13:38:46 +0000 (21:38 +0800)]
at-spi2-core: upgrade 2.38.0 -> 2.40.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Update to add post 3.3 release honister series
Richard Purdie [Thu, 15 Apr 2021 13:57:41 +0000 (14:57 +0100)]
layer.conf: Update to add post 3.3 release honister series

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox: fix CVE-2021-28831
Chen Qi [Thu, 8 Apr 2021 04:55:18 +0000 (21:55 -0700)]
busybox: fix CVE-2021-28831

Backport patch to fix CVE-2021-28831.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarchiver: Fix typos
Daniel Ammann [Thu, 8 Apr 2021 10:30:11 +0000 (12:30 +0200)]
archiver: Fix typos

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-runtime: Make DEBUG_PREFIX_MAP relative to S
Khem Raj [Thu, 15 Apr 2021 01:13:22 +0000 (18:13 -0700)]
gcc-runtime: Make DEBUG_PREFIX_MAP relative to S

Current definition of SLIB is actually equal to S but is hardcoded, this
means when we have altered location of S, then the regexp for
DEBUG_PREFIX_MAP will not be effective, which could result in S being
emitted into debug_line sections. Simplify the maps to use S variable
instead of SLIB

Secondly, rename SLIB_NEW to REL_S to make it more appropritate to what
it represents

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Rename glibc src package
Khem Raj [Wed, 14 Apr 2021 20:11:22 +0000 (13:11 -0700)]
glibc: Rename glibc src package

Since glibc uses custom PACKAGES, it misses using ${PN}-src and as a
result it uses libc-src for name which means creating rdep on glibc src
package becomes difficult since bitbake can not resolve rdep = glibc-src
back to glibc recipe and bails out on builds

Missing or unbuildable dependency chain was: ['glibc-src']
ERROR: Required build target 'valgrind' has no buildable providers.
Missing or unbuildable dependency chain was: ['valgrind', 'glibc-src']

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Upgrade to 10.3.0 bug-fix release
Khem Raj [Fri, 9 Apr 2021 19:46:03 +0000 (12:46 -0700)]
gcc: Upgrade to 10.3.0 bug-fix release

Drop aarch64 backports which are already upstream
List of bugs fixed is [1]

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=298084&resolution=FIXED&target_milestone=10.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
4 years agoqemu: Fix CVE-2020-35517
Khairul Rohaizzat Jamaluddin [Wed, 7 Apr 2021 05:42:35 +0000 (05:42 +0000)]
qemu: Fix CVE-2020-35517

CVE:
CVE-2020-35517

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest: Ensure packages classes are set correctly for maintainers test
Richard Purdie [Thu, 15 Apr 2021 13:09:28 +0000 (14:09 +0100)]
oeqa/selftest: Ensure packages classes are set correctly for maintainers test

The dnf packages aren't parsed if rpm isn't in PACKAGE_CLASSES which means
the aintainers test failes for OE-Core (where ipk is the default) but not
for poky (where the default is rpm).

Ensure PACKAGE_CLASSES is set so it works in all cases.

[YOCTO #14277]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopseudo: Upgrade to add trailing slashes ignore path fix
Richard Purdie [Tue, 13 Apr 2021 09:40:36 +0000 (10:40 +0100)]
pseudo: Upgrade to add trailing slashes ignore path fix

Pull in:
  client: strip trailing slashes when opening an ignored path

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