]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
22 months agonativesdk: don't unset MACHINE_FEATURES, let machine-sdk/ set it
Ross Burton [Thu, 21 Dec 2023 17:01:58 +0000 (17:01 +0000)] 
nativesdk: don't unset MACHINE_FEATURES, let machine-sdk/ set it

There is actually a use for nativesdk MACHINE_FEATURES; for example
qemu-usermode being supported, as this is needed to build profile-guided
optimised code.

We shouldn't use the target MACHINE_FEATURES for this because the target
and the SDK can be entirely different, so instead set the
MACHINE_FEATURES in nativesdk.bbclass to SDK_MACHINE_FEATURES (which
defaults to "") and let the conf/machine-sdk/*.conf files set that as
appropriate.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Link: https://lore.kernel.org/r/20231221170159.1995650-2-ross.burton@arm.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agonativesdk: ensure features don't get backfilled
Ross Burton [Thu, 21 Dec 2023 17:01:57 +0000 (17:01 +0000)] 
nativesdk: ensure features don't get backfilled

nativesdk aims to run in a slightly different environment than the
target build, so it resets MACHINE_FEATURES and filters DISTRO_FEATURES
with DISTRO_FEATURES_NATIVESDK.

However, feature backfill happens _after_ these operations:

 $ bitbake-getvar -r nativesdk-glib-2.0 MACHINE_FEATURES
 #
 # $MACHINE_FEATURES [5 operations]
 #   set /home/ross/Yocto/poky/meta/conf/machine/include/qemu.inc:14
 #     "alsa bluetooth usbgadget screen vfat"
 #   set /home/ross/Yocto/poky/meta/conf/documentation.conf:284
 #     [doc] "Specifies the list of hardware features the MACHINE supports."
 #   set? /home/ross/Yocto/poky/meta/conf/bitbake.conf:893
 #     ""
 #   set /home/ross/Yocto/poky/meta/classes-recipe/nativesdk.bbclass:18
 #     ""
 #   append utils.py:132 [features_backfill]
 #     " rtc qemu-usermode"
 # pre-expansion value:
 #   " rtc qemu-usermode"
 MACHINE_FEATURES=" rtc qemu-usermode"

This is not intentional nor desired as the target machine features are
unrelated to the nativesdk environment.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Link: https://lore.kernel.org/r/20231221170159.1995650-1-ross.burton@arm.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoman-pages: remove conflict pages
Changqing Li [Thu, 21 Dec 2023 05:44:15 +0000 (13:44 +0800)] 
man-pages: remove conflict pages

Remove the pages which libxcrypt and shadow already have to avoid
following conflicts during install man-pages and libxcrypt/shadow at the
same time.

Error: Transaction test error:
  file /usr/share/man/man3/crypt.3 from install of
  libcrypt-doc-4.4.33-r0.x86_64 conflicts with file from package
  man-pages-6.04-r0.x86_64

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoappstream: Upgrade 0.16.3 -> 1.0.0
Markus Volk [Fri, 15 Dec 2023 17:30:56 +0000 (18:30 +0100)] 
appstream: Upgrade 0.16.3 -> 1.0.0

- remove backport patch
- update 0001-remove-hardcoded-path.patch
- fix api-documentation

Version 1.0.0
~~~~~~~~~~~~~~
Released: 2023-11-11

Notes:
 * This version breaks API and bumps the SONAME of libappstream!
   Applications using AppStream will have to be ported to the new API.
   The 1.0 release is coinstallable with the stable 0.16.x series.

Features:
 * Autoformat C and C++ sources
 * Remove all deprecated symbols
 * Drop support for many deprecated AppStream XML features
 * Use GPtrArray to expose keywords list
 * Add length argument to raw metadata parsing functions
 * Add component array container class
 * Remove named values for display_length relations
 * Make AsPool only accept/return component boxes
 * Port all API away from per-entity locale overrides
 * Reduce appstream.conf to its essentials, make it work on stateless systems
 * Hide search engine details from public API
 * Wrap release entries in AsReleaseList container class
 * Make AsMetadata handle AsReleaseList objects
 * Refactor is_satisfied result into new RelationCheckResult class
 * Add a method to check all relations of a component and get the result
 * Add algorithm to score compatibility with a system, add chassis templates
 * ascli: Add new check-syscompat command to check chassis compatibility
 * Implement environment property for component screenshots
 * Autogenerate translatable DE and gui-environment-style C arrays
 * Expose more advanced markup conversion function, update function names
 * Allow BLAKE3 and SHA512 checksums for release artifacts
 * Stop supporting mailto: URLs in <url/> tags
 * validator: Improve API and simplify it
 * validator: Parse XML in pedantic mode when validating
 * validator: Check screenshot environment property
 * validator: Only apply summary-has-dot-suffix check to untranslated strings
 * compose: Allow creating metadata with complete URLs and no base URL
 * spdx: Add API to retrieve a translated license name from an SPDX ID
 * qt: Switch to building with Qt6
 * qt: Make it possible to iterate ComponentBox
 * qt: Implement AppStream::ComponentBox::erase
 * qt: Allow concatenating two ComponentBoxes
 * qt: Allow loading Pool asynchronously
 * qt: Use ComponentBox/Releases in Qt bindings as well
 * qt: Add support for the new API to check relation satisfaction
 * qt: Maintenance and namespace fixes, use cPtr() to get C pointers everywhere
 * bundle: Add linglong as a new type of bundle
 * Add GUI environment IDs for macOS and Microsoft Windows
 * validator: Check if Release Description is inside description tag
 * validator: Add validation for content_rating
 * Add support for building on Win32
 * win32: change some file/path-related code for portability
 * Implement the developer element for unique developer IDs
 * Implement scaling factor for screenshots
 * component-box: Allow removal of components by-index
 * Implement support for external references and citations
 * Implement usertags for release data as well
 * Move ValueFlags to the context, instead of tieing them to components
 * pool: search: Add additional weight for exact substring matches on names
 * sysinfo: Add memory size detection support for macOS
 * Add support for Zstd for on-disk data compression
 * utils: Make tar unpacker independent of zstd binary presence
 * Drop Python2 provided tag support
 * data: Add ‘Endless’ to the list of desktops
 * Add NetBSD support

Specification:
 * Drop (most) deprecated information
 * docs: Clarify environment-based screenshot ordering
 * Add new  'snapshot' release kind
 * docs: Build all API documentation with gi-docgen
 * spec: Document the new "developer" element
 * spec: Document the "reference" tag for registry references
 * docs: Add example of YAML for references elements
 * Allow hyphens in the last segment of a component-ID
 * docs: Drop outdated information from l10n quickstart guide

Bugfixes:
 * meson: check for docbook xsl stylesheets
 * Fix tweaking of appstream.pc when building as subproject
 * Fix crash in asc_l10n_search_translations_qt()
 * qt: Make Qt6 dependency a system dependency.
 * meson: do not rely on an exe wrapper
 * meson: do not -I/usr/include when !stemmer
 * meson: Prevent building attempts with MSVC
 * meson: Use an SPDX license indentifier in project(license:)
 * Add meson overrides
 * compose: Set lower-cased CID for synthesized components again
 * compose: Set lower-cased CID in desktop-entry parse function
 * compose: Honor prefix in font search
 * compose: Select the correct default icon glyphs for fonts
 * Don't crash when non-YAML documents are read as YAML
 * Do not override default-priority when parsing multiple metadata files
 * Ensure stemmer always has the right locale and token-search works
 * Require a more recent libxmlb to avoid crashes
 * Rename component get_releases to indicate that releases may not be loaded from the web
 * Prevent string-id validation functions from matching source comments
 * Don't define _POSIX_C_SOURCE when building for NetBSD

Miscellaneous:
 * Explain metainfo-ancient error in more detail
 * Make sed invocation more portable
 * Add FreeBSD CI
 * Allow variable shadowing in C++ code
 * Drop the catchall as-enums unit
 * vapi: Drop unneeded metadata
 * Make AsMetadata return a component box for multiple components
 * apt: Make item descriptions more human-friendly
 * Streamline README

Contributors:
 Aleix Pol, Alessandro Astone, Alexander Wilms, Dan Yeaw, Daniel Drake,
 Gary Wang, Gleb Popov, Ingo Klöcker, JakobDev, Jeremy Whiting, Kai Uwe Broulik,
 Marc-André Lureau, Matthias Klumpp, Philip Withnall, Tao Zuhong,
 Thomas Klausner, Tristan Partin, and thanks to all translators mentioned
 in the respective l10n files!

Version 0.16.4
~~~~~~~~~~~~~~
Released: 2023-11-10

Features:
 * Allow hyphens in the last segment of a component-ID
 * Implement the developer element for unique developer IDs
 * Add meson overrides

Bugfixes:
 * meson: Prevent building attempts with MSVC
 * meson: Avoid potentially bad sed backup filename when fixing .pc file

Miscellaneous:
 * Make sed invocation more portable

Contributors:
 Gleb Popov, Matthias Klumpp, Tristan Partin

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>
22 months agolibadwaita: update 1.4.0 -> 1.4.2
Markus Volk [Fri, 15 Dec 2023 17:30:55 +0000 (18:30 +0100)] 
libadwaita: update 1.4.0 -> 1.4.2

=============
Version 1.4.2
=============

- Really fix build with libappstream 1.0

=============
Version 1.4.1
=============

- Fix build with MSVC
- Fix build with libappstream 1.0
- AdwCarousel
  - Fix carousel scroll behavior with page reordering
- AdwComboRow
  - Fix focus when opening the popover
  - Set the correct state on the selected checkmark
- AdwNavigationView
  - Fix a warning message
- AdwTabOverview
  - Allow child focus on out animations
- AdwTabView
  - Keep view alive during ::page-detached
  - Fix crashes when using :pages
- Docs
  - Fix erroneous <child> use in breakpoints migration guide
- Translation updates
  - Russian
  - Serbian

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>
22 months agolib/packagedata.py: Fix broken symlinks for providers with a '/'
Joshua Watt [Wed, 20 Dec 2023 18:01:02 +0000 (11:01 -0700)] 
lib/packagedata.py: Fix broken symlinks for providers with a '/'

If a package had a provider with a '/' in it (e.g. "/bin/sh",
"/bin/bash", etc.), the generated symlinks were broken due to being at a
hard coded depth. Use oe.path.relsymlink() instead to make a correct
relative symbolic link

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>
22 months agolib/oe/path.py: Add relsymlink()
Joshua Watt [Wed, 20 Dec 2023 18:01:01 +0000 (11:01 -0700)] 
lib/oe/path.py: Add relsymlink()

Adds API to make a relative symbolic link between two directories. The
arguments are the same as oe.path.symlink()

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>
22 months agoncurses: Fix - tty is hung after reset
Soumya Sambu [Wed, 20 Dec 2023 12:12:57 +0000 (12:12 +0000)] 
ncurses: Fix - tty is hung after reset

Serial tty is hung after reset command -
$echo "test " >> /dev/ttyS0
test
$stty -a < /dev/ttyS0
speed 115200 baud; rows 34; columns 153; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
$reset
$echo "test " >> /dev/ttyS0
^C
$stty -a < /dev/ttyS0
^C

Updating reset_tty_settings API with latest code which fixes tty hung issue

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodevtool: deploy: provide max_process to strip_execs
Clay Chang [Wed, 20 Dec 2023 07:31:33 +0000 (15:31 +0800)] 
devtool: deploy: provide max_process to strip_execs

Use oe.utils.get_bb_number_threads to get max_process

Signed-off-by: Clay Chang <clayc@hpe.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodebianutils: upgrade 5.14 -> 5.15
Yi Zhao [Wed, 20 Dec 2023 04:43:26 +0000 (12:43 +0800)] 
debianutils: upgrade 5.14 -> 5.15

ChangeLog:
  * Shellscript compatibility with BSD and Mac, for "which -s"
  * d/tests/smoke: Update to test "which -s"

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodiffoscope: upgrade 252 -> 253
Wang Mingyu [Tue, 19 Dec 2023 07:39:14 +0000 (15:39 +0800)] 
diffoscope: upgrade 252 -> 253

Changelog:
============
* Improve DOS/MBR extraction by adding support for 7z.
* Process objdump symbol comment filter inputs as the Python "bytes" type
  (and not str).
* Add a missing RequiredToolNotFound import.
* Update copyright years.

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>
22 months agoipk: Switch to using zstd compression
Joshua Watt [Wed, 20 Dec 2023 21:31:19 +0000 (14:31 -0700)] 
ipk: Switch to using zstd compression

Converts IPK package generation to use zstd instead of xz. zstd has a
much larger compression/speed tradeoff range allowing users to choose
what suits them best, and fast decompression speeds. It also continues
to support parallel compression as xz did.

A new variable called ZSTD_DEFAULTS is provided to set the defaults for
places that want to use zstd for compression; the zst image conversion
command is also modified to use this.

Finally, in order for this to function properly, opkg must include zstd
support, so it is enabled all the time with no PACKAGECONFIG to turn it
off.

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>
22 months agooeqa: add runtime 'maturin develop' test case
Tim Orling [Sun, 17 Dec 2023 22:58:49 +0000 (14:58 -0800)] 
oeqa: add runtime 'maturin develop' test case

Similar to the sdk test case, build the "guessing-game" example from
https://maturin.rs/tutorial

This test case:
* creates a python3 venv
* echoes "nameserver 8.8.8.8" to /etc/resolv.conf as we need to have
  functional DNS to fetch the crates on target
* fetches crates, builds guessing-game crate and wheel

Put the following in your local.conf:

EXTRA_IMAGE_FEATURES += "tools-sdk"
SDK_INCLUDE_TOOLCHAIN = '1'
SDK_TOOLCHAIN_LANGS += 'rust'

IMAGE_INSTALL:append = " python3-maturin"

IMAGE_CLASSES += "testimage"
TEST_QEMUPARAMS ?= "-m 8192 -smp 4"
IMAGE_ROOTFS_EXTRA_SPACE = "10000000"
NOHDD="1"
NOISO="1"

TEST_SUITES = "ping ssh python maturin"

Test with:

bitbake core-image-full-cmdline
bitbake -c testimage core-image-full-cmdline

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoxwayland: upgrade 23.2.2 -> 23.2.3
Wang Mingyu [Tue, 19 Dec 2023 10:17:18 +0000 (18:17 +0800)] 
xwayland: upgrade 23.2.2 -> 23.2.3

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>
22 months agottyrun: upgrade 2.29.0 -> 2.30.0
Wang Mingyu [Tue, 19 Dec 2023 10:16:43 +0000 (18:16 +0800)] 
ttyrun: upgrade 2.29.0 -> 2.30.0

Changelog:
===========
- lspai: Tool to display PAI counter sets
- s390-tools: Provide a ShellCheck configuration
- cpumf/pai: Add command line option for realtime scheduling
- dbginfo.sh: enhance ethtool collection for ROCE
- libutil/util_lockfile: add routine to return owning pid of file lock
- lszcrypt: Improve lszcrypt output on SE guests
- rust: Use a single workspace for all rust tools
- zdev: limit the derivation of ZDEV_SITE_ID
- zdump/df_s390: Update 'zgetdump -i' output with zlib info
- zdump/dfi_s390: Support reading compressed s390_ext dumps
- zipl/boot: Integrate zlib compression to single volume DASD dumper
- zipl/boot: compile the bootloaders only if HOST_ARCH is s390x
- zipl: Add --no-compress option to zipl command
- zkey: Also check for deconfigured and check-stopped cards
- ap_tools/ap-check: handle get-attributes between pre and post event
- libutil: fix util_file_read_*() using wrong format specifiers
- rust/pv: fix Invalid write of size 1

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>
22 months agopython3-wcwidth: upgrade 0.2.11 -> 0.2.12
Wang Mingyu [Tue, 19 Dec 2023 10:16:11 +0000 (18:16 +0800)] 
python3-wcwidth: upgrade 0.2.11 -> 0.2.12

Changelog:
 Remove a .pyi file was misplaced in the wheel file distributed on pypi for 0.2.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>
22 months agopython3-typing-extensions: upgrade 4.8.0 -> 4.9.0
Wang Mingyu [Tue, 19 Dec 2023 10:15:39 +0000 (18:15 +0800)] 
python3-typing-extensions: upgrade 4.8.0 -> 4.9.0

Changelog:
 https://github.com/python/typing_extensions/blob/main/CHANGELOG.md

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>
22 months agopython3-trove-classifiers: upgrade 2023.11.22 -> 2023.11.29
Wang Mingyu [Tue, 19 Dec 2023 10:02:28 +0000 (18:02 +0800)] 
python3-trove-classifiers: upgrade 2023.11.22 -> 2023.11.29

Changelog:
License :: OSI Approved :: Zero-Clause BSD (0BSD)

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>
22 months agopython3-pytest-runner: upgrade 6.0.0 -> 6.0.1
Wang Mingyu [Tue, 19 Dec 2023 10:01:29 +0000 (18:01 +0800)] 
python3-pytest-runner: upgrade 6.0.0 -> 6.0.1

Changelog:
 Updated Trove classifier to indicate this project is inactive.

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>
22 months agopython3-psutil: upgrade 5.9.6 -> 5.9.7
Wang Mingyu [Tue, 19 Dec 2023 09:58:58 +0000 (17:58 +0800)] 
python3-psutil: upgrade 5.9.6 -> 5.9.7

Changelog:
===========
-enforce Ruff rule raw-string-in-exception, which helps providing clearer
 tracebacks when exceptions are raised by psutil.
-[PyPy]: psutil did not compile on PyPy due to missing
 PyErr_SetExcFromWindowsErrWithFilenameObject cPython API.

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>
22 months agopython3-pip: upgrade 23.3.1 -> 23.3.2
Wang Mingyu [Tue, 19 Dec 2023 09:58:27 +0000 (17:58 +0800)] 
python3-pip: upgrade 23.3.1 -> 23.3.2

no_shebang_mangling.patch
refreshed for 23.3.2

Changelog:
==========
-Fix a bug in extras handling for link requirements
-Fix mercurial revision "parse error": use --rev={ref} instead of -r={ref}

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>
22 months agopython3-pathspec: upgrade 0.11.2 -> 0.12.1
Wang Mingyu [Tue, 19 Dec 2023 09:55:38 +0000 (17:55 +0800)] 
python3-pathspec: upgrade 0.11.2 -> 0.12.1

Changelog:
 https://github.com/cpburnz/python-pathspec/blob/v0.12.1/CHANGES.rst

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>
22 months agopython3-license-expression: upgrade 30.1.1 -> 30.2.0
Wang Mingyu [Tue, 19 Dec 2023 09:42:41 +0000 (17:42 +0800)] 
python3-license-expression: upgrade 30.1.1 -> 30.2.0

Changelog:
============
-Use latest skeleton
-Update license list to latest ScanCode and SPDX 3.22
-Add Python 3.12 support in CI

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>
22 months agopython3-importlib-metadata: upgrade 6.8.0 -> 7.0.0
Wang Mingyu [Tue, 19 Dec 2023 09:42:09 +0000 (17:42 +0800)] 
python3-importlib-metadata: upgrade 6.8.0 -> 7.0.0

Changelog:
============
-Removed EntryPoint access by numeric index
-Added Distribution.origin supplying the direct_url.json in a SimpleNamespace.
-Added diagnose script.
-Added EntryPoints.__repr__

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>
22 months agopython3-hypothesis: upgrade 6.90.0 -> 6.92.1
Wang Mingyu [Tue, 19 Dec 2023 09:41:31 +0000 (17:41 +0800)] 
python3-hypothesis: upgrade 6.90.0 -> 6.92.1

Changelog:
===========
https://hypothesis.readthedocs.io/en/latest/changes.html

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>
22 months agopython3-hatchling: upgrade 1.18.0 -> 1.20.0
Wang Mingyu [Tue, 19 Dec 2023 09:40:58 +0000 (17:40 +0800)] 
python3-hatchling: upgrade 1.18.0 -> 1.20.0

Changelog:
==========
-Add bypass-selection option to the wheel build target to allow for empty
 (metadata-only) wheels
-Fix regression in 1.19.1 that allowed exclude to count toward inclusion
 selection, thus bypassing the default inclusion selection heuristics
-Fix writing optional dependency core metadata in situations where there
 are multiple environment markers

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>
22 months agopython3-dbusmock: upgrade 0.29.1 -> 0.30.0
Wang Mingyu [Tue, 19 Dec 2023 09:40:22 +0000 (17:40 +0800)] 
python3-dbusmock: upgrade 0.29.1 -> 0.30.0

Changelog:
============
-api: Add pytest support and helpers
-api: Factor the server spawning into a new SpawnedMock object
-doc: generate sphinx docs on https://martinpitt.github.io/python-dbusmock/
-cli: Add support for running custom commands on the mock environment

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>
22 months agopython3-babel: upgrade 2.13.1 -> 2.14.0
Wang Mingyu [Tue, 19 Dec 2023 09:39:06 +0000 (17:39 +0800)] 
python3-babel: upgrade 2.13.1 -> 2.14.0

Changelog:
============
-CLDR/Numbers: Add support of local numbering systems for number symbols
-CLDR: Upgrade to CLDR 43
-Frontend: Allow last_translator to be passed as an option to extract_message
-Frontend: Decouple pybabel CLI frontend from distutils/setuptools
-Numbers: Improve parsing of malformed decimals

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>
22 months agop11-kit: upgrade 0.25.2 -> 0.25.3
Wang Mingyu [Tue, 19 Dec 2023 09:36:36 +0000 (17:36 +0800)] 
p11-kit: upgrade 0.25.2 -> 0.25.3

Changelog:
============
* rpc: fix serialization of NULL mechanism pointer
* fix meson build failure in macOS (appleframeworks not found)

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>
22 months agosysstat: upgrade 12.7.4 -> 12.7.5
Wang Mingyu [Tue, 19 Dec 2023 09:36:04 +0000 (17:36 +0800)] 
sysstat: upgrade 12.7.4 -> 12.7.5

Changelog:
===========
* [Quan quan Cao]: sar/sadc: Add new metrics pgprom/s and pgdem/s.
* sar: Remove %vmeff metric.
* sadf: Update various output formats to take into account metrics
  that have been added or removed.
* Update DTD and XSD documents.
* Update sar manual page.
* sar: Add a cron entry and a new systemd service and timer to rotate
  daily data file at midnight.
* Option -V with sysstat commands also displays environment contents.
* [Sam Morris]: Use correct encoding to produce hyphen-minus when
  rendering man pages.
* Add UMASK variable definition to sysstat(5) manual page.
* Update non regression tests.
* Add --getenv option to commands that didn't have it.
* Update README file for Debian-based distros.
* Update link to my personal web page in README and manual pages.
* NLS: Translations updated.

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>
22 months agorepo: upgrade 2.39 -> 2.40
Wang Mingyu [Tue, 19 Dec 2023 09:35:31 +0000 (17:35 +0800)] 
repo: upgrade 2.39 -> 2.40

Changelog:
=========
-Don't log spam 'repo sync' by default
-tox: Remove pylint timeout
-Update commit-msg hook
-sync: Fix partial sync false positive
-repo: add repo main script's directory to PYTHONPATH.
-info: Handle undefined mergeBranch
-manifest_xml: support nested submanifests
-repo_logging: Ensure error details are printed
-repo: Use the worktree when checking the repo rev.
-git_superproject: tell git that superproject is bare
-Correctly handle schema-less URIs for remote fetch URL
-main: Log ManifestParseError exception messages
-repo: Remove unreachable code.
-cleanup: Update codebase to expect Python 3.6
-sync: PersistentTransport call parent init
-sync: TeeStringIO write should return int
-Correctly handle schema-less URIs for remote fetch URL
-main: Log ManifestParseError exception messages
-repo: Remove unreachable code.
-cleanup: Update codebase to expect Python 3.6

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>
22 months agoopkg-utils: upgrade 0.6.2 -> 0.6.3
Wang Mingyu [Tue, 19 Dec 2023 09:34:57 +0000 (17:34 +0800)] 
opkg-utils: upgrade 0.6.2 -> 0.6.3

Changelog:
=========
-Add acls and xattrs support
-whitespace and styling
-update markdown styling
-update opkg mailing list
-add SECURITY.md
-refresh document

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>
22 months agokea: upgrade 2.4.0 -> 2.4.1
Wang Mingyu [Tue, 19 Dec 2023 09:33:46 +0000 (17:33 +0800)] 
kea: upgrade 2.4.0 -> 2.4.1

Changelog:
=========
-The library version numbers have been bumped up for the Kea 2.4.1 stable release.
-Fixed interface redetection which had stopped working since Kea 2.3.6.
-Fixed a race condition in free lease queue allocator

fix-multilib-conflict.patch
fix_pid_keactrl.patch
refreshed for 2.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>
22 months agogpgme: upgrade 1.23.1 -> 1.23.2
Wang Mingyu [Tue, 19 Dec 2023 09:33:12 +0000 (17:33 +0800)] 
gpgme: upgrade 1.23.1 -> 1.23.2

Changelog:
============
 * Preserve more specific existing failure code.
 * qt: Start dirmngr with gpgconf to avoid multiple instances.
 * qt: On Windows, use UTF-8 when logging the error text.
 * qt: Remove left-over partial files more persistently.
 * qt: Use a temporary file name when creating signed or encrypted
   archives.
 * qt: Build Qt 6 bindings with -fPIC if requested or Qt 6 was built with
   this flag.

0001-autogen.sh-remove-unknown-in-version.patch0001-pkgconfig.patch
0001-pkgconfig.patch
0001-use-closefrom-on-linux-and-glibc-2.34.patch
0003-Correctly-install-python-modules.patch
0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch
0006-fix-build-path-issue.patch
0008-do-not-auto-check-var-PYTHON.patch
refreshed for 1.23.2

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>
22 months agodnf: upgrade 4.18.1 -> 4.18.2
Wang Mingyu [Tue, 19 Dec 2023 09:32:18 +0000 (17:32 +0800)] 
dnf: upgrade 4.18.1 -> 4.18.2

Changelog:
=========
-automatic: Add feature to allow emitters to invoke on dnf error
-dnssec: Fix parsing PGP keys for DNS validation

0005-Do-not-prepend-installroot-to-logdir.patch
refreshed for new version.

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>
22 months agolibva-utils: upgrade 2.20.0 -> 2.20.1
Wang Mingyu [Tue, 19 Dec 2023 09:31:46 +0000 (17:31 +0800)] 
libva-utils: upgrade 2.20.0 -> 2.20.1

Changelog:
============
-Fix some coverity issues exposed in encode
-Fixed VPP coverity issues

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>
22 months agolibseccomp: upgrade 2.5.4 -> 2.5.5
Wang Mingyu [Tue, 19 Dec 2023 09:29:59 +0000 (17:29 +0800)] 
libseccomp: upgrade 2.5.4 -> 2.5.5

Changelog:
==========
Update the syscall table for Linux v6.7-rc3

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>
22 months agolibnl: upgrade 3.8.0 -> 3.9.0
Wang Mingyu [Tue, 19 Dec 2023 09:29:24 +0000 (17:29 +0800)] 
libnl: upgrade 3.8.0 -> 3.9.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>
22 months agolibatomic-ops: upgrade 7.8.0 -> 7.8.2
Wang Mingyu [Tue, 19 Dec 2023 09:28:20 +0000 (17:28 +0800)] 
libatomic-ops: upgrade 7.8.0 -> 7.8.2

Changelog:
=========
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'comparing signed/unsigned values' lcc warning in add_chunk_as
* Fix 'undefined reference to AO_pt_lock' if configure is using clang-16
* Fix 'undefined reference to __atomic_load/store/cas_16' Mingw64-gcc error
* Fix 'undefined reference' linker errors if shared build on OpenBSD (CMake)
* Fix get_chunk for case of mmap area is located before AO_initial_heap
* Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
* Fix typo in comment of run_one_test of test_stack
* Fix typos in comments of atomic_ops_malloc.c and atomic_ops_stack.c/h
* Update cmake minimum required version to 3.5

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>
22 months agokbd: upgrade 2.6.3 -> 2.6.4
Wang Mingyu [Tue, 19 Dec 2023 09:27:49 +0000 (17:27 +0800)] 
kbd: upgrade 2.6.3 -> 2.6.4

Changelog:
==========
-Use AX_ADD_FORTIFY_SOURCE to avoid redefining _FORTIFY_SOURCE
-Do not look up include files in the current working directory

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>
22 months agocurl: Disable two intermittently failing tests
Richard Purdie [Thu, 21 Dec 2023 12:37:51 +0000 (12:37 +0000)] 
curl: Disable two intermittently failing tests

These two tests seem to fail semi-regularly so just stop running them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agocurl: update to 8.5.0
Lee Chee Yang [Fri, 15 Dec 2023 09:40:21 +0000 (17:40 +0800)] 
curl: update to 8.5.0

update include fix for CVE-2023-46218.

skip test 1477 which check that libcurl-errors.3 and the public
header files have the same set of error codes.
Notes: This test is not included in the source tarball.
https://github.com/curl/curl/issues/12462

Release Notes:
curl and libcurl 8.5.0

 Public curl releases:         253
 Command line options:         258
 curl_easy_setopt() options:   303
 Public functions in libcurl:  93
 Contributors:                 3039

This release includes the following changes:

 o gnutls: support CURLSSLOPT_NATIVE_CA [31]
 o HTTP3: ngtcp2 builds are no longer experimental [77]

This release includes the following bugfixes:

 o appveyor: make VS2008-built curl tool runnable [93]
 o asyn-thread: use pipe instead of socketpair for IPC when available [4]
 o autotools: accept linker flags via `CURL_LDFLAGS_{LIB,BIN}` [128]
 o autotools: avoid passing `LDFLAGS` twice to libcurl [127]
 o autotools: delete LCC compiler support bits [137]
 o autotools: fix/improve gcc and Apple clang version detection [136]
 o autotools: stop setting `-std=gnu89` with `--enable-warnings` [135]
 o autotools: update references to deleted `crypt-auth` option [46]
 o BINDINGS: add V binding [54]
 o build: add `src/.checksrc` to source tarball [1]
 o build: add more picky warnings and fix them [172]
 o build: always revert `#pragma GCC diagnostic` after use [143]
 o build: delete `HAVE_STDINT_H` and `HAVE_INTTYPES_H` [107]
 o build: delete support bits for obsolete Windows compilers [106]
 o build: fix 'threadsafe' feature detection for older gcc [19]
 o build: fix builds that disable protocols but not digest auth [174]
 o build: fix compiler warning with auths disabled [85]
 o build: fix libssh2 + `CURL_DISABLE_DIGEST_AUTH` + `CURL_DISABLE_AWS` [120]
 o build: picky warning updates [125]
 o build: require Windows XP or newer [86]
 o cfilter: provide call to tell connection to forget a socket [65]
 o checksrc.pl: support #line instructions
 o CI: add autotools, out-of-tree, debug build to distro check job [14]
 o CI: ignore test 286 on Appveyor gcc 9 build [6]
 o cmake: add `CURL_DISABLE_BINDLOCAL` option [146]
 o cmake: add test for `DISABLE` options, add `CURL_DISABLE_HEADERS_API` [138]
 o cmake: dedupe Windows system libs [114]
 o cmake: fix `HAVE_H_ERRNO_ASSIGNABLE` detection [2]
 o cmake: fix CURL_DISABLE_GETOPTIONS [12]
 o cmake: fix multiple include of CURL package [96]
 o cmake: fix OpenSSL quic detection in quiche builds [56]
 o cmake: option to disable install & drop `curlu` target when unused [72]
 o cmake: pre-fill rest of detection values for Windows [50]
 o cmake: replace `check_library_exists_concat()` [23]
 o cmake: speed up threads setup for Windows [68]
 o cmake: speed up zstd detection [69]
 o config-win32: set `HAVE_SNPRINTF` for mingw-w64 [123]
 o configure: better --disable-http [80]
 o configure: check for the fseeko declaration too [55]
 o conncache: use the closure handle when disconnecting surplus connections [173]
 o content_encoding: make Curl_all_content_encodings allocless [101]
 o cookie: lowercase the domain names before PSL checks [160]
 o curl.h: delete Symbian OS references [162]
 o curl.h: on FreeBSD include sys/param.h instead of osreldate.h [21]
 o curl.rc: switch out the copyright symbol for plain ASCII [167]
 o curl: improved IPFS and IPNS URL support [87]
 o curl_easy_duphandle.3: clarify how HSTS and alt-svc are duped [99]
 o Curl_http_body: cleanup properly when Curl_getformdata errors [152]
 o curl_setup: disallow Windows IPv6 builds missing getaddrinfo [57]
 o curl_sspi: support more revocation error names in error messages [95]
 o CURLINFO_PRETRANSFER_TIME_T.3: fix time explanation [181]
 o CURLMOPT_MAX_CONCURRENT_STREAMS: make sure the set value is within range [165]
 o CURLOPT_CAINFO_BLOB.3: explain what CURL_BLOB_COPY does [113]
 o CURLOPT_WRITEFUNCTION.3: clarify libcurl returns for CURL_WRITEFUNC_ERROR [45]
 o CURPOST_POSTFIELDS.3: add CURLOPT_COPYPOSTFIELDS in SEE ALSO
 o docs/example/keepalive.c: show TCP keep-alive options [73]
 o docs/example/localport.c: show off CURLOPT_LOCALPORT [83]
 o docs/examples/interface.c: show CURLOPT_INTERFACE use [84]
 o docs/libcurl: fix three minor man page format mistakes [26]
 o docs/libcurl: SYNSOPSIS cleanup [150]
 o docs: add supported version for the json write-out [92]
 o docs: clarify that curl passes on input unfiltered [47]
 o docs: fix function typo in curl_easy_option_next.3 [36]
 o docs: KNOWN_BUGS cleanup
 o docs: make all examples in all libcurl man pages compile [175]
 o docs: preserve the modification date when copying the prebuilt man page [89]
 o docs: remove bold from some man page SYNOPSIS sections [90]
 o docs: use SOURCE_DATE_EPOCH for generated manpages [16]
 o doh: provide better return code for responses w/o addresses [133]
 o doh: use PIPEWAIT when HTTP/2 is attempted [63]
 o duphandle: also free 'outcurl->cookies' in error path [122]
 o duphandle: make dupset() not return with pointers to old alloced data [109]
 o duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set [132]
 o easy: in duphandle, init the cookies for the new handle [131]
 o easy: remove duplicate wolfSSH init call [37]
 o easy_lock: add a pthread_mutex_t fallback [13]
 o examples/rtsp-options.c: add [157]
 o fopen: create new file using old file's mode [153]
 o fopen: create short(er) temporary file name [155]
 o getenv: PlayStation doesn't have getenv() [41]
 o GHA: move mod_h2 version in CI to v2.0.25 [43]
 o hostip: show the list of IPs when resolving is done [35]
 o hostip: silence compiler warning `-Wparentheses-equality` [62]
 o hsts: skip single-dot hostname [67]
 o HTTP/2, HTTP/3: handle detach of onoing transfers [134]
 o http2: header conversion tightening [33]
 o http2: provide an error callback and failf the message [53]
 o http2: safer invocation of populate_binsettings [8]
 o http: allow longer HTTP/2 request method names [112]
 o http: avoid Expect: 100-continue if Upgrade: is used [15]
 o http: consider resume with CURLOPT_FAILONERRROR and 416 to be fine [81]
 o http: fix `-Wunused-parameter` with no auth and no proxy [149]
 o http: fix `-Wunused-variable` compiler warning [115]
 o http: fix empty-body warning [76]
 o http_aws_sigv4: canonicalise valueless query params [88]
 o hyper: temporarily remove HTTP/2 support [139]
 o INSTALL: update list of ports and CPU archs
 o IPFS: fix IPFS_PATH and file parsing [119]
 o keylog: disable if unused [145]
 o lib: add and use Curl_strndup() [97]
 o lib: apache style infof and trace macros/functions [71]
 o lib: fix gcc warning in printf call [7]
 o libcurl-errors.3: sync with current public headers [156]
 o libcurl-thread.3: simplify the TLS section [79]
 o Makefile.am: drop vc10, vc11 and vc12 projects from dist [103]
 o Makefile.mk: fix `-rtmp` option for non-Windows
 o mime: store "form escape" as a single bit [170]
 o misc: fix -Walloc-size warnings [118]
 o msh3: error when built with CURL_DISABLE_SOCKETPAIR set [61]
 o multi: during ratelimit multi_getsock should return no sockets [182]
 o multi: use pipe instead of socketpair to *wakeup() [18]
 o ngtcp2: fix races in stream handling [178]
 o ngtcp2: ignore errors on unknown streams [158]
 o ntlm_wb: use pipe instead of socketpair when possible [44]
 o openldap: move the alloc of ldapconninfo to *connect() [29]
 o openldap: set the callback argument in oldap_do [30]
 o openssl: avoid BN_num_bits() NULL pointer derefs [9]
 o openssl: fix building with v3 `no-deprecated` + add CI test [161]
 o openssl: fix infof() to avoid compiler warning for %s with null [70]
 o openssl: identify the "quictls" backend correctly [82]
 o openssl: include SIG and KEM algorithms in verbose [52]
 o openssl: make CURLSSLOPT_NATIVE_CA import Windows intermediate CAs [58]
 o openssl: two multi pointer checks should probably rather be asserts [91]
 o openssl: when a session-ID is reused, skip OCSP stapling [142]
 o page-footer: clarify exit code 25 [51]
 o projects: add VC14.20 project files [104]
 o pytest: use lower count in repeat tests [98]
 o quic: make eyeballers connect retries stop at weird replies [140]
 o quic: manage connection idle timeouts [5]
 o quiche: use quiche_conn_peer_transport_params() [116]
 o rand: fix build error with autotools + LibreSSL [111]
 o resolve.d: drop a multi use-sentence [100]
 o RTSP: improved RTP parser [32]
 o rustls: implement connect_blocking [154]
 o sasl: fix `-Wunused-function` compiler warning [124]
 o schannel: add CA cache support for files and memory blobs [121]
 o setopt: check CURLOPT_TFTP_BLKSIZE range on set [171]
 o setopt: remove outdated cookie comment [64]
 o setopt: remove superfluous use of ternary expressions [169]
 o socks: better buffer size checks for socks4a user and hostname [20]
 o socks: make SOCKS5 use the CURLOPT_IPRESOLVE choice [38]
 o symbols-in-versions: the CLOSEPOLICY options are deprecated
 o test1683: remove commented-out check alternatives
 o test3103: add missing quotes around a test tag attribute
 o test613: stop showing an error on missing output file
 o tests/README: SOCKS tests are not using OpenSSH, it has its own server [48]
 o tests/server: add more SOCKS5 handshake error checking [27]
 o tests: Fix Windows test helper tool search & use it for handle64 [17]
 o tidy-up: casing typos, delete unused Windows version aliases [144]
 o tool: fix --capath when proxy support is disabled [28]
 o tool: support bold headers in Windows [117]
 o tool_cb_hdr: add an additional parsing check [129]
 o tool_cb_prg: make the carriage return fit for wide progress bars [159]
 o tool_cb_wrt: fix write output for very old Windows versions [24]
 o tool_getparam: limit --rate to be smaller than number of ms [3]
 o tool_operate: do not mix memory models [108]
 o tool_operate: fix links in ipfs errors [22]
 o tool_parsecfg: make warning output propose double-quoting [164]
 o tool_urlglob: fix build for old gcc versions [25]
 o tool_urlglob: make multiply() bail out on negative values [11]
 o tool_writeout_json: fix JSON encoding of non-ascii bytes [179]
 o transfer: abort pause send when connection is marked for closing [183]
 o transfer: avoid calling the read callback again after EOF [130]
 o transfer: only reset the FTP wildcard engine in CLEAR state [42]
 o url: don't touch the multi handle when closing internal handles [40]
 o url: find scheme with a "perfect hash" [141]
 o url: fix `-Wzero-length-array` with no protocols [147]
 o url: fix builds with `CURL_DISABLE_HTTP` [148]
 o url: protocol handler lookup tidy-up [66]
 o url: proxy ssl connection reuse fix [94]
 o urlapi: avoid null deref if setting blank host to url encode [75]
 o urlapi: skip appending NULL pointer query [74]
 o urlapi: when URL encoding the fragment, pass in the right length [59]
 o urldata: make maxconnects a 32 bit value [166]
 o urldata: move async resolver state from easy handle to connectdata [34]
 o urldata: move cookielist from UserDefined to UrlState [126]
 o urldata: move hstslist from 'set' to 'state' [105]
 o urldata: move the 'internal' boolean to the state struct [39]
 o vssh: remove the #ifdef for Curl_ssh_init, use empty macro
 o vtls: cleanup SSL config management [78]
 o vtls: consistently use typedef names for OpenSSL structs [176]
 o vtls: late clone of connection ssl config [60]
 o vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0 [102]
 o VULN-DISCLOSURE-POLICY: escape sequences are not a security flaw [110]
 o windows: use built-in `_WIN32` macro to detect Windows [163]
 o wolfssh: remove redundant static prototypes [168]
 o wolfssl: add default case for wolfssl_connect_step1 switch [49]
 o wolfssl: require WOLFSSL_SYS_CA_CERTS for loading system CA [10]

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemurunner: more cleanups for output blocking
Alex Bennée [Wed, 20 Dec 2023 16:14:50 +0000 (16:14 +0000)] 
qemurunner: more cleanups for output blocking

If we are only tracking stdout and are not using self.readsock we end
up throwing an exception blocking further action from the thread. Fix
this by checking self.readsock is not None first.

While we are at it split even into fd, event to make things clearer
and handle the fail path of stringify_event by echoing the hex value
of the unknown flag.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Mikko Rapeli <mikko.rapeli@linaro.org>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemu: Ensure pip and the python venv aren't used for meson
Richard Purdie [Tue, 19 Dec 2023 21:24:57 +0000 (21:24 +0000)] 
qemu: Ensure pip and the python venv aren't used for meson

Qemu wants to use a supported python version and a specific meson version
to "help" users and uses pip and creates a venv to do this. This is a nightmare
for us. Our versions stay up to date and should be supported so we don't
really need/want this wrapping. Tweak things to disable it.

There was breakage from the wrapper shown by:

bitbake qemu-system-native
<add DISTRO_FEATURES:remove = "opengl" to local.conf>
bitbake qemu-system-native -c configure

which would crash. The issue is the change in configuration removes pieces
from the sysroot but pyc files remainm as do pieces of pip which causes
problems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemu: Clean up DEPENDS
Richard Purdie [Wed, 20 Dec 2023 10:07:07 +0000 (10:07 +0000)] 
qemu: Clean up DEPENDS

Move the common dependencies to qemu.inc for cleaner entries in the
various recipes. Remove an unneeded inherit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agorust: rustdoc reproducibility issue fix - disable PGO
Sundeep KOKKONDA [Wed, 20 Dec 2023 10:40:20 +0000 (02:40 -0800)] 
rust: rustdoc reproducibility issue fix - disable PGO

The PGO (Profile-guided Optimization) collect data about the typical execution of a program
and then use this data to inform optimizations such as inlining, machine-code layout,
register allocation, etc.

This optimization is by default disabled in rust sources but enabled in Yocto and causing
the reproducibility issue in rustdoc binary. To fix the issue this optimization is set to
it's default 'false'.

More about the optimization: https://doc.rust-lang.org/rustc/profile-guided-optimization.html

With the reproducibility issue fixed, we can enable the reproducibility tests again.

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoopenssl: mark assembler sections as call targets for PAC/BTI support on aarch64
Ross Burton [Wed, 13 Dec 2023 16:14:21 +0000 (16:14 +0000)] 
openssl: mark assembler sections as call targets for PAC/BTI support on aarch64

The assembler sections in OpenSSL were not marked as valid call targets,
so branch protection could not be enabled for libcrypto.so.

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>
22 months agoavahi: backport CVE-2023-1981 & CVE's follow-up patches
Vijay Anusuri [Tue, 12 Dec 2023 09:05:18 +0000 (14:35 +0530)] 
avahi: backport CVE-2023-1981 & CVE's follow-up patches

import patches from ubuntu to fix
 CVE-2023-1981
 CVE-2023-38469-2
 CVE-2023-38470-2
 CVE-2023-38471-2

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
https://github.com/lathiat/avahi/commit/a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f
&
https://github.com/lathiat/avahi/commit/c6cab87df290448a63323c8ca759baa516166237
&
https://github.com/lathiat/avahi/commit/94cb6489114636940ac683515417990b55b5d66c
&
https://github.com/lathiat/avahi/commit/b675f70739f404342f7f78635d6e2dcd85a13460]

Ref: https://git.openembedded.org/openembedded-core-contrib/commit/?h=stable/nanbield-nut&id=a9203c46cd64c3ec5e5b00e381bbac85733f85df

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibinput: Add packageconfig for tests
Joshua Watt [Mon, 18 Dec 2023 22:23:48 +0000 (15:23 -0700)] 
libinput: Add packageconfig for tests

Add packageconfig to control if tests are installed or not. Doing this
allows the libcheck dependency to be optional. The packageconfig
defaults to having tests enabled when PTEST_ENABLED == 1 to match the
previous behavior

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>
22 months agodtc: preserve version also from shallow git clones
Peter Marko [Sat, 16 Dec 2023 18:55:04 +0000 (19:55 +0100)] 
dtc: preserve version also from shallow git clones

Since switch from Makefile to meson based build,
the version is no longer hardcoded but queried from git tag.

This works only if git history is available.
When shallow tarballs are used, tag is not available.

Example error for trusted-firmware-a from meta-arm:
dtc version too old (039a994), you need at least version 1.4.4

Backport also patch to fix version in meson file.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoptest-packagelists.inc: Add python3-license-expression
Mingli Yu [Tue, 19 Dec 2023 02:47:15 +0000 (10:47 +0800)] 
ptest-packagelists.inc: Add python3-license-expression

 # ./run-ptest
     [snip]
     PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax
     PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key
     PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice
     PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception
     PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false
     PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key
     PASS: tests/test_license_expression.py::UtilTest::test_build_licensing
     PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing
     PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info
     PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored
     PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements
     PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input
     PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship
     PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular
     PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle
    ============================================================================
    Testsuite summary
     # TOTAL: 175
     # PASS: 175
     # SKIP: 0
     # XFAIL: 0
     # FAIL: 0
     # XPASS: 0

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-license-expression: Fix the ptest failure
Mingli Yu [Tue, 19 Dec 2023 02:47:14 +0000 (10:47 +0800)] 
python3-license-expression: Fix the ptest failure

Fix the below ptest failure:
 self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle>
 def test_skeleton_codestyle(self):
 """
 This test shouldn't run in proliferated repositories.
 """
 setup_cfg = configparser.ConfigParser()
 setup_cfg.read("setup.cfg")
 > if setup_cfg["metadata"]["name"] != "skeleton":
 tests/test_skeleton_codestyle.py:22:
 self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata'
 def _getitem_(self, key):
 if key != self.default_section and not self.has_section(key):
 > raise KeyError(key)
 E KeyError: 'metadata'

After the patch:
 # ./run-ptest
 [snip]
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key
 PASS: tests/test_license_expression.py::UtilTest::test_build_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular
 PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle
============================================================================
Testsuite summary
 # TOTAL: 175
 # PASS: 175
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Changed in v4:
Add python3-license-expression to PTESTS_FAST

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agowic: use E2FSPROGS_FAKE_TIME and hash_seed to generate reproducible ext4 images
venkata pyla [Mon, 18 Dec 2023 04:30:30 +0000 (10:00 +0530)] 
wic: use E2FSPROGS_FAKE_TIME and hash_seed to generate reproducible ext4 images

E2FSPROGS_FAKE_TIME: sets fixed times for the inodes in the file system.
hash_seed: creates reproducible directory indexes in the file system.

Reference commit in e2fsprogs: e1f7100643a46456be107b33098f6034b0835e6d

Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agonfs-utils: Update Upstream-Status
Robert Yang [Fri, 15 Dec 2023 13:47:27 +0000 (05:47 -0800)] 
nfs-utils: Update Upstream-Status

Update Upstream-Status for 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agomesa: upgrade 23.2.1 -> 23.3.1
Lucas Stach [Fri, 15 Dec 2023 13:37:36 +0000 (14:37 +0100)] 
mesa: upgrade 23.2.1 -> 23.3.1

- build amd vulkan driver for x86 platforms
- drop included patch
[https://gitlab.freedesktop.org/mesa/mesa/-/blob/1fbdd37d4c1133ced5eb9812daa1fff04cbf5daa/meson.build#L1711]

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-numpy: distutils is no longer required
Alexander Kanavin [Fri, 15 Dec 2023 07:52:10 +0000 (08:52 +0100)] 
python3-numpy: distutils is no longer required

Please see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
https://numpy.org/doc/stable/release/1.26.0-notes.html

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-pytest-runner: remove distutils dependency
Alexander Kanavin [Fri, 15 Dec 2023 07:52:09 +0000 (08:52 +0100)] 
python3-pytest-runner: remove distutils dependency

I couldn't find any evidence of it actually being
required at build or run time.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoglib-2.0: replace distutils dependency with setuptools
Alexander Kanavin [Fri, 15 Dec 2023 07:52:08 +0000 (08:52 +0100)] 
glib-2.0: replace distutils dependency with setuptools

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-pip: remove distutils depedency
Alexander Kanavin [Fri, 15 Dec 2023 07:52:07 +0000 (08:52 +0100)] 
python3-pip: remove distutils depedency

Upstream has removed usage of distutils.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-babel: replace distutils with setuptools, as supported by upstream
Alexander Kanavin [Fri, 15 Dec 2023 07:52:06 +0000 (08:52 +0100)] 
python3-babel: replace distutils with setuptools, as supported by upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-setuptools-rust: remove distutils dependency
Alexander Kanavin [Fri, 15 Dec 2023 07:52:05 +0000 (08:52 +0100)] 
python3-setuptools-rust: remove distutils dependency

As allowed by https://github.com/PyO3/setuptools-rust/pull/336

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agogpgme: disable python support (until upstream fixes 3.12 compatibility)
Alexander Kanavin [Fri, 15 Dec 2023 07:52:04 +0000 (08:52 +0100)] 
gpgme: disable python support (until upstream fixes 3.12 compatibility)

The only consumer in oe-core was dnf, and latest dnf releases no longer
use it. There are no consumers in meta-oe.

gpgme's python support is generally a pain to support, and lags
behind upstream python versions. It was enabled in

commit fc6c81da79897c95a9c81960a1dee49517f2562a
Author: Mark Hatle <mark.hatle@windriver.com>
Date:   Tue Mar 7 12:54:33 2017 -0600

    gpgme: Fix issue building for the target

which wasn't prompted by any consumer requiring python,
but rather to correct build errors in absence of specific
configuration passed in.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodnf: remove obsolete python3-gpg dependency (provided by gpgme)
Alexander Kanavin [Fri, 15 Dec 2023 07:52:03 +0000 (08:52 +0100)] 
dnf: remove obsolete python3-gpg dependency (provided by gpgme)

As of https://github.com/rpm-software-management/dnf/commit/8806b2ee99a322c7201239a1cf14d191c87e152a
dnf is using librepo's crypto.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibcap-ng-python: depend on setuptools to obtain distutils copy
Alexander Kanavin [Fri, 15 Dec 2023 07:52:02 +0000 (08:52 +0100)] 
libcap-ng-python: depend on setuptools to obtain distutils copy

Upstream has made the needed fixes (not easy to backport), but
hasn't released a new version with them. Distutils has been
removed from the core python library in 3.12.0.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agogobject-introspection: depend on setuptools to obtain distutils module
Alexander Kanavin [Fri, 15 Dec 2023 07:52:01 +0000 (08:52 +0100)] 
gobject-introspection: depend on setuptools to obtain distutils module

g-i still uses distutils in various places, and upstream MRs and tickets
aren't getting a lot of traction. As distutils is gone from the core
library in python 3.12, rely on setuptools copy.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoweston: Include libgen.h for basename
Khem Raj [Thu, 14 Dec 2023 17:23:54 +0000 (09:23 -0800)] 
weston: Include libgen.h for basename

Fixes build with latest musl

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>
22 months agopython3: re-enable profile guided optimisation
Ross Burton [Thu, 14 Dec 2023 17:18:06 +0000 (17:18 +0000)] 
python3: re-enable profile guided optimisation

This was accidentally disabled in the 3.7.2 upgrade in 2019[1] where PGO
was made target-only. Change the wrapper script generation so that it
happens in all environments but class-native.

[1] oe-core 02714c105426b0d687620913c1a7401b386428b6

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>
22 months agomachine/arch-armv9: remove crc and sve tunes, they are mandatory
Ross Burton [Thu, 14 Dec 2023 14:55:59 +0000 (14:55 +0000)] 
machine/arch-armv9: remove crc and sve tunes, they are mandatory

As per the Arm ARM section A2.3.2, FEAT_CRC32 is mandatory in Armv8.1
onwards, so there's no need to have an explicit optional tune for it.

SVE (which was a choice here) and SVE2 (which was not) are both optional
with v9.0, but GCC's -march=armv9-a defaults to enabling both SVE and
SVE2 on the grounds that there are no implementations of Armv9 that
don't support SVE2.  This means there's no point having an explicit sve
feature as it's enabled out of the box.

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>
22 months agoqemu: Add packageconfig knob to enable pipewire support
Khem Raj [Wed, 13 Dec 2023 20:40:55 +0000 (12:40 -0800)] 
qemu: Add packageconfig knob to enable pipewire support

This gets into a quessing mode if not specified and it it probelamactic
for native version since it maybe built on a machine having pipewire
  installed and used on another where pipewire is not installed (
  minimal CI builder ) it ends up with

runqemu - ERROR - Failed to run qemu: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-x86_64: error while loading shared libraries: libpipewire-0.3.so.0: cannot open shared object file: No such file or directory

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>
22 months agoqemu: Fix build with latest musl
Khem Raj [Wed, 13 Dec 2023 20:40:54 +0000 (12:40 -0800)] 
qemu: Fix build with latest musl

musl dropped basename() from string.h, adjust for that

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>
22 months agosystemd: Fix build with latest musl
Khem Raj [Wed, 13 Dec 2023 20:40:53 +0000 (12:40 -0800)] 
systemd: Fix build with latest musl

musl has removed basename from string.h [1] which leads to build
failures now as declaration is gone and it should be coming from
libgen.h

[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7

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>
22 months agoimages: add core-image-initramfs-boot
Ross Burton [Wed, 13 Dec 2023 18:22:37 +0000 (18:22 +0000)] 
images: add core-image-initramfs-boot

Add a minimal initramfs image recipe that just contains enough initramfs
to find the real root filesystem and pivot to it.

BSPs can use MACHINE_EXTRA_RRECOMMENDS to pull in any kernel module
packages that are required to bring up the hardware so that the rootfs
can be found.

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>
22 months agoperl: 5.38.0 -> 5.38.2
Lee Chee Yang [Wed, 13 Dec 2023 01:10:54 +0000 (09:10 +0800)] 
perl: 5.38.0 -> 5.38.2

update include fix for CVE-2023-47100.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoperlcross: update to 1.5.2
Lee Chee Yang [Wed, 13 Dec 2023 01:10:53 +0000 (09:10 +0800)] 
perlcross: update to 1.5.2

remove upstreamed 0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agogdb: Update to gdb 14.1 release
Khem Raj [Fri, 8 Dec 2023 03:04:10 +0000 (19:04 -0800)] 
gdb: Update to gdb 14.1 release

* Drop add-missing-ldflags.patch, its already applied to gdb 14
* Add dependency on mpfr for cross/cross-canadian/target recipe
* Remove gcc-only complier restriction, clang can compile it just fine
* Notable changes are here [1] [2]

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=refs/heads/gdb-14-branch
[2] https://www.sourceware.org/gdb/download/ANNOUNCEMENT

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>
22 months agooeqa/selftest/overlayfs: Fix whitespace
Richard Purdie [Wed, 20 Dec 2023 12:01:32 +0000 (12:01 +0000)] 
oeqa/selftest/overlayfs: Fix whitespace

My previous fix missed out whitespace with the append, fix that.

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

22 months agotestimage: Drop target_dumper and most of monitor_dumper
Richard Purdie [Tue, 19 Dec 2023 16:04:24 +0000 (16:04 +0000)] 
testimage: Drop target_dumper and most of monitor_dumper

The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.

For now, remove the commands and the target dumper code as the command
and execution point are problematic. Also remove the same pieces of the monitor
code but leave the command list since in theory this can be moved to a more
useful place in the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agooeqa/selftest/overlayfs: Don't overwrite DISTRO_FEATURES
Richard Purdie [Tue, 19 Dec 2023 10:44:55 +0000 (10:44 +0000)] 
oeqa/selftest/overlayfs: Don't overwrite DISTRO_FEATURES

Whilst debugging an autobuilder failure, I wondered why it was rebuilding qemu-system-native
instead of reusing from sstate. The reason was it was overwriting DISTRO_FEATURES,
in this case removing opengl which caused much to rebuild.

The test doesn't need that so don't do it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemurunner: Improve handling of serial port output blocking
Richard Purdie [Mon, 18 Dec 2023 15:14:08 +0000 (15:14 +0000)] 
qemurunner: Improve handling of serial port output blocking

Similar to stdout in the previous commit, we need to ensure serial output
if written is read and put somewhere, else qemu might block on writes to
the serial port leading to hangs in the kernel. Use our existing logging
thread to log data when run_serial is not in use.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemurunner: Improve stdout logging handling
Richard Purdie [Mon, 18 Dec 2023 12:18:45 +0000 (12:18 +0000)] 
qemurunner: Improve stdout logging handling

We need to ensure we read from and log the output from qemu stdout
as otherwise the buffers can fill and block, leading qemu to hang.
Use our existing logging thread to do this.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agotestimage: Exclude wtmp from target-dumper commands
Richard Purdie [Tue, 19 Dec 2023 14:29:32 +0000 (14:29 +0000)] 
testimage: Exclude wtmp from target-dumper commands

wtmp is filled with binary data which the run_serial command can't cope with.
Catting this results in confusion of the serial interface and potentially large
backlogs of data in the buffers which can hang qemu.

Exclude the problematic files from the command.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosystemtap: fix libdebuginfod auto detection logic
Victor Kamensky [Mon, 18 Dec 2023 06:07:57 +0000 (22:07 -0800)] 
systemtap: fix libdebuginfod auto detection logic

Addresses an issue when systemtap is built in situation where debuginfod
is not part of DISTRO_FEATURES and latest SystemTap has problem of
auto detecting libdebuginfod library as it was reported by Martin
Jansa in [1].

[1] https://lists.openembedded.org/g/openembedded-core/message/192109?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Csystemtap%2C20%2C2%2C0%2C102987514

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosystemtap: explicit handling debuginfod library dependency
Victor Kamensky [Mon, 18 Dec 2023 06:07:56 +0000 (22:07 -0800)] 
systemtap: explicit handling debuginfod library dependency

After systemtap commit 2e67b053e3796ee7cf29a39f9698729b52078406
"configury: rework debuginfod searches" automatic detection of
libdebuginfod is broken. Let's handle it explicitly with debuginfod
package feature. It is good to have such feature anyway.

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agorpcbind: Specify state directory under /run
Joshua Watt [Fri, 15 Dec 2023 20:34:04 +0000 (13:34 -0700)] 
rpcbind: Specify state directory under /run

The state directory must be correctly specified as under /run because
RequiresMountsFor doesn't follow symbolic links which means the unit may
run before /run is mounted if the default of /var/run/rpcbind is kept

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agobitbake.conf: Add runtimedir
Joshua Watt [Mon, 18 Dec 2023 15:38:02 +0000 (08:38 -0700)] 
bitbake.conf: Add runtimedir

Adds the path to the runtime state directory (/run). In particular,
systemd units need to have the correct path to the runtime directory
because RequiresMountsFor doesn't follow symbolic links. This means that
if a unit calls out a directory in /var/run (a symbolic link to /run),
it may actually start before /run is mounted. The fix is to have the
unit specify a directory in /run instead.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agotcl: skip async and event tests in run-ptest
Ross Burton [Mon, 18 Dec 2023 17:08:01 +0000 (17:08 +0000)] 
tcl: skip async and event tests in run-ptest

These test suites are full of timing-sensitive test cases, so skip
them too.

[ YOCTO #15321 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoenchant2: upgrade 2.6.2 -> 2.6.4
Anuj Mittal [Mon, 18 Dec 2023 14:47:24 +0000 (22:47 +0800)] 
enchant2: upgrade 2.6.2 -> 2.6.4

pkgdatadir is a versioned directory by default now so we don't need to
pass it to EXTRA_OEMAKE.

https://github.com/AbiWord/enchant/commit/6e4a8df5cbf80fd449f1857ac1065d3235f1139f

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibusb1: fix upstream version check
Anuj Mittal [Mon, 18 Dec 2023 14:47:23 +0000 (22:47 +0800)] 
libusb1: fix upstream version check

Fix regex to not match release candidates.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agostress-ng: upgrade 0.17.01 -> 0.17.03
Anuj Mittal [Mon, 18 Dec 2023 14:47:22 +0000 (22:47 +0800)] 
stress-ng: upgrade 0.17.01 -> 0.17.03

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopuzzles: upgrade to latest revision
Anuj Mittal [Mon, 18 Dec 2023 14:47:21 +0000 (22:47 +0800)] 
puzzles: upgrade to latest revision

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoglib-networking: upgrade 2.76.1 -> 2.78.0
Anuj Mittal [Mon, 18 Dec 2023 14:47:20 +0000 (22:47 +0800)] 
glib-networking: upgrade 2.76.1 -> 2.78.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoglib-2.0: upgrade 2.78.1 -> 2.78.3
Anuj Mittal [Mon, 18 Dec 2023 14:47:19 +0000 (22:47 +0800)] 
glib-2.0: upgrade 2.78.1 -> 2.78.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agobluez5: upgrade 5.70 -> 5.71
Anuj Mittal [Mon, 18 Dec 2023 14:47:18 +0000 (22:47 +0800)] 
bluez5: upgrade 5.70 -> 5.71

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agobase-passwd: upgrade 3.6.2 -> 3.6.3
Anuj Mittal [Mon, 18 Dec 2023 14:47:17 +0000 (22:47 +0800)] 
base-passwd: upgrade 3.6.2 -> 3.6.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosqlite3: upgrade 3.44.0 -> 3.44.2
Anuj Mittal [Mon, 18 Dec 2023 14:47:16 +0000 (22:47 +0800)] 
sqlite3: upgrade 3.44.0 -> 3.44.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto: update CVE exclusions
Ross Burton [Mon, 18 Dec 2023 14:18:25 +0000 (14:18 +0000)] 
linux-yocto: update CVE exclusions

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 18 Dec 2023 09:42:59 +0000 (09:42 +0000)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agocreate-spdx-2.2: combine spdx can try to write before dir creation
Jeremy A. Puhlman [Fri, 15 Dec 2023 17:10:46 +0000 (09:10 -0800)] 
create-spdx-2.2: combine spdx can try to write before dir creation

On occasion a file is attmpeded to be opened prior to the
creation of the spdx_workdir. Create the directory before
the open, just in case.

File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1081, function: combine_spdx
     1077:        )
     1078:
     1079:    image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
     1080:
 *** 1081:    with image_spdx_path.open("wb") as f:
     1082:        doc.to_json(f, sort_keys=True, indent=get_json_indent(d))

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agooeqa: add "maturin develop" SDK test case
Tim Orling [Sun, 17 Dec 2023 05:41:33 +0000 (21:41 -0800)] 
oeqa: add "maturin develop" SDK test case

'maturin develop' first checks that a virtual environment
has been created, which is a good test for our python3 SDK
environment ;)

Source for guessing-game lifted from https://www.maturin.rs/tutorial

The test case is expected to fetch any necessary crates, build a
development version of the crate and package it as a wheel

Needs at a minimum the following in e.g. local.conf:
TOOLCHAIN_HOST_TASK:append = " nativesdk-python3-maturin"
SDK_INCLUDE_TOOLCHAIN = '1'
SDK_TOOLCHAIN_LANGS += 'rust'

The output of 'maturin develop' should be something like:
...
🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8
🐍 Not using a specific python interpreter
📡 Using build options features from pyproject.toml
   ...
   Compiling guessing-game v0.1.0 (/path/to/guessing-game)
    Finished dev [unoptimized + debuginfo] target(s) in 7.14s
📦 Built wheel for abi3 Python ≥ 3.8 to /path/to/tmpdir/guessing_game-0.1.0-cp38-abi3-linux_x86_64.whl
🛠 Installed guessing-game-0.1.0

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agooeqa: add simple 'maturin' SDK (testsdk) test case
Tim Orling [Sun, 17 Dec 2023 05:41:32 +0000 (21:41 -0800)] 
oeqa: add simple 'maturin' SDK (testsdk) test case

We expect 'maturin' will be used in SDKs, so it makes sense to also
test it in the testsdk environment.

To run this test case, you can add the following to local.conf:
TOOLCHAIN_HOST_TASK:append = " nativesdk-python3-maturin"

And then build and test the SDK:
bitbake -c populate_sdk core-image-full-cmdline
bitbake -c testsdk core-image-full-cmdline

You can substitute a different image recipe for "core-image-full-cmdline"

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>