summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* epiphany: upgrade 48.3 -> 48.5Liu Yiding12 days4-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - appstream: Fix app id - window: rearrange disconnect_active_embed - window: disconnect correct callback in unregister embed function - window: also disconnect sync_tab_bookmarked_status - Simplify decision to remember passwords - web-view: don't use saved HTTP auth credentials in private modes - web-view: relocate authenticate_succeeded_cb - web-view: fix HTTP auth on authenticationtest.com - web-extension-manager: fix web process extension init regression - Show created instead of modified time in webapp overview - Don't consider og:image for web app icon - window-commands: unref window in case of error - Update Chinese (Taiwan) translation - Update Slovak translation - Fix logic error breaking the password manager - Update Japanese translation - shell: Fix startup crash on Pantheon - action-bar-end: Fix startup crash on Pantheon - ephy-password-import: improve robustness - ci: generate new image for style checker - Fix PKCS #11 login for invalid cert/priv pairs - Update Romanian translation - Attempt to fix release CI (From OE-Core rev: 45b56dd036d6c0b6d843d241065b47f86c07b82f) Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at-spi2-core: upgrade 2.56.2 -> 2.56.3Liu Yiding12 days1-1/+1
| | | | | | | | | | | | | | | | Changelog: ========== - DeviceEventController: update mouse coordinates before sending button events - Return localized role name for ATSPI_ROLE_EDITBAR - Revert "Return localized role name for ATSPI_ROLE_EDITBAR" - Return localized role name for ATSPI_ROLE_EDITBAR - atspi-device-legacy: Don't crash when XkbGetMap fails (From OE-Core rev: 9db21ce6bf37541b089751311a4b8781adb0263c) Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* less: upgrade 678 -> 679Liu Yiding12 days1-1/+1
| | | | | | | | | | | | | Changelog: ========== - Fix bad parsing of lesskey file an env var is a prefix of another env var - Fix unexpected exit using -K if a key press is received while reading the input file (From OE-Core rev: 25f101eecdb9921bf42c99b63dd6f036ceff00b5) Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.76 -> 0.78Liu Yiding12 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - ecc: Check return value of l_getrandom() - unit: test-ecdh: Add bytes to l_getrandom wrapper - unit: Convert UUID test cases to use precheck feature - unit: Convert PBKDF2 test cases to use precheck feature - unit: Convert check for random support to use test precheck feature - unit: Make the failed precheck test case a success - test: Add flag for indication of inverted precheck results - unit: Use the precheck handler for testing available key support - unit: Use the precheck handler for testing available getrandom support - unit: Use the precheck handler for testing available checksum support - unit: Use the precheck handler for testing available cipher support - test: Provide test data also to the precheck function - unit: Add test cases for precheck of unit tests - test: Add support for precheck handler for unsupported kernel features - Add License variable to pkg-config file (From OE-Core rev: 07b4a4dd2c9e109939cff5a8c58fdf1d01c4d24a) Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* barebox-tools: upgrade 2025.06.0 -> 2025.07.0Liu Yiding12 days1-2/+2
| | | | | | | | | | | Changelog: https://lore.barebox.org/barebox/aGUtKn1BbPXi4Y9m@pengutronix.de/T/#u Migration Guide: https://barebox.org/doc/latest/migration-guides/migration-2025.07.0.html (From OE-Core rev: 3f809d8b0f1f8c65adf0dcdd296cec93978f3b0b) Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmicrohttpd: upgrade 1.0.1 -> 1.0.2Gyorgy Sarvari12 days1-1/+1
| | | | | | | | | | Changelog: It primarily fixes a double-close() bug on bind() errors. (From OE-Core rev: 14f061b792318349bbd4153f1c6ad5b43af65a41) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 25.1.5 -> 25.1.6Leon Anavi12 days1-2/+2
| | | | | | | | | | | | | | | | | | | | | | | - v3dv: regression in vkAllocateMemory importing gbm bo - Vulkan WSI (and zink) use threads on X11 even when the X connection isn't thread-safe - sddm-greeter-qt segfault when using nvk+zink - [regression][bisected] [FirePro W4100]: crashing/rebooting - Descriptor set layout with binding flags fails due to indices not matching bindings - piglit bindless texture tests crash - [radeonsi] Artifacts in Team Fortress 2 (bisected) - eglgears_wayland segfault on zink+nvk with PRIME - vn_renderer_virtgpu.c:13:10: fatal error: 'xf86drm.h' file not found - brw: mad instruction printing broken on Gfx11 - radv: RGB9E5 rendering does not ignore alpha write mask (From OE-Core rev: 0f43573fce7074dfe462e8f6df50404e7dc391c8) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: stable 2.41 branch updatesDeepesh Varatharajan12 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ git log --oneline 0c76c951620f9e12df2a89b2c684878b55bb6795..6e489c17f827317bcf8544efefa65f13b5a079dc 6e489c17f8 Fix error reporting (false negatives) in SGID tests 11e634ccf3 support: Pick group in support_capture_subprogram_self_sgid if UID == 0 61e461ed0c sparc: Fix sparc32 Fix argument passing to __libc_start_main (BZ 32981) Testing Results: Before After Diff PASS 5801 5809 +8 XPASS 4 4 0 FAIL 266 261 -5 XFAIL 16 16 0 UNSUPPORTED 164 161 -3 6e489c17f8 Fix error reporting (false negatives) in SGID tests Improved SGID test handling by unifying error reporting and using secure temporary directories. Replaced non-standard exit codes and fixed premature exits to avoid masking failures. These changes reduced false negatives, increasing overall test pass rates. UNSUPPORTED tests changes -UNSUPPORTED: stdlib/tst-secure-getenv -UNSUPPORTED: elf/tst-env-setuid-static -UNSUPPORTED: elf/tst-env-setuid-tunables FAILed tests changes -FAIL: stdio-common/bug22 -FAIL: stdio-common/tst-printf-format-f-char -FAIL: stdio-common/tst-printf-format-v-uchar -FAIL: stdio-common/tst-printf-format-v-ullong -FAIL: stdio-common/tst-printf-format-vas-double-F PASSed tests changes +PASS: stdlib/tst-secure-getenv +PASS: elf/tst-env-setuid-static +PASS: elf/tst-env-setuid-tunables +PASS: stdio-common/bug22 +PASS: stdio-common/tst-printf-format-f-char +PASS: stdio-common/tst-printf-format-v-uchar +PASS: stdio-common/tst-printf-format-v-ullong +PASS: stdio-common/tst-printf-format-vas-double-F (From OE-Core rev: 33b8431a1eaff6b01f1b2f89c27b5cff93154dae) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: Update to 20250709Robert Yang12 days1-2/+2
| | | | | | | | | | | | | | | | | | | | The version 20250709 is the author date. * The changes are: a2287c3 Adjust 'time-stamp' variables to modern Emacs 973e3e6 config.sub: Add Tock OS support 3a71dc1 config.sub: recognize banan_os f91a544 config.sub: fix a duplicated case pattern 484648c config.sub: Include support for arm64_32 and iOS/tvOS/watchOS simulators 84cc2cc Update copyright years 7f41495 config.sub: add intelgt as a basic machine 9f6e0fe ironclad: change ironclad to ironclad-mlibc (From OE-Core rev: 28372102300a1c670a6a4fcea3f2f527c73aee56) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pbzip2: Do not depend on char_trait template from stdlibKhem Raj12 days2-0/+117
| | | | | | | | | | | This implementation is not part of standard and some implementations e.g. libc++ have removed it starting with 19.x release (From OE-Core rev: 66faa33a0a6d046f01c4bff26012cb3b1e11dba6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: upgrade 1.1.0 -> 1.1.1Gyorgy Sarvari12 days2-41/+3
| | | | | | | | | | | | | | | | Dropped 0001-vrend-Fix-int-conversion-fatal-build-error-with-GCC-.patch because it is indluded in this release. Added python3-pyyaml as a build dependency - dependency was introduced in https://gitlab.freedesktop.org/virgl/virglrenderer/-/commit/194c75946a30e11b90ea46b6a6ddc5e62a9e9612 Changelog: https://gitlab.freedesktop.org/virgl/virglrenderer/-/releases/1.1.1 (From OE-Core rev: 37ecce70b675733997c9c9e883a9c8a6176f7931) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Skip semctl08 when __USE_TIME64_REDIRECTS is definedJiaying Song12 days2-1/+50
| | | | | | | | | | | | | | | | When __USE_TIME64_REDIRECTS is defined, glibc redirects struct semid_ds to a 64-bit time-safe version that omits the sem_otime_high and sem_ctime_high fields. As a result, the case becomes invalid, leading to incorrect behavior. This patch adds a check to skip the test when __USE_TIME64_REDIRECTS is defined, ensuring the test only runs when the semid_ds structurally matches semid64_ds and the *_high fields are accessible. (From OE-Core rev: 07410b54660f75465df8d428844893cbd0c295ea) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pybootchartgui: account for network stats when calculating extentsRoss Burton12 days1-0/+2
| | | | | | | | | | We could take into account the network device statistics when calculating the size of the image, otherwise charts will be truncated. (From OE-Core rev: 52806c2555d02d4a12e7419520a2aba05f7aaa06) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pybootchartgui: mark a regex as a raw stringRoss Burton12 days1-1/+1
| | | | | | | | | Otherwise Python tries to unescape the \s and warns that it can't. (From OE-Core rev: 45435a18f6ce665eba5b2e708a72a4f596deb017) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: upgrade 2.14.3 -> 2.14.5Hongxu Jia12 days4-42/+14
| | | | | | | | | | | Release notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.5 (From OE-Core rev: b82cb6d55033ffff79b5a767bd50b06989c0acfc) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: copy arch/powerpc/tools contentsChen Qi12 days1-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, using qemuppc64 as MACHINE and building things inside SDK, we'll get the following error: ERROR: modpost: "_mcount" undefined This is because after [1], MPROFILE_KERNEL is using arch/powerpc/tools/ contents to do the check. This in turn affects HAVE_OBJTOOL. """ arch/powerpc/Kconfig: select HAVE_OBJTOOL if ARCH_USING_PATCHABLE_FUNCTION_ENTRY || MPROFILE_KERNEL || PPC32 """ The current MPROFILE_KERNEL for powerpc: """ config MPROFILE_KERNEL depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endian) if CPU_LITTLE_ENDIAN def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) if CPU_BIG_ENDIAN """ If MPROFILE_KERNEL is disabled, thus HAVE_OBJTOOL being disabled, then FTRACE_MCOUNT_USE_RECORDMCOUNT will be enabled, causing this error. The scripts are listed and copied one by one. Their names and the reasons why they are copied are as below: gcc-check-mprofile-kernel.sh: needed by MPROFILE_KERNEL gcc-check-fpatchable-function-entry.sh: needed by ARCH_USING_PATCHABLE_FUNCTION_ENTRY head_check.sh/relocs_check.sh/unrel_branch_check.sh: needed by Makefile.postlink [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=abba759796f9b73eb24df9b734dd063839fc62e0 (From OE-Core rev: df1c7c276422eeaf0eac178aec377a315a249c52) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix fma steering segfault due to on aarch64Khem Raj12 days2-0/+70
| | | | | | | | | Seen with opengl-es-cts compilation for qemuarm64 (From OE-Core rev: 79fb0c1a73e659f32bd5d86d84c583233d09e473) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo-c: Upgrade to 0.10.14+cargo-0.89.0Khem Raj12 days4-238/+386
| | | | | | | | | Fix build on riscv32 while here. (From OE-Core rev: 34b07ad6330173fc8319b8db69410cf72af48395) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Update riscv32 patch with the backportKhem Raj12 days1-68/+307
| | | | | | | | | This is the patch that got merged into libc finally (From OE-Core rev: eb79f29c5c2bf8fce13c02c7d7ca362c61e2b0ff) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain/clang: Add clang specific sysroot dependenciesKhem Raj12 days1-0/+3
| | | | | | | | | | Add clang-cross to sysroot via POPULATESYSROOTDEPS to get llvm tools e.g. llvm-strip, llvm-nm etc when they are used at default STRIP/NM etc. (From OE-Core rev: 0d239586ec2f258a42d60f9fb6a058344516218a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* readline: 8.2.13 -> 8.3hongxu12 days3-36/+6
| | | | | | | | | | Remove obsolete patch: - 0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch (From OE-Core rev: 3e76f0f19c763ccf265ba9a5efe16fa9095ec76b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: upgrade 1.24.3 -> 2.0.0hongxu12 days5-136/+21
| | | | | | | | | | | | | | | | | | | | | | | Refresh 0001-pkgconfig.patch Due to upstream [python: Remove Python bindings][1], remove following patches - 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch - 0003-Correctly-install-python-modules.patch - 0006-fix-build-path-issue.patch Due to upstream [cpp,qt: Remove C++ and Qt bindings][2], remove cpp and qt bindings License-Update: copyright years updated, remove blank line [1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=932caf37d36eca2caec59bf48bc505364a5765bb [2] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=763d5f5d6a88ec938b8678ab597e1404af724553 (From OE-Core rev: ce7b5d5544a9acf342ef4a8f90a353399e3c2cb6) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix build with clang and libc++Khem Raj12 days2-0/+30
| | | | | | | | | | | Backport a fix to address random access iterator's expectation of being const-qualified inside libc++ std::__insertion_sort_unguarded implementation (From OE-Core rev: cfd74da11a5290b2e555e2f9f06779f816324ee1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: add traditional-activation PACKAGECONFIGWeisser, Pascal.ext12 days1-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Add traditional-activation PACKAGECONFIG to DBus recipe in order to allow users to enable or disable traditional DBus service activation. DBus service activation refers to automatically starting an application when a DBus message is sent to a service provided by that application. Traditionally, this is done by the DBus-daemon, thus, the term traditional here. On systems using systemd, systemd can do this, instead. On some systems it might be of interest to disable the traditional service activation in order to ensure that services are always started via systemd. Per default, traditional service activation is enabled for DBus. Thus, the traditional-activation PACKAGECONFIG is added to the default PACKAGECONFIG. Otherwise, we might introduce a breaking change here. The binary dbus-daemon-launch-helper isn't created in case DBus is built with traditional service activation disabled, so we change its attributes only when traditional service activation is turned on. (From OE-Core rev: 272aafbf0a2a1a158fdff42b6ce295fe861f1327) Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: clarify significance of "include_all" directiveRobert P. J. Day12 days1-30/+39
| | | | | | | | | | | | Rewrite the include and include_all sections to drive home the fact that the include_all directive is relevant in only very specific cases, and not something developers should expect to use in normal operation. (Bitbake rev: cac938c07622aaabbbb388ed935efc4b09143ba2) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/wget: Keep query parameters in URL during checkstatusPhilippe-Alexandre Mathieu12 days1-1/+4
| | | | | | | | | | | | | | | | | | | | When recreating the uri in wget's checkstatus method, we only use the scheme, netloc and path. This completely strips the query parameters from the final URI and potentially breaks the checking functionality from certain fetchers. This is the case for the Azure storage fetcher, as it requires a SAS token that is formatted as a series of query parameters. The error manifests itself when using a private storage account as a PREMIRROR or SSTATE_MIRROR (since regular SRC_URI won't run the checkstatus). This problem is present in scarthgap, but wasn't in kirkstone. CC: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> (Bitbake rev: 093fec5f019cc0a181782961452a8ccb9a19459d) Signed-off-by: Philippe-Alexandre Mathieu <pamathieu@poum.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-setup: add 'install-buildtools' commandAlexander Kanavin12 days2-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This basically calls install-buildtools from oe-core/poky, but it ensures via command line parameters that the installation location is stable and the downloads are preserved for reproducibility: $ bin/bitbake-setup install-buildtools Loading settings from /home/alex/bitbake-builds/bitbake-setup.conf ====== Buildtools archive is downloaded into /home/alex/bitbake-builds/yocto-master-testing/buildtools-downloads/20250319141333 and its content installed into /home/alex/bitbake-builds/yocto-master-testing/buildtools ... (output from install-buildtools script) ====== It also detects when buildtools are already installed, and will direct users what to do: ====== alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-setup install-buildtools Loading settings from /home/alex/bitbake-builds/bitbake-setup.conf Buildtools are already installed in /home/alex/bitbake-builds/yocto-master-testing/buildtools. If you wish to use them, you need to source the the environment setup script e.g. $ . /home/alex/bitbake-builds/yocto-master-testing/buildtools/environment-setup-x86_64-pokysdk-linux You can also re-run bitbake-setup install-buildtools with --force option to force a reinstallation ====== (Bitbake rev: 37d99d94b8d76d66673529b7118ea86a923d6d98) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-setup: add tests to bitbake-selftestAlexander Kanavin12 days2-0/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run like this: alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-selftest -v bb.tests.setup test_setup (bb.tests.setup.BitbakeSetupTest.test_setup) ... ok ---------------------------------------------------------------------- Ran 1 test in 9.223s OK The test does a basic run-through of init, then status/update on an unchanged configuration, then status/update on a configuration changed via new commits to the test layer, then status/update on configuration changed via the top level json config file. Note that nothing whatsoever is fetched from the network; the test relies entirely on synthetic data contained inside itself, including minimal stubs for oe-setup-build and bitbake-config-build. This data is used to create temporary git repositories then clone them via local filesystem URIs. Later on this can be supplemented by an oe-selftest that tests bitbake-setup against real config files in the official configuration repository and real layers, templates and fragments. (Bitbake rev: 12676b84fca45bece686b8da2feec75ea2f191c2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-setup: add the initial implementationAlexander Kanavin12 days1-0/+563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Preamble ======== The latest iteration of this patchset is available at https://github.com/kanavin/bitbake I recommend taking the patches from there to ensure that you are not trying out outdated code. For the rationale and design guidelines please see this message: https://lists.openembedded.org/g/openembedded-architecture/message/1913 Left out for now but will be done later: - base bitbake configs (a way to declare the common parts between several bitbake build configurations just once, like a parent 'class') (this is inspired by a similar mechannism in yocto-autobuilder) - official configuration repository (this probably depends on oe-core being populated with a rich, useful set of fragments, and providing sstate for official configurations) - documentation Amble *scratch* HOWTO ===================== 1. If you don't know where to start, list available configurations, and pick one: === alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-setup list Created a new settings file in /home/alex/bitbake-builds/bitbake-setup.conf. Loading settings from /home/alex/bitbake-builds/bitbake-setup.conf. Fetching configuration registry git://github.com/kanavin/bitbake-setup-configurations.git;protocol=https;branch=main;rev=main into /home/alex/bitbake-builds/.bitbake-setup-cache/configurations Available configurations: poky-alex Poky reference distribution, with alex fixes poky-kirkstone Poky reference distribution, kirkstone long term support release (supported until April 2026) poky-ng Poky-ng configuration: like poky but built from individual repositories Run 'init' with one of the above configuration identifiers to set up a build. === 2. Then build is initialized this way: === alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-setup init poky-alex Loading settings from /home/alex/bitbake-builds/bitbake-setup.conf. Initializing a poky-alex build in /home/alex/bitbake-builds/poky-alex Fetching configuration registry git://github.com/kanavin/bitbake-setup-configurations.git;protocol=https;branch=main;rev=main into /home/alex/bitbake-builds/.bitbake-setup-cache/configurations Fetching layer/tool repository poky into /home/alex/bitbake-builds/poky-alex/layers/poky Fetching layer/tool repository meta-alex into /home/alex/bitbake-builds/poky-alex/layers/meta-alex ============================== Setting up bitbake configuration gadget in /home/alex/bitbake-builds/poky-alex/build-gadget Bitbake configuration summary: This configuration is intended for building gadget. Usage instructions and additional information in /home/alex/bitbake-builds/poky-alex/build-gadget/README ============================== Setting up bitbake configuration gizmo in /home/alex/bitbake-builds/poky-alex/build-gizmo Bitbake configuration summary: This configuration is intended for building gizmo. Usage instructions and additional information in /home/alex/bitbake-builds/poky-alex/build-gizmo/README === Note: 'init' sub-command can also take a path or a URL with a configuration file directly. You can see how those files look like here: https://github.com/kanavin/bitbake-setup-configurations 3. The above message refers to a one-liner shell script that would build the targets specified in the chosen configuration: === alex@Zen2:/srv/work/alex/bitbake$ cat /home/alex/builds/poky-alex/build-gadget/build-targets . /home/alex/builds/poky-alex/build-gadget/init-build-env && bitbake core-image-minimal === 4. You can also source the bitbake environment, and then subsequent status/update commands will not require a --build-dir option telling bitbake-setup where the initialized build is. 5. To check if the build configuration needs to be updated, run: === alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-setup status --build-dir ~/bitbake-builds/poky-alex/ Loading settings from /home/alex/bitbake-builds/bitbake-setup.conf. Fetching configuration registry git://github.com/kanavin/bitbake-setup-configurations.git;protocol=https;branch=main;rev=main into /home/alex/bitbake-builds/.bitbake-setup-cache/configurations Configuration in /home/alex/bitbake-builds/poky-alex/ has not changed. === If the configuration has changed, you will see the difference: === ... Configuration in /home/alex/builds/poky-alex has changed: --- /home/alex/builds/poky-alex/config/poky-alex.conf.json 2024-12-16 11:43:24.077446096 +0100 +++ /home/alex/builds/poky-alex/config-tmp-asoubw5u/poky-alex.conf.json 2024-12-16 11:47:43.237104405 +0100 @@ -7,7 +7,7 @@ "uri": "git://git.yoctoproject.org/poky-contrib" } }, - "rev": "akanavin/sstate-for-all" + "rev": "akanavin/bitbake-setup-testing" }, "path": "poky" } === If the configuration has not changed, but layer revisions referred to it have (for example if the configuration specifies a tip of a branch), you will see that too: === ... Layer repository git://git.yoctoproject.org/poky-contrib checked out into /home/alex/builds/poky-alex/layers/poky updated revision akanavin/sstate-for-all from 6b842ba55f996b27c900e3de78ceac8cb3b1c492 to aeb73e29379fe6007a8adc8d94c1ac18a93e68de === 6. If the configuration has changed, you can bring it in sync with: === alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-setup update -build-dir ~/bitbake-builds/poky-alex/ Default parameter values are in /home/alex/.bitbake-setup/config - adjust as needed. Fetching configuration repository git://github.com/kanavin/bitbake-setup-configurations.git;protocol=https;branch=main;rev=main into /home/alex/.bitbake-setup/configurations Layer repository git://git.yoctoproject.org/poky-contrib checked out into /home/alex/builds/poky-alex/layers/poky updated revision akanavin/bitbake-setup-testing from d174acad934f8ad1fe303abc5705733e15542859 to a3d2ee10045f8c1151d680ad97994c5d6cf51ece Fetching layer/tool repository poky into /home/alex/builds/poky-alex/layers/poky Setting up bitbake configuration gadget in /home/alex/bitbake-builds/poky-alex/build-gadget Existing bitbake congfiguration directory renamed to /home/alex/builds/poky-alex/build-gadget/conf-backup.20241216115007 The bitbake configuration has changed: Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie12 days1-1/+1
| | | | | | (From OE-Core rev: fed2692c4e7b87fd2bf08a5abb4391b79bbfc982) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* orc: set CVE_PRODUCTPeter Marko12 days1-0/+3
| | | | | | | | | | | | | | | | There are new CVEs reported for this recipe which are not for this componene, but for a component with same name from apache. sqlite> select vendor, product, id, count(*) from products where product like 'orc' group by vendor, product, id; apache|orc|CVE-2018-8015|1 apache|orc|CVE-2025-47436|4 gstreamer|orc|CVE-2024-40897|1 (From OE-Core rev: 683f19c2e3337784e50134b6a1331b4b9626894d) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "systemd: add libblkid and libfdisk PACKAGECONFIG options"Ross Burton12 days1-3/+0
| | | | | | | | | | | | | | | | The fdisk option is not enabled by default when it should be as that was the existing behaviour. Neither of the RDEPENDS are needed, as systemd doesn't call the tools directly and the library dependencies will be generated automatically. This reverts commit 4ec67113e1e7e1ecea9cde33ef4d3962dad5f2ad. (From OE-Core rev: fac80672339bce66dc551c659932aa728478ffaf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: Fix url breakage from automated scriptsRichard Purdie12 days1-1/+1
| | | | | | (From OE-Core rev: bbb19444c0c997529f7a739359766d143fd72c39) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie12 days1-2/+2
| | | | | | (From OE-Core rev: 4908c71e25fa480c277350dd46d4199b29675440) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lldb: don't build rpaths into binariesRoss Burton12 days1-0/+1
| | | | | | | | | | | | | | | | | LLDB defaults to adding rpaths into the binaries which are then stripped by CMake on install. However, this rpath removal is implemented by editing the binary instead of relinking at install time, so the final binary will have an entry in the dynstr section which is all nulls but is as long as the build path. Obviously this breaks reproducibility, so disable the use of rpaths in LLDB to remove this problem. (From OE-Core rev: d96e0458b696a7359d310cbe112c5dc2fc60f97d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lldb: remove incorrect comment about llvm vs clangRoss Burton12 days1-1/+0
| | | | | | | | | | LLDB links to clang libraries, so it really does need clang and not just LLVM. (From OE-Core rev: 1a37bb2f0bbdbd599e1d5967eae1ecde4eff6a80) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: sigen: Avoid bitbake abort with EOFerror from an incomplete ↵Pedro Ferreira13 days1-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hashserv communication The issue itself is sporadic but aborts the build with an uncaught exception. The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:sstate_report_unihash(d) 0003: File: '(...)/poky/meta/classes/sstate.bbclass', lineno: 882, function: sstate_report_unihash 0878: report_unihash = getattr(bb.parse.siggen, 'report_unihash', None) 0879: 0880: if report_unihash: 0881: ss = sstate_state_fromvars(d) *** 0882: report_unihash(os.getcwd(), ss['task'], d) 0883:} 0884: 0885:# 0886:# Shell function to decompress and prepare a package for installation File: '(...)/poky/lib/bb/siggen.py', lineno: 651, function: report_unihash 0647: method = self.method 0648: if tid in self.extramethod: 0649: method = method + self.extramethod[tid] 0650: *** 0651: data = self.client().report_unihash(taskhash, method, outhash, unihash, extra_data) 0652: new_unihash = data['unihash'] 0653: 0654: if new_unihash != unihash: 0655: hashequiv_logger.debug('Task %s unihash changed %s -> %s by server %s' % (taskhash, unihash, new_unihash, self.server)) File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 139, function: wrapper 0135: pass 0136: 0137: def _get_downcall_wrapper(self, downcall): 0138: def wrapper(*args, **kwargs): *** 0139: return self.loop.run_until_complete(downcall(*args, **kwargs)) 0140: 0141: return wrapper 0142: 0143: def _add_methods(self, *methods): File: '/usr/lib/python3.9/asyncio/base_events.py', lineno: 642, function: run_until_complete 0638: future.remove_done_callback(_run_until_complete_cb) 0639: if not future.done(): 0640: raise RuntimeError('Event loop stopped before Future completed.') 0641: *** 0642: return future.result() 0643: 0644: def stop(self): 0645: """Stop running the event loop. 0646: File: '(...)/poky/lib/hashserv/client.py', lineno: 70, function: report_unihash 0066: m["taskhash"] = taskhash 0067: m["method"] = method 0068: m["outhash"] = outhash 0069: m["unihash"] = unihash *** 0070: return await self.invoke({"report": m}) 0071: 0072: async def report_unihash_equiv(self, taskhash, method, unihash, extra={}): 0073: await self._set_mode(self.MODE_NORMAL) 0074: m = extra.copy() File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 104, function: invoke 0100: async def proc(): 0101: await self.socket.send_message(msg) 0102: return await self.socket.recv_message() 0103: *** 0104: return await self._send_wrapper(proc) 0105: 0106: async def ping(self): 0107: return await self.invoke({"ping": {}}) 0108: File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 82, function: _send_wrapper 0078: async def _send_wrapper(self, proc): 0079: count = 0 0080: while True: 0081: try: *** 0082: await self.connect() 0083: return await proc() 0084: except ( 0085: OSError, 0086: ConnectionError, File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 70, function: connect 0066: await self.socket.send("") 0067: 0068: async def connect(self): 0069: if self.socket is None: *** 0070: self.socket = await self._connect_sock() 0071: await self.setup_connection() 0072: 0073: async def close(self): 0074: if self.socket is not None: File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 55, function: connect_sock 0051: import websockets 0052: 0053: async def connect_sock(): 0054: try: *** 0055: websocket = await websockets.connect(uri, ping_interval=None) 0056: except (OSError, asyncio.exceptions.TimeoutError, websockets.InvalidHandshake, websockets.InvalidURI) as exc: 0057: raise ConnectionError("Could not connect to websocket: %s" % exc) from exc 0058: return WebsocketConnection(websocket, self.timeout) 0059: File: '/usr/local/lib/python3.9/dist-packages/websockets/asyncio/client.py', lineno: 444, function: __await_impl__ 0440: async with asyncio_timeout(self.open_timeout): 0441: for _ in range(MAX_REDIRECTS): 0442: self.connection = await self.create_connection() 0443: try: *** 0444: await self.connection.handshake(*self.handshake_args) 0445: except asyncio.CancelledError: 0446: self.connection.close_transport() 0447: raise 0448: except Exception as exc: File: '/usr/local/lib/python3.9/dist-packages/websockets/asyncio/client.py', lineno: 104, function: handshake 0100: # receiving a response, when the response cannot be parsed, or when the 0101: # response fails the handshake. 0102: 0103: if self.protocol.handshake_exc is not None: *** 0104: raise self.protocol.handshake_exc 0105: 0106: def process_event(self, event: Event) -> None: 0107: """ 0108: Process one incoming event. File: '/usr/local/lib/python3.9/dist-packages/websockets/client.py', lineno: 315, function: parse 0311: 0312: def parse(self) -> Generator[None]: 0313: if self.state is CONNECTING: 0314: try: *** 0315: response = yield from Response.parse( 0316: self.reader.read_line, 0317: self.reader.read_exact, 0318: self.reader.read_to_eof, 0319: ) File: '/usr/local/lib/python3.9/dist-packages/websockets/http11.py', lineno: 238, function: parse 0234: 0235: try: 0236: status_line = yield from parse_line(read_line) 0237: except EOFError as exc: *** 0238: raise EOFError("connection closed while reading HTTP status line") from exc 0239: 0240: try: 0241: protocol, raw_status_code, raw_reason = status_line.split(b" ", 2) 0242: except ValueError: # not enough values to unpack (expected 3, got 1-2) Exception: EOFError: connection closed while reading HTTP status line (Bitbake rev: 5ba7c2f0797a72536a81f57276d4e5c75f23011c) Signed-off-by: Pedro Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Remove multiprocessingpoolJoshua Watt13 days1-16/+0
| | | | | | | | | | This API is no longer used and bitbake has moved beyond Python 2.7.3 as the minimum version, so remove it. (Bitbake rev: 0eb7b5dd512ed8d8b77b5779858b9fbd99edb4a4) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Use a "fork" multiprocessing contextJoshua Watt13 days7-9/+35
| | | | | | | | | | | | | | | | | Python 3.14 changes the default multiprocessing context from "fork" to "forkserver"; however bitbake heavily relies on "fork" to efficiently pass data to the child processes. As such, make "fork" context in the bb namespace and use it in place of the normal multiprocessing module. Note that multiprocessing contexts were added in Python 3.4, so this should be safe to use even before Python 3.14 [YOCTO #15858] (Bitbake rev: 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: doc/bitbake-user-manual-fetching: update the Git fetcher tag ↵Antonin Godard13 days1-4/+6
| | | | | | | | | | | | description After commit d591d7633fe8 ("fetch/git: Rework tag parameter handling"), update the description of the tag= parameter for the Git fetcher. (Bitbake rev: 85b31a55d114a1430868233d56573b470fef8908) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: test/fetch: Switch u-boot based test to use our own mirrorRichard Purdie14 days1-1/+1
| | | | | | | | | The upstream servers are having issues so switch to our own shadow copy of the repo. (Bitbake rev: e910c7cd24fd366d6756641cd599c4efeb492e2a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: upgrade 21.1.6 -> 21.1.18Vijay Anusuri2025-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | xorg-server 21.1.17 This release contains the fixes for the issues reported in today's security advisory: https://lists.x.org/archives/xorg/2025-June/062055.html * CVE-2025-49175 * CVE-2025-49176 * CVE-2025-49177 * CVE-2025-49178 * CVE-2025-49179 * CVE-2025-49180 Additionally, this release includes a fix for CVE-2022-49737 which was issued after the fix was merged back in 2022 and several other various fixes. Ref: https://lists.x.org/archives/xorg-announce/2025-June/003609.html xorg-server 21.1.18 This release contains an additional fix for CVE-2025-49176 from June 17 security advisory: https://lists.x.org/archives/xorg/2025-June/062055.html Ref: https://lists.x.org/archives/xorg-announce/2025-June/003612.html (From OE-Core rev: a59b385184fb3a548dc27310fd04d64351d8dfba) Signed-off-by: Vijay Anusuri <vanusuri@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: ensure the native-built tblgen binaries are usedRoss Burton2025-07-211-5/+2
| | | | | | | | | | | | Set LLVM_HEADERS_TBLGEN so that we don't build another copy of tblgen. Also remove LLVM_OPTIMIZED_TABLEGEN, this is redundant as we're not building a tablegen binary in this recipe anymore. (From OE-Core rev: 259a3e9a8281c4e9ab73dee82738f359f029b78d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: remove PYTHON_EXECUTABLE assignmentsRoss Burton2025-07-211-4/+0
| | | | | | | | | The cmake.bbclass already does this. (From OE-Core rev: 85c1aecdf847b97409930d915a90ab850e92bc38) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: improve LLVM target selection logicRoss Burton2025-07-211-9/+11
| | | | | | | | | | | | | | | | | The GPU targets are incredibly slow to build, so if the DISTRO_FEATURES doesn't include opengl or vulkan assume that the user will not be using a GPU and disable them. Alternatively, a distribution could state that they'll only be using one of the backends, and set LLVM_TARGETS_GPU explicitly. On my build machine, disabling the GPU targets reduces the build time of clang-native from 21m to 16m. (From OE-Core rev: 2273a0685757421f39541a352d77b67e5ba604d3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libclc: split out of clangRoss Burton2025-07-215-11/+108
| | | | | | | | | | | | | | | | | | | | | | Split the libclc subproject out of the clang recipe and into a dedicated libclc recipe. This is useful because libclc is the OpenCL runtime library and as such isn't target-specific and needs a native clang to build, not a target libllvm. Verified that nothing is dropped by adding clang and libclc to an image and verifying that the file list is the same before and after this change. We need to patch the libclc CMakeLists to allow it to use an out-of-tree prepare_builtins binary, discussion is ongoing with upstream to resolve this properly. (From OE-Core rev: 33a8742a1280b4c6779a7aa487c2dd4a713babe6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: remove CMAKE_SYSTEM_* from the native toolchainRoss Burton2025-07-211-2/+0
| | | | | | | | | | | | | If these variables are set explictly then CMake assumes that it is cross-compiling[1]. We don't need to set them as the default values as detected by CMake are correct for native. [1] https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING.html (From OE-Core rev: 0ea50cba64b5004722051c0ece900443dc4ca929) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Add libcxx to default base dependenciesKhem Raj2025-07-211-1/+1
| | | | | | | | | | | When TC_CXX_RUNTIME is set to be 'llvm' then clang looks for libcxx to provide C++ runtime and unwinding library (From OE-Core rev: aba2d949818b032222dbaed98e38cd29e3c992b6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Default to use lld if ld-is-lld is in DISTRO_FEATURESKhem Raj2025-07-211-0/+1
| | | | | | | | | | | This ensures that default system linker is used correctly based upon distro features, current default remain same i.e. uses BFD linker (From OE-Core rev: 33e7c85e92ddbc35989e7afcaf5fe4c14efdefab) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Define CMAKE_CLANG_TIDY with toolchain-clangKhem Raj2025-07-211-0/+6
| | | | | | | | | | | clang-tidy is used by many packages these days and probed during build. (From OE-Core rev: 71ff6d6d1b152076e6dbf03a146f6a9fd2a9c065) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>