]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoswig: fix upstream version check
Alexander Kanavin [Mon, 10 May 2021 14:08:05 +0000 (16:08 +0200)]
swig: fix upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-sanitizers: Package up static hwasan files as well
Martin Jansa [Mon, 10 May 2021 09:00:04 +0000 (11:00 +0200)]
gcc-sanitizers: Package up static hwasan files as well

* introduced with gcc-11, other hwasan files were already packaged in:
  3df4a25465 gcc-sanitizers: Package up hwasan files
  but static library was still triggering installed-vs-shipped

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: include all relevant files in -bcm4356
Yann Dirson [Mon, 10 May 2021 08:11:03 +0000 (10:11 +0200)]
linux-firmware: include all relevant files in -bcm4356

This currently catches the .clb_blob and .vamrs,rock960.txt, and other
.txt files may come in future upstream releases.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: upgrade 1.33.0 -> 1.33.1
zhengruoqin [Mon, 10 May 2021 02:53:06 +0000 (10:53 +0800)]
busybox: upgrade 1.33.0 -> 1.33.1

0001-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch
removed since it is included in 1.33.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokexec-tools: upgrade 2.0.21 -> 2.0.22
wangmy [Sat, 8 May 2021 01:04:13 +0000 (09:04 +0800)]
kexec-tools: upgrade 2.0.21 -> 2.0.22

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoell: upgrade 0.39 -> 0.40
wangmy [Sat, 8 May 2021 01:04:12 +0000 (09:04 +0800)]
ell: upgrade 0.39 -> 0.40

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoat-spi2-core: upgrade 2.40.0 -> 2.40.1
wangmy [Sat, 8 May 2021 01:04:11 +0000 (09:04 +0800)]
at-spi2-core: upgrade 2.40.0 -> 2.40.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoptest: add a test for orphaned ptests, and restore ones found by it
Alexander Kanavin [Fri, 7 May 2021 18:48:01 +0000 (20:48 +0200)]
ptest: add a test for orphaned ptests, and restore ones found by it

Particularly, numactl, numpy and libseccomp are disabled for now
due to failures or lack of qemu support. The rest have been verified
to pass quickly.

[RP: Fix multilib recipe handling]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopuzzles: Upstream changed to main branch for development
Richard Purdie [Mon, 10 May 2021 07:00:05 +0000 (08:00 +0100)]
puzzles: Upstream changed to main branch for development

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-markdown: Upgrade to 3.3.4
Khem Raj [Sat, 8 May 2021 14:48:36 +0000 (07:48 -0700)]
python3-markdown: Upgrade to 3.3.4

meta-python is carrying 3.3.4, once we upgrade it in core
we can safely drop it from meta-python, helps with layer-compatibility
checks

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-good: fix build with gcc11
Andreas Müller [Sat, 8 May 2021 12:14:37 +0000 (14:14 +0200)]
gstreamer1.0-plugins-good: fix build with gcc11

This fixes issues when qt plugins are enabled (which is not by default
without additional layers).

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub2.inc: remove '-O2' from CFLAGS
Kai Kang [Sat, 8 May 2021 07:41:14 +0000 (15:41 +0800)]
grub2.inc: remove '-O2' from CFLAGS

It fails to boot grub after upgrade grub to 2.06. According to
description in

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14367

it is introduced by a commit to fix CVE. So remove option '-O2' from
CFLAGS rather than revert the commit to avoid the failure.

