]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
2 years agooeqa ssh.py: fix hangs in run()
Mikko Rapeli [Wed, 15 Feb 2023 14:50:40 +0000 (16:50 +0200)] 
oeqa ssh.py: fix hangs in run()

When qemu machine hangs, the ssh commands done by tests
are not timing out. do_testimage() task has last logs like this:

DEBUG: time: 1673531086.3155053, endtime: 1673531686.315502

The test process is stuck for hours, or for ever if the
executing command or test case did not set a timeout correctly.
The default 300 second timeout is not working when target hangs.
Note that timeout is really a "inactive timeout" since data returned
by the process will reset the timeout.

Make the process stdout non-blocking so read() will always return
right away using os.set_blocking() available in python 3.5 and later.

Then change from python codec reader to plain read() and make
the ssh subprocess stdout non-blocking. Even with select()
making sure the file had input to be read, the codec reader was
trying to find more stuff and blocking for ever when process hangs.

While at it, add a small timeout to read data in larger chunks if
possible. This avoids reading data one or few characters at a time
and makes the debug logs more readable.

close() the stdout file in all cases after read loop is complete.

Then make sure to wait or kill the ssh subprocess in all cases.
Just reading the output stream and receiving EOF there does not mean
that the process exited, and wait() needs a timeout if the process
is hanging. In the end kill the process and return the return value
and captured output utf-8 encoded, just like before these changes.

This fixes ssh run() related deadlocks when a qemu target hangs
completely.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocurl: Update 7.87.0 to 7.88.0
Robert Joslyn [Sat, 18 Feb 2023 21:53:13 +0000 (13:53 -0800)] 
curl: Update 7.87.0 to 7.88.0

This is a feature and bugfix update. Release notes available at:
https://curl.se/changes.html#7_88_0

License-Update: Copyright year updated
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoopenssl: Upgrade 3.0.7 -> 3.0.8
Siddharth Doshi [Sun, 19 Feb 2023 18:36:30 +0000 (19:36 +0100)] 
openssl: Upgrade 3.0.7 -> 3.0.8

OpenSSL 3.0.8 fixes 1 HIGH level security vulnerability and 7 MODERATE level security vulnerability [1].

Upgrade the recipe to point to 3.0.8.

CVE-2022-3996 is reported fixed in 3.0.8, so drop the patch for that as
well.

[1] https://www.openssl.org/news/vulnerabilities.html

CVEs Fixed:
https://www.openssl.org/news/secadv/20230207.txt

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hatchling: upgrade 1.12.2 -> 1.13.0
Alexander Kanavin [Sun, 19 Feb 2023 19:31:01 +0000 (20:31 +0100)] 
python3-hatchling: upgrade 1.12.2 -> 1.13.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopiglit: upgrade to latest revision
Alexander Kanavin [Sun, 19 Feb 2023 19:31:00 +0000 (20:31 +0100)] 
piglit: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogit: upgrade 2.39.1 -> 2.39.2
Alexander Kanavin [Sun, 19 Feb 2023 19:30:59 +0000 (20:30 +0100)] 
git: upgrade 2.39.1 -> 2.39.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoe2fsprogs: upgrade 1.46.5 -> 1.47.0
Alexander Kanavin [Sun, 19 Feb 2023 19:30:58 +0000 (20:30 +0100)] 
e2fsprogs: upgrade 1.46.5 -> 1.47.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibcap: upgrade 2.66 -> 2.67
Alexander Kanavin [Sun, 19 Feb 2023 19:30:57 +0000 (20:30 +0100)] 
libcap: upgrade 2.66 -> 2.67

License-Update: added spdx ids

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agowireless-regdb: upgrade 2022.08.12 -> 2023.02.13
Alexander Kanavin [Sun, 19 Feb 2023 19:30:56 +0000 (20:30 +0100)] 
wireless-regdb: upgrade 2022.08.12 -> 2023.02.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodiffoscope: upgrade 234 -> 235
Alexander Kanavin [Sun, 19 Feb 2023 19:30:55 +0000 (20:30 +0100)] 
diffoscope: upgrade 234 -> 235

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibhandy: upgrade 1.8.0 -> 1.8.1
Alexander Kanavin [Sun, 19 Feb 2023 19:30:54 +0000 (20:30 +0100)] 
libhandy: upgrade 1.8.0 -> 1.8.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoharfbuzz: upgrade 6.0.0 -> 7.0.0
Alexander Kanavin [Sun, 19 Feb 2023 19:30:53 +0000 (20:30 +0100)] 
harfbuzz: upgrade 6.0.0 -> 7.0.0

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agommc-utils: upgrade to latest revision
Alexander Kanavin [Sun, 19 Feb 2023 19:30:52 +0000 (20:30 +0100)] 
mmc-utils: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-setuptools: upgrade 67.2.0 -> 67.3.1
Alexander Kanavin [Sun, 19 Feb 2023 19:30:51 +0000 (20:30 +0100)] 
python3-setuptools: upgrade 67.2.0 -> 67.3.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agozstd: upgrade 1.5.2 -> 1.5.4
Alexander Kanavin [Sun, 19 Feb 2023 19:30:50 +0000 (20:30 +0100)] 
zstd: upgrade 1.5.2 -> 1.5.4

License-Update: copyright holder Facebook -> Meta

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolinux-firmware: upgrade 20230117 -> 20230210
Alexander Kanavin [Sun, 19 Feb 2023 19:30:49 +0000 (20:30 +0100)] 
linux-firmware: upgrade 20230117 -> 20230210

