summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-attrs: upgrade 24.3.0 -> 25.1.0Richard Purdie2025-02-051-1/+1
| | | | | | (From OE-Core rev: 2a4370f0e2c60ff628e548313228655a73a5c878) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: upgrade 4.0.46 -> 4.0.47Richard Purdie2025-02-054-7/+7
| | | | | | (From OE-Core rev: 14ef270cc003646e6ca97ff3405507f2b9e92736) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mmc-utils: upgrade to latest revisionRichard Purdie2025-02-051-1/+1
| | | | | | (From OE-Core rev: fc51335605cb2bac4fd9ae293857c71d1b71e3df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade 2.47.1 -> 2.48.1Richard Purdie2025-02-053-8/+8
| | | | | | (From OE-Core rev: 0d6d7d63a5e04eaff3db4d6aa552b2bfb3138c9c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unfs3: Use SPDX identifierBastian Germann2025-02-051-1/+1
| | | | | | | | | | | | | The unfs3 license matches the SPDX template for BSD-3-Clause. There is no reason why this should be referenced as unfs3, which is not a registered SPDX identifier. License-Update: use SPDX identifier (From OE-Core rev: e608747d6fba47d2bfc8637adb39ff3593559fca) Signed-off-by: Bastian Germann <bage@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Use SPDX identifierBastian Germann2025-02-051-1/+1
| | | | | | | | | | | | | The EDL-1.0 license matches the SPDX template for BSD-3-Clause. There is no reason why this should be referenced as EDL-1.0, which is not a registered SPDX identifier for exactly this reason. License-Update: use SPDX identifier (From OE-Core rev: 9745740bbab58365f86ef579e1ad1e86b90594a6) Signed-off-by: Bastian Germann <bage@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-xsl-stylesheets: Use SPDX identifierBastian Germann2025-02-051-1/+1
| | | | | | | | | | | | | The XSL license was standardized by SPDX as DocBook-XML. Copy the license file to the new name and use it in docbook-xsl-stylesheets. License-Update: use new DocBook-XML SPDX ID, copy text from existing XSL (From OE-Core rev: e172e27e19fc09160cfee2a29af8e8c5c2426c9c) Signed-off-by: Bastian Germann <bage@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest: Fix variable assignment whitespaceRichard Purdie2025-02-019-9/+9
| | | | | | | | | | Recipes are much more readable with whitespace around the assignment operators. Fix various assignments in OE-Core to show this is definitely the preferred formatting. (From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-cross-canadian: set CC_<triple> for nativesdkSean Nyekjaer2025-02-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes build errors when building rust bindings for C dependencies for the sdk host. This will allow us to build and run rust programs on the sdk host. Before: % cargo build --target x86_64-oesdk-linux-gnu -vv [...] Compiling zstd-sys v2.0.13+zstd.1.5.6 (zstd-rs/zstd-safe/zstd-sys) [zstd-sys 2.0.13+zstd.1.5.6] CC_x86_64-oesdk-linux-gnu = None [zstd-sys 2.0.13+zstd.1.5.6] CC = Some(arm-oe-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=/usr/local/sdk/sysroots/cortexa7t2hf-neon-oe-linux-gnueabi) [zstd-sys 2.0.13+zstd.1.5.6] cargo:warning=ToolExecError: Command LC_ALL="C" "arm-oe-linux-gnueabi-gcc" "-mthumb" "-mfpu=neon" "-mfloat-abi=hard" "-mcpu=cortex-a7" "-D_TIME_BITS=64" "-D_FILE_OFFSET_BITS=64" "--sysroot=/usr/local/cc-sdk/sysroots/cortexa7t2hf-neon-oe-linux-gnueabi" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-flto" "-ffat-lto-objects" "-fuse-linker-plugin" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "zstd-rs/target/x86_64-oesdk-linux-gnu/debug/build/zstd-sys-b2560022e172eec3/out/44ff4c55aa9e5133-debug.o" "-c" "zstd/lib/common/debug.c" with args arm-oe-linux-gnueabi-gcc did not execute successfully (status code exit status: 1).cargo:warning=arm-oe-linux-gnueabi-gcc: error: unrecognized command-line option '-m64' After: % cargo build --target x86_64-oesdk-linux-gnu -vv [...] Compiling zstd-sys v2.0.13+zstd.1.5.6 (zstd-rs/zstd-safe/zstd-sys) [zstd-sys 2.0.13+zstd.1.5.6] CC_x86_64_oesdk_linux_gnu = Some(x86_64-oesdk-linux-gcc) [...] Compiling zstd v0.13.2 (zstd-rs) Finished dev [unoptimized + debuginfo] target(s) in 14.67s (From OE-Core rev: 3c8fedd6e5a3251b7a7a73cc92b153d8e68cb8e5) Signed-off-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: remove redundant cargo config fileHarish Sadineni2025-02-011-14/+0
| | | | | | | | | | | | YOCTO [#15061] The rust target and linker are getting setting from the sdk environment and so the config file is not needed. The redundant config file geneartion is removed. (From OE-Core rev: d5f78816d2ad0f3e43ce883eef199d1683cfcbb4) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: fix for rust multilib sdk configurationHarish Sadineni2025-02-013-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | YOCTO [#15061] The rust sdk installs both 'rust.sh' and 'cargo.sh' for lib32 and lib64 in the same location. This causes below error while installing the lib32 & lib64 binaries: Error: Transaction test error: file /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/environment-setup.d/cargo.sh conflicts between attempted installs of rust-cross-canadian-arm-1.67.1-r0.x86_64_nativesdk and rust-cross-canadian-aarch64-1.67.1-r0.x86_64_nativesdk file /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/environment-setup.d/rust.sh conflicts between attempted installs of rust-cross-canadian-arm-1.67.1-r0.x86_64_nativesdk and rust-cross-canadian-aarch64-1.67.1-r0.x86_64_nativesdk ERROR: Task (virtual:multilib:lib32:/media/build/poky/meta/recipes-sato/images/core-image-sato.bb:do_populate_sdk) failed with exit code '1' The change includes: - Prepending '${RUST_TARGET_SYS}' to 'rust.sh' to differentiate between target systems. - Moving the non-target-specific environment variables to 'nativesdk-cargo' and 'nativesdk-rust', instead of being managed by the cross-canadian recipe. (From OE-Core rev: 40eb4bfe2f100ba5301046ca25110fcc55a640bb) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Update stringold summaryOmri Sarig2025-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The string package in python currently contains common string operations. This package is still in full use. However, the old summary line of the package marked it as deprecated. As this is not the case, this commit updates the summary line to better represent this Python package. The new summary line was taken from Python's documentation for the package (https://docs.python.org/3.13/library/string.html). In the past, the string library used to contain functionality that later was moved to the str object in Python. The assumption is that during this change, this library was marked as deprecated here. However, as this package contains more functionality, which is still relevant and used by python, the package itself should not be marked as deprecated. This commit changes the description of the package, but does not change the name of the package. The proper name for this package should be "string" (instead of "stringold"). However, changing the package's name will break compatibility with anyone using the string package in their project. As this is a big change, it is decided not to be done yet. The change in description, as well as this commit message, should be enough to let users understand that the string package in python is still valid, and should not be treated as deprecated. (From OE-Core rev: 7602a9013d6c61959ec293ee29285c90257b5fbb) Signed-off-by: Omri Sarig <omri.sarig13@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade to 1.7.0Ross Burton2025-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Summary of changes: - New custom dependency for atomic - --cap-lints allow used for Cargo subprojects - Cargo features are resolved globally - Meson can run "clippy" on Rust projects - Devenv support in external project module - Fixed sizeof and find_library methods for Fortran compilers - format command now accept stdin argument - "machine" entry in target introspection data - Add new language Linear Asm - Control the number of child processes with an environment variable - Support for Rust 2024 - Support TASKING VX-Toolset - Test targets no longer built by default - Install vcs_tag() output (From OE-Core rev: 37d4a5b2653b94d5030b5026b1ecf979420cfb20) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade 15.2 -> 16.1Yash Shinde2025-01-276-317/+3
| | | | | | | | | | | | | | | | | * Drop 0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch, its already applied to gdb 16.1 Detailed release notes: https://sourceware.org/pipermail/gdb-announce/2025/000143.html https://sourceware.org/gdb/news/ https://lwn.net/Articles/1005562/ https://www.sourceware.org/gdb/download/ANNOUNCEMENT (From OE-Core rev: 31a536ed8c4d03db250766fe701126dd14d084c0) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.22.10 -> 1.22.11Peter Marko2025-01-277-4/+4
| | | | | | | | | | | | | | | | | | | | | Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.10..go1.22.11 f072884354 (tag: go1.22.11) [release-branch.go1.22] go1.22.11 b72d56f98d [release-branch.go1.22] net/http: persist header stripping across repeated redirects 19d2103415 [release-branch.go1.22] crypto/x509: properly check for IPv6 hosts in URIs ae9996f965 [release-branch.go1.22] runtime: hold traceAcquire across casgstatus in injectglist 223260bc63 [release-branch.go1.22] crypto/tls: fix Config.Time in tests using expired certificates Fixes CVE-2024-45336 and CVE-2024-45341 [1] https://github.com/golang/go/compare/go1.22.10...go1.22.11 (From OE-Core rev: 4589986602319f9ed61e381b333bb53b731eb8d8) 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>
* go: upgrade 1.22.9 -> 1.22.10Peter Marko2025-01-277-4/+4
| | | | | | | | | | | | | | | | | | Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.9..go1.22.10 8f3f22eef8 (tag: go1.22.10) [release-branch.go1.22] go1.22.10 6d7a95abca [release-branch.go1.22] runtime: reserve 4kB for system stack on windows-386 6f05fa7a4f [release-branch.go1.22] syscall: mark SyscallN as noescape 3355db9690 [release-branch.go1.22] time: accept "+01" in TestLoadFixed on OpenBSD [1] https://github.com/golang/go/compare/go1.22.9...go1.22.10 (From OE-Core rev: e357c93b39df938dc36195dbd779a58b2951b8e6) 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>
* go: upgrade 1.22.8 -> 1.22.9Peter Marko2025-01-277-4/+4
| | | | | | | | | | | | | | | | | Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.8..go1.22.9 8af39d30a4 (tag: go1.22.9) [release-branch.go1.22] go1.22.9 c19e5887f4 [release-branch.go1.22] cmd/cgo/internal/testcarchive: remove 1-minute timeout e3fd4ba7f9 [release-branch.go1.22] cmd/link: generate Mach-O UUID when -B flag is specified 29252e4c5a [release-branch.go1.22] runtime: fix TestGdbAutotmpTypes on gdb version 15 [1] https://github.com/golang/go/compare/go1.22.8...go1.22.9 (From OE-Core rev: 4f2f202506bcefb4d6c46a11738e159e261a4a4b) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: set LLVM_HOST_TRIPLE for cross-compilationHaseeb Ashraf2025-01-271-0/+2
| | | | | | | | | | | | | | | | | | | The correct way to configure cmake for cross-compilation includes setting the LLVM_HOST_TRIPLE as well. Documentation Ref: https://github.com/llvm/llvm-project/blob/llvmorg-19.1.6/llvm/docs/HowToCrossCompileLLVM.rst#configuring-cmake This fixes bug when LLVM is cross-compiled for AAarch64 but it was getting built with the triple of native build system instead of the TARGET_SYS (aarch64-oe-linux) in my case. `No available targets are compatible with triple "x86_64-unknown-linux-gnu"` (From OE-Core rev: 19f649f47352f7e12508abd88a862e95979d152d) Signed-off-by: Haseeb Ashraf <haseeb.ashraf@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.31.3 -> 3.31.4Trevor Gamblin2025-01-236-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes: https://cmake.org/cmake/help/latest/release/3.31.html#id17 commit log: |tgamblin@megalith ~/workspace/git/cmake (master)$ git log --oneline v3.31.3..v3.31.4 |569b821a13 (tag: v3.31.4) CMake 3.31.4 |92b260387d Merge topic 'duplicate-source-behavior' into release-3.31 |3df8890638 Merge topic 'lfortran-generate-object-code' into release-3.31 |8f45140baf Merge topic 'revert-genex-tco-subgraph' into release-3.31 |3e15419bd4 target_sources: Restore toleration of duplicate CXX_MODULES sources |5cfb8ae790 Tests/CXXModules: add a test with duplicate sources |daf6cc89ee LFortran: Remove hard-coded --generate-object-code flag |a6b84a438f GenEx: Revert "Limit TARGET_PROPERTY transitive closure optimization" |627d710570 Merge topic 'FindBoost-1.87' into release-3.31 |d29855f985 Merge topic 'codegen-help' into release-3.31 |f485f94d1a FindBoost: Add support for Boost 1.87 |45726d93a8 Makefile: List codegen target in help |e7153c29ac Merge topic 'Help-FindPython-Fix-typo' into release-3.31 |e7ea2998fb Help: FindPython: fix typo Reproducibility OK: |2025-01-20 13:52:30,296 - oe-selftest - INFO - Ran 1 test in 1949.827s |2025-01-20 13:52:30,296 - oe-selftest - INFO - OK |2025-01-20 13:52:34,885 - oe-selftest - INFO - RESULTS: |2025-01-20 13:52:34,886 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1874.21s) |2025-01-20 13:52:34,886 - oe-selftest - INFO - SUMMARY: |2025-01-20 13:52:34,886 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1949.827s |2025-01-20 13:52:34,886 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) (From OE-Core rev: 729611f8284a4b408b8c65a6407daf667571c415) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
* python3-numpy: upgrade 2.2.1 -> 2.2.2Trevor Gamblin2025-01-233-3/+3
| | | | | | | | | | | | | | | | | | | | Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.2 Reproducibility looks OK: |2025-01-20 16:40:52,428 - oe-selftest - INFO - Ran 1 test in 2125.833s |2025-01-20 16:40:52,428 - oe-selftest - INFO - OK |2025-01-20 16:40:57,146 - oe-selftest - INFO - RESULTS: |2025-01-20 16:40:57,146 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (2065.94s) |2025-01-20 16:40:57,147 - oe-selftest - INFO - SUMMARY: |2025-01-20 16:40:57,147 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 2125.834s |2025-01-20 16:40:57,147 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) (From OE-Core rev: 8ba751635a333ba0ccdeaff7b135131de99292a9) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@arm.com>
* gcc-sanitizers.inc: Workaround for aarch64Thomas Roos2025-01-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | When using the -fsanitize=address CXX_FLAG for a program compiled for aarch64 / arm64 This is happing: MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0xe00000000000, 0xfffffffffffffff4) (tid=51745) With -DSANITIZER_CAN_USE_ALLOCATOR64=0 this is not happening and potenial bugs are detected. ARM32 does not require this patch. More info about the issue in this thread: https://github.com/llvm/llvm-project/issues/65144 (From OE-Core rev: 12442b9b6df06317174066854935b1d6a4f1865d) Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@arm.com>
* tcl8: add a patch to address Y2038 issues (tcl 9.x doesn't need it)Alexander Kanavin2025-01-232-0/+34
| | | | | | | | (From OE-Core rev: 50731c5233f1531b1a7a9ac94c08235e06be8c2d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@arm.com>
* tcl: disable 'zipfs' featureAlexander Kanavin2025-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | zipfs is a new facility in tcl 9.x where various data files are bundled into a zip archive, rather being separately installed. Then that zip is embedded into libtcl.so from Makefile, thusly: cat ${TCL_ZIP_FILE} >> ${LIB_FILE} This is a major case of face meeting palm: any binary object processing on the resulting .so file discards the extra data at the end, and that's exactly what happens in do_package(), resulting in a tcl installation without any language libraries. This is not caught by ptest because it runs against a private copy of the source tree. Additionally, it helps to have data files on target systems as files that can be viewed and edited. (From OE-Core rev: 05e31be56498123b177f363c700c96b20958585c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@arm.com>
* gcc: make include poisoning fatal again in gcc/g++Ross Burton2025-01-221-10/+27
| | | | | | | | | | | | | | | | | | | | | We have a patch to allow us to 'poison' system include directories, which are warnings by default but we make them fatal in cross builds. However, in the 13.1 upgrade[1] the patch to make the warnings fatal was dropped in the compiler invocation, so it only took effect for pure preprocessor calls. This was not noticed at the time as the test case was flawed, but this has now been fixed. Add back the fatal poisoning, and restructure the patch slightly so it is less invasive. [1] oe-core bea46612fd9106cc5b46eb1d81623b6492563c13 [RP: Tweak to fix gcc/gcc-cross-canadian failure] (From OE-Core rev: 56f21a02c009cb74072ee79467a5bcab3c4643a5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: Add missing pkgconfig dependencyRichard Purdie2025-01-221-1/+1
| | | | | | | | | | With gcc posioning fixed, this recipe showed errors, using an incorrect include path looking at the host system. If pkgconfig is present, the correct include paths are used. Therefore add the missing dependency. (From OE-Core rev: 6cf0aaa3af276694709369b6007f629862e21559) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: Switch virtual/cross-XXX to be under recipe specific providersRichard Purdie2025-01-213-4/+0
| | | | | | | | | | | | | | | Currently, providers are set on a global config basis. This change allows for a select set of providers to be configured using BB_RECIPE_VIRTUAL_PROVIDERS on a per recipe basis. This would allow for the selection of virtual/cross-cc as gcc or clang for example. The PROVIDERS are removed from the recipes so that if a version of the dependency accidentally slips through, the build will fail and the user can correct the issue. (From OE-Core rev: 6eeab1a5d7f23917b94c130e417d59afb757b546) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)Richard Purdie2025-01-2117-25/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea of the base class dependency is to say "yes, I need a C cross compiler" and this was never meant to be gcc specific. Looking at the codebase, whilst we code triplets into this, it does overcomplicate things as there are only ever limited, "target", "sdk" and the class extended versions like mutlilib. After much thought, we can simplify this to virtual/cross-cc and virtual/nativesdk-cross-cc. This lets us remove the "gcc" specific element as well as removing the over complicated triplet usage. At the same time, change the much less widely used "g++" variant to "c++" for similar reasons and remove the triplet from virtual/XXX-binutils too. Backwards compatibility mappings could be left but are just going to confuse things in future so we'll just require users to update. This simplification, whilst disruptive for any toolchain focused layers, will make improved toolchain selection in the future much easier. Since we no longer have overlapping variables, some code for that can just be removed. The class extension code does need to start remapping some variables but not the crosssdk target recipe names. This patch is in two pieces, this one handles the renaming with the functional changes separate in a second for easier review even if this breaks bisection. (From OE-Core rev: 4ccc3bc8266c327bcc18c9a3faf7536210dfb9f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: fix build with GCC 9.4Ross Burton2025-01-212-1/+28
| | | | | | | | | | | fmt-native is needed to build ccache-native, and the compile fails on hosts with GCC 9.4 (such as Ubuntu 20.04). Backport a patch to fix this issue. (From OE-Core rev: 7dbb984f86d04e79d2311411cd8b775e2674b5f3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: upgrade 3.3.0 -> 3.4.1Archana Polampalli2025-01-204-69/+32
| | | | | | | | | | | | | | | | | | | | | | | | | CVEs addressed in this release: CVE-2024-12084 CVE-2024-12085 CVE-2024-12086 CVE-2024-12087 CVE-2024-12088 CVE-2024-12747 Refreshed below patches: makefile-no-rebuild.patch determism.patch 0001-Add-missing-prototypes-to-function-declarations.patch Changelog: https://github.com/RsyncProject/rsync/blob/v3.4.1/NEWS.md https://github.com/RsyncProject/rsync/blob/v3.4.0/NEWS.md (From OE-Core rev: 25e139d8b2a52c85cf1353c8da246aedaedb40d1) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool: remove obsolete ACLOCALEXTRAPATHRoss Burton2025-01-201-2/+0
| | | | | | | | | | | | | | This variable no longer exists, and would have had the effect of not letting the target libtool see the contents of the native aclocal directory. I don't understand why this was needed but autotools has improved dramatically in the last eight years, so it's most likely obsolete now. (From OE-Core rev: 8ae468b6726392c681a3a35ff37c4401ec45b9d2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: increase test timeout againAdrian Freihofer2025-01-201-1/+1
| | | | | | | | | | | | | | Fixes [YOCTO #15625] The first attempt to get around the timeout was to double it from 5000 to 10000, which doesn't seem to be enough. Let's try to fix this by extending the timeout by a factor of 10. (From OE-Core rev: fb19e038582a2bfc414465ef396c30197f67128f) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: poison-system-directories patch updated for missing pathsSunil Dora2025-01-201-4/+18
| | | | | | | | | | | | | | Modified logic in gcc/incpath.cc to ensure that non-existing host system paths are not deleted during cross-compilation. If the build system attempts to search a host path, gcc will now issue a warning instead of silently ignoring it. Fixes [YOCTO #15672] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15672 (From OE-Core rev: 32e2f9a73a653a00e555e50f9197b605f2f70f89) Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Upgrade 1.80.1->1.81.0Deepesh Varatharajan2025-01-1411-148/+98
| | | | | | | | | | | | | | | | | | https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html Drop the following backported patches which is addressed with rust v1.81.0 upgrade. 0001-cargo-do-not-write-host-information-into-compilation.patch https://github.com/rust-lang/cargo/commit/2db0bab16139d094f689587b73539aae386a1919 hardcodepaths.patch https://github.com/rust-lang/rust/commit/28503d69ac204ff208d115aea30dc09d6fca8728 (From OE-Core rev: 611ec9ffbac974f472a828277ba7f3e344e99ca3) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Fix for duplicate libstd.soDeepesh Varatharajan2025-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | During the Rust build process, multiple copies of libstd-*.so are generated, as Rust copies the required files from the stage2 build artifacts to the target image directory. When these build binaries are copied to the image, Yocto's do_package step encounters an error. To resolve this, the redundant libstd-*.so files are removed during the do_install step. ----------------------------------------------------------------------------------------------- ERROR: rust-1.81.0-r0 do_package: rust: Multiple shlib providers for libstd-20c3de2d9292cd03.so:.. .... ----------------------------------------------------------------------------------------------- Multiple copies of libstd-*.so are generated during the Rust build process. The redundant files are removed during the do_install step. (From OE-Core rev: effd4ba4c23cbf53b01116b5cc81d6a29ca3b1a6) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu/machine: rename QEMU_EXTRAOPTIONS for consistencyRoss Burton2025-01-111-1/+1
| | | | | | | | | | | | | | | | | The per-tune qemu options variable is QEMU_EXTRAOPTIONS_${TUNE_PKGARCH}, but this doesn't follow the pattern of all of the other tune-specific variables in the machine configuration which is VARIABLE:tune-[name]. Rename QEMU_EXTRAOPTIONS_${TUNE_PKGARCH} to QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH} for consistency. Note that this will mean that BSPs need to update any assignments of this variable. (From OE-Core rev: 7f981d074442b901f7e64dbdb9db851ff31c3733) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/qemu: use tune to select QEMU_EXTRAOPTIONS, not package architectureRoss Burton2025-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Using the package architecture to select the right qemu options to pass to qemu-user is incorrect, and fails for recipes that set PACKAGE_ARCH to MACHINE_ARCH (as the qemuppc workarounds suggest) because there are not typically any options set for the machine name. Solve this by using TUNE_PKGARCH instead: for the majority of recipes this is the same value, but for machine-specific recipes it remains the same instead of changing to the machine name. This means we can remove the qemuppc workarounds, as they're obsolete. Also update the gcc-testsuite recipe which uses the same pattern to use TUNE_PKGARCH, and generalise the else codepath to avoid needing to update the list of architectures. [ YOCTO #15647 ] (From OE-Core rev: 414b754a6cbb9cc354b1180efd5c3329568a2537) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: clean up configure/configure.sh fiddlingRoss Burton2025-01-101-7/+4
| | | | | | | | | | | | | | | The upstream Makefiles tell autoconf to write the generated script to configure.sh instead of the idiomatic configure. We now remove all of the Makefile rules that refer to configure.sh (makefile-no-rebuild.patch) but the recipe configure changes remained, so remove them too and delete the existing configure.sh to avoid confusion for anyone looking at the build treee. Also add a comment explaining why autotools-brokensep is used. (From OE-Core rev: 599e0fbf7d3dbbad0606143baa0ecccc510348ce) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: Fix native dependenciesRichard Purdie2025-01-101-0/+1
| | | | | | | | | The tests package has many dependencies which don't BBCLASSEXTEND to native well. Remove these as we're not interested in the tests in the native case anyway. (From OE-Core rev: 2885ab7c5b58a8f8ff183360e239d2a36270c662) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl8: upgrade 8.6.15 -> 8.6.16Alexander Kanavin2025-01-107-19/+20
| | | | | | | | | | Adjust run-ptest to use the absolute ptest library location (tcl 9.x already does this) to avoid clock.test failures. (From OE-Core rev: 6161afaa3d4f6600a3598bf559576fb571968cbb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 2.1.3 -> 2.2.1Alexander Kanavin2025-01-104-72/+21
| | | | | | | | | | | | Add a svml option, disabled by default (it's avx-512 only, and uses randomly generated intermediate .o file names, which makes the installed library non-reproducible). (From OE-Core rev: a3ce94f1fa79502d8b41de93f9a27d8af2cdc787) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update 3.3.6 -> 3.4.1Alexander Kanavin2025-01-108-36/+36
| | | | | | | | | | | | | | | License-update: formatting Exclude aclocal, as aclocal.m4 is hand-maintained (similar to recent tweaks elsewhere in core). Find rbconfig.rb directly in ${D}, as grepping ruby's internal file produces bogus results now. (From OE-Core rev: f395c84d460acc44c633a6819efac68ca7829e6c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: update 9.0.0 -> 9.0.1Alexander Kanavin2025-01-106-48/+32
| | | | | | | (From OE-Core rev: 8ddc1bdf45e39962338dc5ec51e4582d1f0c3d83) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jinja2: upgrade 3.1.4 -> 3.1.5Alexander Kanavin2025-01-092-91/+5
| | | | | | | (From OE-Core rev: fca4fe9282d5895cc961aef82471604d219cb3ba) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-click: update 8.1.7 -> 8.1.8Alexander Kanavin2025-01-091-4/+4
| | | | | | | | | | | License-Update: renamed file Convert from setuptools to flit. (From OE-Core rev: 33dfffac6f65145b6e8671a8988a62f1f0e41f72) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ruamel-yaml: upgrade 0.18.7 -> 0.18.9Wang Mingyu2025-01-091-2/+2
| | | | | | | | | License-Update: copyright updated to 2025 (From OE-Core rev: 98ed111650de52e6079251d1cb0c19dd6a506ded) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.18.0 -> 2.19.0Wang Mingyu2025-01-091-1/+1
| | | | | | | | (From OE-Core rev: f18bcd0b4024da048be6a1773608a4c2a4db4a38) 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>
* python3-poetry-core: upgrade 1.9.1 -> 2.0.0Wang Mingyu2025-01-091-1/+1
| | | | | | | | | | | Changelog: https://github.com/python-poetry/poetry-core/releases/tag/2.0.0 (From OE-Core rev: 5e2036babc8937253b60fa809fa8edcda26b0210) 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>
* python3-gitdb: upgrade 4.0.11 -> 4.0.12Wang Mingyu2025-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: =========== - Never add a vendored smmap directory to sys.path - Revise and update the readme - Set Dependabot submodule update cadence to weekly - Add missing asserts in test_base.py - Use contextlib.suppress instead of except: pass - Add support for Python 3.13 - Potential Race Condition Fix - OS Rename & Chmod - PermissionError - Bump gitdb/ext/smmap from 256c5a2 to 04dd210 - Bump actions/setup-python from 4 to 5 (From OE-Core rev: d899b50547e319cca8bea41301a4758e7635b6cf) 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>
* libtest-warnings-perl: upgrade 0.033 -> 0.037Wang Mingyu2025-01-091-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: =========== - remove unneeded use of Import::Into - fix tests that invoke Test::Warnings->import directly - avoid redefinition warnings when $^W is enabled in tests - allow tests to pass even when Import::Into is not installed - add backcompat shim for cases where Test::More is loaded in tests after Test::Warnings - fix Test2 compability for done_testing() - Test2::Warnings added as a simple wrapper (for now) (From OE-Core rev: f203ec55e1fd12e4e6822839a4979b3054617d59) 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>
* libedit: upgrade 20240808-3.1 -> 20250104-3.1Wang Mingyu2025-01-091-1/+1
| | | | | | | | (From OE-Core rev: 73ef22b3ae71f6967f09f7c10180c34e84327224) 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>