[YOCTO #14367]

CC: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodejagnu: needs expect at runtime
Romain Naour [Fri, 7 May 2021 23:01:29 +0000 (01:01 +0200)]
dejagnu: needs expect at runtime

runtest return an error due to missing expect on the target.
Add expect as runtime dependency.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoswig: Upgrade to 4.0.2
Khem Raj [Fri, 7 May 2021 20:49:59 +0000 (13:49 -0700)]
swig: Upgrade to 4.0.2

Drop backports and refresh patches to apply on 4.x series

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcap: Configure Make variables correctly without a horrible hack
Peter Kjellerstedt [Fri, 7 May 2021 20:38:30 +0000 (22:38 +0200)]
libcap: Configure Make variables correctly without a horrible hack

Occasionally, the build would fail with:

  make[2]: execvp: mkdir: Argument list too long

This turned out to be due to a hacky solution used in the recipe to
modify the Makefile, which resulted in one more $(BUILD_CFLAGS) being
added to the immediately expanded BUILD_CFLAGS Make variable each time
do_configure was executed. After a couple of times, this lead to an
environment with a 140 kB BUILD_CFLAGS when mkdir should execute, which
resulted in the E2BIG.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: backport patches to fix build against 5.12+ kernel
Vinícius Ossanes Aquino [Fri, 7 May 2021 20:00:58 +0000 (17:00 -0300)]
lttng-modules: backport patches to fix build against 5.12+ kernel

Add the following patches from stable-2.12 branch of lttng repository
to fix errors when building lttng-modules against 5.12+ kernel
since they are not present on the release 2.12.5:

17cd2dc9 fix: block: add a disk_uevent helper (v5.12)
127135b6 fix backport: block: add a disk_uevent helper (v5.12)
853d5903 fix: mm, tracing: kfree event name mismatching with
provider kmem (v5.12)

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.4: qemuppc32: reduce serial shutdown issues
Bruce Ashfield [Fri, 7 May 2021 16:22:57 +0000 (12:22 -0400)]
linux-yocto/5.4: qemuppc32: reduce serial shutdown issues

Integrating the following commit(s) to linux-yocto/5.4:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agox264: upgrade to latest revision
Alexander Kanavin [Wed, 5 May 2021 15:18:42 +0000 (17:18 +0200)]
x264: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools-scm: upgrade 5.0.1 -> 6.0.1
Alexander Kanavin [Wed, 5 May 2021 15:18:38 +0000 (17:18 +0200)]
python3-setuptools-scm: upgrade 5.0.1 -> 6.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytest: upgrade 6.2.2 -> 6.2.3
Alexander Kanavin [Wed, 5 May 2021 15:18:37 +0000 (17:18 +0200)]
python3-pytest: upgrade 6.2.2 -> 6.2.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-importlib-metadata: upgrade 3.4.0 -> 3.10.1
Alexander Kanavin [Wed, 5 May 2021 15:18:36 +0000 (17:18 +0200)]
python3-importlib-metadata: upgrade 3.4.0 -> 3.10.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.2.0 -> 6.9.1
Alexander Kanavin [Wed, 5 May 2021 15:18:35 +0000 (17:18 +0200)]
python3-hypothesis: upgrade 6.2.0 -> 6.9.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopkgconf: upgrade 1.7.3 -> 1.7.4
Alexander Kanavin [Wed, 5 May 2021 15:18:34 +0000 (17:18 +0200)]
pkgconf: upgrade 1.7.3 -> 1.7.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: upgrade to latest revision
Alexander Kanavin [Wed, 5 May 2021 15:18:33 +0000 (17:18 +0200)]
piglit: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: upgrade 1.48.2 -> 1.48.4
Alexander Kanavin [Wed, 5 May 2021 15:18:32 +0000 (17:18 +0200)]
pango: upgrade 1.48.2 -> 1.48.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: upgrade 20210208 -> 20210315
Alexander Kanavin [Wed, 5 May 2021 15:18:31 +0000 (17:18 +0200)]
linux-firmware: upgrade 20210208 -> 20210315

License-Update: additional firmware files, version changes

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxres: upgrade 1.2.0 -> 1.2.1
Alexander Kanavin [Wed, 5 May 2021 15:18:30 +0000 (17:18 +0200)]
libxres: upgrade 1.2.0 -> 1.2.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibwpe: upgrade 1.8.0 -> 1.10.0
Alexander Kanavin [Wed, 5 May 2021 15:18:29 +0000 (17:18 +0200)]
libwpe: upgrade 1.8.0 -> 1.10.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibinput: upgrade 1.16.4 -> 1.17.1
Alexander Kanavin [Wed, 5 May 2021 15:18:28 +0000 (17:18 +0200)]
libinput: upgrade 1.16.4 -> 1.17.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibfm: upgrade 1.3.1 -> 1.3.2
Alexander Kanavin [Wed, 5 May 2021 15:18:27 +0000 (17:18 +0200)]
libfm: upgrade 1.3.1 -> 1.3.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoless: upgrade 563 -> 581
Alexander Kanavin [Wed, 5 May 2021 15:18:26 +0000 (17:18 +0200)]
less: upgrade 563 -> 581

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 2.7.4 -> 2.8.0
Alexander Kanavin [Wed, 5 May 2021 15:18:25 +0000 (17:18 +0200)]
harfbuzz: upgrade 2.7.4 -> 2.8.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogtk+3: upgrade 3.24.25 -> 3.24.28
Alexander Kanavin [Wed, 5 May 2021 15:18:24 +0000 (17:18 +0200)]
gtk+3: upgrade 3.24.25 -> 3.24.28

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogobject-introspection: upgrade 1.66.1 -> 1.68.0
Alexander Kanavin [Wed, 5 May 2021 15:18:23 +0000 (17:18 +0200)]
gobject-introspection: upgrade 1.66.1 -> 1.68.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-boot: backport a fix to address failures with new gnu-efi
Alexander Kanavin [Wed, 5 May 2021 15:18:22 +0000 (17:18 +0200)]
systemd-boot: backport a fix to address failures with new gnu-efi

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-efi: upgrade 3.0.12 -> 3.0.13
Alexander Kanavin [Wed, 5 May 2021 15:18:21 +0000 (17:18 +0200)]
gnu-efi: upgrade 3.0.12 -> 3.0.13

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoe2fsprogs: upgrade 1.46.1 -> 1.46.2
Alexander Kanavin [Wed, 5 May 2021 15:18:20 +0000 (17:18 +0200)]
e2fsprogs: upgrade 1.46.1 -> 1.46.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodnf: upgrade 4.6.0 -> 4.7.0
Alexander Kanavin [Wed, 5 May 2021 15:18:19 +0000 (17:18 +0200)]
dnf: upgrade 4.6.0 -> 4.7.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocronie: upgrade 1.5.5 -> 1.5.7
Alexander Kanavin [Wed, 5 May 2021 15:18:18 +0000 (17:18 +0200)]
cronie: upgrade 1.5.5 -> 1.5.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreaterepo-c: upgrade 0.17.0 -> 0.17.2
Alexander Kanavin [Wed, 5 May 2021 15:18:17 +0000 (17:18 +0200)]
createrepo-c: upgrade 0.17.0 -> 0.17.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobison: upgrade 3.7.5 -> 3.7.6
Alexander Kanavin [Wed, 5 May 2021 15:18:16 +0000 (17:18 +0200)]
bison: upgrade 3.7.5 -> 3.7.6

License-Update: http links -> https

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.16.12 -> 9.16.13
Alexander Kanavin [Wed, 5 May 2021 15:18:15 +0000 (17:18 +0200)]
bind: upgrade 9.16.12 -> 9.16.13

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoacl: upgrade 2.2.53 -> 2.3.1
Alexander Kanavin [Wed, 5 May 2021 15:18:14 +0000 (17:18 +0200)]
acl: upgrade 2.2.53 -> 2.3.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: update 2.30.6 -> 2.32.0
Alexander Kanavin [Wed, 5 May 2021 15:18:13 +0000 (17:18 +0200)]
webkitgtk: update 2.30.6 -> 2.32.0

Drop 0001-Extend-atomics-check-to-include-1-byte-CAS-test.patch
(merged upstream).

Rebase other patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovirglrenderer: update 0.8.2 -> 0.9.1
Alexander Kanavin [Wed, 5 May 2021 15:18:10 +0000 (17:18 +0200)]
virglrenderer: update 0.8.2 -> 0.9.1

Drop 0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch,
issue fixed upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognupg: upgrade 2.2.27 -> 2.3.1
Alexander Kanavin [Wed, 5 May 2021 15:18:09 +0000 (17:18 +0200)]
gnupg: upgrade 2.2.27 -> 2.3.1

Remove 0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch
as upstream has removed the .m4 files.

Rebase other patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Wed, 5 May 2021 15:18:08 +0000 (17:18 +0200)]
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgudev: update 234 -> 236
Alexander Kanavin [Wed, 5 May 2021 15:18:06 +0000 (17:18 +0200)]
libgudev: update 234 -> 236