License-Update: additional firmwares

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodbus: upgrade 1.14.4 -> 1.14.6
Alexander Kanavin [Sun, 19 Feb 2023 19:30:48 +0000 (20:30 +0100)] 
dbus: upgrade 1.14.4 -> 1.14.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agovala: upgrade 0.56.3 -> 0.56.4
Alexander Kanavin [Sun, 19 Feb 2023 19:30:46 +0000 (20:30 +0100)] 
vala: upgrade 0.56.3 -> 0.56.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibwpe: upgrade 1.14.0 -> 1.14.1
Alexander Kanavin [Sun, 19 Feb 2023 19:30:45 +0000 (20:30 +0100)] 
libwpe: upgrade 1.14.0 -> 1.14.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoruby: upgrade 3.2.0 -> 3.2.1
Alexander Kanavin [Sun, 19 Feb 2023 19:30:44 +0000 (20:30 +0100)] 
ruby: upgrade 3.2.0 -> 3.2.1

License-Update: additional items under MIT

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodpkg: upgrade 1.21.19 -> 1.21.20
Alexander Kanavin [Sun, 19 Feb 2023 19:30:43 +0000 (20:30 +0100)] 
dpkg: upgrade 1.21.19 -> 1.21.20

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoutil-macros: upgrade 1.19.3 -> 1.20.0
Alexander Kanavin [Sun, 19 Feb 2023 19:30:42 +0000 (20:30 +0100)] 
util-macros: upgrade 1.19.3 -> 1.20.0

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoman-pages: upgrade 6.02 -> 6.03
Alexander Kanavin [Sun, 19 Feb 2023 19:30:40 +0000 (20:30 +0100)] 
man-pages: upgrade 6.02 -> 6.03

License-Update: unrelated clarification in README

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agowebkitgtk: upgrade 2.38.4 -> 2.38.5
Alexander Kanavin [Sun, 19 Feb 2023 19:30:39 +0000 (20:30 +0100)] 
webkitgtk: upgrade 2.38.4 -> 2.38.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodos2unix: upgrade 7.4.3 -> 7.4.4
Alexander Kanavin [Sun, 19 Feb 2023 19:30:38 +0000 (20:30 +0100)] 
dos2unix: upgrade 7.4.3 -> 7.4.4

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolog4cplus: upgrade 2.0.8 -> 2.1.0
Alexander Kanavin [Sun, 19 Feb 2023 19:30:37 +0000 (20:30 +0100)] 
log4cplus: upgrade 2.0.8 -> 2.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agonghttp2: upgrade 1.51.0 -> 1.52.0
Alexander Kanavin [Sun, 19 Feb 2023 19:30:36 +0000 (20:30 +0100)] 
nghttp2: upgrade 1.51.0 -> 1.52.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3: upgrade 3.11.1 -> 3.11.2
Alexander Kanavin [Sun, 19 Feb 2023 19:30:35 +0000 (20:30 +0100)] 
python3: upgrade 3.11.1 -> 3.11.2

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopuzzles: upgrade to latest revision
Alexander Kanavin [Sun, 19 Feb 2023 19:30:34 +0000 (20:30 +0100)] 
puzzles: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognu-config: update to latest revision
Alexander Kanavin [Sun, 19 Feb 2023 19:30:33 +0000 (20:30 +0100)] 
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agovulkan-samples: update to latest revision
Alexander Kanavin [Sun, 19 Feb 2023 19:30:32 +0000 (20:30 +0100)] 
vulkan-samples: update to latest revision

Drop patch as it's merged upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognutls: update 3.7.8 -> 3.8.0
Alexander Kanavin [Sun, 19 Feb 2023 19:30:31 +0000 (20:30 +0100)] 
gnutls: update 3.7.8 -> 3.8.0

Refresh patches.

guile option removed upstream.

License-update: formatting, urls
https://github.com/gnutls/gnutls/commit/a39e528897184c6f6a33d245b82891a8dc8090ce

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agofreetype: update 2.12.1 -> 2.13.0
Alexander Kanavin [Sun, 19 Feb 2023 19:30:30 +0000 (20:30 +0100)] 
freetype: update 2.12.1 -> 2.13.0

License-update: additional files under MIT license.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorust: update 1.67.0 -> 1.67.1
Alexander Kanavin [Sun, 19 Feb 2023 19:30:29 +0000 (20:30 +0100)] 
rust: update 1.67.0 -> 1.67.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogo: update 1.20 -> 1.20.1
Alexander Kanavin [Sun, 19 Feb 2023 19:30:28 +0000 (20:30 +0100)] 
go: update 1.20 -> 1.20.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogstreamer1.0-python: do not require introspection during builds
Alexander Kanavin [Sun, 19 Feb 2023 19:30:26 +0000 (20:30 +0100)] 
gstreamer1.0-python: do not require introspection during builds

Somewhere along the way this ceased to be a build requirement;
I have verified that the recipe installs the same set
of identical files with and without introspection enabled and
present in sysroot.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogcr: enable vala .vapi generation only when gobject introspection is also enabled
Alexander Kanavin [Sun, 19 Feb 2023 19:30:25 +0000 (20:30 +0100)] 
gcr: enable vala .vapi generation only when gobject introspection is also enabled

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoscripts/oe-setup-layers: do not clobber json module with a variable named 'json'
Alexander Kanavin [Sun, 19 Feb 2023 19:30:24 +0000 (20:30 +0100)] 
scripts/oe-setup-layers: do not clobber json module with a variable named 'json'

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoscripts/oe-setup-layers: correct variable names - layers should be called repos
Alexander Kanavin [Sun, 19 Feb 2023 19:30:23 +0000 (20:30 +0100)] 
scripts/oe-setup-layers: correct variable names - layers should be called repos

The script is operating on layer repositories, which can and do sometimes contain
several layers. This distinction is important as the script will be tweaked
to write a record of actual layer locations.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoinsane.bbclass: move Upstream-Status logic to oe.qa
Martin Jansa [Wed, 15 Feb 2023 17:20:40 +0000 (18:20 +0100)] 
insane.bbclass: move Upstream-Status logic to oe.qa

