]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agosystemd: Refresh a musl patch to remove patch-fuzz with 253.3
Khem Raj [Mon, 10 Apr 2023 17:09:43 +0000 (10:09 -0700)] 
systemd: Refresh a musl patch to remove patch-fuzz with 253.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agolinux-firmware: upgrade 20230210 -> 20230404
Dmitry Baryshkov [Mon, 10 Apr 2023 11:29:14 +0000 (14:29 +0300)] 
linux-firmware: upgrade 20230210 -> 20230404

The LICENCE.qat_firmware license file was updated to reflect Intel
licensing (it removed a term regarding patent licenses).

License-Update: additional files

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-setuptools: upgrade 67.6.0 -> 67.6.1
Wang Mingyu [Mon, 10 Apr 2023 09:41:32 +0000 (17:41 +0800)] 
python3-setuptools: upgrade 67.6.0 -> 67.6.1

Changelog:
==========
 #3865: Fixed _WouldIgnoreField warnings for scripts and gui_scripts, when entry-points is not listed in dynamic.
 #3875: Update code generated by validate-pyproject to use v0.12.2. This should fix default license patterns when pyproject.toml is used.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pytz: upgrade 2022.7.1 -> 2023.3
Wang Mingyu [Mon, 10 Apr 2023 09:41:31 +0000 (17:41 +0800)] 
python3-pytz: upgrade 2022.7.1 -> 2023.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorust: Upgrade 1.68.1 -> 1.68.2
Alex Kiernan [Mon, 10 Apr 2023 09:41:22 +0000 (10:41 +0100)] 
rust: Upgrade 1.68.1 -> 1.68.2

Changes:

* Update the GitHub RSA host key bundled within Cargo. The key was
  rotated by GitHub on 2023-03-24 after the old one leaked.
* Mark the old GitHub RSA host key as revoked. This will prevent Cargo
  from accepting the leaked key even when trusted by the system.
* Add support for @revoked and a better error message for
  @cert-authority in Cargo’s SSH host key verification

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pyopenssl: upgrade 23.0.0 -> 23.1.1
Wang Mingyu [Mon, 10 Apr 2023 09:39:55 +0000 (17:39 +0800)] 
python3-pyopenssl: upgrade 23.0.0 -> 23.1.1

Changelog:
===========
- Worked around an issue in OpenSSL 3.1.0 which caused X509Extension.get_short_name
  to raise an exception when no short name was known to OpenSSL. #1204.
- cryptography maximum version has been increased to 40.0.x.
- Add OpenSSL.SSL.Connection.DTLSv1_get_timeout and
  OpenSSL.SSL.Connection.DTLSv1_handle_timeout to support DTLS timeouts #1180.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pygobject: upgrade 3.42.2 -> 3.44.1
Wang Mingyu [Mon, 10 Apr 2023 09:39:54 +0000 (17:39 +0800)] 
python3-pygobject: upgrade 3.42.2 -> 3.44.1

Changelog:
==========
    Fix tests with glib 2.76 !240
    Note: PyGObject is in need of more maintainers, please read https://www.bassi.io/articles/2022/12/02/on-pygobject/
    Note: This is an unstable release.
    Drop support for Python 3.6 !184
    meson: bump minimum version to 0.53.0 and update subprojects !227
    gimodule: fix floating state of python objects created with g_object_new !129
    Gtk.Template: Accept PathLike objects as a filename !195
    info: Show which type/object callables are bound to !194
    IntrospectionModule: handle two threads loading type at same time !149
    Port to Py_TRASHCAN_BEGIN !226
    Other cleanups/improvements: !181 !173
    This release also includes all changes from 3.42.1 and 3.42.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pathspec: upgrade 0.11.0 -> 0.11.1
Wang Mingyu [Mon, 10 Apr 2023 09:39:53 +0000 (17:39 +0800)] 
python3-pathspec: upgrade 0.11.0 -> 0.11.1

Changelog:
==========
Bug fixes:
----------
    Issue #74: Include directory should override exclude file.

Improvements:
-------------
    Pull #75: Fix partially unknown PathLike type.
    Convert os.PathLike to a string properly using os.fspath.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-markdown: upgrade 3.4.1 -> 3.4.3
Wang Mingyu [Mon, 10 Apr 2023 09:39:52 +0000 (17:39 +0800)] 
python3-markdown: upgrade 3.4.1 -> 3.4.3