Convert to meson.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxkbcommon: update 1.0.3 -> 1.2.1
Alexander Kanavin [Wed, 5 May 2021 15:18:05 +0000 (17:18 +0200)]
libxkbcommon: update 1.0.3 -> 1.2.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobluez5: upgrade 5.56 -> 5.58
Alexander Kanavin [Wed, 5 May 2021 15:18:04 +0000 (17:18 +0200)]
bluez5: upgrade 5.56 -> 5.58

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibdnf: upgrade 0.58.0 -> 0.62.0
Alexander Kanavin [Wed, 5 May 2021 15:18:03 +0000 (17:18 +0200)]
libdnf: upgrade 0.58.0 -> 0.62.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopulseaudio: unbreak build with latest meson
Alexander Kanavin [Wed, 5 May 2021 15:18:02 +0000 (17:18 +0200)]
pulseaudio: unbreak build with latest meson

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: backport a patch to avoid unnecessary rsync dependency with latest meson
Alexander Kanavin [Wed, 5 May 2021 15:18:01 +0000 (17:18 +0200)]
systemd: backport a patch to avoid unnecessary rsync dependency with latest meson

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: update 0.57.1 -> 0.57.2
Alexander Kanavin [Wed, 5 May 2021 15:18:00 +0000 (17:18 +0200)]
meson: update 0.57.1 -> 0.57.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.19.5 -> 3.20.1
Alexander Kanavin [Wed, 5 May 2021 15:17:59 +0000 (17:17 +0200)]
cmake: update 3.19.5 -> 3.20.1

