]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
23 months agopython3: Fix ptests on musl
Khem Raj [Sun, 3 Sep 2023 05:03:13 +0000 (22:03 -0700)] 
python3: Fix ptests on musl

Adjust locale dependencies to help run tests sadly, tr-tr is not
available yet in musl-locale so keep that specific to glibc

Add an exclusion list for tests and populate it for musl for the failing
tests

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>
23 months agoREADME: fix mail address in git example command
Benjamin Bara [Mon, 4 Sep 2023 08:47:37 +0000 (10:47 +0200)] 
README: fix mail address in git example command

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodos2unix: upgrade 7.5.0 -> 7.5.1
Khem Raj [Sat, 2 Sep 2023 16:05:11 +0000 (09:05 -0700)] 
dos2unix: upgrade 7.5.0 -> 7.5.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoopenssh: upgrade to v9.4p1
Sudip Mukherjee [Sat, 2 Sep 2023 14:24:15 +0000 (15:24 +0100)] 
openssh: upgrade to v9.4p1

Changes:
Update sha256sum
Remove backported patch

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodpkg: upgrade to v1.22.0
Sudip Mukherjee [Sat, 2 Sep 2023 13:10:06 +0000 (14:10 +0100)] 
dpkg: upgrade to v1.22.0

Changes:
Use main branch
Rebase patch

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogcc-runtime: remove bashism
Peter Marko [Tue, 1 Aug 2023 06:18:49 +0000 (08:18 +0200)] 
gcc-runtime: remove bashism

Debian 12 no longer supports replacing dash with bash as default shell.
Therefore to achieve compatibility with Debian 12, all bashisms need
to be removed.

Shell comparison via == gives an error with dash and thus the condition
is always false.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-wheel: upgrade 0.41.1 -> 0.41.2
Wang Mingyu [Thu, 31 Aug 2023 02:51:53 +0000 (10:51 +0800)] 
python3-wheel: upgrade 0.41.1 -> 0.41.2

Changelog:
============
-Fixed platform tag detection for GraalPy and 32-bit python running on an
 aarch64 kernel