* to be used by standalone script scripts/contrib/patchreview.py
  as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotar: Update fix for CVE-2022-48303 to upstream version
Joe Slater [Fri, 17 Feb 2023 23:01:22 +0000 (15:01 -0800)] 
tar: Update fix for CVE-2022-48303 to upstream version

Fixes CVE-2022-48303 by checking Base-256 encoding is at least
2 bytes long. GNU Tar through 1.34 has a one-byte out-of-bounds
read that results in use of uninitialized memory for a conditional
jump. Exploitation to change the flow of control has not been
demonstrated. The issue occurs in from_header in list.c via a
V7 archive in which mtime has approximately 11 whitespace characters.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-48303

Upstream patch:
https://savannah.gnu.org/bugs/?62387
https://git.savannah.gnu.org/cgit/tar.git/patch/src/list.c?id=3da78400eafcccb97e2f2fd4b227ea40d794ede8

Signed-off-by: Rodolfo Quesada Zumbado <rodolfo.zumbado@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglibc: stable 2.37 branch updates.
Yash Shinde [Fri, 17 Feb 2023 13:34:16 +0000 (19:04 +0530)] 
glibc: stable 2.37 branch updates.

Below commits on glibc-2.37 stable branch are updated.

d8e1a7590d elf: Smoke-test ldconfig -p against system /etc/ld.so.cache
6fe86ecd78 NEWS: Document CVE-2023-25139.
07b9521fc6 Account for grouping in printf width (bug 30068)
fb7b95dc47 Use 64-bit time_t interfaces in strftime and strptime (bug 30053)
9f8513dc64 LoongArch: Add new relocation types.
020b43544a cdefs: Limit definition of fortification macros

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosite: remove glib site values
Ross Burton [Tue, 14 Feb 2023 15:56:02 +0000 (15:56 +0000)] 
site: remove glib site values

GLib 1.x is incredibly obsolete and GLib 2.x is built using Meson
not autotools, so we can remove the GLib entries from the site files.

Also fix a few copy/paste typos where glib_ was used incorrectly, for example:

  ac_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}

The glib_cv_ should be ac_cv_.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopkgconfig: use system glib for nativesdk builds
Ross Burton [Thu, 16 Feb 2023 15:03:59 +0000 (15:03 +0000)] 
pkgconfig: use system glib for nativesdk builds

There's no need to use the internal glib fork for nativesdk builds, as
we can use the proper nativsdk-glib-2.0 recipe.

This means we're shipping less statically linked and obsolete code, and
can also drop two patches to that code which were only needed in
nativesdk builds on Windows.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoliburcu: upgrade 0.13.2 -> 0.14.0
Wang Mingyu [Thu, 16 Feb 2023 08:35:40 +0000 (16:35 +0800)] 
liburcu: upgrade 0.13.2 -> 0.14.0

Changelog:
==========
  * Fix: urcu-bp: only teardown call-rcu worker in destructor
  * Fix: rculfhash: urcu_die() takes positive error value
  * Fix: call_rcu: teardown default call_rcu worker on application exit
  * Fix: join worker thread in call_rcu_data_free
  * Docs: clarify grace period polling API
  * Document grace period polling in rcu-api.md
  * Implement poll rcu stress test in rcutorture
  * urcu-memb,mb,signal: Implement grace period polling
  * Fix: auto-resize hash table destroy deadlock
  * Fix building on MSYS2
  * rculfhash: Include rculfhash-internal.h from local directory
  * Remove "Darwin" from "should also work on list"
  * Merge branch 'adah1972-improve-md'
  * Add semicolons at the end of function prototypes
  * Wrap a file name in backticks
  * Wrap command-line options in backticks
  * Fix a wrong format
  * Wrap URLs in angle brackets
  * Fix Markdown issues
  * Fix: Always check pthread_create for failures
  * Disable signals in URCU background threads
  * Fix: futex.h: include headers outside extern C
  * Fix: add missing unused attribute to _rcu_dereference
  * Fix: change method used by _rcu_dereference to strip type constness
  * Fix: remove type constness in URCU_FORCE_CAST's C++ version
  * Move extern "C" down in include/urcu/urcu-bp.h
  * fix: ifdef linux specific cpu count compat
  * Add unit tests for possible_cpus_array_len
  * fix: sysconf(_SC_NPROCESSORS_CONF) can be less than max cpu id
  * Fix: revise obsolete command in README.md
  * Fix: workqueue: remove unused variable "ret"
  * Fix: urcu-qsbr: futex wait: handle spurious futex wakeups
  * Fix: urcu: futex wait: handle spurious futex wakeups
  * Fix: urcu-wait: futex wait: handle spurious futex wakeups
  * Fix: defer_rcu: futex wait: handle spurious futex wakeups
  * Fix: call_rcu: futex wait: handle spurious futex wakeups
  * Fix: workqueue: futex wait: handle spurious futex wakeups
  * Fix: Use %lu rather than %ld to print count
  * Update ABI definition files
  * Bump version current and age
  * alpha: allocate membarrier system call number
  * Bump version to 0.14.0-pre
  * Improved test framework
  * rculfhash: introduce cds_lfht_node_init_deleted
  * Fix: changelog: v0.13.0 was released in 2021
  * cleanup: i386 arch detection
  * fix: properly detect 'cmpxchg' on x86-32
  * fix: use urcu-tls compat with c++ compiler
  * Fix typo
  * fix: remove autoconf features default value in help message
  * fix: add missing pkgconfig file for memb flavour lib
  * Cleanup: Tests: Remove useless pre-C99 compatibility code from tap.h
  * Document C99 and C++11 requirement in README.md
  * Always use '__thread' for Thread local storage except on MSVC
  * Fix: powerpc32: transparent unions alter calling convention
  * fix: don't use C++ thread_local on MacOs
  * wfcqueue API: implement overloaded wrappers with templates
  * wfcqueue: combine C++ API cds_wfcq_head_cast with overloading
  * wfstack C++ API: implement overloaded wrappers with templates
  * lfstack C++ API: implement overloaded wrappers with templates
  * wfstack: combine C++ API cds_wfs_stack_cast with overloading
  * lfstack: combine C++ API cds_lfs_stack_cast with overloading
  * fix: test_build tap plan
  * Test C++ build of list head init
  * Fix order of initializers in CDS_LIST_HEAD_INIT
  * unit tests: test wfcqueue, wfstack, lfstack empty check functions in C++
  * wfcqueue: implement C++ API based on function overloading
  * wfstack: implement C++ API based on function overloading
  * lfstack: implement C++ API based on function overloading
  * Fix tap.h: remove extra semicolon in pass/fail macros
  * Add C++ build tests
  * Build and run regression and unit tests as C++ programs
  * Add --enable-Werror configure switch
  * Add `urcu_posix_assert()` as `assert()` replacement
  * Rename `urcu_assert()` to `urcu_assert_debug()`
  * cleanup: spelling fixes in comments
  * Make temporary variable in _rcu_dereference non-const
  * (tls-ie2) Fix: x86 and s390: uatomic __hp() macro C++ support
  * Fix: x86 and s390: uatomic __hp() macro clang support
  * Fix: x86 and s390 uatomic: __hp() macro warning with gcc 11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodtc: upgrade 1.6.1 -> 1.7.0