Remove 0002-cmake-Prevent-the-detection-of-Qt5.patch
(patch purpose and failing scenarios unclear; disabling
is better done through configuration options which
are available for all of these items).

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoptest-packagelists: Add expat-ptest to fast ptests
Richard Purdie [Thu, 6 May 2021 13:32:27 +0000 (14:32 +0100)]
ptest-packagelists: Add expat-ptest to fast ptests

This ptest package was accidentally not enabled. The tests run quickly (2s) and
pass so add to the standard test suite.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopuzzles: update to latest revision
Alexander Kanavin [Wed, 5 May 2021 15:18:07 +0000 (17:18 +0200)]
puzzles: update to latest revision

Convert to cmake, drop all the unneeded cruft from the recipe.

License-Update: additional contributors
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodpkg: update 1.20.7.1 -> 1.20.9
Alexander Kanavin [Wed, 5 May 2021 15:17:58 +0000 (17:17 +0200)]
dpkg: update 1.20.7.1 -> 1.20.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxorgproto: upgrade 2020.1 -> 2021.3
Alexander Kanavin [Wed, 5 May 2021 15:18:44 +0000 (17:18 +0200)]
xorgproto: upgrade 2020.1 -> 2021.3

License-Update: formatting

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: upgrade 1.20.10 -> 1.20.11
Alexander Kanavin [Wed, 5 May 2021 15:18:45 +0000 (17:18 +0200)]
xserver-xorg: upgrade 1.20.10 -> 1.20.11

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.12.05 -> 0.12.06
Alexander Kanavin [Wed, 5 May 2021 15:18:40 +0000 (17:18 +0200)]
stress-ng: upgrade 0.12.05 -> 0.12.06

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxkbcomp: upgrade 1.4.4 -> 1.4.5
Alexander Kanavin [Wed, 5 May 2021 15:18:43 +0000 (17:18 +0200)]
xkbcomp: upgrade 1.4.4 -> 1.4.5

License-Update: formatting

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovala: upgrade 0.50.4 -> 0.52.2
Alexander Kanavin [Wed, 5 May 2021 15:18:41 +0000 (17:18 +0200)]
vala: upgrade 0.50.4 -> 0.52.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodb: update CVE_PRODUCT
Chen Qi [Tue, 20 Apr 2021 02:32:52 +0000 (19:32 -0700)]
db: update CVE_PRODUCT

Update CVE_PRODUCT to also include 'berkeley_db'. For example,
CVE-2020-2981 uses 'berkeley_db'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoliberation-fonts: Update to 2.1.4
Robert Joslyn [Thu, 6 May 2021 03:45:47 +0000 (20:45 -0700)]
liberation-fonts: Update to 2.1.4