Changelog:
=========
 Restore console script (#1327).
 Improve standalone * and _ parsing (#1300).
 Consider <html> HTML tag a block-level element (#1309).
 Officially support Python 3.11.
 Switch from setup.py to pyproject.toml.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-installer: upgrade 0.6.0 -> 0.7.0
Wang Mingyu [Mon, 10 Apr 2023 09:39:51 +0000 (17:39 +0800)] 
python3-installer: upgrade 0.6.0 -> 0.7.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-importlib-metadata: upgrade 6.0.0 -> 6.2.0
Wang Mingyu [Mon, 10 Apr 2023 09:37:19 +0000 (17:37 +0800)] 
python3-importlib-metadata: upgrade 6.0.0 -> 6.2.0

Changelog:
===========
- #384: PackageMetadata now stipulates an additional get method allowing for
  easy querying of metadata keys that may not be present.
- #428: packages_distributions now honors packages and modules with Python
  modules that not .py sources (e.g. .pyc, .so).
- #434: Expand protocol for PackageMetadata.get_all to match the upstream
  implementation of email.message.Message.get_all in python/typeshed#9620.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-hypothesis: upgrade 6.68.2 -> 6.71.0
Wang Mingyu [Mon, 10 Apr 2023 09:37:18 +0000 (17:37 +0800)] 
python3-hypothesis: upgrade 6.68.2 -> 6.71.0

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>
2 years agopython3-cython: upgrade 0.29.33 -> 0.29.34
Wang Mingyu [Mon, 10 Apr 2023 09:37:17 +0000 (17:37 +0800)] 
python3-cython: upgrade 0.29.33 -> 0.29.34

Bugs fixed
==========
- A refence leak of the for-loop list/tuple iterable was resolved if the
  for-loop's else: branch executes a break for an outer loop.
- Some C compile failures in CPython 3.12 were resolved.
- Some old usages of the deprecated Python imp module were replaced with importlib.
- Some issues with depfile generation were resolved.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agovala: upgrade 0.56.4 -> 0.56.6
Wang Mingyu [Mon, 10 Apr 2023 09:34:16 +0000 (17:34 +0800)] 
vala: upgrade 0.56.4 -> 0.56.6

Changelog:
===========
 * Regression fix:
  - vala: Improve initialization of namespace fields with compound
    literal [#1424]

 * Bindings:
  - gio-2.0,glib-2.0,gobject-2.0: Update 2.74 symbols
  - webkit2gtk-4.*: Update to 2.40.0
  - webkitgtk-6.0: Update to 2.40.0
  - gtk4: Update to 4.10.1~40b154bf from 0.58
  - gtk4: Add sealed to all the final types
  - gtk+-3.0: Fix ToolPalette.icon_size get-accessor type
  - webkitgtk-6.0: Update to 2.39.90

 * Various improvements and bug fixes:
  - codegen:
    + Consistently handle GLib.Error as boxed type [#1418]
    + Add cast to accessor calls for generic property implementations
    + Use g_object_class_override_property to implement generic interface
      properties [#1419]
    + Add declaration for register call of dynamic DBus interfaces [#1422]
  - vala:
    + Correctly handle pre/post-increment expression as index of element
      access [#1417]
    + Set proper value-type of unary ref/out expression in initializers [#1421]
    + Allow assignment of namespace fields with inline allocated arrays
  - gtkmodule: Improve error messages

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxwayland: upgrade 22.1.8 -> 23.1.1
Wang Mingyu [Mon, 10 Apr 2023 09:34:15 +0000 (17:34 +0800)] 
xwayland: upgrade 22.1.8 -> 23.1.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxserver-xorg: upgrade 21.1.7 -> 21.1.8
Wang Mingyu [Mon, 10 Apr 2023 09:34:14 +0000 (17:34 +0800)] 
xserver-xorg: upgrade 21.1.7 -> 21.1.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agowpebackend-fdo: upgrade 1.14.0 -> 1.14.2
Wang Mingyu [Mon, 10 Apr 2023 09:34:13 +0000 (17:34 +0800)] 
wpebackend-fdo: upgrade 1.14.0 -> 1.14.2

Changelog:
==========
- Reverted a change introduced in 1.14.1 which introduced crashes both
  with WebKitGTK and WPE running under Wayland in some configurations.
- Fix a crash caused by wrong assertion, which was typically triggered in
  debug builds when using the NVidia drivers.
- Fix WebKit no longer repainting after provisional navigation with
  PSON enabled.
- Fix graphics buffer leaks by always freeing them in buffer destroy
  listener callbacks.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agowayland: upgrade 1.21.0 -> 1.22.0
Wang Mingyu [Mon, 10 Apr 2023 09:34:12 +0000 (17:34 +0800)] 
wayland: upgrade 1.21.0 -> 1.22.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotexinfo: upgrade 7.0.2 -> 7.0.3
Wang Mingyu [Mon, 10 Apr 2023 09:04:19 +0000 (17:04 +0800)] 
texinfo: upgrade 7.0.2 -> 7.0.3

Changelog:
==========
* texi2any
  . fix performance regression when Perl binary extension (XS) modules
    are not being used (e.g. with TEXINFO_XS=omit)

* info
  . further fix of recoding of UTF-8 files to ASCII to avoid text
    disappearing from nodes
  . avoid possible freeze at start of a file with '-v nodeline=pointers'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosqlite3: upgrade 3.41.0 -> 3.41.2
Wang Mingyu [Mon, 10 Apr 2023 09:04:17 +0000 (17:04 +0800)] 
sqlite3: upgrade 3.41.0 -> 3.41.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agospirv-tools: upgrade 1.3.239.0 -> 1.3.243.0
Wang Mingyu [Mon, 10 Apr 2023 09:04:16 +0000 (17:04 +0800)] 
spirv-tools: upgrade 1.3.239.0 -> 1.3.243.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agospirv-headers: upgrade 1.3.239.0 -> 1.3.243.0
Wang Mingyu [Mon, 10 Apr 2023 09:04:15 +0000 (17:04 +0800)] 
spirv-headers: upgrade 1.3.239.0 -> 1.3.243.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoruby: upgrade 3.2.1 -> 3.2.2
Wang Mingyu [Mon, 10 Apr 2023 09:01:54 +0000 (17:01 +0800)] 
ruby: upgrade 3.2.1 -> 3.2.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopango: upgrade 1.50.13 -> 1.50.14
Wang Mingyu [Mon, 10 Apr 2023 09:01:53 +0000 (17:01 +0800)] 
pango: upgrade 1.50.13 -> 1.50.14

Changelog:
- Fix underline thickness in scaled contexts

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomtools: upgrade 4.0.42 -> 4.0.43
Wang Mingyu [Mon, 10 Apr 2023 09:01:50 +0000 (17:01 +0800)] 
mtools: upgrade 4.0.42 -> 4.0.43

Changelog:
==========
- Fix root directory test in mattrib
- -b BiosDisk flag for mformat to allow setting physdrive to
  a user-specified value
- Clearer error message in mformat when trying to mformat a
  disk whose total size is not known
- Make recursive copy more consistent
- Trailing slash now always implies target should be a directory
- Code cleanup

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoman-pages: upgrade 6.03 -> 6.04
Wang Mingyu [Mon, 10 Apr 2023 08:59:35 +0000 (16:59 +0800)] 
man-pages: upgrade 6.03 -> 6.04

License-Update:
 tmp/ -> .tmp/

Changelog:
============
-  Sections:
   -  Add HISTORY.
   -  HISTORY: Restore C89 references.
   -  Repurpose VERSIONS.
   -  Simplify STANDARDS.
   -  SYNOPSIS: Mark several functions as deprecated.

-  Build system:
   -  Support installing in different mandirs
      (e.g., man3typedir='/usr/share/man/man3').
   -  Support installing compressed pages (Z='.gz').
   -  Support installing link pages as symlinks (LINK_PAGES='symlink').

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibcap: upgrade 2.67 -> 2.68
Wang Mingyu [Mon, 10 Apr 2023 08:59:34 +0000 (16:59 +0800)] 
libcap: upgrade 2.67 -> 2.68

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoccache: upgrade 4.7.4 -> 4.8
Wang Mingyu [Mon, 10 Apr 2023 08:59:33 +0000 (16:59 +0800)] 
ccache: upgrade 4.7.4 -> 4.8

License-Update:
 bump: Upgrade to doctest 2.4.10
 chore: Update copyright years

Changelog:
https://ccache.dev/releasenotes.html#_ccache_4_8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoacpica: upgrade 20220331 -> 20230331
Wang Mingyu [Mon, 10 Apr 2023 08:59:32 +0000 (16:59 +0800)] 
acpica: upgrade 20220331 -> 20230331

License-Update: Copyright year updated to 2023.

Changelog:
==========
-Update all copyright notices to the year 2023. This effects all source
 modules, as well as utility signons.
-Add OS-specific support for Zephyr RTOS.
-Fix miscellaneous code that accesses various objects.
-Remove some dead code.
-Add C ?Flexible Array? support.
-Add support for 64 bit LoongArch compilation.
-Add first batch of RISC-V related definitions.
-Performed a global automated update to remove tabs, fix indentation
 issues, etc.
-Allow disabling of -Werror. For distro maintainers having '-Werror' can
 delay update of GCC. Since every GCC release might add new warnings that
 were not yet captured, it might break the build of packages. With this
 change, distros can now build with 'NOWERROR=TRUE' instead of patching
 either the errors or the makefiles. The default behavior keeps on using
 '-Werror'.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agompg123: upgrade 1.31.2 -> 1.31.3
Wang Mingyu [Mon, 10 Apr 2023 08:59:31 +0000 (16:59 +0800)] 
mpg123: upgrade 1.31.2 -> 1.31.3

Changelog:
=========
- build:
-- Fix --disable-8bit.
-- Fall back to generic decoder if no yasm for MSVC (bug 346).
-- Fix some pedantic compiler warnings, avoid breaking libtool wrappers.
- mpg123:
-- Fix verbose position printout for new resampling outside libmpg123 (where
   output rate differs from decoding rate).
- libsyn123:
-- Fix reconfiguration of resampler to avoid double free when reducing
   decimator stages to zero (bug 350).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibsoup: upgrade 3.2.2 -> 3.4.0
Wang Mingyu [Mon, 10 Apr 2023 08:58:19 +0000 (16:58 +0800)] 
libsoup: upgrade 3.2.2 -> 3.4.0

Changelog:
==========
* Fix possible crash in SoupContentSniffer
* Fix socket leak
* Add missing annotation to soup_header_g_string_append_param_quoted()
* Fix regression in 'SoupCookieJar' not handling valid Secure cookies
* Fix crash when skipping HTTP/1 response stream with chunked enconding
* Change Session to unqueue finished items earlier without an extra MainContext iteration
* Add 'SoupMessage::got-body-data' signal to monitor progress of reads
* Add 'soup_session_send_and_splice()' and 'soup_session_send_and_splice_async()' convenience APIs
* Add 'soup_message_set_force_http1()' and 'soup_message_get_force_http1()' APIs
* Change 'soup_cookie_copy()' to not retain default ports
* Ensure 'SoupServerMessage' socket is available in websocket handler
* Fix 'soup_message_new()' not erroring when URI has an empty host
* Fix thread-saftey issues in 'SoupConnectionAuth'
* Fix various connection leaks
* Fix the possibility of sending invalid empty 'Sec-WebSocket-Protocol' header
* Fix IO errors not being handled on 'CONNECT' messages
* Numerous improvements to cookies:
    * Add support for cookie prefixes ('__Secure-' and '__Host-')
    * Reject cookies with control characters in name or value
    * Reject 'SameSite=None' cookies without 'Secure'
    * Change 'soup_cookie_parse()' to be more strict about what is considered whitespace
    * Change default SameSite value to 'Lax'
    * Fix 'soup_cookie_equal()' with 'NULL' path

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibsdl2: upgrade 2.26.3 -> 2.26.5
Wang Mingyu [Mon, 10 Apr 2023 08:58:18 +0000 (16:58 +0800)] 
libsdl2: upgrade 2.26.3 -> 2.26.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibpcap: upgrade 1.10.3 -> 1.10.4
Wang Mingyu [Mon, 10 Apr 2023 08:58:17 +0000 (16:58 +0800)] 
libpcap: upgrade 1.10.3 -> 1.10.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibhandy: upgrade 1.8.1 -> 1.8.2
Wang Mingyu [Mon, 10 Apr 2023 08:58:16 +0000 (16:58 +0800)] 
libhandy: upgrade 1.8.1 -> 1.8.2

Changelog:
==========
- Demo
  - Correctly use GtkSwitch
  - Fix a GLib deprecation
- Docs
  - Fix dependency names
- HdyTabView
  - Fix set_menu_model() input check
  - Fix a typo in docs
- HdySwipeable
  - Fix get_swipe_area() fallback
- Memory leak fixes
- Translation updates
  - Slovenian

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocracklib: upgrade 2.9.10 -> 2.9.11
Wang Mingyu [Mon, 10 Apr 2023 08:56:35 +0000 (16:56 +0800)] 
cracklib: upgrade 2.9.10 -> 2.9.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobind: upgrade 9.18.12 -> 9.18.13
Wang Mingyu [Mon, 10 Apr 2023 08:56:34 +0000 (16:56 +0800)] 
bind: upgrade 9.18.12 -> 9.18.13

Changelog:
==========
[bug] Use two pairs of dns_db_t and dns_dbversion_t in a
      catalog zone structure to avoid a race between the
      dns__catz_update_cb() and dns_catz_dbupdate_callback()
      functions. [GL #3907]

[bug] Make sure to revert the reconfigured zones to the
      previous version of the view, when the new view
      reconfiguration fails during the configuration of
      one of the configured zones. [GL #3911]

[bug] Fix error path cleanup issues in dns_catz_new_zones()
      and dns_catz_new_zone() functions. [GL #3900]

[bug] Unregister db update notify callback before detaching
      from the previous db inside the catz update notify
      callback. [GL #3777]

[func Run the catalog zone update process on the offload
      threads. [GL #3881]

[func Add shutdown signaling for catalog zones. [GL !7571]

[func Add reference count tracing for dns_catz_zone_t and
      dns_catz_zones_t. [GL !7570]

[bug] Detach 'rpzs' and 'catzs' from the previous view in
      configure_rpz() and configure_catz(), respectively,
      just after attaching it to the new view. [GL #3880]

[test Don't test HMAC-MD5 when not supported by libcrypto.
      [GL #3871]

[bug] Fix RPZ reference counting error on shutdown in
      dns__rpz_timer_cb(). [GL #3866]

[test Test various 'islands of trust' configurations when
      using managed keys. [GL #3662]

[bug] Building against (or running with) libuv versions
      1.35.0 and 1.36.0 is now a fatal error.  The rules for
      mixing and matching compile-time and run-time libuv
      versions have been tightened for libuv versions between
      1.35.0 and 1.40.0. [GL #3840]

[bug] dnssec-cds failed to cleanup properly. [GL #3831]

[bug] Source ports configured for query-source,
      transfer-source, etc, were being ignored. (This
      feature is deprecated, but it is not yet removed,
      so the bug still needed fixing.) [GL #3790]

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoapr: upgrade 1.7.2 -> 1.7.3
Wang Mingyu [Mon, 10 Apr 2023 08:56:33 +0000 (16:56 +0800)] 
apr: upgrade 1.7.2 -> 1.7.3

Changelog:
===========
  *) apr-1-config: Fix crosscompiling detection in apr-1-config. PR 66510
  *) configure: Add --enable-sysv-shm to use SysV shared memory (shmget) if
     available.
  *) apr_socket_sendfile: Use WSAIoctl() to get TransmitFile function
     pointer on Windows.
  *) apr_dir_read: Do not request short file names on Windows 7
     and later.
  *) apr_file_gets: Optimize for buffered files on Windows.
  *) Fix a deadlock when writing to locked files opened with APR_FOPEN_APPEND
     on Windows. PR 50058.
  *) Don't seek to the end when opening files with APR_FOPEN_APPEND on Windows.
  *) apr_file_write: Optimize large writes to buffered files on Windows.
  *) apr_file_write: Optimize large reads from buffered files on Windows.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomusl: Update to latest trunk
Khem Raj [Sun, 9 Apr 2023 02:39:33 +0000 (19:39 -0700)] 
musl: Update to latest trunk

Brings these changes

1d5750b9 fix swprintf handling of nul character in output
0e523480 in printf, use ferror macro rather than directly inspecting flags bit
868c9643 remove wide printf dependency on ugly hack in vfprintf
3a051769 fix (normal, narrow) printf erroneously processing %n after output errors
0440ed69 fix wide printf continuation after output or encoding errors
d055e6a4 fix wide printf forms ignoring width for %lc format specifier
b6811019 poll: fix misuse of timespec type on 32-bit archs without poll syscall
8949da7a select: fix 64-bit timeout truncation on pre-time64 kernels
3281047c dup3: don't set FD_CLOEXEC on failure on kernels without dup3 syscall
c99b7daa fix dup3 ignoring all flags but O_CLOEXEC on archs with SYS_dup2 syscall
fb7fb5e4 fix pipe2 silently ignoring unknown flags on old kernels
b1dfb734 getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
595416b1 getservbyport_r: fix out-of-bounds buffer read
1a708ece getifaddrs: fix UB via taking address of null pointer union dereference
c499c108 accept4: don't fall back to accept if we got unknown flags
523d9b96 fix potential read past end of buffer in getnameinfo host name lookup
d0b7f976 dns: fix workaround for systems defaulting to ipv6-only sockets
bec42ef3 dns: handle early eof in tcp fallback
9b132e55 prevent CNAME/PTR parsing from reading data past the response end
12590c8b fix out-of-bounds reads in __dns_parse
bc695a5a fix incorrect unit for CPU_SETSIZE macro

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocargo: Fix build on musl/riscv
Khem Raj [Sat, 8 Apr 2023 20:19:00 +0000 (13:19 -0700)] 
cargo: Fix build on musl/riscv

libc needs fix for defining scope of SOCK_SEQPACKET

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoffmpeg: Disable asm and rvv on riscv32
Khem Raj [Sat, 8 Apr 2023 20:18:59 +0000 (13:18 -0700)] 
ffmpeg: Disable asm and rvv on riscv32

ffmpeg 6.0 has added assembly routines which uses rv64i ISA
unconditionally, ideally it should check for ISA before using those
instructions.

Fixes errors like
<instantiation>:1:1: error: instruction requires the following: RV64I Base Instruction Set
ld t0, (a1)
^
src/libavcodec/riscv/pixblockdsp_rvi.S:24:1: note: while in macro instantiation
.irp row, 0, 1, 2, 3, 4, 5, 6, 7
^
<instantiation>:3:9: error: instruction requires the following: RV64I Base Instruction Set
        sd zero, ((0 * 16) + 0)(a0)
        ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoe2fsprogs: Define 64bit off_t on rv32
Khem Raj [Sat, 8 Apr 2023 17:13:01 +0000 (10:13 -0700)] 
e2fsprogs: Define 64bit off_t on rv32

Help configure to build it correctly on rv32 and musl especially, it
shoild not ideally poke at _FILE_OFFSET_BITS, its not a portable define

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-psutil: fix-up -tests runtime dependencies
Mark Asselstine [Fri, 7 Apr 2023 23:36:01 +0000 (19:36 -0400)] 
python3-psutil: fix-up -tests runtime dependencies

The psutil.tests module makes use of gcc, other tools and a minimal
set of headers and build tools. If these are missing you will see

======================================================================
ERROR: psutil.tests.test_process.TestProcess.test_weird_environ
----------------------------------------------------------------------
Traceback (most recent call last):
 File "./psutil/tests/test_process.py", line 1452, in test_weird_environ
   create_exe(path, c_code=code)
 File "./psutil/tests/__init__.py", line 831, in create_exe
   raise ValueError("gcc is not installed")
ValueError: gcc is not installed

along with other errors related to the missing tools and headers.

Add the missing RDEPENDS for the -tests package such that simply
adding the -tests package to an image will be all that is needed.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibnotify: remove dependency dbus
Kai Kang [Fri, 7 Apr 2023 05:15:19 +0000 (13:15 +0800)] 
libnotify: remove dependency dbus

It ported to use GDBus in libnotify 0.7.0 [1]. So remove dbus from
DEPENDS. And GDBus is provided by glib-2.0.

[1]: https://gitlab.gnome.org/GNOME/libnotify/-/commit/f63e8ab

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoselftest: wic: Add test for --part-name argument
Dit Kozmaj [Thu, 6 Apr 2023 08:44:16 +0000 (10:44 +0200)] 
selftest: wic: Add test for --part-name argument

Add test for wic --part-name argument in .wks file.
Test three different cases:
- Set only the --part-name argument.
- Set only the --label argument. In this case the GPT partition label
  is set to the value of --label for compatibility reasons.
- Set both. In this case the code has been changed to set the GPT
  partition label to the --part-name value.

The test uses a test_gpt_partition_name.wks file created for this
purpose.

Signed-off-by: Dit Kozmaj <dit.kozmaj@kynetics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agowic: use part_name when defined
Dit Kozmaj [Thu, 6 Apr 2023 08:44:15 +0000 (10:44 +0200)] 
wic: use part_name when defined

So far part.label has been used to define GPT partition label even if
part.part_name was defined.
Fix the code to use part.part_name whenever available, as it makes sense
to have a GPT partition label which is different from the contained
filesystem label.

Signed-off-by: Dit Kozmaj <dit.kozmaj@kynetics.com>
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agologrotate: add ptest support
Frank WOLFF [Wed, 5 Apr 2023 14:36:04 +0000 (16:36 +0200)] 
logrotate: add ptest support

Below is an extract of the test log:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2023-04-05T12:20
BEGIN: /usr/lib/logrotate/ptest
make  check-TESTS
make[1]: Entering directory '/usr/lib/logrotate/ptest'
make[2]: Entering directory '/usr/lib/logrotate/ptest'
PASS: test-0001.sh
PASS: test-0002.sh
...
...
PASS: test-0107.sh
PASS: test-0108.sh
============================================================================
Testsuite summary for logrotate 3.21.0
============================================================================
 # TOTAL: 102
 # PASS:  97
 # SKIP:  5
 # XFAIL: 0
 # FAIL:  0
 # XPASS: 0
 # ERROR: 0
============================================================================
make[2]: Leaving directory '/usr/lib/logrotate/ptest'
make[1]: Leaving directory '/usr/lib/logrotate/ptest'
DURATION: 353
END: /usr/lib/logrotate/ptest
2023-04-05T12:26
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
Signed-off-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoat-spi2-core: update 2.46.0 -> 2.48.0
Markus Volk [Wed, 5 Apr 2023 05:12:48 +0000 (07:12 +0200)] 
at-spi2-core: update 2.46.0 -> 2.48.0

What's new in at-spi2-core 2.48.0:

* Add a "atk-only" build option. This allows atk to be built without libdbus
  installed, but it does not build libatspi or the atk bridge.

* Fix some typos in the documentation.

What's new in at-spi2-core 2.47.90:

* Downgrade meson requirement to 0.63.

*  at-spi-dbus-bus service: set stop timeout to 5s

* Fix possible crash in screen_reader_signal_watcher.

What's new in at-spi2-core 2.47.1:
* The meson options -Dx11 and -Dintrospection are now implemented with
  meson features - https://mesonbuild.com/Build-options.html#features

  Instead of accepting values of "yes/no/auto", they take
  "enabled/disabled/auto".  Please change your build scripts
  accordingly if you use these options.

* Use gi-docgen to generate documentation.

* Register key grabs using the focused window, rather than the root window.
  This should prevent the window from losing focus when a key grab is used.

* atk-adaptor: Handle sockets in GetChildren.

* Improve documentation of the dbus interfaces.

* Various code clean-ups. Some unused code has been removed.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogobject-introspection: reduce dependencies
Petr Kubizňák [Mon, 3 Apr 2023 11:06:41 +0000 (13:06 +0200)] 
gobject-introspection: reduce dependencies

When GI_DATA_ENABLED is 'False' (e.g. because
'gobject-introspection-data' is not in DISTRO_FEATURES),
gobject-introspection, gobject-introspection-native and qemu-native
should not be added to DEPENDS. This is to reduce dependency chain
when g-i is disabled.

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agou-boot: Upgrade to 2023.04
Fabio Estevam [Mon, 3 Apr 2023 20:50:00 +0000 (17:50 -0300)] 
u-boot: Upgrade to 2023.04

Upgrade to U-Boot 2023.04.

Remove the patch that is now upstream.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoffmpeg: update 5.1.2 -> 6.0
Alexander Kanavin [Fri, 31 Mar 2023 05:26:30 +0000 (07:26 +0200)] 
ffmpeg: update 5.1.2 -> 6.0

Add a patch to gstreamer1.0-libav to address an API compatibility fail.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocve-exclusions: Document some further linux-yocto CVE statuses
Richard Purdie [Fri, 7 Apr 2023 14:23:27 +0000 (15:23 +0100)] 
cve-exclusions: Document some further linux-yocto CVE statuses

Add some information about some further kernel CVEs which don't apply for
either linux-yocto or don't apply for linux-yocto 6.1.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusion: ignore disputed CVE-2023-23005
Yoann Congal [Thu, 6 Apr 2023 14:19:23 +0000 (16:19 +0200)] 
cve-extra-exclusion: ignore disputed CVE-2023-23005

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-exclusions_6.1: ignore patched CVE-2022-38457 & CVE-2022-40133
Yoann Congal [Thu, 6 Apr 2023 14:19:22 +0000 (16:19 +0200)] 
cve-exclusions_6.1: ignore patched CVE-2022-38457 & CVE-2022-40133

Ignore CVE-2022-38457 & CVE-2022-40133 as they looks patched in our 6.1
branch.

I've asked the NVD to add the commit as the patch for these CVEs, but in
the meantime, other sources seem to agree that the commit fixes these
CVEs (and I concur).

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 6 Apr 2023 13:35:58 +0000 (14:35 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions: ignore inapplicable linux-yocto CVEs
Yoann Congal [Thu, 6 Apr 2023 09:11:08 +0000 (11:11 +0200)] 
cve-extra-exclusions: ignore inapplicable linux-yocto CVEs

CVEs CVE-2023-0179, CVE-2023-1079 and CVE-2023-1513 are patched in our
kernels but appear as active because the NVD database is not up to date.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocpio: Fix wrong CRC with ASCII CRC for large files
Marek Vasut [Wed, 5 Apr 2023 21:33:58 +0000 (23:33 +0200)] 
cpio: Fix wrong CRC with ASCII CRC for large files

Due to signedness, the checksum is not computed when filesize is bigger
a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been
posted for 5 years. Since CPIO upstream is effectively unresponsive and
any and all attempts to communicate with the maintainer and get the fix
applied upstream failed, add the fix here instead.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa ping.py: fail test if target IP address has not been set
Mikko Rapeli [Wed, 5 Apr 2023 09:08:48 +0000 (12:08 +0300)] 
oeqa ping.py: fail test if target IP address has not been set

It is possible to call exported tests with --target-ip set to ":22"
where IP address is not set at all. Detect this case and fail the test
instead of calling ping without an IP address.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa ping.py: avoid busylooping failing ping command
Mikko Rapeli [Wed, 5 Apr 2023 09:08:31 +0000 (12:08 +0300)] 
oeqa ping.py: avoid busylooping failing ping command

Use a sleep on error path before trying again. For example
when oeqa runtime tests are executed without setting target
IP address correctly, the tests are drowning logs with messages:

2023-04-04 07:19:24,985 - runtime - INFO - test_ping (ping.PingTest.test_ping)
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
...
2023-04-04 07:19:55,002 - runtime - INFO -  ... FAIL
2023-04-04 07:19:55,002 - runtime - INFO - Traceback (most recent call
last):
  File \"/lava-62618/3/tests/3_oeqa-runtime-tests/image/lib/oeqa/runtime/cases/ping.py\", line 23, in test_ping
    output += proc.communicate()[0].decode('utf-8')
              ^^^^^^^^^^^^^^^^^^
  File \"/usr/lib/python3.11/subprocess.py\", line 1194, in communicate
    stdout = self.stdout.read()
             ^^^^^^^^^^^^^^^^^^
  File \"/lava-62618/3/tests/3_oeqa-runtime-tests/image/lib/oeqa/core/decorator/oetimeout.py\", line 18, in _timeoutHandler
    raise OEQATimeoutError(\"Timed out after %s \"
oeqa.core.exception.OEQATimeoutError: Timed out after 30 seconds of execution

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodevicetree.bbclass: fix typo
Luca Ceresoli [Wed, 5 Apr 2023 14:48:48 +0000 (16:48 +0200)] 
devicetree.bbclass: fix typo

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogrep: upgrade 3.9 -> 3.10
Denys Dmytriyenko [Wed, 5 Apr 2023 15:44:09 +0000 (15:44 +0000)] 
grep: upgrade 3.9 -> 3.10

This is to announce grep-3.10, a stable release,
fixing a bug with -P and \d. TL;DR, grep-3.9 would do this:

  $ LC_ALL=en_US.UTF-8 grep -P '\d' <<< ٠١٢٣٤٥٦٧٨٩
  ٠١٢٣٤٥٦٧٨٩

It should print nothing, like it has always done.
For more detail, see https://lists.gnu.org/r/bug-grep/2023-03/msg00005.html

Thanks to Paul Eggert for catching the \D variant and to Bruno Haible
for assiduously tending gnulib and for testing grep on so many
different systems.

There have been 12 commits by 2 people in the 17 days since 3.9.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxz: upgrade 5.4.1 -> 5.4.2
Denys Dmytriyenko [Wed, 5 Apr 2023 15:44:08 +0000 (15:44 +0000)] 
xz: upgrade 5.4.1 -> 5.4.2

COPYING files had 2 updates w/o affecting licensing:
* URLs to gnu.org and fsf.org switched to https
* Clarifying licensing of liblzma Doxygen-generated docs - details below

5.4.2 (2023-03-18)
    * All fixes from 5.2.11 that were not included in 5.4.1.
    * If xz is built with support for the Capsicum sandbox but running
      in an environment that doesn't support Capsicum, xz now runs
      normally without sandboxing instead of exiting with an error.
    * liblzma:
        - Documentation was updated to improve the style, consistency,
          and completeness of the liblzma API headers.
        - The Doxygen-generated HTML documentation for the liblzma API
          header files is now included in the source release and is
          installed as part of "make install". All JavaScript is
          removed to simplify license compliance and to reduce the
          install size.
        - Fixed a minor bug in lzma_str_from_filters() that produced
          too many filters in the output string instead of reporting
          an error if the input array had more than four filters. This
          bug did not affect xz.
    * Build systems:
        - autogen.sh now invokes the doxygen tool via the new wrapper
          script doxygen/update-doxygen, unless the command line option
          --no-doxygen is used.
        - Added microlzma_encoder.c and microlzma_decoder.c to the
          VS project files for Windows and to the CMake build. These
          should have been included in 5.3.2alpha.
    * Tests:
        - Added a test to the CMake build that was forgotten in the
          previous release.
        - Added and refactored a few tests.
    * Translations:
        - Updated the Brazilian Portuguese translation.
        - Added Brazilian Portuguese man page translation.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoselftest: efibootpartition.py: fix QEMU_USE_KVM usage
Martin Jansa [Wed, 5 Apr 2023 15:37:07 +0000 (17:37 +0200)] 
selftest: efibootpartition.py: fix QEMU_USE_KVM usage

* if you don't have QEMU_USE_KVM in local.conf it fails with:

  2023-03-12 18:06:29,591 - oe-selftest - DEBUG - Checking if qemux86-64 is not this MACHINE
  2023-03-12 18:06:29,594 - oe-selftest - INFO -  ... ERROR
  2023-03-12 18:06:29,594 - oe-selftest - INFO - Traceback (most recent call last):
    File "/OE/build/poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
      return func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/OE/build/poky/meta/lib/oeqa/selftest/cases/efibootpartition.py", line 18, in test_boot_efi
      if oe.types.qemu_use_kvm(self.td['QEMU_USE_KVM'], self.td["TARGET_ARCH"]):
                               ~~~~~~~^^^^^^^^^^^^^^^^
  KeyError: 'QEMU_USE_KVM'

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-bcrypt-crates.inc: regenerate with updated bbclass
Martin Jansa [Thu, 6 Apr 2023 12:18:54 +0000 (14:18 +0200)] 
python3-bcrypt-crates.inc: regenerate with updated bbclass

* it's needed for compatibility with updated fetcher from:
  https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/

* easiest way to regenerate these is:
  echo > meta/recipes-devtools/python/python3-bcrypt-crates.inc
  bitbake -c update_crates python3-bcrypt
  git commit

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography-crates.inc: regenerate with updated bbclass
Martin Jansa [Thu, 6 Apr 2023 12:18:53 +0000 (14:18 +0200)] 
python3-cryptography-crates.inc: regenerate with updated bbclass

* it's needed for compatibility with updated fetcher from:
  https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/

* easiest way to regenerate these is:
  echo > meta/recipes-devtools/python/python3-cryptography-crates.inc
  bitbake -c update_crates python3-cryptography
  git commit

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocargo-update-recipe-crates.bbclass: Do not add name= to crate:// URIs
Peter Kjellerstedt [Thu, 6 Apr 2023 12:57:22 +0000 (14:57 +0200)] 
cargo-update-recipe-crates.bbclass: Do not add name= to crate:// URIs

With the recent change to the crate fetcher, which automatically sets
the name to for each crate to be versioned, there is no longer a need to
explicitly set the name= parameter for each URI. This also results in
generated files that are compatible with the crate fetcher in Kirkstone
and Langdale.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 5 Apr 2023 16:42:49 +0000 (17:42 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 5 Apr 2023 16:28:48 +0000 (17:28 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobusybox: move hwclock init earlier in startup
Chris Elledge [Fri, 31 Mar 2023 20:44:09 +0000 (16:44 -0400)] 
busybox: move hwclock init earlier in startup

hwclock.sh had default update-rc parameters which made it run after
other tasks that work with the clock such as connman. This causes a
time obtained by NTP to be clobbered by a potentially incorrect time
in the RTC.

Provide non-default INITSCRIPT_PARAMS to have hwclock.sh run during
the rc startup before runlevel initscripts start.

Signed-off-by: Chris Elledge <celledge@siteworx.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest/bblogging: uncomment python stdout checks
Mark Asselstine [Tue, 4 Apr 2023 19:27:31 +0000 (15:27 -0400)] 
oeqa/selftest/bblogging: uncomment python stdout checks

Since bitbake commit 81a58647b2f4fc0a2589b2978fc9d81b2bfe6aec
[bitbake: build: Make python output print to stdout when running with
-v (verbose)] we no longer need to comment out the python stdout
checks.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: rename deprecated --enable-trace-backend configure option
Thomas De Schampheleire [Tue, 4 Apr 2023 18:34:05 +0000 (20:34 +0200)] 
qemu: rename deprecated --enable-trace-backend configure option

qemu 6.2 deprecated the configure option '--enable-trace-backend' in favor
of '--enable-trace-backends' [1]

Rename accordingly.

[1] https://wiki.qemu.org/ChangeLog/6.2#Build_Information

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: retain default trace backend if 'ust' is not enabled
Thomas De Schampheleire [Tue, 4 Apr 2023 18:34:04 +0000 (20:34 +0200)] 
qemu: retain default trace backend if 'ust' is not enabled

The qemu build system enables the 'log' trace backend by default, if no
explicit choice was made with '--enable-trace-backend=CHOICE'.

However, the qemu recipe uses the following PACKAGECONFIG line:
    PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust,"

which means that the 'nop' trace backend will be explicitly selected if the
'ust' feature is not enabled. The 'nop' backend removes almost all trace
points at compile time, and thus basically means 'disable tracing'.

To retain the default trace backend if 'ust' is not enabled, the above
PACKAGECONFIG line should either explicitly fall back to the 'log' backend,
or not provide any value for the 'disabled' case. This commit chooses the
latter to not make any assumption about the upstream default.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: make tracetool-generated output reproducible
Thomas De Schampheleire [Tue, 4 Apr 2023 18:34:03 +0000 (20:34 +0200)] 
qemu: make tracetool-generated output reproducible

'#line' directives written by qemu's tracetool makes the 'debug' package not
reproducible due to absolute paths. Apply a patch to use a relative path
instead.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions: ignore inapplicable linux-yocto CVEs
Geoffrey GIRY [Wed, 5 Apr 2023 10:34:54 +0000 (12:34 +0200)] 
cve-extra-exclusions: ignore inapplicable linux-yocto CVEs

Multiple CVEs are patched in kernel but appear as active because the NVD
database is not up to date.

In common file cve-extra-exclusion.inc, CVEs are ignored if and only if
all versions of kernel used are patched.

In cve-exclusion_6.1.inc, only ignore CVEs that are patched in v6.1,
and not patched in v5.15.
Recipes of version 6.1 should include this file.

Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Geoffrey GIRY <geoffrey.giry@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxdg-utils: Fix CVE number
Richard Purdie [Wed, 5 Apr 2023 07:38:48 +0000 (08:38 +0100)] 
xdg-utils: Fix CVE number

In the previous commit I somehow mixed up and used an incorrect CVE number.
Use the correct one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosanity.bbclass: Update minimum gcc version to 8.0
Mark Hatle [Tue, 4 Apr 2023 14:54:47 +0000 (09:54 -0500)] 
sanity.bbclass: Update minimum gcc version to 8.0

With a gcc older then 8.0, mesa-native will fail to build with the error:
  sorry, unimplemented: non-trivial designated initializers not supported

According to https://docs.mesa3d.org/install.html?highlight=gcc+version#compile
the required minimum compiler version is now GCC 8.0.

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions.inc: Exclude some issues not present in linux-yocto
Richard Purdie [Tue, 4 Apr 2023 16:42:57 +0000 (17:42 +0100)] 
cve-extra-exclusions.inc: Exclude some issues not present in linux-yocto

Exclude some CVEs where the patches were backported to the stable series
kernels we have.

https://www.linuxkernelcves.com/cves/CVE-XXXX-XXXX is useful to help
with this.

Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxdg-utils: Add a patch for CVE-2020-27748
Richard Purdie [Tue, 4 Apr 2023 12:58:22 +0000 (13:58 +0100)] 
xdg-utils: Add a patch for CVE-2020-27748

Take a patch submitted upstream for the issue while upstream decide what
to do. We don't use thunderbird integration so this isn't an issue for us.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovte: depend on glib-2.0-native
Petr Kubizňák [Tue, 4 Apr 2023 10:57:47 +0000 (12:57 +0200)] 
vte: depend on glib-2.0-native

When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but vte has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins: package the internal libraries explicitly
Ross Burton [Mon, 3 Apr 2023 19:27:51 +0000 (20:27 +0100)] 
gstreamer1.0-plugins: package the internal libraries explicitly

An upcoming change will simplify the setuptools3-base FILES assignments,
which means this recipe needs to package a library explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobind: don't package non-existant .la files into -staticdev
Ross Burton [Mon, 3 Apr 2023 10:53:06 +0000 (11:53 +0100)] 
bind: don't package non-existant .la files into -staticdev

If these files exist they should be packaged into PN-dev, and are with
the default FILES:${PN}-dev.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses-recipe/setuptools3-base: clean up FILES assignments
Ross Burton [Mon, 3 Apr 2023 10:53:05 +0000 (11:53 +0100)] 
classes-recipe/setuptools3-base: clean up FILES assignments

Simply inheriting setuptools3-base should put everything in $libdir in
PN, and there's no need to replicate the pkgconfig packaging rules as
those are the defaults.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibnotify: depend on glib-2.0-native
Petr Kubizňák [Mon, 3 Apr 2023 11:06:46 +0000 (13:06 +0200)] 
libnotify: depend on glib-2.0-native

When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but libnotify has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: add missing dependencies
Petr Kubizňák [Mon, 3 Apr 2023 11:06:45 +0000 (13:06 +0200)] 
webkitgtk: add missing dependencies

When gobject-introspection feature is disabled, gettext-native and
glib-2.0-native dependencies are not pulled in, which causes failures
in do_compile due to missing xgettext and gdbus-codegen.

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogconf: add missing dependencies
Petr Kubizňák [Mon, 3 Apr 2023 11:06:44 +0000 (13:06 +0200)] 
gconf: add missing dependencies

When gobject-introspection feature is disabled, glib-2.0-native
and gobject-introspection package dependencies are not pulled in
but gconf has a hard dependency on them (do_configure fails due to
missing introspection.m4 file and glib-gettextize).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pygobject: depend on gobject-introspection
Petr Kubizňák [Mon, 3 Apr 2023 11:06:43 +0000 (13:06 +0200)] 
python3-pygobject: depend on gobject-introspection

When g-i feature is disabled, the gobject-introspection package
dependency is not pulled in but pygobject has a hard dependency on it.

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agographene: add gobject-types PACKAGECONFIG
Petr Kubizňák [Mon, 3 Apr 2023 11:06:42 +0000 (13:06 +0200)] 
graphene: add gobject-types PACKAGECONFIG

Add an option to enable/disable build of graphene-gobject. When
enabled, add glib dependency (not pulled in implicitly if
the gobject-introspection feature is disabled).

Default is to enable gobject-types so that graphene-gobject is built
(dependency of gtk4).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoreport-error: catch Nothing PROVIDES error
Mingli Yu [Mon, 3 Apr 2023 09:35:51 +0000 (17:35 +0800)] 
report-error: catch Nothing PROVIDES error

Make the report-error catch Nothing PROVIDES error and then
we can check it directly via error report web.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: update 1.67.1 -> 1.68.1
Alexander Kanavin [Fri, 31 Mar 2023 05:26:33 +0000 (07:26 +0200)] 
rust: update 1.67.1 -> 1.68.1

Rebase patches; one of the vendored crossbeam versions
has been removed upstream, and so crossbeam_atomic.patch
is adjusted accordingly.

Replace getrandom-open64.patch with a backport.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: install llvm item only once
Alexander Kanavin [Fri, 31 Mar 2023 05:26:32 +0000 (07:26 +0200)] 
rust: install llvm item only once

Otherwise it triggers a rebuild of llvm-dependent rust pieces every time rust_runx is called,
lengthening the builds without need.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: do not run separate build/install steps
Alexander Kanavin [Fri, 31 Mar 2023 05:26:31 +0000 (07:26 +0200)] 
rust: do not run separate build/install steps

Upstream does not actually use or test it this way; if the goal
is to install items, then install target should be executed directly.

In particular, in latest rust release building stage 2 items has regressed
altogether (incorrect dependencies between rust-analyze tool and the
libs it needs) and no one noticed.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: respect IMAGE_LINK_NAME
Martin Jansa [Thu, 30 Mar 2023 23:27:24 +0000 (01:27 +0200)] 
runqemu: respect IMAGE_LINK_NAME

* when searching for qemuboot.conf
* don't assume that IMAGE_LINK_NAME is always
  <rootfs>-<machine> (with <rootfs>-<machine>.qemuboot.conf)

* runqemu: use IMAGE_LINK_NAME set by testimage.bbclass or query with bitbake -e

* testimage.bbclass was setting DEPLOY_DIR which I don't see used
  anywhere else, so I assume it was supposed to be DEPLOY_DIR_IMAGE as mentioned
  in corresponding runqemu code, do the same with IMAGE_LINK_NAME variable

* add virtual/kernel as bitbake -e target in run_bitbake_env to make
  sure IMAGE_LINK_NAME is defined (kernel-artifact-names.bbclass inherits
  image-artifact-names.bbclass as well)

* improve .qemuboot.conf search
  1st search for file matching the rootfs and only when not found
  try again with .rootfs suffix removed

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib by updat...
Wentao Zhang [Mon, 27 Mar 2023 09:31:45 +0000 (17:31 +0800)] 
python3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib by updating test_sysconfig for posix_user purelib

Steps to trigger the failed test:
Edit local.conf to add something as follows:
    BASELIB = "lib64"
    IMAGE_INSTALL:append = " python3-tests".
bitbake core-image-sato
runqemu qemux86-64 nographic slirp
Reproducer:
    $python3 -m test test_sysconfig

sysconfig.py use platlibdir for purelib. Update
test_sysconfig.test_user_similar() for the posix_user
scheme: "purelib" doesn't use sys.platlibdir.

Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoshadow: Fix can not print full login timeout message
Soumya [Fri, 31 Mar 2023 16:26:51 +0000 (16:26 +0000)] 
shadow: Fix can not print full login timeout message

When we do not enter password during login, it is expected to display message "Login timed out after 60 seconds". But it prints only first few bytes(like "Login t") when write is immediately followed by exit.
Fix - Calling exit from new handler provides enough time to display full message.

Upstream-Status: Accepted [https://github.com/shadow-maint/shadow/commit/670cae834827a8f794e6f7464fa57790d911b63c]

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoavahi: add missing dependencies
Petr Kubizňák [Fri, 31 Mar 2023 11:46:29 +0000 (13:46 +0200)] 
avahi: add missing dependencies

When gobject-introspection feature is disabled, glib-2.0-native
and gobject-introspection package dependencies are not pulled in
but avahi has a hard dependency on them (do_configure fails due
to missing introspection.m4 file, do_compile fails due to missing
glib-mkenums).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime: clean up deprecated backslash expansion
Ross Burton [Fri, 31 Mar 2023 13:09:11 +0000 (14:09 +0100)] 
oeqa/runtime: clean up deprecated backslash expansion

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoat-spi2-core: depend on glib-2.0-native
Petr Kubizňák [Fri, 31 Mar 2023 11:46:34 +0000 (13:46 +0200)] 
at-spi2-core: depend on glib-2.0-native

When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but at-spi2-core has a hard dependency on it
(do_configure fails due to missing glib-genmarshal).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibgudev: depend on glib-2.0-native
Petr Kubizňák [Fri, 31 Mar 2023 11:46:33 +0000 (13:46 +0200)] 
libgudev: depend on glib-2.0-native

When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but libgudev has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agojson-glib: depend on glib-2.0-native
Petr Kubizňák [Fri, 31 Mar 2023 11:46:32 +0000 (13:46 +0200)] 
json-glib: depend on glib-2.0-native

When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but json-glib has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoharfbuzz: depend on glib-2.0-native
Petr Kubizňák [Fri, 31 Mar 2023 11:46:31 +0000 (13:46 +0200)] 
harfbuzz: depend on glib-2.0-native

When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but harfbuzz has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoselftest: runqemu: use better error message when asserts fail
Martin Jansa [Thu, 30 Mar 2023 23:27:23 +0000 (01:27 +0200)] 
selftest: runqemu: use better error message when asserts fail

* It was showing whole log and that the runqemu command failed, but not
  where the log file is, nor why it thinks the runqemu failed

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>