summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-01-10kmscube: Change header file to <GLES3/gl3.h>Fabio Estevam
Since kmscube commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube fails to build on platforms without <GL/gl.h>. Fix it by changing the header file to <GLES3/gl3.h>. Reported-by: Martin Jansa <martin.jansa@gmail.com> (From OE-Core rev: f44f79298fc909aea9fcc8ebc848a96e9ff5a647) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10linux-firmware: Fix the linux-firmware-bcm4373 FILES variableRodrigo M. Duarte
This commit includes the 'cyfmac4373-sdio.clm_blob' file in the list of files for the linux-firmware-bcm4373 package. Without this file, the linux-firmware package adds all firmware packages to the image. (From OE-Core rev: 7886d3b77200e4488393fa11c8198658fcf386cd) Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10rng-tools: remove obsolete build time dependency on sysfsutilsdavid d zuhn
This package used to use libsysfs, but has been modified to read the /sys file system directly. This build dependency is no longer needed. (From OE-Core rev: 9ee39dd1d505f787e7bf4e3aa2b527f17c3a78cd) Signed-off-by: david d zuhn <david.zuhn@sonos.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10syslinux: Allow mtools to be optionalJoshua Watt
Adds a PACKAGECONFIG to syslinux to determine if the mtools version of the utilities is installed or not. The difference between the two versions is that the mtools version can be used by any user with write permission, while the non-mtools can only be used by root. The syslinux-nomtools package is removed, as it was empty and doesn't appear to be used anyway (From OE-Core rev: 06da552733091bc8d332bb932c86cbc8362d44b9) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10systemd: add udev-bash-completion packageCorentin Guillevic
Move the 'udevadm' autocompletion script into a dedicated package. Indeed, bash (and therefore, the bash-completion package) is not always installed. But the 'udevadm' autocompletion script remains in ${datadir}/bash-completion. Creating a dedicated package allows better split, and avoids installing it if the bash-completion package is missing. (From OE-Core rev: 7155ceadbd90b7c90fa0d734f8bc8b089ddd12f3) Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10u-boot: Upgrade to 2024.01Fabio Estevam
Upgrade to U-Boot 2024.01. (From OE-Core rev: 727ff6fed97118113dc191605bf5551ca0da134d) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10selftest/sstatetests: include fetcher diagnostics into CDN test failure messageAlexander Kanavin
This will help finding out what kind of error the server actually returned, as sporadic CDN failures continue to occur. [YOCTO #15335] (From OE-Core rev: 7f09c4c5a0fe4ff213f205927f618a77b72aeef3) 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>
2024-01-10icon-naming-utils: take tarball from debianAlexander Kanavin
Upstream website has disappeared; the tarball can still be downloaded but this is probably not for long. (From OE-Core rev: af59c518467d1174d1d63594fdd3279a2fdbd8f8) 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>
2024-01-10libpcre2: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 0eb4e166d293e0e595e4d0a70f378cb8014425ee) 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>
2024-01-10taglib: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 2ed130333fb4f378e4d2a91b3d37d12716dd41f7) 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>
2024-01-10gptfdisk: Make the version consistentMingli Yu
The previous change [262aa17e0e popt: update 1.18 -> 1.19] backports a patch [1] for gptfdisk and make the version bump from 1.0.9 to 1.0.9.1 and make the package version inconsistent as below: root@qemux86-64:~# rpm -qa | grep gptfdisk gptfdisk-1.0.9-r0.core2_64 root@qemux86-64:~# rpm -ql gptfdisk /usr /usr/sbin /usr/sbin/cgdisk /usr/sbin/fixparts /usr/sbin/gdisk /usr/sbin/sgdisk root@qemux86-64:~# gdisk --help GPT fdisk (gdisk) version 1.0.9.1 [snip] So update the bumped version part to make the package version consistent. [1] https://sourceforge.net/p/gptfdisk/code/ci/5d5e76d369a412bfb3d2cebb5fc0a7509cef878d (From OE-Core rev: 8b43f06736321c3e9e6a9f418139058be4f2b355) 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>
2024-01-10python3-cython: update 0.29.36 -> 3.0.7Alexander Kanavin
pep517 build backends require cython 3.x when python is at 3.12, so we can't hold this update any longer. There are only a few things in meta-oe and meta that break anymore, and fixes for them are provided at the same time as this patch. License-update: http -> https (From OE-Core rev: 21507a3be23a604259a6a903a7083db54d29487f) 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>
2024-01-10python3-pyyaml: make compatible with cython 3.xAlexander Kanavin
This has been rejected by upstream in favour of requiring obsolete cython until there's 'proper' 3.x support. Months later, there's still no progress so let's just take the rejected fix, as it does work (as reported by others as well), and allows moving forward with cython. (From OE-Core rev: cf4e45176a37b6f53a6316ec6b1556d6aea39b57) 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>
2024-01-10selftest/sstatetest: re-enable gcc printdiff testAlexander Kanavin
(From OE-Core rev: 976832eb0c3fc0170a84ff7ab92352ca6f18c383) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10selftest/sstatetests: fix up printdiff test to match rework of printdiff logicAlexander Kanavin
Other than the formatting changes, there are two functional ones: - use perlcross instead of quilt, as quilt is special in the sense of being excluded from task hash calculcations. perlcross is a full participant. - run the full test (local + sstate) for gcc do_preconfiure change as the necessary fix has been implemented (sstatesig/find_siginfo: special-case gcc-source when looking in sstate caches) Note that when several tasks are found to have changed (as is the case when base do_configure is adjusted), find_siginfo() runs glob.glob("*/*/*taskname*") against autobuilder sstate cache for each of those tasks (six or seven times). This is an expensive operation taking several minutes. I left it in for now, but if it's proven too slow the test would have to be reduced to checking a specific base recipe (e.g. zstd-native) rather than a distant image target. [YOCTO #15289] (From OE-Core rev: 0ef7cf324718412c5b6c376acfbc4079ecd7d465) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: bitbake/runqueue: rework 'bitbake -S printdiff' logicAlexander Kanavin
Previously printdiff code would iterate over tasks that were reported as invalid or absent, trying to follow dependency chains that would reach the most basic invalid items in the tree. While this works in tightly controlled local builds, it can lead to bizarre reports against industrial-sized sstate caches, as the code would not consider whether the overall target can be fulfilled from valid sstate objects, and instead report missing sstate signature files that perhaps were never even created due to hash equivalency providing shortcuts in builds. This commit reworks the logic in two ways: - start the iteration over final targets rather than missing objects and try to recursively arrive at the root of the invalid object dependency. A previous version of this patch relied relies on finding the most 'recent' signature in stamps or sstate in a different function later, and recursively comparing that to the current signature, which is unreliable on real world caches. - if a given object can be fulfilled from sstate, recurse only into its setscene dependencies; bitbake wouldn't care if dependencies for the actual task are absent, and neither should printdiff I wrote a recursive function for following dependencies, as doing recursive algorithms non-recursively can result in write-only code, as was the case here. [YOCTO #15289] (Bitbake rev: aadeca63da5d96160ce4d6d71da556e2e033f9b7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: ui/knotty: properly handle exceptions when calling runCommand()Mark Asselstine
In runCommand() the send() and recv() can fail and raise BrokenPipeError and EOFError exceptions when the bitbake-server is unexpectedly terminated. In these cases a python traceback is currently dumped. Similarly updateFromServer() which calls runCommand() can also raise these and other exceptions, and currently lacks proper exception handling resulting in python traceback. We wrap calls to runCommand() and updateFromServer() in a try/except block as well as improve the exception handling for updateToServer(). This along with the earlier commit which added text to the BrokenPipeError and EOFError exceptions in runCommand() to indicate a bitbake-server termination may have occurred, should improve the user's ability to understand and handle these errors. An easy way to trigger each of the runCommand() exceptions is to 'kill -9' bitbake-server before (causes EOFError) or after (causes BrokenPipeError) the "Loading Cache" stage. (Bitbake rev: 804d366ee3ddc0f37f0a6c712c8d42db45b119bc) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: server/process: catch and expand multiprocessing connection exceptionsMark Asselstine
Doing builds on systems with limited resources, or with high demand package builds such as chromium it isn't uncommon for the OOM Killer to be triggered and for bitbake-server to be selected as the process to be killed. When the bitbake-server does terminate unexpectedly due to the OOM Killer or otherwise, this currently results in a generic python traceback with little indication as to what has failed. Here we trap and raise the exceptions while extending the exception text in runCommand() to make it clear that this is most likely caused by the bitbake-server unexpectedly terminating. Callers of runCommand() should be updated to properly handle the BrokenPipeError and EOFError exceptions to avoid printing a python traceback, but even if they don't, the added text in the exceptions should provide some hints as to what might have caused the failure. (Bitbake rev: 5ff62b802f79acc86bbd6a99484f08501ff5dc2d) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: ast: Fix EXPORT_FUNCTIONS bugRichard Purdie
If you have two classes, both of which set EXPORT_FUNCTIONS for the same funciton and a standard funciton definition for the function that is exported, the export function can sometimes overwrite the standard one. The issue is that the internal flag the code uses isn't ovweritten if the variable is giving a new value. Fix the issue by using a comment in the code that is injected so that we know if it is ours or not. Also add some testing for EXPORT_FUNCTIONS, not perfect but a start. (Bitbake rev: 66306d5151acb0a26a171c338d8f60eb9eb16c6b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: fetch/wget/checkstatus(): include the URL in debugging output about ↵Alexander Kanavin
status check failure Previously the output wasn't useful for finding out what was the actual URL that failed, particularly in heavily multi-threaded invocations: DEBUG: checkstatus() urlopen failed: HTTP Error 404: Not Found With this change, the problem is described specifically: DEBUG: checkstatus() urlopen failed for http://cdn.jsdelivr.net/yocto/sstate/all/universal/4f/91/sstate:gettext-minimal-native:x86_64-linux:0.22.4:r0:x86_64:11:4f91b650ebd7be601cbd0e3a37a8cc6385a3f4ee616f931969b50709ed8bf044_create_spdx.tar.zst: HTTP Error 404: Not Found This will help with CDN cache tests in particular. When some object isn't available, we need to know why: 4xx error, 5xx error, timeout error or any other issue. (Bitbake rev: ecd9b92815563509f55264ed6e7498aee797cedd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: fetch/checkstatus(): do not print the URI twice in FetchError exceptionAlexander Kanavin
Previously, there was duplicate clutter in the output, particularly if the URI points to sstate cache items: bb.fetch2.FetchError: Fetcher failure for URL: {uri}. URL {uri} doesn't work (Bitbake rev: 61537b8a98b963e4af265e046d41407b32fa5935) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: bitbake: tests/event: Add test_lineno_in_eventhandlerRobert Yang
Add test_lineno_in_eventhandler to test lineno in eventhandler. (Bitbake rev: 4e5de537bebb68180c5755858c81b095eb9ae2f6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: bitbake: event: Inject empty lines to make code match lineno in ↵Robert Yang
filename So that we can get the correct error messages. * In python 3.10.9, the error message was: ERROR: Unable to register event handler 'defaultbase_eventhandler': File "/path/to/poky/meta/classes-global/base.bbclass", line 4 # SPDX-License-Identifier: MIT ^^^^^ SyntaxError: invalid syntax This is hard to debug since the error line number 4 is incorrect, but nothing is wrong with the code in line 4. * Now the error message and lineno is correct: ERROR: Unable to register event handler 'defaultbase_eventhandler': File "/path/to/poky/meta/classes-global/base.bbclass", line 256 an error line ^^^^^ SyntaxError: invalid syntax And no impact on parsing time: * Before: $ rm -fr cache tmp; time bitbake -p real 0m27.254s * Now: $ rm -fr cache tmp; time bitbake -p real 0m27.200s (Bitbake rev: c212933d9c786806852c87f188250a4f0a14c048) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: toaster/tests: Bug-fix ToasterTable show_rows testcasesAlassane Yattara
Test if some rows are visible in table instead of compare row to row_to_show, because sometime full avaiblable content did not display Failed: https://autobuilder.yoctoproject.org/typhoon/#/builders/161/builds/147/steps/12/logs/stdio (Bitbake rev: 5b0a48265aafa62259c575707c3afa6dd56f8008) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: toaster/tests: Bug-fix "element not interactable" in ↵Alassane Yattara
TestLayerDetailsPage::test_edit_layerdetails Failed: https://autobuilder.yoctoproject.org/typhoon/#/builders/161/builds/143/steps/12/logs/stdio (Bitbake rev: 187e96eb7393632f28a195f280fa133439bdc0fa) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: toaster/tests: bug-fix "#hint-error-project-name" should be visibleAlassane Yattara
Failed: https://autobuilder.yoctoproject.org/typhoon/#/builders/161/builds/142 (Bitbake rev: 0ee5f4e06476b0ec2f5ea8c9f05d299ddda6312b) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-10bitbake: toaster/tests: Setup delay after driver action self.get(url)Alassane Yattara
Recurring test failures result from insufficient delays in driver actions. (Bitbake rev: b0de2a61d14fbf30e338751b285b3bab80192275) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-09qemu.bbclass: fix a python TypeErrorMing Liu
QEMU_OPTIONS can be empty which will trigger a exception TypeError: | can only concatenate str (not "NoneType") to str. Fix it by setting a empty string. ALso removed two useless blanks. (From OE-Core rev: b619197bd52a4a99a9989e7ea6fb7032415b1e42) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-09usbutils: Update to version 017Fabio Estevam
Update to version 017 and add a patch to fix a buildpath error. (From OE-Core rev: 66877ee144a4ccf36c55a8c027a36a21bb58fa47) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-09libusb1: Do not match on -rc versionsFabio Estevam
Currently, the upstream check gives incorrect results: $ devtool latest-version libusb1 ... INFO: Current version: 1.0.26 INFO: Latest version: 1.0.27 There is no 1.0.27 release yet, only 1.0.27-rc1. Anuj Mittal has submitted the fix in v2: https://lists.openembedded.org/g/openembedded-core/message/192683 but the original version was applied instead. Fix it by passing "$" to make an exact match on the version. With this change applied, devtool reports the correct latest version: INFO: Current version: 1.0.26 INFO: Latest version: 1.0.26 (From OE-Core rev: 81b97e4727592e4abbbab284b8d8161c1eda52b8) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-09devtool/standard: correctly escape \Alexander Kanavin
python 3.12 points out that: SyntaxWarning: invalid escape sequence '\*' (From OE-Core rev: bafb4b4edb4fb7908fdda272b7b2c2cbdef4728b) 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>
2024-01-09python3-attrs: enable ptestTim Orling
The conftest.py file is needed to define the "slots" and "frozen" fixtures for pytest (From OE-Core rev: c27ddbe1dcfae564e93593c90517c2b4502d1709) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-09python3-bcrypt: upgrade 4.1.1 -> 4.1.2Tim Orling
* Refresh -crates.inc https://github.com/pyca/bcrypt/compare/4.1.1...4.1.2 https://github.com/pyca/bcrypt/?tab=readme-ov-file#changelog https://github.com/pyca/bcrypt/?tab=readme-ov-file#412 * Publish both py37 and py39 wheels. This should resolve some errors relating to initializing a module multiple times per process. (From OE-Core rev: 2f428acc78e37aec78d11aac9605f0311b6b9c4a) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-09elfutils: Update license informationWilliam Lyu
Update license information for overall package, package libraries, and package utilities in the recipe to match the license information as described on the upstream website [1]: "License. The libraries and backends are dual GPLv2+/LGPLv3+. The utilities are GPLv3+." [1] https://sourceware.org/elfutils (From OE-Core rev: c0728805f24cbd6a788871ae54af4ec8307e40d4) Signed-off-by: William Lyu <William.Lyu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-09util-linux/util-linux-libuuid: ugprade from 2.39.2 to 2.39.3Chen Qi
License-Update: =============== GPL-1.0-or-later is added. fdisk.c is licensed under it. 0001-lscpu-Use-4K-buffer-size-instead-of-BUFSIZ.patch is dropped as it's been in the new version. (From OE-Core rev: 9a0bd46e6988b2da446f89864131639dde63c6d0) 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>
2024-01-07bitbake: toaster/tests: Delay driver first action on create new project pageAlassane Yattara
Wait for element visible on create new project page (Bitbake rev: 664de3f6d3484b94f5d82ec634b512b825553aa9) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07bitbake: toaster/tests: Bug-fix element click interceptedAlassane Yattara
Fix "element click intercepted" on TestProjectConfigTab::test_project_config_tab_right_section (Bitbake rev: c8685c762aa1fab687ff3a0943487675ef720755) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07bitbake: toaster/tests: Bug-fix on ↵Alassane Yattara
TestProjectConfigTab::test_image_recipe_show_rows Check some rows are visible in table instead of compare table row to row_to_show, because recipe image table sometime doesn't display full avaiblable images (Bitbake rev: 1e2e5927ef7a8adfd3d0a3be1c75b4aa410d9908) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07gawk: Add coreutils to rdeps for ptests packageKhem Raj
newer gawk 5.3.0+ added a new testcase test/cmdlinefsbacknl2.sh which use od utility with -An option which is not available in busybox provided od applet. Replacing -An is not possible because default output for od is octal and the test wants to use none for radix thats why it uses -An. Fixes test/cmdlinefsbacknl2.sh failures in ptests which fails like below Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE] od: unrecognized option: A BusyBox v1.36.1 () multi-call binary. Sadly, this prolongs depchain if ptest distro feature is used but there is no other option if this test has to execute. Perhaps its best to report this to upstream gawk and request to fix the testcase to not hard depend on coreutils/od utility (From OE-Core rev: ddcf27939625d96ee44e9c2297d5b17fa6cf46a0) 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>
2024-01-07oeqa systemd.py: settle() using "running" or "degraded" stateMikko Rapeli
systemd boot has completed when system is in "running" or "degraded" (some services failed) state. Check for that in the systemd settle() function instead of listing all services and checking their activation state since some services are in activation state even when whole system is already in "running" state. Examples of services which can be in activation state are rootfs auto mounting related generated services. Without this patch systemd test_systemd_list (systemd.SystemdBasicTests) times out on an image with dm-verity /usr partition and systemd generated rootfs: NOTE: ... FAIL Traceback (most recent call last): File "/home/builder/src/base/build/../poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f return func(*args, **kwargs) File "/home/builder/src/base/poky/meta/lib/oeqa/runtime/cases/systemd.py", line 97, in test_systemd_failed self.assertTrue(settled, msg=msg) AssertionError: False is not true : Timed out waiting for systemd to settle: UNIT LOAD ACTIVE SUB DESCRIPTION dev-disk-by\x2did-dm\x2dname\x2droot.device loaded activating tentativ e /dev/disk/by-id/dm-name-root dev-disk-by\x2did-dm\x2dname\x2dusr.device loaded activating tentativ e /dev/disk/by-id/dm-name-usr dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS2\x2df2b944f394174eb5918cb6af2c6b4cb2\x2droot.device loaded activating tentativ e /dev/disk/by-id/dm-uuid-CRYPT-LUKS2-f2b944f394174eb5918cb6af2c6b4cb2-root dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dVERITY\x2d3dd703c88f1946658697a6d57617473b\x2dusr.device loaded activating tentativ e /dev/disk/by-id/dm-uuid-CRYPT-VERITY-3dd703c88f1946658697a6d57617473b-usr dev-disk-by\x2duuid-bfbf856e\x2d3c65\x2d4eb2\x2d9ffb\x2d8e0b11641d85.device loaded activating tentativ e /dev/disk/by-uuid/bfbf856e-3c65-4eb2-9ffb-8e0b11641d85 dev-dm\x2d0.device loaded activating tentativ e /dev/dm-0 dev-dm\x2d1.device loaded activating tentativ e /dev/dm-1 ... Fix is to check for the systemd global "running" or "degraded" state. Note that it would be possible to use a blocking call "systemctl is-system-running --wait" to exit after system enters "running" or "degraded" state but using the existing loop for a 2 minute timeout. (From OE-Core rev: 3b013ae441d117adeda0d9950e02e9f7d0deba2f) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07devtool: modify: fix exceptionJamin Lin
Root Cause: initial_revs is an empty dictionary and do not have "." key. Traceback (most recent call last): File "scripts/devtool", line 349, in <module> ret = main() File "scripts/devtool", line 336, in main ret = args.func(args, config, basepath, workspace) File "scripts/lib/devtool/standard.py", line 922, in modify if not initial_revs["."]: KeyError: '.' Solution: check key exists, then get its value. (From OE-Core rev: fb0db5c48abb4d56233a175fdd349d18b972e452) Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07python3-lxml: upgrade 4.9.4 -> 45.0.0Wang Mingyu
Changelog: ========== -LP#1976304: The "Element.addnext()" method previously inserted the new element before existing tail text. The tail text of both sibling elements now stays on the respective elements. -LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after parsing incorrect input. -"Element.itertext(with_tail=False)" returned the tail text of comments and processing instructions, despite the explicit option. -GH#370: A crash with recent libxml2 2.11.x versions was resolved. -A compile problem with recent libxml2 2.12.x versions was resolved. -The internal exception handling in C callbacks was improved for Cython 3.0. -The exception declarations of "xmlInputReadCallback", "xmlInputCloseCallback", -"xmlOutputWriteCallback" and "xmlOutputCloseCallback" in "tree.pxd" were corrected to prevent running Python code or calling into the C-API with a live exception set. -GH#385: The long deprecated "unittest.makeSuite()" function is no longer used. -LP#1522052: A file-system specific test is now optional and should no longer fail on systems that don't support it. -GH#392: Some tests were adapted for libxml2 2.13. -Contains all fixes from lxml 4.9.4. (From OE-Core rev: 5d9cd0ef5f7235eb5c8495a803bea6940c2994fe) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07python3-attrs: upgrade 22.1.0 -> 23.2.0Wang Mingyu
Changelog: =========== - The type annotation for 'attrs.resolve_types()' is now correct. - Type stubs now use 'typing.dataclass_transform' to decorate dataclass-like decorators, instead of the non-standard '__dataclass_transform__' special form, which is only supported by Pyright. - Fixed serialization of namedtuple fields using 'attrs.asdict/astuple()' with 'retain_collection_types=True'. - 'attrs.AttrsInstance' is now a 'typing.Protocol' in both type hints and code. This allows you to subclass it along with another 'Protocol'. - If *attrs* detects that '__attrs_pre_init__' accepts more than just 'self', it will call it with the same arguments as '__init__' was called. This allows you to, for example, pass arguments to 'super().__init__()'. - Slotted classes now transform 'functools.cached_property' decorated methods to support equivalent semantics. - Added *class_body* argument to 'attrs.make_class()' to provide additional attributes for newly created classes. It is, for example, now possible to attach methods. (From OE-Core rev: 9070758f0bb806f763a0d07b2b58b8b84b255880) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07sudo: upgrade from 1.9.15p2 to 1.9.15p5Chen Qi
(From OE-Core rev: 4b2eccc0ee3f2906f9b04de194b9df6e24c2cdf4) 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>
2024-01-07dbus-wait: bump srcrevChen Qi
This upgrade only includes one new commit: 64bc7c8 SECURITY.md: Add file (From OE-Core rev: ea1705501c2e8933a94b5a1d19f6e36d46a5b481) 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>
2024-01-07libcap-ng-python: upgrade 0.8.3 -> 0.8.4Yi Zhao
ChangeLog: - In capng_change_id, clear PR_SET_KEEPCAPS if returning an error - pscap: add -p option for reporting a specified process - Annotate function prototypes to warn if results are unused - Drop python2 support * Remove "--with-python" option as python2 support was dropped. (From OE-Core rev: ee0eab240976f3bd0c9050694524336368c96201) 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>
2024-01-07libcap-ng: upgrade 0.8.3 -> 0.8.4Yi Zhao
ChangeLog: - In capng_change_id, clear PR_SET_KEEPCAPS if returning an error - pscap: add -p option for reporting a specified process - Annotate function prototypes to warn if results are unused - Drop python2 support * Remove "--with-python" option as python2 support was dropped. (From OE-Core rev: 8d2fbe1de759d36a8aeb184aaf89bb7c14fb3760) 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>
2024-01-07rpm: Fix build with muslKhem Raj
(From OE-Core rev: cd610101dc8fcb0cabe351085d36823c5bd7eb19) 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>
2024-01-07connman: Fix build with muslKhem Raj
(From OE-Core rev: d0139bcbe0499e570f02f8f7b7e364763f7359ec) 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>
2024-01-07python3-pytest: upgrade 7.4.3 -> 7.4.4Wang Mingyu
Changelog: ============ -Fix non-string constants at the top of file being detected as docstring s on Python>=3.8. -Handle an edge case where sys.stderr and sys.__stderr__ might already be closed when Fault Handler is tearing down. -Fixed tracebacks from collection errors not getting pruned. -Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in __iter__ methods. Now they are treated un-iterable instead. -Updated documentation to refer to hyphenated options: replaced --junitxml with --junit-xml and --collectonly with --collect-only. (From OE-Core rev: 14c73455c4b0ac369ba50a57b69e9c780022a485) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>