Wang Mingyu [Thu, 16 Feb 2023 08:35:39 +0000 (16:35 +0800)] 
dtc: upgrade 1.6.1 -> 1.7.0

0001-fdtdump-fix-Werror-int-to-pointer-cast.patch
removed sinct it's included in 1.7.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/create-spdx-2.2: Report downloads as separate packages
Joshua Watt [Wed, 15 Feb 2023 21:13:46 +0000 (15:13 -0600)] 
classes/create-spdx-2.2: Report downloads as separate packages

Moves the downloaded items from SRC_URI into separate packages in the
recipe document. This is much better than the previous implementation
because:
 1) It can report multiple download locations in SRC_URI, instead of
    just the first one reported.
 2) It prevents the assumption that the source files listed in the
    recipe are the exact file from the source URL; in particular, files
    that come from file:// SRC_URI entries, and source files that have
    been patched were problematic, since these aren't from the upstream
    source.
 3) It allows the checksums to be specified

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinsane.bbclass: use 4 spaces for indentation
Martin Jansa [Wed, 15 Feb 2023 17:20:39 +0000 (18:20 +0100)] 
insane.bbclass: use 4 spaces for indentation

* this block was using just 3

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-numpy: upgrade to 1.24.2
Martin Jansa [Tue, 14 Feb 2023 23:05:03 +0000 (00:05 +0100)] 
python3-numpy: upgrade to 1.24.2

* remove patch applied upstream

* FWIW: this version still fails to build with DEBUG_BUILD AND gcc-13 as
  shown in:
  http://errors.yoctoproject.org/Errors/Details/689841/

In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:57,
                 from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:14:
In function '_mm512_mask_prefetch_i64scatter_pd',
    inlined from 'main' at TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:23:5:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512pfintrin.h:180:3: error: 'base' may be used uninitialized [-Werror=maybe-uninitialized]
  180 |   __builtin_ia32_scatterpfqpd (__mask, (__v8di) __index, __addr, __scale,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181 |                                __hint);
      |                                ~~~~~~~
<built-in>: In function 'main':
<built-in>: note: by argument 3 of type 'const void *' to '__builtin_ia32_scatterpfqpd' declared here
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:18:9: note: 'base' declared here
   18 |     int base[128];
      |         ^~~~

In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:53,
                 from numpy/core/src/umath/simd.inc.src:25:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h: In function 'AVX512F_square_CFLOAT':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h:314:1: error: inlining failed in call to 'always_inline' '_mm512_setzero_ps': target specific option mismatch
  314 | _mm512_setzero_ps (void)
      | ^~~~~~~~~~~~~~~~~
numpy/core/src/umath/simd.inc.src:977:20: note: called from here
  977 |     @vtype@ zeros = _mm512_setzero_@vsuffix@();
      |                    ^~~~~~~~~~~~~~~~~~~
