]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agosstatetests: Add OLDEST_KERNEL to allarch tests
Richard Purdie [Mon, 10 Jan 2022 13:49:04 +0000 (13:49 +0000)]
sstatetests: Add OLDEST_KERNEL to allarch tests

Some architectures vary OLDEST_KERNEL and this shouldn't change the allarch
signatures but in current OE-Core can/does. Add differing values to the
test configs to ensure we catch this in future (we want to keep a 32 and
64 bit machine here to test that as well).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: 21.1.2 -> 21.1.3
Kai Kang [Mon, 10 Jan 2022 03:38:45 +0000 (11:38 +0800)]
xserver-xorg: 21.1.2 -> 21.1.3

Upgrade xserver-xorg from 21.1.2 to 21.1.3. And adjust indent as well.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomaintainers.inc: Add myself as maintainer for curl
Robert Joslyn [Sun, 9 Jan 2022 19:08:05 +0000 (11:08 -0800)]
maintainers.inc: Add myself as maintainer for curl

I'll give it a go to try and help out.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Rework openssl and random PACKAGECONFIGs
Robert Joslyn [Sun, 9 Jan 2022 19:08:04 +0000 (11:08 -0800)]
curl: Rework openssl and random PACKAGECONFIGs

The existing ssl PACKAGECONFIG makes it slightly annoying to use another
crypto provider while removing openssl. Since --with-ssl is just a
deprecated version of --with-openssl, rename the PACKAGECONFIG to use
the newer preferred name. Note that --without-ssl implies no crypto
provider at all, and should only be used when trying to disable all
crypto support.

Move --with-random to it's own option, since it is useful for other
crypto providers, not just openssl.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Update to 7.81.0
Robert Joslyn [Sun, 9 Jan 2022 19:08:03 +0000 (11:08 -0800)]
curl: Update to 7.81.0

Update URLs to refelct what upstream is presently using and add zstd
PACKAGECONFIG.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses/create-spdx: handle if IMAGE_LINK_NAME is empty
Paul Eggleton [Mon, 10 Jan 2022 01:54:49 +0000 (17:54 -0800)]
classes/create-spdx: handle if IMAGE_LINK_NAME is empty

If IMAGE_LINK_NAME is set to "" (supported in other classes) then skip
creating symlinks for the spdx manifest files.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotclibc-baremetal: Supply missing /bin/sh target in the baremetal sdk
Alejandro Hernandez Samaniego [Mon, 10 Jan 2022 06:29:38 +0000 (23:29 -0700)]
tclibc-baremetal: Supply missing /bin/sh target in the baremetal sdk

SDK recipes now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-baremetal
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.

e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by
    gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotclibc-newlib: Supply missing /bin/sh target in newlib sdk
Alejandro Hernandez Samaniego [Mon, 10 Jan 2022 06:28:32 +0000 (23:28 -0700)]
tclibc-newlib: Supply missing /bin/sh target in newlib sdk

SDK recipe now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-newlib
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.

e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by
    gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs-postcommands.bbclass: Make two comments use the new variable syntax
Peter Kjellerstedt [Mon, 10 Jan 2022 13:55:39 +0000 (14:55 +0100)]
rootfs-postcommands.bbclass: Make two comments use the new variable syntax

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 196 -> 199
wangmy [Mon, 10 Jan 2022 14:07:00 +0000 (22:07 +0800)]
diffoscope: upgrade 196 -> 199