Update HOMEPAGE and SRC_URI since development moved to GitHub.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pygments: upgrade 2.8.1 -> 2.9.0
wangmy [Sat, 8 May 2021 01:04:15 +0000 (09:04 +0800)]
python3-pygments: upgrade 2.8.1 -> 2.9.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolsb-release: fix reproducibility failure
Anuj Mittal [Fri, 7 May 2021 06:35:07 +0000 (14:35 +0800)]
lsb-release: fix reproducibility failure

Make sure help2man output is reproducible. Fixes:

| .\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022. .\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022.
| .TH·FSG·"1"·"April·2021"·"FSG·lsb_release·v1.4"·FSG .TH·FSG·"1"·"May·2021"·"FSG·lsb_release·v1.4"·FSG
| .SH·NAME 3  .SH·NAME

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf/pango: replace gtk-doc with gi-docgen
Alexander Kanavin [Wed, 5 May 2021 15:18:48 +0000 (17:18 +0200)]
gdk-pixbuf/pango: replace gtk-doc with gi-docgen

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogi-docgen: add a recipe and class
Alexander Kanavin [Wed, 5 May 2021 15:18:47 +0000 (17:18 +0200)]
gi-docgen: add a recipe and class

This seems to be the gtk-doc successor, and gnome
projects such as pango and gdk-pixbuf have started
transitioning to it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: add markdown/smartypants/typogrify modules
Alexander Kanavin [Wed, 5 May 2021 15:18:46 +0000 (17:18 +0200)]
python3: add markdown/smartypants/typogrify modules

This is needed to enable gi-docgen, a successor to gtk-doc

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/qemurunner: Improve handling of run_serial for shutdown commands
Richard Purdie [Sun, 9 May 2021 09:59:44 +0000 (10:59 +0100)]
oeqa/qemurunner: Improve handling of run_serial for shutdown commands

When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/qemurunner: Fix binary vs str issue
Richard Purdie [Fri, 7 May 2021 17:12:15 +0000 (18:12 +0100)]
oeqa/qemurunner: Fix binary vs str issue

The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.

One of these cases was newly added, copied from the other which has
been there for a long time, always broken.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoyocto-check-layer: Only note a layer without a conf/layer.conf (versus error)
Bruce Ashfield [Wed, 5 May 2021 02:30:20 +0000 (22:30 -0400)]
yocto-check-layer: Only note a layer without a conf/layer.conf (versus error)

Dynamic layers may have a conf directory, but don't need (or
want) a conf/layer.conf

This isn't an error, so we can just log it and indicate the
layer is being skipped.

A full layer without a conf file isn't all that useable, so we
aren't letting anything subtle slip through by just logging
it.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemurunner: change warning to info
Saul Wold [Thu, 6 May 2021 15:48:45 +0000 (08:48 -0700)]
qemurunner: change warning to info

This information is useful, but should not be a warning level.