numpy/core/src/umath/simd.inc.src:596:1: error: inlining failed in call to 'always_inline' 'avx512_get_full_load_mask_ps': target specific option mismatch
  596 | avx512_get_full_load_mask_ps(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

It will be probably resolved in next release from 1.25 as whole simd.inc.src was removed in:
https://github.com/numpy/numpy/commit/640e85017aa8eac3e9be68b475acf27d623b16b7
but this PR https://github.com/numpy/numpy/pull/21056 wasn't backported
to maintenance/1.24.x and probably isn't worth backporting now as
neither DEBUG_BUILD is enabled by default nor gcc-13 merged in oe-core,
and the changes don't backport cleanly.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibcgroup: clean up musl DEPENDS
Ross Burton [Tue, 14 Feb 2023 16:42:04 +0000 (16:42 +0000)] 
libcgroup: clean up musl DEPENDS

libcgroup uses fts_* functions, but these are not implemented in musl so
we depend on the fts recipe and force a link to libfts.

However since 3.0.0 libcgroup will automatically look for fts_open in
both libc and libfts[1], so this can be simplified to just a conditional
DEPENDS.

[1] https://github.com/libcgroup/libcgroup/commit/27ba904355575153308bdc0fa48344ef1be55ca1

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibseccomp: fix for the ptest result format
Narpat Mali [Tue, 14 Feb 2023 10:53:47 +0000 (10:53 +0000)] 
libseccomp: fix for the ptest result format

The output of libseccomp ptest should follow a unified format as
per this https://wiki.yoctoproject.org/wiki/Ptest

Replaced the test results SUCCESS, FAILURE & SKIPPPED with PASS,
FAIL & SKIP and printing the ptest result with the below format
result: testname

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-yocto: fix kernel-meta data detection
Ulrich Ölmann [Tue, 14 Feb 2023 10:26:46 +0000 (11:26 +0100)] 
kernel-yocto: fix kernel-meta data detection

Fixes: 7ef7af5c03ba ("kernel-yocto: restore kernel-meta data detection for SRC_URI elements")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agographene: remove introspection from PACKAGECONFIG
Petr Kubizňák [Fri, 17 Feb 2023 07:47:13 +0000 (08:47 +0100)] 
graphene: remove introspection from PACKAGECONFIG

Assignment of "introspection" as default PACKAGECONFIG value does not
reflect gobject-introspection being globally enabled or disabled.
As a result, graphene compilation used to fail when g-i was disabled.

Use standard means to enable or disable introspection based on machine
and distro features, as implemented by gobject-introspection class.

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography{-vectors}: 39.0.0 -> 39.0.1
Tim Orling [Thu, 16 Feb 2023 23:58:32 +0000 (15:58 -0800)] 
python3-cryptography{-vectors}: 39.0.0 -> 39.0.1

https://cryptography.io/en/latest/changelog/#v39-0-1

39.0.1 - 2023-02-07
* SECURITY ISSUE - Fixed a bug where Cipher.update_into accepted Python
  buffer protocol objects, but allowed immutable buffers. CVE-2023-23931

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.8.

CVE: CVE-2023-23931

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-typing-extensions: upgrade 4.4.0 -> 4.5.0
Tim Orling [Thu, 16 Feb 2023 23:58:31 +0000 (15:58 -0800)] 
python3-typing-extensions: upgrade 4.4.0 -> 4.5.0

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-450-february-14-2023

Release 4.5.0 (February 14, 2023)

* Runtime support for PEP 702, adding typing_extensions.deprecated. Patch
  by Jelle Zijlstra.
* Add better default value for TypeVar default parameter, PEP 696. Enables
  runtime check if None was passed as default. Patch by Marc Mueller (@cdce8p).
* The @typing_extensions.override decorator now sets the .__override__
  attribute. Patch by Steven Troxler.
* Fix get_type_hints() on cross-module inherited TypedDict in 3.9 and 3.10.
  Patch by Carl Meyer.
* Add frozen_default parameter on dataclass_transform. Patch by Erik De Bonte.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hypothesis: upgrade 6.66.0 -> 6.68.1
Tim Orling [Thu, 16 Feb 2023 23:58:30 +0000 (15:58 -0800)] 
python3-hypothesis: upgrade 6.66.0 -> 6.68.1

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-67-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-67-0

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocml1: remove redundant addtask
Ross Burton [Tue, 14 Feb 2023 16:46:15 +0000 (16:46 +0000)] 
cml1: remove redundant addtask

The configure task is added by base.bbclass, no need to do it again.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolib/buildstats: handle tasks that never finished
Ross Burton [Tue, 14 Feb 2023 16:46:14 +0000 (16:46 +0000)] 
lib/buildstats: handle tasks that never finished

If a task is aborted the buildstats file isn't complete, so calculate
when the build finished and use that as a end time.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoelfutils: Backport fix for DW_TAG_unspecified_type handling
Khem Raj [Tue, 14 Feb 2023 16:34:04 +0000 (08:34 -0800)] 
elfutils: Backport fix for DW_TAG_unspecified_type handling

Re-enable funcretval tests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest/resulttooltests: fix minor typo
Alexis Lothoré [Tue, 14 Feb 2023 16:53:07 +0000 (17:53 +0100)] 
oeqa/selftest/resulttooltests: fix minor typo

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibssh2: Clean up ptest patch/coverage
Richard Purdie [Wed, 15 Feb 2023 22:25:33 +0000 (22:25 +0000)] 
libssh2: Clean up ptest patch/coverage

Martin Jansa spotted patchreview.py reports Malformed Upstream-Status in a
patch in this recipe. The patch is not being applied since there is no ptest
override.

The test in question was also disabled due to an issue with new versions of
openssh.

Add a workaround for the broken test, enable it, drop the broken patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolttng-modules: fix for kernel 6.2+
Bruce Ashfield [Wed, 15 Feb 2023 19:37:12 +0000 (14:37 -0500)] 
lttng-modules: fix for kernel 6.2+

Backporting a patching from the 2.13.x stable branch of lttng
to fix the build against kernel 6.2+.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-devsrc: powerpc: add missed dependency for modules_prepare
Denys Zagorui [Fri, 10 Feb 2023 17:29:58 +0000 (17:29 +0000)] 
kernel-devsrc: powerpc: add missed dependency for modules_prepare

There is an issue during 'make modules_prepare' execution for PPC_85xx:

arch/powerpc/kernel/asm-offsets.c:58:10: fatal error: head_booke.h: No such file or directory
   58 | #include "head_booke.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:118: arch/powerpc/kernel/asm-offsets.s] Error 1

asm-offests.c has dependency on head_booke.h so add it to kernel-devsrc package

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agographene: add a PACKAGECONFIG for arm_neon
Markus Volk [Tue, 14 Feb 2023 05:43:10 +0000 (06:43 +0100)] 
graphene: add a PACKAGECONFIG for arm_neon

Not all arm platforms support neon and runtime detection for this feature is
currently not reliable.
Disable neon support by default on ARM-32 platforms because of the
following upstream bug: https://github.com/ebassi/graphene/issues/215

Enable neon for aarch64 by default

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodhcpcd: fix dhcpcd start failure on qemuppc64
Xiangyu Chen [Fri, 10 Feb 2023 02:18:43 +0000 (10:18 +0800)] 
dhcpcd: fix dhcpcd start failure on qemuppc64

Backport patch to fix dhcpcd start failed on qemuppc64.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreate-spdx-2.2: Add support for custom Annotations
Saul Wold [Mon, 13 Feb 2023 19:54:13 +0000 (11:54 -0800)] 
create-spdx-2.2: Add support for custom Annotations

This change adds a new variable to track which recipe variables
are added as SPDX Annotations.

Usage: add SPDX_CUSTOM_ANNOTATION_VARS = <some recipe variable>

The recipe spdx json will contain an annotation stanza that looks
something like this:

     "annotations": [
        {
          "annotationDate": "2023-02-13T19:44:20Z",
          "annotationType": "OTHER",
          "annotator": "Tool: oe-spdx-creator - 1.0",
          "comment": "CUSTOM_VARIABLE=some value or string"
        },

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-good: Fix build with musl
Khem Raj [Mon, 13 Feb 2023 21:04:19 +0000 (13:04 -0800)] 
gstreamer1.0-plugins-good: Fix build with musl

musl's definition of ioctl() API is different from glibc's and gst has
built upon definition from glibc which was being warned about but now
compilers can check signatures of funciton pointers, means it becomes an
error with clang16+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agostress-ng: Add missing header files for clock_adjtime
Khem Raj [Mon, 13 Feb 2023 21:04:18 +0000 (13:04 -0800)] 
stress-ng: Add missing header files for clock_adjtime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agounfs3: Add missing header files
Khem Raj [Mon, 13 Feb 2023 21:04:17 +0000 (13:04 -0800)] 
unfs3: Add missing header files

These enable builds with additional warnings as errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-firmware: add yamato fw files to qcom-adreno-a2xx package
Dmitry Baryshkov [Sat, 11 Feb 2023 15:36:15 +0000 (18:36 +0300)] 
linux-firmware: add yamato fw files to qcom-adreno-a2xx package

Newest linux-firmware release got firmware for Adreno A200. Add these
two files to the ${PN}-qcom-adreno-a2xx package. As these files are
licensed under a separate BSD-3-Clause license, add separate license
package too.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-firmware: properly set license for all Qualcomm firmware
Dmitry Baryshkov [Sat, 11 Feb 2023 15:36:14 +0000 (18:36 +0300)] 
linux-firmware: properly set license for all Qualcomm firmware

It is not enough to depend on the ${PN}-qcom-license package. Set
LICENSE variable for all the qcom packages to point to the proper
license.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibx11: 1.8.3 -> 1.8.4
Wang Mingyu [Mon, 13 Feb 2023 02:42:03 +0000 (10:42 +0800)] 
libx11: 1.8.3 -> 1.8.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxwayland: upgrade 22.1.7 -> 22.1.8
Wang Mingyu [Mon, 13 Feb 2023 02:42:01 +0000 (10:42 +0800)] 
xwayland: upgrade 22.1.7 -> 22.1.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxkeyboard-config: upgrade 2.37 -> 2.38
Wang Mingyu [Mon, 13 Feb 2023 02:40:44 +0000 (10:40 +0800)] 
xkeyboard-config: upgrade 2.37 -> 2.38

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-zipp: upgrade 3.12.0 -> 3.13.0
Wang Mingyu [Mon, 13 Feb 2023 02:40:43 +0000 (10:40 +0800)] 
python3-zipp: upgrade 3.12.0 -> 3.13.0

Changelog:
==========
 In tests, add a fallback when func_timeout isn't available.
 gh-101566: In CompleteDirs, override ZipFile.getinfo to supply a ZipInfo for implied dirs.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-sphinx-rtd-theme: upgrade 1.1.1 -> 1.2.0
Wang Mingyu [Mon, 13 Feb 2023 02:40:42 +0000 (10:40 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.1.1 -> 1.2.0

Changelog:
==========
 docutils 0.18 is supported. (#1381)
 Sphinx 6 support added
 Added sphinxcontrib-jquery as a dependency (#1385 #1421)
 Python 3.11 is officially supported and tested. (#1395)
 Python 3.4 and 3.5 are officially not supported (#1395)
 Automatically use sphinxcontrib-jquery in Sphinx 6+ (#1399)
 Use new context vars logo_url, favicon_url and root_doc when available (#1405)
 Translations updated: French, Hungarian, Croatian
 Translations added: Danish, Chinese (Taiwan)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoopenssh: upgrade 9.1p1 -> 9.2p1
Wang Mingyu [Mon, 13 Feb 2023 02:40:41 +0000 (10:40 +0800)] 
openssh: upgrade 9.1p1 -> 9.2p1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolighttpd: upgrade 1.4.68 -> 1.4.69
Wang Mingyu [Mon, 13 Feb 2023 02:37:54 +0000 (10:37 +0800)] 
lighttpd: upgrade 1.4.68 -> 1.4.69

fix-missing-test.patch
removed since it's included in new verion.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibsdl2: upgrade 2.26.2 -> 2.26.3
Wang Mingyu [Mon, 13 Feb 2023 02:37:53 +0000 (10:37 +0800)] 
libsdl2: upgrade 2.26.2 -> 2.26.3

License-Update: Copyright year updated to 2023.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibjpeg-turbo: upgrade 2.1.5 -> 2.1.5.1
Wang Mingyu [Mon, 13 Feb 2023 02:37:52 +0000 (10:37 +0800)] 
libjpeg-turbo: upgrade 2.1.5 -> 2.1.5.1

Changelog:
==========
1. The SIMD dispatchers in libjpeg-turbo 2.1.4 and prior stored the list of
supported SIMD instruction sets in a global variable, which caused an innocuous
race condition whereby the variable could have been initialized multiple times
if 'jpeg_start_*compress()' was called simultaneously in multiple threads.
libjpeg-turbo 2.1.5 included an undocumented attempt to fix this race condition
by making the SIMD support variable thread-local.  However, that caused another
issue whereby, if 'jpeg_start_*compress()' was called in one thread and
'jpeg_read_*()' or 'jpeg_write_*()' was called in a second thread, the SIMD
support variable was never initialized in the second thread.  On x86 systems,
this led the second thread to incorrectly assume that AVX2 instructions were
always available, and when it attempted to use those instructions on older x86
CPUs that do not support them, an illegal instruction error occurred.  The SIMD
dispatchers now ensure that the SIMD support variable is initialized before
dispatching based on its value.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibdrm: upgrade 2.4.114 -> 2.4.115
Wang Mingyu [Mon, 13 Feb 2023 02:37:51 +0000 (10:37 +0800)] 
libdrm: upgrade 2.4.114 -> 2.4.115

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: 2.38.3 -> 2.38.4
Kai Kang [Mon, 13 Feb 2023 01:11:44 +0000 (09:11 +0800)] 
webkitgtk: 2.38.3 -> 2.38.4

Update webkitgtk from 2.38.3 to 2.38.4.
* remove 0001-When-building-introspection-files-do-not-quote-CFLAG.patch
  which has been merged in upstream

What’s new in the WebKitGTK 2.38.4 release?[1]
* Improve GStreamer multimedia playback across the board with improved
  codec selection logic, better handling of latency, and improving frame
  discard to avoid audio/video desynchronization, among other fixes.
* Disable HLS media playback by default, which makes web sites use MSE
  instead. If needed WEBKIT_GST_ENABLE_HLS_SUPPORT=1 can be set in the
  environment to enable it back.
* Disable threaded rendering in GTK4 builds by default, as it was
  causing crashes.
* Fix MediaSession API not showing artwork images.
* Fix MediaSession MPRIS usage when running inside a Flatpak sandbox.
* Fix input element controls to correctly scale when applying a zoom
  factor different than the default.
* Fix leakage of Web processes in certain situations.
* Fix the injected bundle not being found when running inside a sandbox.
* Fix the build with ENABLE_INTROSPECTION when cross-compiling.
* FIx the build with ENABLE_WEBGL disabled.
* Fix the build with GStreamer-based WebRTC enabled.
* Fix the build with USE_GTK4 enabled.
* Fix several crashes and rendering issues.

[1]: https://webkitgtk.org/2023/02/02/webkitgtk2.38.4-released.html

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosstatesig: Improve output hash calculation
Mateusz Marciniec [Fri, 10 Feb 2023 23:18:34 +0000 (00:18 +0100)] 
sstatesig: Improve output hash calculation

Symbolic links to the files are included during the output hash
calculation but symlinks to the directories are missed.
So if the new symlink to a directory was the only change made,
then the output hash won't change,
and the Hash Equivalence server may change unihash.
In the next run bitbake may use an older package from sstate-cache.

To fix this followlinks=True flag could be set for os.walk
but it can lead to infinite recursion if link points
to a parent directory of itself.
Also, all files from a directory to which symlink points
would be included in depsig file.
Therefore another solution was applied, I added code that will loop
through directories and process those that are symlinks.

Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobusybox: Fix depmod patch
Saul Wold [Fri, 10 Feb 2023 15:32:55 +0000 (07:32 -0800)] 
busybox: Fix depmod patch

The original patch was actually allowing .debug modules
though which was in-correct. This change blocks the
parsing of .debug modules (which is correct). As noted in
[YOCTO #15022] this should address the empty modules.dep
when using the BusyBox depmod.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: update 22.3.3 -> 22.3.5
Alexander Kanavin [Fri, 10 Feb 2023 06:42:16 +0000 (07:42 +0100)] 
mesa: update 22.3.3 -> 22.3.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0: update 1.20.5 -> 1.22.0
Alexander Kanavin [Fri, 10 Feb 2023 06:42:15 +0000 (07:42 +0100)] 
gstreamer1.0: update 1.20.5 -> 1.22.0

Drop xingmux license snippet from plugins-ugly as it moved to plugins-good;
the license was LGPL in any case:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/d132592423be64ec18a223b67810ac89f391277e/subprojects/gst-plugins-good/tests/check/elements/xingmux.c

videoconvert/videoscale plgins were merged into one.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovim: update 9.0.1211 -> 9.0.1293 to resolve open CVEs
Alexander Kanavin [Fri, 10 Feb 2023 06:42:14 +0000 (07:42 +0100)] 
vim: update 9.0.1211 -> 9.0.1293 to resolve open CVEs

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogo-cross-canadian: use gcc-crosssdk, not gcc-native
Alexander Kanavin [Fri, 10 Feb 2023 06:42:13 +0000 (07:42 +0100)] 
go-cross-canadian: use gcc-crosssdk, not gcc-native

The recipe was building native go against build host headers and libraries,
and then installing it as a nativesdk item, which is entirely incorrect. This has
been working by coincidence (go generally uses C and C libraries lightly)
but with go 1.20 this turned into hard breakage.

Also nativesdk sysroot was being passed in incorrectly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogo: update 1.19.4 -> 1.20
Alexander Kanavin [Fri, 10 Feb 2023 06:42:12 +0000 (07:42 +0100)] 
go: update 1.19.4 -> 1.20

No longer package go-runtime-staticdev into sdk packagegroup,
as go-runtime 1.20 doesn't build the static bits anymore
(possibly can be enabled via build config, if proven necessary).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/oe-setup-layers: print a note about submodules if present
Alexander Kanavin [Fri, 10 Feb 2023 06:42:11 +0000 (07:42 +0100)] 
scripts/oe-setup-layers: print a note about submodules if present

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobblayers/makesetup: skip git repos that are submodules
Alexander Kanavin [Fri, 10 Feb 2023 06:42:10 +0000 (07:42 +0100)] 
bblayers/makesetup: skip git repos that are submodules

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobblayers/setupwriters/oe-setup-layers: create dir if not exists
Adrian Freihofer [Fri, 10 Feb 2023 06:42:09 +0000 (07:42 +0100)] 
bblayers/setupwriters/oe-setup-layers: create dir if not exists

Without this patch:

$ bitbake-layers create-layers-setup /home/adrian/temp/poky-clone
NOTE: Starting bitbake server...
Traceback (most recent call last):
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 169, in run
    pipe = Popen(cmd, **options)
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 73, in __init__
    subprocess.Popen.__init__(self, *args, **options)
  File "/usr/lib64/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.10/subprocess.py", line 1847, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/adrian/temp/poky-clone'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/adrian/projects/poky/bitbake/bin/bitbake-layers", line 95, in <module>
    ret = main()
  File "/home/adrian/projects/poky/bitbake/bin/bitbake-layers", line 88, in main
    return args.func(args)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 90, in do_make_setup
    p.do_write(self, args)
  File "/home/adrian/projects/poky/meta/lib/bblayers/setupwriters/oe-setup-layers.py", line 36, in do_write
    repos = parent.make_repo_config(args.destdir, args.include_layer_repo)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 55, in make_repo_config
    destdir_repo = self._get_repo_path(destdir)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 30, in _get_repo_path
    repo_path, _ = bb.process.run('git rev-parse --show-toplevel', cwd=layer_path)
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 172, in run
    raise NotFoundError(cmd)
bb.process.NotFoundError: Execution of 'git rev-parse --show-toplevel' failed: command not found

with this patch:

$ bitbake-layers create-layers-setup /home/adrian/temp/poky-clone
NOTE: Starting bitbake server...
NOTE: Created /home/adrian/temp/poky-clone/setup-layers.json
NOTE: Created /home/adrian/temp/poky-clone/setup-layers

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowic: Fix usage of fstype=none in wic
Pavel Zhukov [Thu, 9 Feb 2023 17:39:03 +0000 (18:39 +0100)] 
wic: Fix usage of fstype=none in wic

This allows to specify partition with fstype=none in the wks file
to have partition created but without following mkfs. The none fstype
is in the list already but the usage is not documented.

Example;
part /data --ondisk mmcblk0 --fstype=none  --align 4096 --fixed-size 512

will create a partition, filesystem may be created manualy on the host
or target and data will be preserved if the device is reflashed using
same wks. Works with bmaptool and probably does not work with dd.
Use case is persistent filesystem/data between reflashing of the image.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocurl: fix dependencies when building with ldap/ldaps
Federico Pellegrin [Thu, 9 Feb 2023 16:03:08 +0000 (17:03 +0100)] 
curl: fix dependencies when building with ldap/ldaps

openldap is added as a dependency so the build will not fail,
as otherwise ldap headers are not found during configure phase

Note: due to upstream bug (now fixed) building LDAP/LDAPS support
with minimal configurations can sometimes not work, see details at:
https://github.com/curl/curl/pull/10445

Signed-off-by: Federico Pellegrin <fede@evolware.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxserver-xorg: 21.1.6 -> 21.1.7
Kai Kang [Thu, 9 Feb 2023 15:07:12 +0000 (23:07 +0800)] 
xserver-xorg: 21.1.6 -> 21.1.7

According to the ANNOUNCE of xorg-server 21.1.7[1]:

This release contains the fix for CVE-2023-0494 in today's security
advisory: https://lists.x.org/archives/xorg-announce/2023-February/003320.html
It also fixes a second possible OOB access during EnqueueEvent and a
crasher caused by ResourceClientBits not correctly honouring the
MaxClients value in the configuration file.

Finally, a bunch of Xquartz updates including the ability to correctly detect
ssh-tunneled clients as remote.

[1]: https://lists.x.org/archives/xorg-announce/2023-February/003321.html

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/create-sdpx-2.2: Remove image SPDX and index from deploydir
Joshua Watt [Thu, 9 Feb 2023 15:06:39 +0000 (09:06 -0600)] 
classes/create-sdpx-2.2: Remove image SPDX and index from deploydir

Per feedback from users, remove the top level image SPDX file and the
JSON index file from DEPLOYDIR. Having these files here is confusing to
end users because these files are not very useful by themselves, and
having them in DEPLOYDIR makes it unclear which they should be using.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/populate_sdk_base: Append cleandirs
Joshua Watt [Thu, 9 Feb 2023 15:06:38 +0000 (09:06 -0600)] 
classes/populate_sdk_base: Append cleandirs

Append to cleandirs in do_populate_sdk so that other classes
(specifically, create-spdx-2.2) can add additional directories

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotar: Fix CVE-2022-48303
Chee Yang Lee [Thu, 9 Feb 2023 12:46:26 +0000 (20:46 +0800)] 
tar: Fix CVE-2022-48303

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/5.19: drop recipes
Bruce Ashfield [Tue, 24 Jan 2023 21:59:46 +0000 (16:59 -0500)] 
linux-yocto/5.19: drop recipes

5.19 is no longer getting upstream -stable support, and we've replaced
it with 6.1 as the latest (and default) version. Removing the recipes
to make this clear.

Released branches will still get bugfixes as appropriate.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa qemurunner.py: try to avoid reading one character at a time
Mikko Rapeli [Thu, 9 Feb 2023 08:09:36 +0000 (10:09 +0200)] 
oeqa qemurunner.py: try to avoid reading one character at a time

Read from serial console with a small delay to bundle data to e.g.
full lines. Reading one character at a time is not needed and causes
busy looping.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>