-Fixed wheel tags to not list directories in RECORD files
-Fixed ABI tag generation for GraalPy

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-sphinx-rtd-theme: upgrade 1.2.2 -> 1.3.0
Wang Mingyu [Thu, 31 Aug 2023 02:51:18 +0000 (10:51 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.2.2 -> 1.3.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-pluggy: upgrade 1.2.0 -> 1.3.0
Wang Mingyu [Thu, 31 Aug 2023 02:45:52 +0000 (10:45 +0800)] 
python3-pluggy: upgrade 1.2.0 -> 1.3.0

Changelog:
===========
    #426: Python 3.7 is no longer supported.
    #428: Pluggy now exposes its typings to static type checkers.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-hypothesis: upgrade 6.82.5 -> 6.82.7
Wang Mingyu [Thu, 31 Aug 2023 02:45:41 +0000 (10:45 +0800)] 
python3-hypothesis: upgrade 6.82.5 -> 6.82.7

Changelog:
=========
- updates our autoformatting tools, improving our code style without any API changes.
- enables and fixes many more of ruff‘s lint rules.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agozlib: upgrade 1.2.13 -> 1.3
Wang Mingyu [Thu, 31 Aug 2023 02:55:07 +0000 (10:55 +0800)] 
zlib: upgrade 1.2.13 -> 1.3

Changelog:
============
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoxz: upgrade 5.4.3 -> 5.4.4
Wang Mingyu [Thu, 31 Aug 2023 02:54:40 +0000 (10:54 +0800)] 
xz: upgrade 5.4.3 -> 5.4.4

Changelog:
===========
* liblzma and xzdec can now build against WASI SDK when threading
  support is disabled. xz and tests don't build yet.

* CMake:

    - Fixed a bug preventing other projects from including liblzma
      multiple times using find_package().

    - Don't create broken symlinks in Cygwin and MSYS2 unless
      supported by the environment. This prevented building for the
      default MSYS2 environment. The problem was introduced in
      xz 5.4.0.

* Documentation:

    - Small improvements to man pages.

    - Small improvements and typo fixes for liblzma API
      documentation.

* Tests:

    - Added a new section to INSTALL to describe basic test usage
      and address recent questions about building the tests when
      cross compiling.

    - Small fixes and improvements to the tests.

* Translations:

    - Fixed a mistake that caused one of the error messages to not
      be translated. This only affected versions 5.4.2 and 5.4.3.

    - Updated the Chinese (simplified), Croatian, Esperanto, German,
      Korean, Polish, Romanian, Spanish, Swedish, Ukrainian, and
      Vietnamese translations.

    - Updated the German, Korean, Romanian, and Ukrainian man page
      translations.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agosysklogd: upgrade 2.5.0 -> 2.5.2
Wang Mingyu [Thu, 31 Aug 2023 02:54:13 +0000 (10:54 +0800)] 
sysklogd: upgrade 2.5.0 -> 2.5.2

Changelog:
- Issue #67: restore support for reading kernel logs from '/proc/kmsg',
  regression introduced in v2.4.0, issue #48.
- Issue #37: improved accuracy of the MARK timer, optional, default: 20
  minutes.  Generates log messages to files, which have had no activity
  within the MARK interval.  Was off by up to 'interval / 2' minutes.
  It may now be off by up to '1 / 2' minutes, i.e.g, 30 seconds.
- Issue #64: sub-second faking of kernel timestamps was always zero

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agosqlite3: upgrade 3.42.0 -> 3.43.0
Wang Mingyu [Thu, 31 Aug 2023 02:53:45 +0000 (10:53 +0800)] 
sqlite3: upgrade 3.42.0 -> 3.43.0

Changelog:
==========
-Add support for Contentless-Delete FTS5 Indexes.
-Enhancements to the date and time functions:
-Added the octet_length(X) SQL function.
-Added the sqlite3_stmt_explain() API.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoshaderc: upgrade 2023.5 -> 2023.6
Wang Mingyu [Thu, 31 Aug 2023 02:52:57 +0000 (10:52 +0800)] 
shaderc: upgrade 2023.5 -> 2023.6

Changelog:
- Update dependencies, including SPIRV-Tools v2023.4.rc2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agorepo: upgrade 2.35 -> 2.36.1
Wang Mingyu [Thu, 31 Aug 2023 02:52:33 +0000 (10:52 +0800)] 
repo: upgrade 2.35 -> 2.36.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-setuptools: upgrade 68.1.0 -> 68.1.2
Wang Mingyu [Thu, 31 Aug 2023 02:47:06 +0000 (10:47 +0800)] 
python3-setuptools: upgrade 68.1.0 -> 68.1.2

0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for new version.

Changelog:
-Fix editable install finder handling of nested packages, by only handling 1
 level of nesting and relying on importlib.machinery to find the remaining
 modules based on the parent package path.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopkgconf: upgrade 1.9.5 -> 2.0.2
Wang Mingyu [Thu, 31 Aug 2023 02:42:00 +0000 (10:42 +0800)] 
pkgconf: upgrade 1.9.5 -> 2.0.2

Changelog:
===========
* Fix long-standing bug where package identifiers for "uninstalled"
  packages incorrectly included the "-uninstalled" suffix.
* The behavior of --modversion was largely reverted back to the traditional
  pkg-config behavior, but still operates on a solved dependency graph.
* A new flag, --verbose, has been added.
* When flattening the dependency graph, retain the latest seen edges
  rather than the earliest.
* Fix a long-standing bug where the dependency resolution queue was
  evaluated in reverse.  This bug masked the aforementioned dependency
  flattening bug in many cases.
* Fix handling of --with-path, which was appending paths to the search
  list rather than prepending them as intended.
* Error when --modversion is requested with more than one package, as
  the output is ambiguous.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopigz: upgrade 2.7 -> 2.8
Wang Mingyu [Thu, 31 Aug 2023 02:40:00 +0000 (10:40 +0800)] 
pigz: upgrade 2.7 -> 2.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopango: upgrade 1.50.14 -> 1.51.0
Wang Mingyu [Thu, 31 Aug 2023 02:38:46 +0000 (10:38 +0800)] 
pango: upgrade 1.50.14 -> 1.51.0

Changelog:
===========
- itemize: Improve script itemization
- build: Check for cairo DWrite dependency
- win32: Fix various issues and crashes
- layout: Add a missing switch case

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3: upgrade 3.11.4 -> 3.11.5
Wang Mingyu [Thu, 31 Aug 2023 02:38:13 +0000 (10:38 +0800)] 
python3: upgrade 3.11.4 -> 3.11.5

Changelog:
============
-gh-104432: Fix potential unaligned memory access on C APIs involving returned
 sequences of char * pointers within the grp and socket modules. These were
 revealed using a -fsaniziter=alignment build on ARM macOS.
-gh-77377: Ensure that multiprocessing synchronization objects created in a fork
 context are not sent to a different process created in a spawn context.
 This changes a segfault into an actionable RuntimeError in the parent process.
-gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject.
-gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types.
-gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters.
-gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling.
-gh-105840: Fix possible crashes when specializing function calls with too many __defaults__.
-gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes.
-gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten.
-gh-105375: Fix bug in the compiler where an exception could end up being overwritten.
-gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten.
-gh-105235: Prevent out-of-bounds memory access during mmap.find() calls.
--gh-101006: Improve error handling when read marshal data.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoneard: upgrade 0.18 -> 0.19
Wang Mingyu [Thu, 31 Aug 2023 02:37:36 +0000 (10:37 +0800)] 
neard: upgrade 0.18 -> 0.19

Changelog:
===========
  Fixed missing DBus org.neard.se.conf.
  Sync Linux kernel UAPI nfc.h header with newer kernel.
  NFC tag: Implement readout of tag UID via DBus interface.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agompfr: upgrade 4.2.0 -> 4.2.1
Wang Mingyu [Thu, 31 Aug 2023 02:37:03 +0000 (10:37 +0800)] 
mpfr: upgrade 4.2.0 -> 4.2.1

Changelog:
===========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.2.0/#fixed> and/or the
  ChangeLog file).
- Improved MPFR manual.
- Configure tests: replaced the test of the link with GMP, in order to
  avoid the use of a function without a prototype (Autoconf issue), as
  this is obsolescent in ISO C. The new test should be more robust.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agomc: upgrade 4.8.29 -> 4.8.30
Wang Mingyu [Thu, 31 Aug 2023 02:36:52 +0000 (10:36 +0800)] 
mc: upgrade 4.8.29 -> 4.8.30

0001-mc-replace-perl-w-with-use-warnings.patch
removed since it's included in 4.8.30

Changelog:
==========
- Core
--------
    * Support PCRE2 as search engine (via ----with-search-engine=pcre2) (#4450)
    * Implement panelization buffers for both file panels (#4370)

- VFS
-------
    * tar: support extended headers (including long file names and sparse files) (#1952, #2201)
    * extfs helpers: replace "perl -w" with "use warnings" (MidnightCommander/mc#174)
    * extfs/patchfs: be more specific in error message (#4485)

- Editor
---------
    * Add syntax highlighting:
        - Jenkinsfiles (#4469)
        - B language (#4470)
    * Improve syntax highlighting:
        - ECMAScript (MidnightCommander/mc#172)
        - ECMAScript in TypeScript (MidnightCommander/mc#172)
        - use diff syntax highlighting for git commit messages (COMMIT_EDITMSG) (MidnightCommander/mc#85)

- Misc
--------
    * Code cleanup (#4426, #4438)
    * Filehighlight:
        - recognize vsix files as zip files (MidnightCommander/mc#171)
    * Skin updates:
        - julia256 (#4441, #4445)

- Fixes
----------
    * Usage of 'sed' in build system/makefiles is not portable (#4459, #4466)
    * Unportable '$<' in Makefiles (#4460)
    * FTBFS if ncurses used without --with-ncurses-includes= configure parameter (#4462)
    * Ncurses library is duplicated in MCLIBS (#4463, #4465)
    * FTBFS without ext2fs attributes support (#4464)
    * Wrong sort order after swapping panels (#4432)
    * Incorrect time delimiter in the copy/move progress window (#4437)
    * Incorrect redraw of overlapped file panels (#4408)
    * Subshell/Command line prompt is empty/missing (#3121)
    * Find file: relative ignore directory is applied to the start search directory (#4235)
    * Diff viewer: options are not applied on second run (#4486)
    * mc.ext.ini: 'Edit' command from 'Default' section is ignored (#4434)
    * mc.ext.ini: .md files are not recognized as Markdown ones by extension (#4444)
    * mcedit: off-by-one error in paragraph formatting (#4446)
    * ftp: incomplete file listing: block and character devices, pipes, sockets are missed (#4472)
    * Various typos in the source code (MidnightCommander/mc#177, MidnightCommander/mc#178)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibxml2: upgrade 2.11.4 -> 2.11.5
Wang Mingyu [Thu, 31 Aug 2023 02:35:34 +0000 (10:35 +0800)] 
libxml2: upgrade 2.11.4 -> 2.11.5

Changelog:
==========
### Regressions
---------------
- parser: Make xmlSwitchEncoding always skip the BOM
- autotools: Improve iconv check

### Bug fixes
--------------
- valid: Fix c1->parent pointer in xmlCopyDocElementContent
- encoding: Always call ucnv_convertEx with flush set to false

### Portability
---------------
- autotools: fix Python module file ext for cygwin/msys2

### Tests
----------
- runtest: Fix compilation without LIBXML_HTML_ENABLED

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibsndfile1: upgrade 1.2.0 -> 1.2.2
Wang Mingyu [Thu, 31 Aug 2023 02:34:50 +0000 (10:34 +0800)] 
libsndfile1: upgrade 1.2.0 -> 1.2.2

Changelog:
=========
* Fixed invalid regex in src/create_symbols_file.py
* Fixed passing null pointer to printf %s in tests

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibsecret: upgrade 0.20.5 -> 0.21.0
Wang Mingyu [Thu, 31 Aug 2023 02:34:18 +0000 (10:34 +0800)] 
libsecret: upgrade 0.20.5 -> 0.21.0

Changelog:
===========
 * Unlock the keyring before getting secret attributes [!105]
 * file-backend: avoid deadlock when portal op is canceled [!118, !120]
 * Properly chain-up GTasks around GDBusProxy::init_async [!106]
 * Fix nullable in secret_collection_for_alias_* [!110]
 * Fix finish function for searchv [!112]
 * secret-paths: Fix a little memory leak [!109]
 * Stop using GSlice [!116]
 * docs: port to gi-docgen [!101]
 * docs: fix example in usage docs [!117]
 * Several CI fixes [!111, !114]
 * Updated translations

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibrepo: upgrade 1.15.1 -> 1.15.2
Wang Mingyu [Thu, 31 Aug 2023 02:33:48 +0000 (10:33 +0800)] 
librepo: upgrade 1.15.1 -> 1.15.2

Changelog:
=============
    Fixes and optimizations in header files
    Fix lr_gpg_list_keys function when keys are empty
    Update PGP test vectors
    Fix CMake warnings
    Bump glib version

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibgit2: upgrade 1.7.0 -> 1.7.1
Wang Mingyu [Thu, 31 Aug 2023 02:33:18 +0000 (10:33 +0800)] 
libgit2: upgrade 1.7.0 -> 1.7.1

Changelog:
===========
Bug fixes
-----------
    proxy: Return an error for invalid proxy URLs instead of crashing.
    ssh: fix known_hosts leak in _git_ssh_setup_conn
    repository: make cleanup safe for re-use with grafts
    fix: Add missing include for oidarray.
    Revert "CMake: Search for ssh2 instead of libssh2."

Compatibility improvements
--------------------------
    stransport: macOS: replace errSSLNetworkTimeout, with hard-coded value

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibedit: upgrade 20221030-3.1 -> 20230828-3.1
Wang Mingyu [Thu, 31 Aug 2023 02:33:02 +0000 (10:33 +0800)] 
libedit: upgrade 20221030-3.1 -> 20230828-3.1

Changelog:
============
   * src/chartype.c: Add missing stdint.h
   * all: sync with upstream source

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibdrm: upgrade 2.4.115 -> 2.4.116
Wang Mingyu [Thu, 31 Aug 2023 02:32:42 +0000 (10:32 +0800)] 
libdrm: upgrade 2.4.115 -> 2.4.116

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibconvert-asn1-perl: upgrade 0.33 -> 0.34
Wang Mingyu [Thu, 31 Aug 2023 02:32:25 +0000 (10:32 +0800)] 
libconvert-asn1-perl: upgrade 0.33 -> 0.34

Changelog:
===========
  * Fixes: #47 2nd - Debug output using print instead of printf
  * Fixes #47 Debug output using print instead of printf
  * ASN1.pod: fix minor typo

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agokbd: upgrade 2.6.1 -> 2.6.2
Wang Mingyu [Thu, 31 Aug 2023 02:32:11 +0000 (10:32 +0800)] 
kbd: upgrade 2.6.1 -> 2.6.2

Changelog:
==========
loadkeys:
    Don't look for keymap in the current directory.

keymaps:
    Add colemak mod-dh keymaps.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agogit: upgrade 2.41.0 -> 2.42.0
Wang Mingyu [Thu, 31 Aug 2023 02:30:38 +0000 (10:30 +0800)] 
git: upgrade 2.41.0 -> 2.42.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoell: upgrade 0.57 -> 0.58
Wang Mingyu [Thu, 31 Aug 2023 02:30:05 +0000 (10:30 +0800)] 
ell: upgrade 0.57 -> 0.58

Changelog:
 Add support for handling sysctl settings.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobluez5: upgrade 5.68 -> 5.69
Wang Mingyu [Thu, 31 Aug 2023 02:28:09 +0000 (10:28 +0800)] 
bluez5: upgrade 5.68 -> 5.69

fix-check-ell-path.patch
removed since it's included in 5.69

Changelog:
=========
 Fix issue with BAP enabling state correctly when resuming.
 Fix issue with detaching source ASEs only after Stop Ready.
 Fix issue with handling VCP audio location and descriptor.
 Fix issue with generating IRK for adapter with privacy enabled.
 Add support for BAP broadcast sink.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobind: upgrade 9.18.17 -> 9.18.18
Wang Mingyu [Thu, 31 Aug 2023 02:28:00 +0000 (10:28 +0800)] 
bind: upgrade 9.18.17 -> 9.18.18

Changelog:
============
 Deprecate the 'dialup' and 'heartbeat-interval' options.
 Ignore 'max-zone-ttl' on 'dnssec-policy insecure'.
 Return REFUSED to GSS-API TKEY requests if GSS-API support is not configured.
 Mark a primary server as temporarily unreachable if the TCP connection attempt times out.
 Don't process detach and close netmgr events when the netmgr has been paused.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agooe-depends-dot: improve '-w' behavior
Chen Qi [Wed, 30 Aug 2023 08:21:58 +0000 (01:21 -0700)] 
oe-depends-dot: improve '-w' behavior

The '-w' option is not giving very helpful information. For example,
if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal,
and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss
  core-image-minimal -> nss -> nspr

The result is not showing the full dependency chain which brings in nspr.
With this patch, the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss libcacard spice
  core-image-minimal -> spice -> libcacard -> nss -> nspr

This patch also fixes a typo in help message: recipe-depends.dot -> task-depends.dot.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agostress-ng: disable DEBUG_BUILD
Chen Qi [Wed, 30 Aug 2023 04:48:00 +0000 (12:48 +0800)] 
stress-ng: disable DEBUG_BUILD

We get do_compile error when DEBUG_BUILD is enabled:

  error: inlining failed in call to 'always_inline' '_mm512_storeu_si512': target specific option mismatch

To reproduce the issue, set the following lines in local.conf
and then `bitbake stress-ng'.

  MACHINE = "qemux86-64"
  DEBUG_BUILD = "1"

A new issue is filed for stress-ng to track it:
https://github.com/ColinIanKing/stress-ng/issues/315

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agokernel.bbclass: Add force flag to rm calls
Ryan Eatmon [Thu, 31 Aug 2023 19:26:29 +0000 (14:26 -0500)] 
kernel.bbclass: Add force flag to rm calls

The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it.  Simple fix is to add the
-f (force) flag to the call.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogtk4: upgrade 4.12.0 -> 4.12.1
Markus Volk [Tue, 29 Aug 2023 05:46:15 +0000 (07:46 +0200)] 
gtk4: upgrade 4.12.0 -> 4.12.1

Overview of Changes in 4.12.1, 25-08-2023
=========================================

* GtkGridView:
* Wayland:
 - Fix a crash with compositors other than gnome-shell

* Translation updates:
 Polish
 Swedish

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosystemd-boot: remove old gummiboot TUNE_CCARGS
Jose Quaresma [Tue, 29 Aug 2023 14:34:58 +0000 (14:34 +0000)] 
systemd-boot: remove old gummiboot TUNE_CCARGS

Looks like this only is required when build with clang toolchain
and the fix is alredy merged [1] on meta-clang.

[1] https://github.com/kraj/meta-clang/commit/83c94b8690f0a2922d28d0db9907c722382263c2

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig
Jaeyoon Jung [Wed, 30 Aug 2023 12:38:56 +0000 (21:38 +0900)] 
cml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig

Variable overrides in KCONFIG_CONFIG_COMMAND do not work as expected due
to double quote mismatches. The issue is reproducible in an environment
where gold is the default linker. Below is an example snippet of
run.do_terminal generated by do_menuconfig.

do_terminal() {
exec sh -c "make menuconfig   CC="aarch64-webos-linux-gcc ..."
LD="aarch64-webos-linux-ld.bfd ..."
...
}

Although LD override is set to bfd correctly, it is not passed to make
and make menuconfig ends up with messages like:
| gold linker is not supported as it is not capable of linking the kernel proper.
| scripts/Kconfig.include:56: Sorry, this linker is not supported.

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agowic: Add gpt-hybrid partition layout
Joshua Watt [Wed, 30 Aug 2023 14:20:17 +0000 (08:20 -0600)] 
wic: Add gpt-hybrid partition layout

Add support for formatting a disk with a hybrid MBR & GPT partition
scheme. In this scheme, the primary partitioning method is GPT, but a
valid MBR header is also written than can point to a subset of the GPT
partitions on the disk (any partitions marked with the `--mbr` flag will
be included in this MBR). The primary purpose of this method is to allow
for SoCs that can only find a bootloader in an MBR partition to use GPT
once the bootloader is running. As an example, older versions of the
Raspberry Pi firmware can only parse MBR partitions to find a kernel (or
other bootloader like u-boot), but once those have booted GPT partitions
can be used.

In addition to the partitions annotated with the `--mbr`, a "protective"
GPT partition of type 0xEE is added, as the existence of such a
partition is the indication to tooling that this a hybrid MBR and that
the GPT partition table should be parsed instead.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoglib-networking: use gnutls backend for TLS sockets
Ross Burton [Thu, 31 Aug 2023 10:02:43 +0000 (11:02 +0100)] 
glib-networking: use gnutls backend for TLS sockets

As per upstream:

  There are hacks in half the tests where this backend doesn't return
  the expected error code or doesn't work as expected. I do hope to
  enable this backend by default in the future. For now, it's not there
  yet.

https://gitlab.gnome.org/GNOME/glib-networking/-/commit/8e1d80c1e0fc52d17d08a21946fa4a86ec30e1db

[RP: Add note to recipe about reasoning]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoglib-networking: enable build with GnuTLS if PKCS#11 was disabled
Ross Burton [Thu, 31 Aug 2023 10:02:42 +0000 (11:02 +0100)] 
glib-networking: enable build with GnuTLS if PKCS#11 was disabled

If GnuTLS is built without PKCS#11 support then glib-networking will
fail to build the tests. Backport a patch to fix this issue.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinetutils: remove obsolete cruft from do_configure
Ross Burton [Thu, 31 Aug 2023 11:22:50 +0000 (12:22 +0100)] 
inetutils: remove obsolete cruft from do_configure

glob/ doesn't exist and the other files are copied by autotools.bbclass

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinetutils: remove obsolete patches
Ross Burton [Thu, 31 Aug 2023 11:22:49 +0000 (12:22 +0100)] 
inetutils: remove obsolete patches

fix-disable-ipv6.patch: we don't support uclibc, and most libcs don't
have optional support for IPv6.

inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch and
inetutils-1.8-0003-wchar.patch: these don't appear to be needed anymore.

inetutils-only-check-pam_appl.h-when-pam-enabled.patch: configure.ac
doesn't fail if PAM is disabled anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinetutils: don't guess target paths
Ross Burton [Thu, 31 Aug 2023 11:22:48 +0000 (12:22 +0100)] 
inetutils: don't guess target paths

inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').

Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.

This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.

The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted.  Losing those is
an acceptable compromise, so disable it.

Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not
_PATH_UTMPX, so we need to set the X variants explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoweston: fix comment
Ulrich Ölmann [Fri, 1 Sep 2023 07:24:58 +0000 (09:24 +0200)] 
weston: fix comment

Fixes: be7da75827b4 ("weston: update 11.0.1 -> 12.0.1")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosite: remove at-spi2-core values
Ross Burton [Wed, 30 Aug 2023 09:36:52 +0000 (10:36 +0100)] 
site: remove at-spi2-core values

at-spi2-core is built with Meson now, so these values are not needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoyocto-uninative: Update to 4.3
Michael Halstead [Fri, 1 Sep 2023 18:37:29 +0000 (11:37 -0700)] 
yocto-uninative: Update to 4.3

Add in stable updates to glibc 2.38 to fix malloc bugs

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoREADME: Update to point to new contributor guide
Richard Purdie [Wed, 30 Aug 2023 15:31:34 +0000 (16:31 +0100)] 
README: Update to point to new contributor guide

Now we have a contributor guide combining various wiki pages, point at
that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoglibc: Add glibc 2.38 stable updates
Richard Purdie [Fri, 1 Sep 2023 10:21:20 +0000 (11:21 +0100)] 
glibc: Add glibc 2.38 stable updates

Pull in the following stable branch updates:

1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1 sysdeps: tst-bz21269: fix -Wreturn-type
ad9b8399537670a990572c4b0c4da5411e3b68cf sysdeps: tst-bz21269: handle ENOSYS & skip appropriately
c8ecda6251dd4a0dfe074e0a6011211cadeef742 sysdeps: tst-bz21269: fix test parameter
2af141bda3cd407abd4bedf615f9e45fe79518e2 malloc: Remove bin scanning from memalign (bug 30723)
98c293c61f770b6b7a22f89a6ea81b711ecb1952 malloc: Enable merging of remainders in memalign (bug 30723)
7ac405a74c6069b0627dc2d8449a82a621f8ff06 i686: Fix build with --disable-multiarch
6135d50e44233d8c89ca788f78c669941ad09fb9 x86_64: Fix build with --disable-multiarch (BZ 30721)
5ea70cc02626d9b85f1570153873d8648a47bf95 x86: Fix incorrect scope of setting `shared_per_thread` [BZ# 30745]
6b99458d197ab779ebb6ff632c168e2cbfa4f543 nscd: Do not rebuild getaddrinfo (bug 30709)
ced101ed9d3b7cfd12d97ef24940cb00b8658c81 x86: Fix for cache computation on AMD legacy cpus.
d97cca1e5df812be0e4de1e38091f02bb1e7ec4e stdlib: Improve tst-realpath compatibility with source fortification

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodhcpcd: fix buffer overflow
Yi Zhao [Tue, 29 Aug 2023 11:06:35 +0000 (19:06 +0800)] 
dhcpcd: fix buffer overflow

Backport a patch to fix buffer overflow for strlcpy:

$ dhcpcd enp0s3
dhcpcd-10.0.2 starting
*** buffer overflow detected ***: terminated
dhcpcd_fork_cb: truncated read 0 (expected 4)

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>
23 months agodhcpcd: upgrade 10.0.1 -> 10.0.2
Yi Zhao [Tue, 29 Aug 2023 11:06:34 +0000 (19:06 +0800)] 
dhcpcd: upgrade 10.0.1 -> 10.0.2

Changelog:
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2

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>
23 months agouninative.bbclass: sync to use UNINATIVE_STAGING_DIR
Chen Qi [Tue, 29 Aug 2023 07:33:30 +0000 (15:33 +0800)] 
uninative.bbclass: sync to use UNINATIVE_STAGING_DIR

All other places in this bbclass are using ${UNINATIVE_STAGING_DIR}-uninative,
we should sync to use that too, although UNINATIVE_STAGING_DIR's default
value is STAGING_DIR.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosystemd-bootchart: musl fixes have been rejected upstream
Alexander Kanavin [Mon, 28 Aug 2023 12:03:40 +0000 (14:03 +0200)] 
systemd-bootchart: musl fixes have been rejected upstream

Systemd upstream has reiterated that the only supported libc
implementation is glibc.

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>
23 months agowebkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES
Mingli Yu [Mon, 28 Aug 2023 08:07:33 +0000 (16:07 +0800)] 
webkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES

webkitgtk depends on gtk4 which has the below logic, so add the
same logic for webkitgtk.
REQUIRED_DISTRO_FEATURES = "opengl"

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/oe-core/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb DEPENDS on or otherwise requires it)
  gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'webkitgtk', 'gtk4']

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>
23 months agocore-image-ptest: Define a fallback for SUMMARY field
Khem Raj [Sun, 27 Aug 2023 21:10:06 +0000 (14:10 -0700)] 
core-image-ptest: Define a fallback for SUMMARY field

Fixes errors like below seen with bitbake core-image-ptest-fast

WARNING: core-image-ptest-apr-util-1.0-r0 do_recipe_qa: QA Issue: Recipe core-image-ptest-apr-util in /mnt/b/yoe/master/sources/poky/meta/recipes-core/images/core-image-ptest.bb does not contain a SUMMARY. Please a
dd an entry. [missing-metadata]

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>
23 months agoqemu: Fix CVE-2023-40360
Khem Raj [Sun, 27 Aug 2023 16:38:09 +0000 (09:38 -0700)] 
qemu: Fix CVE-2023-40360

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>
23 months agoinetutils: Apply devtool formatting suggestions
Khem Raj [Sun, 27 Aug 2023 16:29:23 +0000 (09:29 -0700)] 
inetutils: Apply devtool formatting suggestions

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>
23 months agoinetutils: Fix CVE-2023-40303
Khem Raj [Sun, 27 Aug 2023 16:29:22 +0000 (09:29 -0700)] 
inetutils: Fix CVE-2023-40303

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>
23 months agopython3: Increase default thread stack size on musl
Khem Raj [Sun, 27 Aug 2023 00:27:46 +0000 (17:27 -0700)] 
python3: Increase default thread stack size on musl

default stack size for threads is approx 140k on musl which is fine in
most cases but some of python apps e.g. python3-lz4 bindings run into
thread stack size overflow. Increase the default size to 2M on musl,
glibc defaults to 8M, so we are good there.

This default stack size change is limited to interpreter and stdlib
modules only, thats why CFLAGS_NODIST instead of CFLAGS

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>
23 months agonfs-utils: Add needed library to client
Stéphane Veyret [Sat, 26 Aug 2023 22:23:07 +0000 (00:23 +0200)] 
nfs-utils: Add needed library to client

The nfs-utils recipe creates a nfs-utils-client package, which can be
used if we need to install only the client side of nfs-utils.
Unfortunately, rpc.idmapd is part of this package, and requires the
dynamic library libnfsidmap.so, which is included in the main package
nfs-utils. Therefore, nfs-utils-client has a dependency on nfs-utils, so
the server is installed, and try to be started, even on system where the
appropriate modules are not present, which causes errors.

This patch adds the needed library to the nfs-utils-client package, so
that it is now complete and does not require nfs-utils anymore.

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake: upgrade to v3.27.4
Sudip Mukherjee [Sat, 26 Aug 2023 17:14:12 +0000 (18:14 +0100)] 
cmake: upgrade to v3.27.4

Changes:
Update cmcurl license checksum: change in copyright year.
Update sha256sum for new version.
Use cmake provided cppdap.
Disable debugger.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-yocto: update CVE exclusions files
Ross Burton [Fri, 25 Aug 2023 16:08:30 +0000 (17:08 +0100)] 
linux-yocto: update CVE exclusions files

No changes to the data, but the version checks are added.

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>
23 months agolinux/generate-cve-exclusions: add version check warning
Ross Burton [Fri, 25 Aug 2023 16:08:29 +0000 (17:08 +0100)] 
linux/generate-cve-exclusions: add version check warning

Embed the version that this file was generated for in the include, and
compare it to the version that is being checked.

This should act as a reminder to update the file when the kernel is
upgraded.

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>
23 months agopython3-sphinx: correct version check
Alexander Kanavin [Fri, 25 Aug 2023 10:41:58 +0000 (12:41 +0200)] 
python3-sphinx: correct version check

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>
23 months agolib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version...
Alexander Kanavin [Fri, 25 Aug 2023 10:41:57 +0000 (12:41 +0200)] 
lib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version check regex

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>
23 months agobitbake.conf: add bunzip2 in HOSTTOOLS
Alberto Planas [Fri, 18 Aug 2023 09:30:56 +0000 (11:30 +0200)] 
bitbake.conf: add bunzip2 in HOSTTOOLS

rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that
conform the cpio file.

bzip2 is already part of HOSTTOOLS, as a link to the system installed
bzip2.

This patch add bunzip2 in HOSTOOLS list as a non-optional binary, so is
available to rpm2cpio.sh when it is required.

The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS),
xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since
bff58d337890e804d33d7decbaa46065a4d3bba4)

Adding the missing ones will not add any new host dependency as xz-utils
is already listed as a requirement.

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoclasses/image_types: Add vfat image type
Joshua Watt [Fri, 18 Aug 2023 16:32:44 +0000 (10:32 -0600)] 
classes/image_types: Add vfat image type

Adds support for creating FAT formatted file system images (useful for
boot partitions on some SoCs).

Note that FAT partitions are limited in what they can represent (no
symlinks or device files), so they can't really be used for general
purpose root file systems. As such, they are skipped when testing for
that purpose.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibtraceevent: build with Meson
Ross Burton [Sun, 27 Aug 2023 19:57:44 +0000 (20:57 +0100)] 
libtraceevent: build with Meson

After what I presume is the recent kernel upgrade, perf started to fail
to configure.  This was actually due to libtraceevent racing during its
build and failing to put one of the .o files into the .so (reminder:
Make is terrible). This doesn't cause the libtraceevent build to fail so
once the broken .so is in sstate, it causes all future perf builds to
fail.

Instead of rewriting the Makefile rules to fix this race it's easier to
switch to Meson which doesn't have this sort of problem. However the
Meson support is pretty new and has some rough edges, so we need a patch
to make it do the right thing.

I will submit the libtraceevent fixes upstream shortly.

[ YOCTO #15201 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobuildtools-tarball: Add libacl
Joshua Watt [Thu, 24 Aug 2023 14:14:30 +0000 (08:14 -0600)] 
buildtools-tarball: Add libacl

Hash equivalence need to include the ACLs in the output hash, and libacl
is used to do that so include the library in the buildtools-tarball.

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>
23 months agoqemu: add packageconfigs for fuse and dbus-display
Markus Volk [Thu, 24 Aug 2023 10:23:17 +0000 (12:23 +0200)] 
qemu: add packageconfigs for fuse and dbus-display

glib-2.0-native is needed to provide gdbus-codegen

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoqemu: build pulseaudio support depending on distro_feature
Markus Volk [Thu, 24 Aug 2023 10:23:16 +0000 (12:23 +0200)] 
qemu: build pulseaudio support depending on distro_feature

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoqemu: fix libudev packageconfig for systemd images
Markus Volk [Thu, 24 Aug 2023 09:21:40 +0000 (11:21 +0200)] 
qemu: fix libudev packageconfig for systemd images

eudev is needed to provide libudev when not using systemd,
but including eudev breaks things for systemd. We can't
include eudev here since systemd provides libudev itself.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agovulkan-samples: convert debugfix.patch to git format patch
Julien Stephan [Thu, 24 Aug 2023 07:34:58 +0000 (09:34 +0200)] 
vulkan-samples: convert debugfix.patch to git format patch

devtool modify on vulkan-samples fails to apply the debugfix.patch
because it is not in one of git's known formats.

Here is the error:
ERROR: Applying patch 'debugfix.patch' on target directory '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-38uz7jyq/workdir/git'
CmdError("sh -c 'git add -f -A .'", 0, 'stdout:
stderr: fatal: not a git repository (or any of the parent directories):
.git
')

Also, rename debugfix.patch to something more meaningfull

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopatch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir
Julien Stephan [Thu, 24 Aug 2023 07:34:57 +0000 (09:34 +0200)] 
patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir

[YOCTO #14141]

Currently the gitdir is manually constructed using `git
rev-parse --show-toplevel` and appending `.git`. This is most of the time
correct but not always: `.git` can be a file with the following content:

gitdir: <some_folder>

This is the case for submodules, so when using devtool modify on a recipe
using submodules *and* patching files inside one of the submodules, do_patch
fails with the following error:

ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:patch_do_patch(d)
     0003:
File: '<..>/poky/meta/classes-global/patch.bbclass', lineno: 157, function: patch_do_patch
     0153:        except Exception as exc:
     0154:            bb.utils.remove(process_tmpdir, True)
     0155:            bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n")))
     0156:        try:
 *** 0157:            resolver.Resolve()
     0158:        except bb.BBHandledException as e:
     0159:            bb.utils.remove(process_tmpdir, True)
     0160:            bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n")))
     0161:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 769, function: Resolve
     0765:    def Resolve(self):
     0766:        olddir = os.path.abspath(os.curdir)
     0767:        os.chdir(self.patchset.dir)
     0768:        try:
 *** 0769:            self.patchset.Push()
     0770:        except Exception:
     0771:            import sys
     0772:            os.chdir(olddir)
     0773:            raise
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 274, function: Push
     0270:            else:
     0271:                next = 0
     0272:
     0273:            bb.note("applying patch %s" % self.patches[next])
 *** 0274:            ret = self._applypatch(self.patches[next], force)
     0275:
     0276:            self._current = next
     0277:            return ret
     0278:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 556, function: _applypatch
     0552:        if os.path.lexists(hooks_dir_backup):
     0553:            raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup)
     0554:        if os.path.lexists(hooks_dir):
     0555:            shutil.move(hooks_dir, hooks_dir_backup)
 *** 0556:        os.mkdir(hooks_dir)
     0557:        commithook = os.path.join(hooks_dir, 'commit-msg')
     0558:        applyhook = os.path.join(hooks_dir, 'applypatch-msg')
     0559:        with open(commithook, 'w') as f:
     0560:            # NOTE: the formatting here is significant; if you change it you'll also need to
Exception: NotADirectoryError: [Errno 20] Not a directory: '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-n87_zx1i/workdir/git/third_party/spdlog/.git/hooks'

Using `git rev-parse --absolute-git-dir` instead of `git rev-parse
--show-toplevel` ensure we get the correct gitdir

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-firmware: package Dragonboard 845c sensors DSP firmware
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:10 +0000 (20:36 +0300)] 
linux-firmware: package Dragonboard 845c sensors DSP firmware

Add package with sensors DSP firmware for Qualcomm RB3 aka Dragonboard
845c platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-firmware: package audio topology for Lenovo X13s
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:09 +0000 (20:36 +0300)] 
linux-firmware: package audio topology for Lenovo X13s

Add audio topology description to the qcom-sc8280xp-lenovo-x13s-audio
package. The file is licensed is copyright by Linaro and licensed under
BSD 3-clause license.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-firmware: upgrade 20230625 -> 20230804
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:08 +0000 (20:36 +0300)] 
linux-firmware: upgrade 20230625 -> 20230804

License-Update: additional firmwares

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agofile: fix call to localtime_r()
Joe Slater [Tue, 22 Aug 2023 22:28:00 +0000 (15:28 -0700)] 
file: fix call to localtime_r()

Depending on the version of glibc, localtime_r() must
be preceded by a call to tzset() or it will ignore any
value of TZ in the environment.  This problem will only
be seen when building file-native on outdated hosts.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake.bbclass: fix allarch override syntax
Chen Qi [Tue, 22 Aug 2023 02:14:26 +0000 (19:14 -0700)] 
cmake.bbclass: fix allarch override syntax

The override syntax should be ":allarch" instead of "_allarch".

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake: drop OE specific environment variable support
Chen Qi [Tue, 22 Aug 2023 02:14:25 +0000 (19:14 -0700)] 
cmake: drop OE specific environment variable support

CMAKE_TOOLCHAIN_FILE is now also a supported environment
variable, we can export it directly. There's no need to
use a OE specific patch to add OE_CMAKE_TOOLCHAIN_FILE
support.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoless: add ptest support
Julien Stephan [Mon, 21 Aug 2023 14:38:01 +0000 (16:38 +0200)] 
less: add ptest support

add ptest support for less

root@qemux86-64:~# ptest-runner less
START: ptest-runner
2023-08-21T14:22
BEGIN: /usr/lib/less/ptest
TEST chinese1.lt
PASS: chinese1 (30 steps)
TEST colorbars.lt
PASS: colorbars (222 steps)
TEST github216.lt
PASS: github216 (143 steps)
TEST github265.lt
PASS: github265 (17 steps)
TEST github329.lt
PASS: github329 (28 steps)
TEST hdr-unicode.lt
PASS: hdr-unicode (164 steps)
TEST hdr-unicode1.lt
PASS: hdr-unicode (107 steps)
TEST proc-special.lt
PASS: proc-special (107 steps)
TEST seq200.lt
PASS: seq200 (18 steps)
TEST subsearch.lt
PASS: subsearch (59 steps)
TEST table-50x200.lt
PASS: table-50x200 (467 steps)
TEST utf8-2.txt.lt
PASS: utf8-2.txt (309 steps)
TEST version.c.lt
PASS: version.c (38 steps)
RAN  13 tests with 0 errors
DURATION: 184
END: /usr/lib/less/ptest
2023-08-21T14:25
STOP: ptest-runner
TOTAL: 1 FAIL: 0

[YOCTO #15073]

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoless: upgrade 633 -> 643
Julien Stephan [Mon, 21 Aug 2023 14:38:00 +0000 (16:38 +0200)] 
less: upgrade 633 -> 643

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa: wic: Add test for --no-table option
Markus Niebel [Mon, 21 Aug 2023 10:15:44 +0000 (12:15 +0200)] 
oeqa: wic: Add test for --no-table option

Add basic test for the --no-table wic part option.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoarch-armv8,arch-armv9: Add sve based tune options
Khem Raj [Mon, 21 Aug 2023 06:30:49 +0000 (23:30 -0700)] 
arch-armv8,arch-armv9: Add sve based tune options

(From OE-Core rev: 3109a48740546f6defc652fa1a6736dc484e6021)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agotunes: Add support for sve instructions on armv8/armv9
Khem Raj [Mon, 21 Aug 2023 06:30:48 +0000 (23:30 -0700)] 
tunes: Add support for sve instructions on armv8/armv9

This helps in defining correct compiler options and configure options
for glibc and overall ABI for toolchain

(From OE-Core rev: 58330ce58719bd82530b1143623db7af7a85e897)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: disable perl support
Ross Burton [Tue, 22 Aug 2023 17:00:18 +0000 (18:00 +0100)] 
perf: disable perl support

The perf support was broken and if enabled results in non-reproducible
binaries, so disable it for now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: split scripting PACKAGECONFIG into perl and python
Ross Burton [Tue, 22 Aug 2023 17:00:17 +0000 (18:00 +0100)] 
perf: split scripting PACKAGECONFIG into perl and python

There's no reason for Python and Perl support to be tied together, so
split the PACKAGECONFIG into two.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: fix perl binding support
Ross Burton [Tue, 22 Aug 2023 17:00:16 +0000 (18:00 +0100)] 
perf: fix perl binding support

The build of the perl integration has been broken for some time.

Update the PERL_* variables so that it can find libperl in the new
location.

This then fails because the Perl headers cause warnings and the feature
checks run with -Werror, so disable the errors.

The perf-dbg package then has target build paths, so set INSANE_SKIP for
now until this is resolved.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: add more PACKAGECONFIGs
Ross Burton [Tue, 22 Aug 2023 17:00:15 +0000 (18:00 +0100)] 
perf: add more PACKAGECONFIGs

libpfm4 and babeltrace are enabled if they're found, so add
PACKAGECONFIGs so that our configuration is explicit.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: enable verbose feature detection
Ross Burton [Tue, 22 Aug 2023 17:00:14 +0000 (18:00 +0100)] 
perf: enable verbose feature detection

Having verbose feature detection is helpful to see exactly what has been
enabled or disabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinsane.bbclass: Remove an unused variable
Peter Kjellerstedt [Wed, 23 Aug 2023 10:08:14 +0000 (12:08 +0200)] 
insane.bbclass: Remove an unused variable

The use of coremeta_path was removed with commit 61a881fdbe (insane:
Improve patch-status layer filtering) when the patch-status QA test was
generalized.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-dtc: upgrade 1.6.1 -> 1.7.0
Trevor Gamblin [Thu, 17 Aug 2023 19:02:38 +0000 (15:02 -0400)] 
python3-dtc: upgrade 1.6.1 -> 1.7.0

Changelog: https://kernel.googlesource.com/pub/scm/utils/dtc/dtc/+log/039a99414e778332d8f9c04cbd3072e1dcc62798

Remove custom PV from the recipe since the relevant functionality is in
1.7.0:

[tgamblin@megalith dtc]$ git tag --contains c001fc01a43e7a06447c06ea3d50bd60641322b8
v1.7.0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorecipes/classes/scripts: Drop SRCPV usage in OE-Core
Richard Purdie [Fri, 11 Aug 2023 13:31:24 +0000 (14:31 +0100)] 
recipes/classes/scripts: Drop SRCPV usage in OE-Core

Now that SRCPV isn't needed we can simplify things in a few places...

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobase/package: Move source revision information from PV to PKGV
Richard Purdie [Fri, 11 Aug 2023 12:52:59 +0000 (13:52 +0100)] 
base/package: Move source revision information from PV to PKGV

Source control information being present in PV used to be a hard requirement
for bitbake to operate correctly. Now that hashes are a required part of task
stamps, this requirement no longer exists.

This means we can defer the hash pieces to PKGV and simplify PV.

Use new bitbake fetcher API to inject the source revisions directly into the hash
allowing removal of some horrible code from base.bbclass and avoiding any hardcoding
about how SRCREV may or may not be used.

Use that API to object the string to append to PKGV and append that directly.

The user visible effect of this change is that PV will no longer have revision
information in it and this will now be appended to PV through PKGV when the
packages are written. Since PV is used in STAMP and WORKDIR, users will see
small directory naming and stamp naming changes.

This will mean that sstate reuse through hash equivalence where the source
revision changes but the output does not will become possible as the sstate
naming will become less specific and no longer contain the revision.

The SRCPV variable will no longer be needed in PV and is effectively now just
a null operation. Usage can be removed over time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/utils/gitarchive: replace warning with info when reading local tags
Alexis Lothoré [Thu, 24 Aug 2023 09:18:10 +0000 (11:18 +0200)] 
oeqa/utils/gitarchive: replace warning with info when reading local tags

Whenever a script needs to list tags, if it falls back to the third method
(reading local tags only), it emits a warning. While this warning is useful
for future diagnostic if some tagging issues re-appear, it makes buildperf
autobuilds status as "Passed with warnings", which is not desirable

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>