summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* rust-llvm: Fix build break found with clangKhem Raj2025-02-282-1/+33
| | | | | | | | | | call and callee have mismatched types, this patch fixes it (From OE-Core rev: 88e5970998fb4c72844056be19e3a9f77de3f4d6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx: upgrade 8.1.3 -> 8.2.1Trevor Gamblin2025-02-271-2/+3
| | | | | | | | | | | | | | | | Changelog: https://www.sphinx-doc.org/en/master/changes/8.2.html License-Update: Update copyright year Add roman-numerals-py to RDEPENDS to avoid the following error: | sphinx.errors.ExtensionError: Could not import extension sphinx.builders.latex (exception: No module named 'roman_numerals') (From OE-Core rev: 67874bb6689f177dcf4b7509cfa0dc9d62b8f38b) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-roman-numerals-py: add recipeTrevor Gamblin2025-02-271-0/+11
| | | | | | | | | | | | roman-numerals-py is a module providing utilities for working with well-formed Roman numerals. python3-sphinx relies on this now, so add it as a recipe. (From OE-Core rev: 43b4e995769de54e47b0a98ce841b143a877f87d) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm-sequoia-crypto-policy: clean up dependenciesZoltán Böszörményi2025-02-271-2/+1
| | | | | | | | | | | | | | | Rely on host-provided coreutils and make. openssl-native is not needed either, as the build scripts use crypto functionality via python. Python 3.11+ is needed by the python build scripts, which is ensured by "inherit python3native". (From OE-Core rev: 34fc028a8a3a6628b11c6ee67676532012f55f47) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: upgrade 8.1.0 -> 8.2.0Trevor Gamblin2025-02-272-38/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Patch '0001-respect-GIT_CEILING_DIRECTORIES.patch' is no longer required as it's upstream in 979d79301da6. Changelog (https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md): Added - fix #960: add a --force-write-version-files flag for the cli Changed - fix #950: ensure to pass encodings to io usage - fix #957: add subprocess timeout control env var - add sp-repo-review pre-commit hook Fixed - fix #1018: allow non-normalized versions for semver - fix #1103: respect GIT_CEILING_DIRECTORIES when trying to find git toplevels - fix #1081: add name normalized pipx entrypoint - fix #1080: clean pdm from PYTHONPATH to protect mercurial (From OE-Core rev: 6bab759c00b44fc2793e095f991975b7eebf360f) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-flit-core: upgrade 3.10.1 -> 3.11.0Trevor Gamblin2025-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This update is required for latest versions of packages such as sphinx to build with flit, otherwise you encounter errors like: | File "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-sphinx/8.2.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/flit_core/config.py", line 444, in _check_type | raise ConfigError( | "{} field should be {}, not {}".format(field_name, cls, type(d[field_name])) | ) | flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'> | | ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel Changelog (https://github.com/pypa/flit/blob/main/doc/history.rst#version-311): - Support for SPDX license expressions and multiple license files, as detailed in PEP 639: license = "BSD-3-Clause" license-files = ["LICENSE"] For now, only a single license identifier is allowed. More complex expressions describing multiple licenses & expressions may be supported in a future version. - The metadata format in produced packages is now version 2.4, to support the expanded license information. (From OE-Core rev: 268f1c96c70334d6a882d00e895e1f0c72cfa36f) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes/*: remove obsolete use of acpathsRoss Burton2025-02-274-10/+0
| | | | | | | | | | | The bulk of these recipes used acpaths to work around argument list limits as we passed the full path to every directory. As this behaviour no longer happens we can remove these workarounds. (From OE-Core rev: c4336f1b0da981b3ea396b17779b67898bceccef) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3-ctypes: depend on ldconfig only if distro-feature set"Changqing Li2025-02-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In oe-core, function ldconfig_postinst_fragment use exist of /sbin/ldconfig to decide if ldconfig is runned to generate the cache, and function _run_ldconfig will run ldconfig to generate cache during generate rootfs. ldconfig.service is actually not used since we have generate ld.so.cache during do_rootfs, refer[1][2][3]. ldconfig dependency is necessary when ldconfig not in DISTRO_FEATURES. The reverted commit causes regression when ldconfig not in DISTRO_FEATURES, before, without ldconfig in DISTRO_FEATURES, ctypes.util.find_library(name) can find the lib if it is installed, now, since ldconfig is not installed, ctypes.util.find_library(name) cannot find the lib even if it is installed. Here is one usecase(gtk+3 lib is installed, ctypes.util.find_library used to find the lib): import wx.lib.wxcairo as wxcairo File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/{}init{}.py", line 59, in <module> from .wx_cairocffi import _ContextFromDC, _FontFaceFromFont File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 189, in <module> gdkLib = _findGDKLib() File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 181, in _findGDKLib return _findHelper([libname], 'gdk', "Unable to find the GDK shared library") File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 170, in _findHelper raise RuntimeError(msg) RuntimeError: Unable to find the GDK shared library [1] https://git.openembedded.org/openembedded-core/tree/meta/classes-global/package.bbclass#n394 [2] https://git.openembedded.org/openembedded-core/tree/meta/lib/oe/rootfs.py#n316 [3] https://github.com/systemd/systemd-stable/blob/v255-stable/units/ldconfig.service (From OE-Core rev: f98299ec2fa65804ceeff634fa50c8d154e1c153) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* debugedit: fix build failure when enabling DEBUG_BUILDChen Qi2025-02-252-3/+84
| | | | | | | | | | | | | | | | | | | | When DEBUG_BUILD is enabled, we use "-Og" gcc options. In such case, the xxhash functions are considered not inline, yet debugedit.c defined XXH_INLINE_ALL to force inline, thus causing build failure. Backport a patch which add "--disable-inlined-xxhash" option and make debugedit use that option when DEBUG_BUILD is enabled. The 0003-Makefile.am-do-not-update-manual.patch is moved from musl specific patch to SRC_URI, because we now have a patch to modify debugedit.c and this will cause manual to be generated again. This is unnecessary and will report help2man missing. (From OE-Core rev: 7aaf60854c6bc9c075399de7450fe63b21b2883b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Skip test_write_read_appendKhem Raj2025-02-201-4/+10
| | | | | | | | | | | We use editline by default and test_write_read_append also fails especially on musl since this needs to be fixed upstream, extend the skip for test_write_read_append along with other history manipulation tests being skipped. (From OE-Core rev: fbafd942e6c78d1298fa64129149ff311b61fcf8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Ignore locale2 tests on muslKhem Raj2025-02-201-1/+1
| | | | | | | | | These tests require additional locales not supported in musl (From OE-Core rev: ce3190f9c9a23fc3277e9a6f91b06b2fc60dafb1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Oe-selftest changes for rust v1.82.0Deepesh Varatharajan2025-02-201-0/+48
| | | | | | | | | | | | A few tests are getting failed with x86 arch.The unsupported/failing tests are added to the exclude list and ignore the failing unit tests. Upstream-Status: Pending (From OE-Core rev: b1340173be2a3a91fbb135eb0e24e50c3b996425) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: oe-selftest issue fix with v1.82Deepesh Varatharajan2025-02-202-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | A new feature "Link std statically in rustc_driver" was introduced in rust_1.82 [https://github.com/rust-lang/rust/pull/122362],and which is causing the below failure in oe-selftest. Running unittests src/main.rs (build/x86_64-unknown-linux-gnu/stage1-rustc/ x86_64-poky-linux-gnu/release/deps/rustc_main-92223b15c9f2d827) uploaded ".../build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-poky-linux-gnu/ release/deps/rustc_main-92223b15c9f2d827", waiting for result /tmp/work/test4056/rustc_main-92223b15c9f2d827: error while loading shared libraries: librustc_driver-fb0866b1cd913c20.so: cannot open shared object file: No such file or directory The rustc_main binary depends on the librustc_driver-*.so file. However, this file has not been copied to QEMU. If we manually copy the file into QEMU and export the LD_LIBRARY_PATH, the issue does not occur. Issue reprorted to upstream and reverted the buggy code as a workaround. Upstream-Status: Inappropriate [reported at https://github.com/rust-lang/rust/issues/136237] (From OE-Core rev: 977bd1a10771a6588e596e1bbfd49e9af659aa4a) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Upgrade 1.81.0->1.82.0Deepesh Varatharajan2025-02-2011-145/+223
| | | | | | | | | | | | | | | Rust stable version updated to 1.82.0. https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html Renamed the below patch to adapt the new version. rv32-cargo-rustix-0.38.28-fix.patch->rv32-cargo-rustix-0.38.34-fix.patch Dropped: rv32-rustix-libc-backend.patch [addressed with rv32-cargo-rustix-0.38.34-fix.patch] (From OE-Core rev: cfa431e734a642796140347f09c3c54b41a7bb75) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: update CVE_PRODUCTMarta Rybczynska2025-02-201-1/+1
| | | | | | | | | NVD uses westes:flex for recent CVEs in flex, based on the GitHub repo (From OE-Core rev: 8bb6aa4b4acb16c59b66aa55b33053e3e8749e72) Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Include xz support by default and clean up PACKAGECONFIGRichard Purdie2025-02-183-12/+2
| | | | | | | | | | | | | | | Firstly, just include xz support in all gdb configurations to simplify config. Most systems would already have the shared library so this isn't a big problem for a larger debugging tool. The PACKAGECONFIG duplication is also confusing. The only PACKAGECONFIG which needs special handking is the python one due to the differing modules needed in the nativesdk case. Remove all the other duplicate entries which should work through our usual class extension code. (From OE-Core rev: d6eefdd66171c2bcdeeebc8a9b583c5383c80bf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.4.1 -> 3.4.2Wang Mingyu2025-02-181-2/+2
| | | | | | | | | License-Update: Added copyright for vendored turbo_tests. (From OE-Core rev: 8537992eba7adf40c58b0cc35fd87f690fd045c2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: upgrade 6.1.1 -> 7.0.0Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========== - net_if_addrs() also returns the broadcast address instead of None. - Python 2.7 is no longer supported. Latest version supporting Python 2.7 is psutil 6.1.X. Install it with: pip2 install psutil==6.1.*. - removed long deprecated Process.memory_info_ex() method. It was deprecated in psutil 4.0.0, released 8 years ago. Substitute is Process.memory_full_info(). - Avoid segfault (a cPython bug) on Process.memory_maps() for processes that use hundreds of GBs of memory. - virtual_memory() now relies on host_statistics64 instead of host_statistics. This is the same approach used by vm_stat CLI tool, and should grant more accurate results. - Python 2.7 is no longer supported. - removed long deprecated Process.memory_info_ex() method. (From OE-Core rev: 78a89c7cb3165ba7bf1c31292389ea05944a91a3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: upgrade 2.0.1 -> 2.1.1Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Pass a local version label to the build backend interface - Expose build-system dependencies via the poetry instance - Add has_upper_bound method to VersionConstraint - Improve performance of calculating intersections and unions of extra markers - Improve performance of calculating intersections and unions of complex markers - Improve performance of marker operations by simplifying python_version markers - Improve performance by caching parsed requirements - Improve error message when a referenced license file is missing - Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440 - Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded - Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint - Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata - Fix an issue where the __pycache__ directory and *.pyc files were included in sdists and wheels - Fix an issue where simplifying a python_version marker resulted in an invalid marker (From OE-Core rev: 98cb445ff59d863e5962fb84ab3161193d7419ae) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 25.0 -> 25.0.1Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | Changelog: =========== - Fix an unsupported type annotation on Python 3.10 and earlier. - Fix a regression where truststore would never be used while installing build dependencies. (From OE-Core rev: b1760b2292331e473120cd94d0dfca0270b150c9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 2.2.2 -> 2.2.3Wang Mingyu2025-02-181-1/+1
| | | | | | | (From OE-Core rev: 7086cddf6d0f7afee3da6890ddc3c1fcc129f45d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.3.8 -> 1.3.9Wang Mingyu2025-02-181-2/+2
| | | | | | | | | | | | License-Update: Copyright year updated to 2025. Fixed test suite to not rely upon ancient "future division" statement to test the Template.future_imports feature. (From OE-Core rev: 3c35df03ffb394022af16e8551b18d0015b3d657) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.124.7 -> 6.125.3Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: ============ - Improves sharing of some internal cache behavior. - Optimize performance (improves speed by ~5%) and clarify the wording in an error message. - Fixes a bug since around version 6.124.4 where we might have generated -0.0 for st.floats(min_value=0.0), which is unsound. - Add 2024.12 to the list of recognized Array API versions in hypothesis.extra.array_api. - Registration of experimental Alternative backends for Hypothesis is now done via hypothesis.internal.conjecture.providers.AVAILABLE_PROVIDERS instead of hypothesis.internal.conjecture.data.AVAILABLE_PROVIDERS. - Refactor some internals for better type hinting. (From OE-Core rev: d5400f3df7167d6b66a03e90fafff8a483e865ed) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2024.11 -> 2025.2Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - schemas: gpio: Add descriptions - schemas: root-node: add 'spectacles' chassis-type - schemas: gpio: Restrict HOG node name pattern to suffixes - schemas: property-units: Add the picoamp type - validator: Add warning for properties with incompatible multiple types - schemas: Add access controller consumer - github: Disable python 3.7 - meta-schemas: Allow additionalItems to be a schema - on Dec 17, 2024 - dt-bindings: trigger: Add trigger source - schemas: pci: bridge: Document PCIe equalization presets - dtb: Fix type collision with "mode-gpios" (From OE-Core rev: 4ffda90946be7b8deab3be62961bf2f4e2e4770e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 3.0.11 -> 3.0.12Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | | | | | | | | Bugfix: =========== * Release 3.0.11 introduced some incorrect "noexcept" warnings. * Conditional assignments to variables using the walrus operator could crash. * Dict assignments to struct members with reserved C names could generate invalid C code. * Fused ctuples with the same entry types but different sizes could fail to compile. * In Py3, 'pyximport' was not searching 'sys.path' when looking for importable source files. * Using '& 0' on integers produced with 'int.from_bytes()' could read invalid memory on Python 3.10. * Modules could fail to compile in PyPy 3.11 due to missing CPython specific header files. Patch by Matti Picus. * Minor fix in C++ "partial_sum()" declaration. (From OE-Core rev: 8ea41b6736f2a0d20816081dcb2363b626030385) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-babel: upgrade 2.16.0 -> 2.17.0Wang Mingyu2025-02-181-2/+2
| | | | | | | | | License-Update: Copyright year updated to 2025. (From OE-Core rev: 8d798c1df8f6194ae1d1640ec3156d14b3c9bb6e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtest-warnings-perl: upgrade 0.037 -> 0.038Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | Changelog: - no longer swap out done_testing method if :no_end_test is configured (From OE-Core rev: da8507047e3611909b2b5577dae11691a77483c7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: upgrade 11.1.1 -> 11.1.3Wang Mingyu2025-02-182-29/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-gcc9.patch removed since it's included in 11.1.3 Changelog: ========= - Fixed compilation on GCC 9.4 - Worked around an internal compiler error when using C++20 modules with GCC 14.2 and earlier - Worked around a bug in GCC 6 - Fixed an issue caused by instantiating 'formatter<const T>' - Fixed formatting into 'std::ostreambuf_iterator' when using format string compilation - Restored a constraint on the map formatter so that it correctly reports as unformattable when the element is - Reduced the size of format specs - Readded 'args()' to 'fmt::format_context' - Fixed a bogus MSVC warning - Fixed a pedantic mode error in the CMake config - Fixed ABI compatibility with earlier 11.x versions - Added 'wchar_t' support to the 'std::bitset' formatter - Prefixed CMake components with 'fmt-' to simplify usage of {fmt} via 'add_subdirectory' - Updated docs for meson - Fixed a compilation error in chrono on nvcc - Fixed various warnings (From OE-Core rev: cfe2d61fa142ae146abdb44a3de028b9804ddc91) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.8.4 -> 1.8.5Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========== - (mkfs.erofs) Support '-Efragdedupe=inode' for multithreading; - (dump.erofs) Add '--cat' to show file contents (Juan Hernandez); - (mkfs.erofs) Fix inefficient fragment deduplication; - (fsck.erofs/erofsfuse) Introduce fragment cache; - (fsck.erofs) Preserve S{U,G}ID bits properly on extraction; - (mkfs.erofs, tarerofs) Align non-existent directories with their parents; - Several minor bugfixes. (From OE-Core rev: 73288647931cb498e15a1846a77fe02d2f1e75c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: upgrade 5.3.0 -> 5.3.1Khem Raj2025-02-181-1/+1
| | | | | | | | (From OE-Core rev: 4572eee91b73e0a0b50c8537a4ea6ebad1476b66) 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>
* dnf: Set SEQUOIA_CRYPTO_POLICY in wrapped toolsZoltán Böszörményi2025-02-181-0/+1
| | | | | | | | | Point to the crypto policy file so dnf can work with signed packages. (From OE-Core rev: 7067d469742f0be4dd2b9ea3953fb039a4410085) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Set SEQUOIA_CRYPTO_POLICY in wrapped toolsZoltán Böszörményi2025-02-181-0/+1
| | | | | | | | | Point to the crypto policy file so RPM signing may work. (From OE-Core rev: 23083b72e3e6587dca9ca5a16762676e981b4a3b) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm-sequoia: New recipe for version 1.7.0Zoltán Böszörményi2025-02-182-0/+546
| | | | | | | | | | | | rpm 4.20 removed the built-in code to handle signed packages and uses rpm-sequoia as a more feature complete library. Runtime-depend on rpm-sequoia-crypto-policy. (From OE-Core rev: d8b01b436d37f4deb2de5d234e8f04c957719ca3) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm-sequoia-crypto-policy: New recipeZoltán Böszörményi2025-02-181-0/+38
| | | | | | | | | This ships a crypto policy file for rpm-sequoia. (From OE-Core rev: 8e499cefab6bfb40b40ae3eb811ca3eb51a7d4bc) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-license-expression: fix ptest installationRoss Burton2025-02-181-3/+4
| | | | | | | | | | | | | This recipe was overriding do_install_ptest which is provided by the ptest-python-pytest class, so there was no tests or run-ptest installed. Use an append override, and minimise the installed files: use a symlink so that scancode-licensedb-index.json is found and install setup.cfg. (From OE-Core rev: 164876d33af9edaac37a686726727d3bc3d10aa9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: respect GIT_CEILING_DIRECTORIESEtienne Cordonnier2025-02-182-0/+37
| | | | | | | | | | | | | | | | | | | | | | Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=15740 python3-setuptools-scm was ignoring GIT_CEILING_DIRECTORIES which is set by poky, and it was thus finding a wrong value of "toplevel" in ./src/setuptools_scm/_file_finders/git.py The code is supposed to generate the list of files contained in python3-setuptools-scm, but it was instead running "git archive" on whatever git repository was above the build directory, because the tarball containing the sources of python3-setuptools-scm does not contain a .git directory. This is barely noticeable when building as a subdirectory of poky which is only 48MB, but this was causing serious slowdowns of python3-setuptools-scm:do_compile when building inside a big git repository with files tracked using git-lfs (50 minutes in my use-case). Reported upstream as https://github.com/pypa/setuptools-scm/issues/1103 (From OE-Core rev: 4ebe72477484cf68165b6f736ce10373e97d0e6d) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: fix ptestChen Qi2025-02-111-10/+0
| | | | | | | | | | | | | | | | For now, python3-bcrypt's ptest package does not have run-ptest script. The ptest-python-pytest.bbclass has do_install_ptest which will generate run-ptest. So the do_install_ptest in pytho3n-bcrypt is not needed, and it does not generate run-ptest. Also remove the RDEPENDS setting because ptest-python-pytest.bbclass has set it. (From OE-Core rev: 9640c89ae0fcc72b53fdf59b01616ab2b62469ed) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.13.1 -> 3.13.2Peter Marko2025-02-1111-67/+15
| | | | | | | | | | | | | | | Release notes: https://docs.python.org/release/3.13.2/whatsnew/changelog.html#python-3-13-2 Solves CVE-2025-0938, CVE-2024-12254 and 3 other vulnerabilities without CVE number assigment. Remove patch which is included in new release. (From OE-Core rev: 4b91478d47db319af847a45b7d57bb7223da55f8) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: Fix failing ptests with clangKhem Raj2025-02-112-1/+36
| | | | | | | | | | | | Clang finds additional warnings with cffi generated code _CFFI_test_verify_anonymous_struct_with_star_typedef.cpp:587:10: error: non-constant-expression cannot be narrowed from type 'long' to 'size_t' (ak│a 'unsigned long') in initializer list [-Wc++11-narrowing] (From OE-Core rev: 470edc62b1821bcbb679bd3822acd98e9996c9e7) 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>
* python3-typogrify: upgrade 2.0.7 -> 2.1.0Trevor Gamblin2025-02-101-3/+3
| | | | | | | | | | | | | | | | | | | | | License-Update: Update copyright year, attribution bounds The project has changed to using a pyproject.toml with hatchling as the build backend, so change the recipe to match. Changelog (https://github.com/justinmayer/typogrify/releases/tag/2.1.0): - Add ability to select which filters are applied (#1 by davidlesieur & barrysteyn) - jinja_filters: Update import for Jinja 3.1 (by jyelloz) - Ensure all available tests are run (by mcepl) - Package via pyproject instead of Setuptools (by justinmayer) - Improve testing, linting, and CI tooling - Drop support for Python < 3.9 (From OE-Core rev: 037f04b08c76caee6bda176e18c1e0b824f3bcf6) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: add PACKAGECONFIG dependenciesDaniel McGregor2025-02-101-2/+2
| | | | | | | | | | | The cap and acl configs were missing dependency specifications. They could get satisfied transitively if archive was also used, but alone get missed. (From OE-Core rev: 7e89209fd52b1b1652c65013eb3bcc40cb24cda5) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Drop ld-is-gold supportRichard Purdie2025-02-103-29/+1
| | | | | | | | | | | Gold hasn't seen development in some time and is being dropped from binutils releases. Drop the small number of special cases for it we were carrying. This patch also turns off gold in the binutils recipe. (From OE-Core rev: a4addb9ab63011e7c604fc5daff95559e7d214e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.22.11 -> 1.22.12Peter Marko2025-02-107-4/+4
| | | | | | | | | | | | | | | | | | | Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.11..go1.22.12 5817e65094 (tag: go1.22.12) [release-branch.go1.22] go1.22.12 0cc45e7ca6 [release-branch.go1.22] crypto/internal/fips140/nistec: make p256NegCond constant time on ppc64le c3c6a50095 [release-branch.go1.22] cmd/go/internal/modfetch: do not trust server to send all tags in shallow fetch e0a01acd04 [release-branch.go1.22] cmd/compile: fix write barrier coalescing Fixes CVE-2025-22866 [1] https://github.com/golang/go/compare/go1.22.11...go1.22.12 (From OE-Core rev: 423ad5a67768738dac454b1e2aa27746f74511c5) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Fix to work without gold on aarch64Richard Purdie2025-02-102-0/+50
| | | | | | | | | | If we remove gold from binutils, go-runtime fails to build. There was a workaround in go to use gold as the bfd linker had a bug. The issue was fixed so backport dropping the workaround fmr upstream. (From OE-Core rev: 4636b7206b2e4247835d60956e62f5a2efea9e81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix do_install failed for nativesdk-perlhongxu2025-02-061-1/+1
| | | | | | | | | | | | | | | While set 'baselib = "lib64"' for nativesdk, perl do_install failed: | rm: cannot remove 'tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/ 5.40.0/image//usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/ usr/lib64/perl5/5.40.0/*/CORE/libperl.so': No such file or directory Refer perl class-target do_configure, explicitly pass option '--libdir=${libdir}' to nativesdk do_configure (From OE-Core rev: 68b368c77198c8f6e5f59e7b8a568645240ae426) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix typo in create_manifest3.pyOmri Sarig2025-02-051-1/+1
| | | | | | | | | | Fixed a misspelled "posible" to "possible". (From OE-Core rev: 7e2d743e4809d6cbaa8e441dc42624eb65daad63) 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>
* python3: Fix typo in python3-manifest.jsonOmri Sarig2025-02-051-1/+1
| | | | | | | | | | Fix a wrong "the" to be the intended "that". (From OE-Core rev: fe55f05a7068ba7b277a253058fdcc8964222bc1) 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>
* rust: restore parallel builds, disable lto only for rustdocAlexander Kanavin2025-02-054-28/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | The original reproducibility fix was problematic for a couple reasons: - disabling both lto and parallel builds had an unfortunate effect of nearly doubling rust-native and rust build times (which are slow to begin with). Disabling lto hurts runtime performance too. - both of these things were done for the *entire build*, while the only problematic item is the librustdoc crate. - lto=off option in config.toml has an effect only on building rustc (the compiler itself), and doesn't help with rustdoc reproducibility. Actual fix is the codegen-units setting, which indirectly disables lto via giving llvm only one unit to work with at a time. After some digging, here's a more targeted fix for the problem. Why librustdoc is non-reproducible, but not anything else remains a mystery, hidden deep in rust-llvm's lto optimization code. (From OE-Core rev: a1977407a88a2004c3a6d2dba1d5bfe1aa1664b2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust/README-rust.md: fix markdown style issuesIgor Opaniuk2025-02-051-11/+13
| | | | | | | | | | | | | | | | | | | | Fix markdown style issues using markdownlint tool [1]: $ cat ./meta/recipes-devtools/rust/README-rust.md | mdl (stdin):1: MD002 First header should be a top level header (stdin):25: MD006 Consider starting bulleted lists at the beginning of the line (stdin):3: MD009 Trailing spaces (stdin):11: MD009 Trailing spaces (stdin):26: MD009 Trailing spaces (stdin):39: MD012 Multiple consecutive blank lines (stdin):32: MD032 Lists should be surrounded by blank lines (stdin):36: MD032 Lists should be surrounded by blank lines [1] https://github.com/markdownlint/markdownlint (From OE-Core rev: 62bade83dd6e021f11e9599a2699a1b202324f0f) Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: disable ptestsRandy MacLeod2025-02-053-227/+1
| | | | | | | | | | | | | | | | | The valgrind test runner, vg_regtest, changed in the 3.24 update and there are some additional valgrind ptest regressions happening with glibc-2.41. Disable the ptests for now. Some of the remaining patches can likely be dropped but I'd rather carry them so that re-enabling the ptests is simpler. Also the patch series have some dependencies and unwinding that would block the glibc-2.41 unnecessarily. This builds for glibc, musl for qemux86-64, runs: -> valgrind [--leak-check=full] /bin/ls /tmp (From OE-Core rev: 8fc31fb235af12530475ec5055f6c00ccfafadfa) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>