Changelog:
=========
* Support both variants of "odt2txt", including the one provided by unoconv.
  (Closes: reproducible-builds/diffoscope#298)

* Add external tool reference on Arch Linux for xb-tool.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Fix typo in linux64.h install patch
Andrei Gherzan [Mon, 10 Jan 2022 14:05:56 +0000 (15:05 +0100)]
gcc: Fix typo in linux64.h install patch

The "gcc: Fix compile of gcc plugins" patch had a typo making it a noop.
This was due to a rework to make it specific to the linux64.h header.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpipeline: upgrade 1.5.4 -> 1.5.5
wangmy [Mon, 10 Jan 2022 14:05:05 +0000 (22:05 +0800)]
libpipeline: upgrade 1.5.4 -> 1.5.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoless: upgrade 598 -> 600
wangmy [Mon, 10 Jan 2022 14:05:04 +0000 (22:05 +0800)]
less: upgrade 598 -> 600

License-Update: year updated to 2022.

Changelog:
==========
Add the --header option.
Add the --no-number-headers option.
Add the --status-line option.
Add the --redraw-on-quit option.
Add the --search-options option.
Add 'H' color type to set color of header lines.
Add #version conditional to lesskey.
Add += syntax to variable section in lesskey files.
Allow option name in -- command to end with '=' in addition to '\n'.
Add $HOME/.config to possible locations of lesskey file.
Add $XDG_STATE_HOME and $HOME/.local/state to possible locations of history file.
Don't read or write history file in secure mode.
Fix display of multibyte and double-width chars in prompt.
Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08.
Add more \k codes to lesskey format.
Fix bug when empty file is modified while viewing it.
Fix bug when parsing a malformed lesskey file.
Fix bug scrolling history when --incsearch is set.
Fix buffer overflow when invoking lessecho with more than 63 -m/-n options.
Fix bug restoring color at end of highlighted text.
Fix bug in parsing lesskey file.
Defer moving cursor to lower left in some more cases.
Suppress TAB filename expansion in some cases where it doesn't make sense.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiso-codes: upgrade 4.8.0 -> 4.9.0
wangmy [Mon, 10 Jan 2022 14:05:03 +0000 (22:05 +0800)]
iso-codes: upgrade 4.8.0 -> 4.9.0

Changelog:
=========
Added
----------
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto

Changed
---------
Translation updates for ISO 3166-1
Translation updates for ISO 3166-2
Translation updates for ISO 639-2
Translation updates for ISO 639-3
Translation updates for ISO 639-5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobluez5: upgrade 5.62 -> 5.63
wangmy [Mon, 10 Jan 2022 14:02:29 +0000 (22:02 +0800)]
bluez5: upgrade 5.62 -> 5.63

Changelog:
=========
This release is mostly a bug fix release, with fixes to features such as GATT,
SDP, Daemon, and emulator. It also adds a new MGMT Event for Device Found and
Device Lost of Advertisement Monitor.

New build options for sanitizers (lsan, asan, ubsan) are added and it may
require installing additional libraries depending on the distros.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreaterepo-c: upgrade 0.17.7 -> 0.18.0
wangmy [Mon, 10 Jan 2022 14:02:30 +0000 (22:02 +0800)]
createrepo-c: upgrade 0.17.7 -> 0.18.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobash: upgrade 5.1.8 -> 5.1.16
wangmy [Mon, 10 Jan 2022 14:02:28 +0000 (22:02 +0800)]
bash: upgrade 5.1.8 -> 5.1.16

Changelog:
=========
1. New Features in Bash

a. 'bind -x' now supports different bindings for different editing modes and
   keymaps.

b. Bash attempts to optimize the number of times it forks when executing
   commands in subshells and from 'bash -c'.

c. Here documents and here strings now use pipes for the expanded document if
   it's smaller than the pipe buffer size, reverting to temporary files if it's
   larger.

d. There are new loadable builtins: mktemp, accept, mkfifo, csv, cut/lcut

e. In posix mode, 'trap -p' now displays signals whose disposition is SIG_DFL
   and those that were SIG_IGN when the shell starts.

f. The shell now expands the history number (e.g., in PS1) even if it is not
   currently saving commands to the history list.

g. 'read -e' may now be used with arbitrary file descriptors ('read -u N').

h. The 'select' builtin now runs traps if its internal call to the read builtin
   is interrupted by a signal.

i. SRANDOM: a new variable that expands to a 32-bit random number that is not
   produced by an LCRNG, and uses getrandom/getentropy, falling back to
   /dev/urandom or arc4random if available. There is a fallback generator if
   none of these are available.

j. shell-transpose-words: a new bindable readline command that uses the same
   definition of word as shell-forward-word, etc.

k. The shell now adds default bindings for shell-forward-word,
   shell-backward-word, shell-transpose-words, and shell-kill-word.

l. Bash now allows ARGV0 appearing in the initial shell environment to set $0.

m. If 'unset' is executed without option arguments, bash tries to unset a shell
   function if a name argument cannot be a shell variable name because it's not
   an identifier.

n. The 'test -N' operator uses nanosecond timestamp granularity if it's
   available.

o. Bash posix mode now treats assignment statements preceding shell function
   definitions the same as in its default mode, since POSIX has changed and
   no longer requires those assignments to persist after the function returns
   (POSIX interp 654).

p. BASH_REMATCH is no longer readonly.

q. wait: has a new -p VARNAME option, which stores the PID returned by 'wait -n'
   or 'wait' without arguments.

r. Sorting the results of pathname expansion now uses byte-by-byte comparisons
   if two strings collate equally to impose a total order; the result of a
   POSIX interpretation.

s. Bash now allows SIGINT trap handlers to execute recursively.

t. Bash now saves and restores state around setting and unsetting posix mode,
   instead of having unsetting posix mode set a known state.

u. Process substitution is now available in posix mode.

v. READLINE_MARK: a new variable available while executing commands bound with
   'bind -x', contains the value of the mark.

w. Bash removes SIGCHLD from the set of blocked signals if it's blocked at shell
   startup.

x. 'test -v N' can now test whether or not positional parameter N is set.

y. 'local' now honors the '-p' option to display all local variables at the
    current context.

z. The '@a' variable transformation now prints attributes for unset array
   variables.

aa. The '@A' variable transformation now prints a declare command that sets a
    variable's attributes if the variable has attributes but is unset.

bb. 'declare' and 'local' now have a -I option that inherits attributes and
    value from a variable with the same name at a previous scope.

cc. When run from a -c command, 'jobs' now reports the status of completed jobs.

dd. New 'U', 'u', and 'L' parameter transformations to convert to uppercase,
    convert first character to uppercase, and convert to lowercase,
    respectively.

ee. PROMPT_COMMAND: can now be an  array variable, each element of which can
    contain a command to be executed like a string PROMPT_COMMAND variable.

ff. 'ulimit' has a -R option to report and set the RLIMIT_RTTIME resource.

gg. Associative arrays may be assigned using a list of key-value pairs within
    a compound assignment. Compound assignments where the words are not of
    the form [key]=value are assumed to be key-value assignments. A missing or
    empty key is an error; a missing value is treated as NULL. Assignments may
    not mix the two forms.

hh. New 'K' parameter transformation to display associative arrays as key-
    value pairs.

ii. Writing history to syslog now handles messages longer than the syslog max
    length by writing multiple messages with a sequence number.

jj. SECONDS and RANDOM may now be assigned using arithmetic expressions, since
    they are nominally integer variables. LINENO is not an integer variable.

kk. Bash temporarily suppresses the verbose option when running the DEBUG trap
    while running a command from the 'fc' builtin.

ll. 'wait -n' now accepts a list of job specifications as arguments and will
    wait for the first one in the list to change state.

mm. The associative array implementation can now dynamically increase the
    size of the hash table based on insertion patterns.

nn. HISTFILE is now readonly in a restricted shell.

oo. The bash malloc now returns memory that is 16-byte aligned on 64-bit
    systems.

pp. If the hash builtin is listing hashed filenames portably, don't print
   anything if the table is empty.

qq. GLOBIGNORE now ignores '.' and '..' as a terminal pathname component.

rr. Bash attempts to optimize away forks in the last command in a function body
    under appropriate circumstances.

ss. The globbing code now uses fnmatch(3) to check collation elements (if
    available) even in cases without multibyte characters.

tt. The 'fg' and 'bg' builtins now return an error in a command substitution
    when asked to restart a job inherited from the parent shell.

uu. The shell now attempts to unlink all FIFOs on exit, whether a consuming
    process has finished with them or not.

vv. There is a new contributed loadable builtin: asort.

2. New Features in Readline

a. If a second consecutive completion attempt produces matches where the first
   did not, treat it as a new completion attempt and insert a match as
   appropriate.

b. Bracketed paste mode works in more places: incremental search strings, vi
   overstrike mode, character search, and reading numeric arguments.

c. Readline automatically switches to horizontal scrolling if the terminal has
   only one line.

d. Unbinding all key sequences bound to a particular readline function now
   descends into keymaps for multi-key sequences.

e. rl-clear-display: new bindable command that clears the screen and, if
   possible, the scrollback buffer (bound to emacs mode M-C-l by default).

f. New active mark and face feature: when enabled, it will highlight the text
   inserted by a bracketed paste (the 'active region') and the text found by
   incremental and non-incremental history searches. This is tied to bracketed
   paste and can be disabled by turning off bracketed paste.

g. Readline sets the mark in several additional commands.

h. Bracketed paste mode is enabled by default.

i. Readline tries to take advantage of the more regular structure of UTF-8
   characters to identify the beginning and end of characters when moving
   through the line buffer.

j. The bindable operate-and-get-next command (and its default bindings) are
   now part of readline instead of a bash-specific addition.

k. The signal cleanup code now blocks SIGINT while processing after a SIGINT.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoell: upgrade 0.46 -> 0.47
wangmy [Mon, 10 Jan 2022 14:03:13 +0000 (22:03 +0800)]
ell: upgrade 0.46 -> 0.47

Changelog:
=========
Fix issue with memory leaking from DHCP leases.
Fix issue with NULL terminating of Base64 encoding.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-boot: restore reproducibility
Alexander Kanavin [Sun, 9 Jan 2022 22:27:32 +0000 (23:27 +0100)]
systemd-boot: restore reproducibility

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoparselogs: add a couple systemd false positives
Alexander Kanavin [Sun, 9 Jan 2022 22:27:30 +0000 (23:27 +0100)]
parselogs: add a couple systemd false positives

New systemd has changed the phrasing when skipping things,
with unfortunate use of 'failed':

[    1.623667] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[    1.688258] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemuboot/runqemu: fully form the ip= kernel parameter
Alexander Kanavin [Sun, 9 Jan 2022 22:27:29 +0000 (23:27 +0100)]
qemuboot/runqemu: fully form the ip= kernel parameter

New systemd is actually parsing this in systemd-network-generator
and fails if it is not fully formed. 'off' means 'static ip, do nothing':
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: update 2.52.4 -> 2.52.5
Alexander Kanavin [Sun, 9 Jan 2022 22:27:26 +0000 (23:27 +0100)]
librsvg: update 2.52.4 -> 2.52.5

Remove upstreamed patches.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoepiphany: make libportal optional, and move it to meta-oe
Alexander Kanavin [Sun, 9 Jan 2022 22:27:28 +0000 (23:27 +0100)]
epiphany: make libportal optional, and move it to meta-oe

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibportal: update 0.4 -> 0.5
Alexander Kanavin [Sun, 9 Jan 2022 22:27:27 +0000 (23:27 +0100)]
libportal: update 0.4 -> 0.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomdadm: update 4.1 -> 4.2
Alexander Kanavin [Sun, 9 Jan 2022 22:27:25 +0000 (23:27 +0100)]
mdadm: update 4.1 -> 4.2

Drop 0001-Compute-abs-diff-in-a-standard-compliant-way.patch
(upstream refactored code)
mdadm-fix-ptest-build-errors.patch
(upstream fixed the issue)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: update 1.21.4 -> 1.22.0
Alexander Kanavin [Sun, 9 Jan 2022 22:27:24 +0000 (23:27 +0100)]
python3-numpy: update 1.21.4 -> 1.22.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: update 249.7 -> 250.1
Alexander Kanavin [Sun, 9 Jan 2022 22:27:23 +0000 (23:27 +0100)]
systemd: update 249.7 -> 250.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: update 1.34.1 -> 1.35.0
Alexander Kanavin [Sun, 9 Jan 2022 22:27:22 +0000 (23:27 +0100)]
busybox: update 1.34.1 -> 1.35.0

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-llvm: apply the same reproducibility patch as for llvm proper
Alexander Kanavin [Sun, 9 Jan 2022 22:27:21 +0000 (23:27 +0100)]
rust-llvm: apply the same reproducibility patch as for llvm proper

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: disable rdoc due to non-reproducibility
Alexander Kanavin [Sun, 9 Jan 2022 22:27:20 +0000 (23:27 +0100)]
ruby: disable rdoc due to non-reproducibility

The issue is reported upstream:
https://bugs.ruby-lang.org/issues/18456

Otherwise I do not feel that further investigation of rdoc's parser to find
out the source of non-determinism is worth the time.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: whitelist two CVEs
Ross Burton [Mon, 10 Jan 2022 12:19:32 +0000 (12:19 +0000)]
xserver-xorg: whitelist two CVEs

CVE-2011-4613 is specific to Debian/Ubuntu.

CVE-2020-25697 is a non-trivial attack that may not actually be feasible
considering the default behaviour for clients is to exit if the
connection is lost.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowayland-protocols: Change inherit order
Richard Purdie [Sat, 8 Jan 2022 23:35:07 +0000 (23:35 +0000)]
wayland-protocols: Change inherit order

allarch needs to be after meson so that qemu usage can be disabled
and the package can really be architecture independent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: Update HOMEPAGE to current url
Richard Purdie [Sat, 8 Jan 2022 23:06:50 +0000 (23:06 +0000)]
expat: Update HOMEPAGE to current url

Upstream pointed out we were using an old url for HOMEPAGE. Update it to the
current url.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopopulate_sdk_base: remove unneeded dirs such as /dev
Chen Qi [Fri, 7 Jan 2022 02:16:24 +0000 (18:16 -0800)]
populate_sdk_base: remove unneeded dirs such as /dev

We met a problem that core-image-tiny-initramfs's SDK cannot be
installed. The error message is like below.

  tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted

In fact, the '/dev' direcotry is not needed by SDK. So remove it.

This patches uses a variable, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries
so that it could be extended. For example, '/usr/bin' could be added if wanted.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: add lockfile to task
Konrad Weihmann [Fri, 7 Jan 2022 09:48:51 +0000 (10:48 +0100)]
cve-check: add lockfile to task

this should prevent running into the very rare error
sqlite3.OperationalError: attempt to write a readonly database

As highlighted by https://www.sqlite.org/faq.html#q5
it is likely that the adapter won't allow use multiple exec calls
at the same time.

So it's best to prevent multiple accesses at a time, by reusing
the already in place CVE_CHECK_DB_FILE_LOCK

YOCTO #14110

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsdl2: Fix build when libunwind is not used
Khem Raj [Fri, 7 Jan 2022 19:22:55 +0000 (11:22 -0800)]
libsdl2: Fix build when libunwind is not used

clang provides libunwind.h and cmake adds a check to
find libunwind when this header is detected, which was
not the case with automake. The check however is expecting
specific unwinder implementation which provides libunwind-generic
solib, this is not a standard library that all implementations
will provide, therefore make this check optional.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoallarch: Fix interaction with qemu class
Richard Purdie [Fri, 7 Jan 2022 13:45:22 +0000 (13:45 +0000)]
allarch: Fix interaction with qemu class

The qemu class declares functions which are architecture specific. If a user such
as meson is used in an allarch recipe, this leads to sstate which is machine
specific. To fix this, remove the architecture specific part, since there are no
binaries in allarch classes, this change shouldn't break anything.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "qemu.bbclass: drop OLDEST_KERNEL reference"
Richard Purdie [Fri, 7 Jan 2022 11:16:57 +0000 (11:16 +0000)]
Revert "qemu.bbclass: drop OLDEST_KERNEL reference"

This patch was merged on the basis that it wasn't needed with recent versions
of qemu. That isn't true and has been showen to cause failures for aarch64 on
centos7 hosts. Revert the patch as we'll need a different solution.

This reverts commit 94b371e1c9e3cea787d70d6d7a09f7d3d69a30aa.

3 years agolibsdl2: Fix X11 configure options
Richard Purdie [Fri, 7 Jan 2022 14:32:19 +0000 (14:32 +0000)]
libsdl2: Fix X11 configure options

We're seeing various failures where the X11 headers are found on the native
system but not all libraries are present and hence autoconfiguration of the
X11 subcomponents fails.

We don't list any of these X11 subcomponents as a dependency so disable
them by default. Configuration and dependencies can be added if people need
them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsdl2: Move to CMake build
Andreas Müller [Tue, 4 Jan 2022 15:11:32 +0000 (16:11 +0100)]
libsdl2: Move to CMake build

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogtk-doc/meson: Fix typos
Richard Purdie [Fri, 7 Jan 2022 13:45:39 +0000 (13:45 +0000)]
gtk-doc/meson: Fix typos

Fix a couple of function name typos copy and pasted between the classes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperl: Enable threading
Saul Wold [Thu, 6 Jan 2022 20:12:34 +0000 (12:12 -0800)]
perl: Enable threading

When the tranisiton to perl-cross occured, the threading define
seems to have been missed.  The perl tests for threading where
simply skipped, so there was no direct failures.  This was verified
by running perl ptest before and after the change to see PASS vs SKIP
results of threaded related tests.

NOTE: Perl officially discourges the use of threads, so this
functionality maybe depercated in the future [0][1]

v2: adds the usethreads to native and nativesdk. This was tested by
builing postresql and rrdtool which use perl and automake.

[0] https://perldoc.perl.org/5.34.0-RC2/threads#WARNING
[1] https://perldoc.perl.org/perlpolicy#discouraged

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: reproducible: Set maximum report size
Joshua Watt [Thu, 6 Jan 2022 16:42:36 +0000 (10:42 -0600)]
selftest: reproducible: Set maximum report size

Diffoscope can end up running for a very long time if there are a lot of
changes. To put a limit on how long it can run, cap the maximum report
size at 250 MB by default.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovirgl: skip headless test on alma 8
Alexander Kanavin [Thu, 6 Jan 2022 15:58:44 +0000 (16:58 +0100)]
virgl: skip headless test on alma 8

As a centos 8 spinoff, it lacks the same vgem kernel module.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: update to 21.1.2
Oleksandr Kravchuk [Sat, 18 Dec 2021 20:52:08 +0000 (21:52 +0100)]
xserver-xorg: update to 21.1.2

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Fix compile of gcc plugins
Andrei Gherzan [Thu, 6 Jan 2022 14:19:31 +0000 (15:19 +0100)]
gcc: Fix compile of gcc plugins

Without this, compiling gcc plugins will fail with an error similar to:
[...]
fatal error: ./config/i386/linux64.h: No such file or directory
[...]

In Yocto, we set up compiling gcc-cross out of tree. Which in turn makes
the generated headers end up in B. The tm.h header will include
generated headers that are expected in plugin/include/config/*.

For example, the linux64.h header, when generating gcc-cross for x86-64,
will end up in tm.h header as:

include "./config/i386/linux64.h"

On the other hand, the make rule `install-plugin` in gcc/Makefile.in
will install the linux64.h assuming that it is generated in the sources
directory and because this is not the case in our setup, the Makefile
ends up installing it in plugin_includedir/`basename $$path` which ends
up installing the header in [..]plugin/include as opposed to
[..]plugin/include/config/i386 (as expected by the generator of tm.h).

The included patch modifies the Makefile rule to match the assumption of
gcc-cross being compiled out of tree.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxcrypt, libxcrypt-compat: upgrade 4.4.26 -> 4.4.27
Otavio Salvador [Thu, 6 Jan 2022 00:25:33 +0000 (21:25 -0300)]
libxcrypt, libxcrypt-compat: upgrade 4.4.26 -> 4.4.27

License-Update: build-aux files updated.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiputils: update 20210722 to 20211215
Changhyeok Bae [Mon, 3 Jan 2022 21:24:39 +0000 (21:24 +0000)]
iputils: update 20210722 to 20211215

traceroute6 and tftpd were removed in iputils.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomaintainers.inc: update email address
Tim Orling [Tue, 4 Jan 2022 19:52:47 +0000 (11:52 -0800)]
maintainers.inc: update email address

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto: add libmpc-native to DEPENDS
Ross Burton [Wed, 5 Jan 2022 11:27:37 +0000 (11:27 +0000)]
linux-yocto: add libmpc-native to DEPENDS

5.10.85 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built. We already depend on gmp-native,
so add libmpc-native aswell.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts: Update to use exec_module() instead of load_module()
Richard Purdie [Tue, 4 Jan 2022 23:06:50 +0000 (23:06 +0000)]
scripts: Update to use exec_module() instead of load_module()

This is deprecated in python 3.12 and Fedora 35 is throwing warnings so
move to the new functions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: 21.3.1 -> 21.3.3
Otavio Salvador [Fri, 31 Dec 2021 19:38:42 +0000 (16:38 -0300)]
mesa: 21.3.1 -> 21.3.3

Upgrade to 21.3.3 stable release. It includes bugfixes and minor
improvements, for more detailed information about the included changes
refer to the specific release notes:

 - 21.3.2: https://docs.mesa3d.org/relnotes/21.3.2.html
 - 21.3.3: https://docs.mesa3d.org/relnotes/21.3.3.html

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dtschema: upgrade 2021.10 -> 2021.12
Otavio Salvador [Mon, 3 Jan 2022 16:18:45 +0000 (13:18 -0300)]
python3-dtschema: upgrade 2021.10 -> 2021.12

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.13.08 -> 0.13.09
Otavio Salvador [Mon, 3 Jan 2022 16:18:54 +0000 (13:18 -0300)]
stress-ng: upgrade 0.13.08 -> 0.13.09

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosqlite3: upgrade 3.37.0 -> 3.37.1
Otavio Salvador [Mon, 3 Jan 2022 16:18:53 +0000 (13:18 -0300)]
sqlite3: upgrade 3.37.0 -> 3.37.1

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-zipp: upgrade 3.6.0 -> 3.7.0
Otavio Salvador [Mon, 3 Jan 2022 16:18:52 +0000 (13:18 -0300)]
python3-zipp: upgrade 3.6.0 -> 3.7.0

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-tomli: upgrade 1.2.2 -> 2.0.0
Otavio Salvador [Mon, 3 Jan 2022 16:18:51 +0000 (13:18 -0300)]
python3-tomli: upgrade 1.2.2 -> 2.0.0

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-ruamel-yaml: upgrade 0.17.17 -> 0.17.19
Otavio Salvador [Mon, 3 Jan 2022 16:18:49 +0000 (13:18 -0300)]
python3-ruamel-yaml: upgrade 0.17.17 -> 0.17.19

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pygments: upgrade 2.10.0 -> 2.11.1
Otavio Salvador [Mon, 3 Jan 2022 16:18:48 +0000 (13:18 -0300)]
python3-pygments: upgrade 2.10.0 -> 2.11.1

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-importlib-metadata: upgrade 4.9.0 -> 4.10.0
Otavio Salvador [Mon, 3 Jan 2022 16:18:47 +0000 (13:18 -0300)]
python3-importlib-metadata: upgrade 4.9.0 -> 4.10.0

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.31.4 -> 6.34.1
Otavio Salvador [Mon, 3 Jan 2022 16:18:46 +0000 (13:18 -0300)]
python3-hypothesis: upgrade 6.31.4 -> 6.34.1

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: upgrade 0.29.25 -> 0.29.26
Otavio Salvador [Mon, 3 Jan 2022 16:18:44 +0000 (13:18 -0300)]
python3-cython: upgrade 0.29.25 -> 0.29.26

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-attrs: upgrade 21.2.0 -> 21.4.0
Otavio Salvador [Mon, 3 Jan 2022 16:18:43 +0000 (13:18 -0300)]
python3-attrs: upgrade 21.2.0 -> 21.4.0

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agommc-utils: upgrade to latest revision
Otavio Salvador [Mon, 3 Jan 2022 16:18:42 +0000 (13:18 -0300)]
mmc-utils: upgrade to latest revision

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: upgrade 0.60.2 -> 0.60.3
Otavio Salvador [Mon, 3 Jan 2022 16:18:41 +0000 (13:18 -0300)]
meson: upgrade 0.60.2 -> 0.60.3

[RP: Add nativesdk variant]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokea: upgrade 2.0.0 -> 2.0.1
Otavio Salvador [Mon, 3 Jan 2022 16:18:38 +0000 (13:18 -0300)]
kea: upgrade 2.0.0 -> 2.0.1

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.16.23 -> 9.16.24
Otavio Salvador [Mon, 3 Jan 2022 16:18:34 +0000 (13:18 -0300)]
bind: upgrade 9.16.23 -> 9.16.24

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-ucm-conf: upgrade 1.2.6.2 -> 1.2.6.3
Otavio Salvador [Mon, 3 Jan 2022 16:18:32 +0000 (13:18 -0300)]
alsa-ucm-conf: upgrade 1.2.6.2 -> 1.2.6.3

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoasciidoc: upgrade 10.0.2 -> 10.1.1
Otavio Salvador [Mon, 3 Jan 2022 16:18:33 +0000 (13:18 -0300)]
asciidoc: upgrade 10.0.2 -> 10.1.1

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoacpica: upgrade 20210930 -> 20211217
Otavio Salvador [Mon, 3 Jan 2022 16:18:31 +0000 (13:18 -0300)]
acpica: upgrade 20210930 -> 20211217

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest/reproducible: drop go items from exception list
Alexander Kanavin [Sat, 1 Jan 2022 11:29:59 +0000 (12:29 +0100)]
selftest/reproducible: drop go items from exception list

With this changeset, go becomes reproducible \0/

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: additional patches to help reproducibility
Alexander Kanavin [Sat, 1 Jan 2022 11:29:58 +0000 (12:29 +0100)]
go: additional patches to help reproducibility

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: correctly set debug-prefix-map and build directory
Alexander Kanavin [Sat, 1 Jan 2022 11:29:56 +0000 (12:29 +0100)]
go: correctly set debug-prefix-map and build directory

Go has its own system for creating temporary build
sub-directories with randomized names, and setting
up debug-prefix-map on the fly to prevent those
directories leaking into target binaries. OE's own
settings were clashing with it, so this change
carefully avoids the two stepping on each other.

Additionally, the top level build directory cannot
be named 'go-something'.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib/oe/reproducible: correctly set .git location when recursively looking for git...
Alexander Kanavin [Sat, 1 Jan 2022 11:29:55 +0000 (12:29 +0100)]
lib/oe/reproducible: correctly set .git location when recursively looking for git repos

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: log build id computations
Alexander Kanavin [Sat, 1 Jan 2022 11:29:54 +0000 (12:29 +0100)]
go: log build id computations

go writes build-specific ids into binaries it produces
and has a custom system for calculating them from
file hashes, environment variables and other inputs
(not that dissimilar to sstate cache, actually). This can
go wrong :) in various ways (for purposes of reproducibility
in particular), so this enables useful logs to see what
happens and why.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agono-static-libs.inc: Fixes
Jacob Kroon [Thu, 23 Dec 2021 15:38:07 +0000 (16:38 +0100)]
no-static-libs.inc: Fixes

 * pciutils/libcap/libpcap all seem to build fine even with the flag set
 * Disable static libraries in libjpeg-turbo-native

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognupg: upgrade 2.3.3 -> 2.3.4
wangmy [Mon, 27 Dec 2021 13:20:19 +0000 (21:20 +0800)]
gnupg: upgrade 2.3.3 -> 2.3.4

refresh relocate.patch

Chanlog:
========
Bugs fixed for this release <https://dev.gnupg.org/#####>
gpg: New option --min-rsa-length. [rG5f39db70c0]
gpg: New option --forbid-gen-key. [rGc397ba3ac0]
gpg: New option --override-compliance-check. [T5655]
gpgconf: New command --show-configs. [rGa0fb78ee0f]
agent,dirmngr,keyboxd: New option --steal-socket. [rGb0079ab39d,rGdd708f60d5]
gpg: Fix printing of binary notations. [T5667]
gpg: Remove stale ultimately trusted keys from the trustdb. [T5685,T5742]
gpg: Fix indentation of --print-mds and --print-md sha512. [T5679]
gpg: Emit gpg 2.2 compatible Ed25519 signature. [T5331]
gpgsm: Detect circular chains in --list-chain. [rG74c5b35062]
dirmngr: Make reading resolv.conf more robust. [T5657]
dirmngr: Ask keyservers to provide the key fingerprints. [T5741]
gpgconf: Allow changing gpg's deprecated keyserver option. [T5462]
gpg-wks-server: Fix created file permissions. [rG60be00b033]
scd: Support longer data for ssh-agent authentication with openpgp cards. [T5682]
scd: Modify DEVINFO behavior to support looping forever. [T5359]
Support gpgconf.ctl for NetBSD and Solaris. [T5656,T5671]
Silence "Garbled console data" warning under Windows in most cases. [rGe293da3b21]
Silence warning about the rootdir under Unices w/o a mounted /proc file system. [T5656]
Fix possible build problems about missing include files. [T5592]

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: upgrade 2.4.1 -> 2.4.2
wangmy [Mon, 27 Dec 2021 13:20:18 +0000 (21:20 +0800)]
expat: upgrade 2.4.1 -> 2.4.2

Changelog:
=========
  #509 #510  Link againgst libm for function "isnan"
  #513 #514  Include expat_config.h as early as possible
       #498  Autotools: Include files with release archives:
               - buildconf.sh
               - fuzz/*.c
  #507 #519  Autotools: Sync CMake templates
  #495 #524  CMake: MinGW: Fix pkg-config section "Libs" for
               - non-release build types (e.g. -DCMAKE_BUILD_TYPE=Debug)
               - multi-config CMake generators (e.g. Ninja Multi-Config)
  #502 #503  docs: Document that function XML_GetBuffer may return NULL
               when asking for a buffer of 0 (zero) bytes size
  #522 #523  docs: Fix return value docs for both
               XML_SetBillionLaughsAttackProtection* functions
  #525 #526  Version info bumped from 9:1:8 to 9:2:8;
               see https://verbump.de/ for what these numbers do

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: upgrade 1.21.4 -> 1.21.5
wangmy [Mon, 27 Dec 2021 09:08:48 +0000 (17:08 +0800)]
python3-numpy: upgrade 1.21.4 -> 1.21.5

Changelog:
==========

Bugs fixed for this release <https://github.com/numpy/numpy/pull/#####>
#20357: MAINT: Do not forward __(deep)copy__ calls of _GenericAlias...
#20462: BUG: Fix float16 einsum fastpaths using wrong tempvar
#20463: BUG, DIST: Print os error message when the executable not exist
#20464: BLD: Verify the ability to compile C++ sources before initiating...
#20465: BUG: Force npymath to respect npy_longdouble
#20466: BUG: Fix failure to create aligned, empty structured dtype
#20467: ENH: provide a convenience function to replace npy_load_module
#20495: MAINT: update wheel to version that supports python3.10
#20497: BUG: Clear errors correctly in F2PY conversions
#20613: DEV: add a warningfilter to fix pytest workflow.
#20618: MAINT: Help boost::python libraries at least not crash

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dbusmock: upgrade 0.24.1 -> 0.25.0
wangmy [Mon, 27 Dec 2021 09:08:47 +0000 (17:08 +0800)]
python3-dbusmock: upgrade 0.24.1 -> 0.25.0

Changelog:
========
bluez template: Implement adapter discovery, connect, disconnect, and removal
Fix changing array properties
Fix CLI upower tests
Add testing and Fedora updating through packit

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-loader: inherit pkgconfig
Markus Volk [Sun, 26 Dec 2021 09:45:59 +0000 (10:45 +0100)]
vulkan-loader: inherit pkgconfig

this is needed to get the vulkan.pc file created

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogtk+3: upgrade 3.24.30 -> 3.24.31
zhengruoqin [Mon, 27 Dec 2021 23:18:29 +0000 (07:18 +0800)]
gtk+3: upgrade 3.24.30 -> 3.24.31

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibmicrohttpd: upgrade 0.9.73 -> 0.9.75
zhengruoqin [Mon, 27 Dec 2021 23:18:44 +0000 (07:18 +0800)]
libmicrohttpd: upgrade 0.9.73 -> 0.9.75

Changelog:
=========
 Fixed Makefile warning on MinGW.
 Fixed compiler warning on MinGW.
 Fixed "configure" portability (for NetBSD).
 MSVC project cosmetics.
 MSVC fixed project to fix linker warning.
 Fixed compiler warning on some platforms.
 Further improved test_client_put_stop to get stable results on all
 platforms.
 Added workaround for platforms (like OpenBSD) where system monotonic clocks
 may jump forward and back.
 Added more checks in test_large_put, increased timeout (was too small for
 this test). -EG

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: upgrade 4.9 -> 4.10
zhengruoqin [Mon, 27 Dec 2021 23:17:49 +0000 (07:17 +0800)]
shadow: upgrade 4.9 -> 4.10

0001-Fix-out-of-tree-builds-with-respect-to-libsubid-incl.patch
0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch
0001-libsubid-link-to-PAM-libraries.patch
removed since they're included in 4.10

License-Update: Delete the space at the end of the sentence.

Changelog:
==========
* libsubid fixes
* Rename the test program list_subid_ranges to getsubids, write
a manpage, so distros can ship it. (Iker Pedrosa)
* Add libeconf dep for new*idmap
* Allow all group types with usermod -G
* Avoid useradd generating empty subid range
* Handle NULL pw_passwd
* Fix default value SHA_get_salt_rounds
* Use https where possible in README
* Update content and format of README
* Translation updates
* Switch from xml2po to itstool in 'make dist'
* Fix double frees
* Add LOG_INIT configurable to useradd
* Add CREATE_MAIL_SPOOL documentation
* Create a security.md
* Fix su never being SIGKILLd when trapping TERM
* Fix wrong SELinux labels in several possible cases
* Fix missing chmod in chadowtb_move
* Handle malformed hushlogins entries
* Fix groupdel segv when passwd does not exist
* Fix covscan-found newgrp segfault
* Remove trailing slash on hoedir
* Fix passwd -l message - it does not change expirey
* Fix SIGCHLD handling bugs in su and vipw
* Remove special case for "" in usermod
* Implement usermod -rG to remove a specific group
* call pam_end() after fork in child path for su and login
* useradd: In absence of /etc/passwd, assume 0 == root
* lib: check NULL before freeing data
* Fix pwck segfault

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowayland: upgrade 1.19.0 -> 1.20.0
Denys Dmytriyenko [Wed, 22 Dec 2021 21:16:44 +0000 (16:16 -0500)]
wayland: upgrade 1.19.0 -> 1.20.0

Wayland 1.20.0 is released!

This release contains the following major changes:

- FreeBSD support has been entirely upstreamed and has been added to
  our continuous integration system.
- The autotools build system has been dropped. Meson has replaced it.
- A few protocol additions: wl_surface.offset allows clients to update
  a surface's buffer offset independently from the buffer,
  wl_output.name and description allow clients to identify outputs
  without depending on xdg-output-unstable-v1.
- In protocol definitions, events have a new "type" attribute and can
  now be marked as destructors.
- A number of bug fixes, including a race condition when destroying
  proxies in multi-threaded clients.

Also backport libsdl2 patch to fix building against wayland-1.20.0

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Add reproducibility fix
Richard Purdie [Mon, 3 Jan 2022 14:18:34 +0000 (14:18 +0000)]
webkitgtk: Add reproducibility fix

When the date rolled from one year to another this highlighted a reproducibility
issue. This could be better fixed by using SOURCE_DATE_EPOCH from the environment
but I'm not sure how you do that in ruby. Help from someone with that knowledge
to submit that upstream very welcome.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: Add reproducibility fix
Richard Purdie [Mon, 3 Jan 2022 14:20:12 +0000 (14:20 +0000)]
openssl: Add reproducibility fix

When the date rolled from one year to another, it highlighted a reproducibility
issue in openssl. Patch a workaround for this to avoid autobuilder failures. Help
submitting upstream welcome.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: Handle qemu riscv issues
Richard Purdie [Mon, 3 Jan 2022 17:34:05 +0000 (17:34 +0000)]
meson: Handle qemu riscv issues

In qemu, they merged the 32 and 64 bit riscv variants into one target for meson
purposes but this isn't officially supported by upstream meson. In normal builds
this would just be a warning but in OE, this is fatal.

Avoid the fatal errors for now and build as qemu intended whilst this is resolved
by the upstreams.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_deb/ipk/rpm: Add more minimal do_build dependencies back
Richard Purdie [Tue, 4 Jan 2022 11:16:51 +0000 (11:16 +0000)]
package_deb/ipk/rpm: Add more minimal do_build dependencies back

The dependencies for do_build became a little too minimal after the
removal of recrdeptask since "bitbake go" would not package go-runtime
despite it being in DEPENDS and the resulting package having a dependency
on it.

A reasonable compromise is probably rdeptask instead of recrdeptask
which is a lot lower overhead but makes the build target more useful
and importantly, lets world builds do what you'd expect them to.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/buildhistory-diff: drop use of distutils
Tim Orling [Sat, 30 Oct 2021 15:35:15 +0000 (08:35 -0700)]
scripts/buildhistory-diff: drop use of distutils

The use of distutils.version.LooseVersion to check for GitPython > 0.3.1
is not really needed anymore since any supported distribution has at least
1.0.0 (centos-7 via epel7, debian-9, ubuntu-16.04)

If we want to reinstate this check, alternatives would be to require
python3-packaging on all hosts and use packaging.version.Version or
use an imported LooseVersion in bb.version.

[YOCTO #14610]

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: remove tmp folder created during install
Samuli Piippo [Mon, 3 Jan 2022 08:10:50 +0000 (10:10 +0200)]
rpm: remove tmp folder created during install

nativesdk-rpm build is also affected by the stray /var/tmp
created during the rpm install. Remove it to fix QA Issue:
nativesdk-rpm installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs]

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub2: fix CVE-2021-3981
Yongxin Liu [Mon, 27 Dec 2021 06:54:56 +0000 (14:54 +0800)]
grub2: fix CVE-2021-3981

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_manager: ipk: Fix host manifest generation
Oleksiy Obitotskyy [Wed, 29 Dec 2021 14:42:03 +0000 (06:42 -0800)]
package_manager: ipk: Fix host manifest generation

Since honister host manifest stopped to generate, i.e.
manifest file is empty but all ipks/files into sdk is
ok.

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: fix CVE-2021-3521
Changqing Li [Thu, 23 Dec 2021 06:12:38 +0000 (14:12 +0800)]
rpm: fix CVE-2021-3521

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: update CVE_PRODUCT
Anuj Mittal [Wed, 29 Dec 2021 01:34:56 +0000 (09:34 +0800)]
xserver-xorg: update CVE_PRODUCT

Some of the CVEs have x_server as the product name.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: make run-ptest better
Randy MacLeod [Thu, 30 Dec 2021 01:37:30 +0000 (17:37 -0800)]
valgrind: make run-ptest better

There were warnings about non-existent files when there was
a duplicate in the remove-for-aarch list and the non-deterministic lists
so check if the files still exists before trying to deal with it.

Also restore the tests in the opposite order that they were hidden.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: skip boost_thread for aarch64 ptests
Randy MacLeod [Thu, 30 Dec 2021 01:37:29 +0000 (17:37 -0800)]
valgrind: skip boost_thread for aarch64 ptests

The drd/tests/boost_thread test passes when run interactively on qemuarm64
but fails for most runs when run in qemu on an arm worker such as ubuntu1804-arm-1
from the Yocto autobuilder cluster. Skip the test until we fix the problem.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: remove duplicate and skipped tests from remove-for-aarch64
Randy MacLeod [Thu, 30 Dec 2021 01:37:28 +0000 (17:37 -0800)]
valgrind: remove duplicate and skipped tests from remove-for-aarch64

The valgrind ptest script warns about tests such as:
   mv: cannot stat 'drd/tests/bar_bad_xml.vgtest': No such file or directory

Since these tests were either in both remove-for-* lists or
were not installed since they fail everywhere as noted in:
   85a0d61025 valgrind: fix the remaining ptest failures
   984ffe3ab4 valgrind: Disable leak_cpp_interior test
remove them from the remove-for-aarch64 list

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: backport rseq work-around
Randy MacLeod [Thu, 30 Dec 2021 01:37:27 +0000 (17:37 -0800)]
valgrind: backport rseq work-around

Using glibc-2.35-alpha, valgrind ptests mostly all fail with the error:
   WARNING: unhandled amd64-linux syscall: 334
   You may be able to write your own handler.
With this patch applied qemux86-64 ptest results were:
   TOTAL: 728
   PASSED: 709
   FAILED: 0
   SKIPPED: 19

This patch implements the Linux rseq syscall as ENOSYS while
a proper fix is being worked on as desribed in the patch
commit log.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Add util-linux-taskset ptest dependency
Randy MacLeod [Thu, 30 Dec 2021 01:37:26 +0000 (17:37 -0800)]
valgrind: Add util-linux-taskset ptest dependency

We are using taskset to improve the reproducability of tests listed in:
   meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
so we need to have the ptests depend on util-linux-taskset.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>