[YOCTO #14382]

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: qemuppc32: reduce serial shutdown issues
Bruce Ashfield [Thu, 6 May 2021 12:57:21 +0000 (08:57 -0400)]
linux-yocto/5.10: qemuppc32: reduce serial shutdown issues

Integrating the following commit(s) to linux-yocto/5.10:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted 5.10.30-yocto-standard #1
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-config: update to latest revision
Alexander Kanavin [Wed, 5 May 2021 15:17:57 +0000 (17:17 +0200)]
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: update 2.68.0 -> 2.68.1
Alexander Kanavin [Wed, 5 May 2021 15:17:56 +0000 (17:17 +0200)]
glib-2.0: update 2.68.0 -> 2.68.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf: update 2.40.0 -> 2.42.6
Alexander Kanavin [Wed, 5 May 2021 15:17:53 +0000 (17:17 +0200)]
gdk-pixbuf: update 2.40.0 -> 2.42.6

Note: jpg/png loaders are now builtin and no longer
provided as separate packages.

Drop backport missing-test-data.patch.

Drop no longer needed 0004-Do-not-run-tests-when-building.patch

Rebase 0004-Do-not-run-tests-when-building.patch

Rework 0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch
so that it can be applied to both native and target builds.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovte: use tarballs again
Alexander Kanavin [Wed, 5 May 2021 15:17:52 +0000 (17:17 +0200)]
vte: use tarballs again

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts
Richard Purdie [Wed, 5 May 2021 21:13:10 +0000 (22:13 +0100)]
lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts

If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/qemurunner: Handle path length issues for qmp socket
Richard Purdie [Wed, 5 May 2021 18:15:54 +0000 (19:15 +0100)]
oeqa/qemurunner: Handle path length issues for qmp socket

After the addition of the qmp socket, runqemu started failing:

ERROR - Failed to run qemu: qemu-system-aarch64: -qmp unix:/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid,server,wait:
UNIX socket path '/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid' is too long
Path must be less than 108 bytes

To avoid this, run qemu within tmpdir and use a relative path to the socket.
This avoids having to patch the socket code within qemu.

Update the client code to chdir and only use a relative path to the socket
to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test
Richard Purdie [Wed, 5 May 2021 18:15:29 +0000 (19:15 +0100)]
oeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test

Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.

Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibevent: Increase ptest timing tolerance 50 ms -> 100 ms
Yi Fan Yu [Fri, 23 Apr 2021 14:59:53 +0000 (10:59 -0400)]
libevent: Increase ptest timing tolerance 50 ms -> 100 ms

Adjusting the tolerance to a more reasonable time
given the load on the AB and given the high amount(100) of
events some of the tests like `common_timeout` generates.

[YOCTO #14163]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses/lib/scripts: Use bb.utils.rename() instead of os.rename()
Devendra Tewari [Mon, 19 Apr 2021 14:23:58 +0000 (11:23 -0300)]
classes/lib/scripts: Use bb.utils.rename() instead of os.rename()

Incremental build in Docker fails with:

OSError: [Errno 18] Invalid cross-device link

when source and destination are on different overlay filesystems.

Rather than adding fallback code to every call site, use a new wrapper
in bitbake which detects this case and falls back to shutil.move
which is slower but will handtle the overlay docker filesystems correctly.

[YOCTO #14301]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity.conf: Require bitbake 1.51.0
Richard Purdie [Thu, 6 May 2021 10:12:05 +0000 (11:12 +0100)]
sanity.conf: Require bitbake 1.51.0

We're about to require bb.utils.rename() so depend on the correct
version of bitbake.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: correct upstream version check
Alexander Kanavin [Wed, 5 May 2021 15:17:50 +0000 (17:17 +0200)]
boost: correct upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message
Michael Opdenacker [Wed, 5 May 2021 17:56:15 +0000 (19:56 +0200)]
sanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message

This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses/image: Use xargs to set file timestamps
Joshua Watt [Wed, 5 May 2021 21:40:06 +0000 (16:40 -0500)]
classes/image: Use xargs to set file timestamps

Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:

    PKG           TASK      ABSDIFF  RELDIFF  CPUTIME1 -> CPUTIME2
    my-image      do_image   -45.3s   -94.2%     48.1s -> 2.8s

    Cumulative cputime:
      -44.3s    -92.3%    00:48.1 (48.1s) -> 00:03.7 (3.7s)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "oeqa: Set LD_LIBRARY_PATH when executing native commands"
Alexander Kanavin [Wed, 5 May 2021 15:18:49 +0000 (17:18 +0200)]
Revert "oeqa: Set LD_LIBRARY_PATH when executing native commands"

LD_LIBRARY_PATH leaks into host executables too, and breaks them
as they are not uninative-enabled. E.g. on ubuntu 18.04 trying
to run host bash with a sysroot that was built on Fedora 33:

akanavin@ubuntu1804-ty-3:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-24341/tmp/work/x86_64-linux/gnupg-native/2.3.1-r0/recipe-sysroot-native$ LD_LIBRARY_PATH=./usr/lib /bin/bash
/bin/bash: ./usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./usr/lib/libtinfo.so.5)

This was seen e.g. here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2090/steps/14/logs/stdio

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: add native libraries to LD_LIBRARY_PATH
Alexander Kanavin [Wed, 5 May 2021 15:18:50 +0000 (17:18 +0200)]
diffoscope: add native libraries to LD_LIBRARY_PATH

Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:

  File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Fix CVE-2021-20197
Vinay Kumar [Thu, 29 Apr 2021 11:30:46 +0000 (04:30 -0700)]
binutils: Fix CVE-2021-20197

Source: git://sourceware.org/git/binutils-gdb.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=26945

Backported upstream commit d3edaa91d4cf7202ec14342410194841e2f67f12 to
binutils-2.36 source along with commit id dependencies
(8e03235147a9e774d3ba084e93c2da1aa94d1cec and 8b69e61d4be276bb862698aaafddc3e779d23c8f).

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: sort MIRROR list, add missing SAMBA_MIRROR
Robert P. J. Day [Wed, 5 May 2021 11:03:54 +0000 (07:03 -0400)]
bitbake.conf: sort MIRROR list, add missing SAMBA_MIRROR

As is the pattern with all lists, put the list of MIRRORs in
alphabetical order, and add an entry for SAMBA_MIRROR as it appears in
the samba recipe from the meta-networking layer.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: fix CVE-2021-3392
Anuj Mittal [Wed, 5 May 2021 02:37:44 +0000 (10:37 +0800)]
qemu: fix CVE-2021-3392

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "qemu: fix CVE-2021-3392"
Anuj Mittal [Wed, 5 May 2021 02:37:43 +0000 (10:37 +0800)]
Revert "qemu: fix CVE-2021-3392"

This reverts commit 5e8e08df8b5d0040ad911d3c51f63e7fec1858b4.

This is an incomplete fix.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: Upgrade to 5.12
Khem Raj [Tue, 4 May 2021 23:49:22 +0000 (16:49 -0700)]
strace: Upgrade to 5.12

Changes are here [1]

[1] https://github.com/strace/strace/releases/tag/v5.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxwayland: remove protocol.txt - it clashes with xserver-xorg
Andreas Müller [Sun, 2 May 2021 20:01:28 +0000 (22:01 +0200)]
xwayland: remove protocol.txt - it clashes with xserver-xorg

* Images with wayland-compositors + xwayland + xserver fail to build
* Fedora - they introduced standalone xwayland - does same [1]

[1] https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland/blob/rawhide/f/xorg-x11-server-Xwayland.spec

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-buildenv-internal: add BitBake's library to PYTHONPATH
Ross Burton [Tue, 4 May 2021 12:57:40 +0000 (13:57 +0100)]
oe-buildenv-internal: add BitBake's library to PYTHONPATH

There are many Python scripts in oe-core that want to use Tinfoil, and
right now they have to know where they are to work out where BitBake is
likely to be.

This is suboptimal as BitBake could be somewhere else, so this
approach doesn't scale to other layers at all.

Solve this by adding BITBAKEDIR/lib to PYTHONPATH in oe-buildenv-internal,
so that Python has BitBake on its search path once the build system is
configured.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoccache: add packageconfig docs option
Bastian Krause [Tue, 4 May 2021 11:39:28 +0000 (13:39 +0200)]
ccache: add packageconfig docs option

Before, ccache's configure stage built HTML documentation and man pages
depending on if asciidoc is installed. This patch makes it configurable.

Pass the new cmake option BUILD_DOCS along and add the asciidoc
dependency if necessary.

This fixes an issue when ccache's configure stage found asciidoc/a2x on
the system outside of the sysroot (e.g. installed via 'apt install
asciidoc'). ccache would then decide to build docs and manual pages, but
would fail during compilation: the system's a2x could not find the
system's asciidoc because it did not reside in the set PATH.

By enabling/disabling docs/man page generation explicitly and adding
asciidoc to DEPENDS as necessary, this is no longer an issue.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "perl: fix startperl configuration option for perl-native"
Richard Purdie [Tue, 4 May 2021 14:54:32 +0000 (15:54 +0100)]
Revert "perl: fix startperl configuration option for perl-native"

This reverts commit f2d1523b19cb066a4a06609f036822fe4a8b43f0.

We've reports of a number of failures from this, it causes pod2man to
reference full paths to perl rather than nativeperl from the environment.
I've also seen this issue locally now. Revert until we can find a solution
which works for everyone.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: Fix reproducibility
Khem Raj [Mon, 3 May 2021 23:16:51 +0000 (16:16 -0700)]
busybox: Fix reproducibility

The ensures that globbing results in same order irrespective of shell in
use

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>