summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* gcc: Upgrade to 13.2 releaseKhem Raj2023-07-3035-63/+100
| | | | | | | | | | | | This is a bugfix [1] release on GCC-13 release with 58 [2] bugs fixed [1] https://gcc.gnu.org/pipermail/gcc-announce/2023/000179.html [2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=390723&resolution=FIXED&target_milestone=13.2 (From OE-Core rev: 89175021995db0e7f81a74c6bafcebdce9de8939) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/rust: Add failed test cases to exclude list for Rust Oe-selftestYash Shinde2023-07-302-2325/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the failing test cases in exclude_list to exclude them from testing during the Rust Oe-selftest. * Drop meta/recipes-devtools/rust/files/rust-oe-selftest.patch file as the failing tests are moved from being a patch to exclude_list in meta/lib/oeqa/selftest/cases/rust.py. * When updating to a newer version of Rust, it is manually needed to update the exclude_list. The tests that fail are observed to work on some versions and fail on others. These tests have been excluded in order to successfully complete testing of Rust Oe-selftest. * The tests that are passed and skipped are as follows- Target PASS SKIPPED ARM 15507 428 ARM64 15535 400 MIPS64 15479 456 X86 15528 407 X86-64 15643 292 Also, time the test execution and pass the time taken for inclusion in the test report. [RP: Note duration addiion in the commit log] (From OE-Core rev: e81197c4d3b36e9ad52e56708c21987cacd13147) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Fix BOOTSTRAP_CARGO failure during Rust Oe-selftestYash Shinde2023-07-302-0/+128
| | | | | | | | | | | | | BOOTSTRAP_CARGO command fails due to codegen flags like `-Cpanic` were prevented from being reflected in the current target configuration which leads to Rust build(rust version 1.70) failure in Oe-selftest. Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/9dffb52738e0b2ccd15af36d4607a709b21e020c] (From OE-Core rev: a48e3612b5dc0e58a89f88a914365e926101c90b) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: Backport upstreamed patchesKhem Raj2023-07-3029-1/+3273
| | | | | | | | | These patches improve the Y2038 support on top of 2.72c release (From OE-Core rev: ffff6eb96f0c500cf4386e842b73fc11156b469a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: Upgrade to 2.72cRichard Purdie2023-07-304-141/+28
| | | | | | | | | | | | | | | | | | | | | | | | | 2.72c is a prerelease version of autoconf 2.73. It contains largefile and y2038 64 bit time_t improvements for 32 bit architectures. Rather than work on the older codebase, this brings us to work with the recent autoconf upstream with the 64 bit changes. It is unclear when upstream will release 2.73 but it is easier for us to be aligned now we've done the bulk of the work needed to update. Upstream added several patches which fixed several common failures OE builds ran into (backported in the next commit). In general testing has otherwise been good for us. There is an unfortunate gnulib largefile.m4 bug. This change patches various software to workaround it, next time they update new versions of the gnulib code will be pulled in which address the issue with the official fix. There are also a couple of ordering related fixes for apr and libarchive. (From OE-Core rev: bb74a03e927b4867d885ad3539b097f0e7ed108c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: Update patch statusRichard Purdie2023-07-291-1/+1
| | | | | | | | The patch was submitted upstream, thanks Khem. (From OE-Core rev: 5bfa569254a68f246c1c4cc1208afce769cff7bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: fix the way path is written to environment-setup.dOleksandr Hnatiuk2023-07-271-1/+1
| | | | | | | | | | | | | | | | | | | $OECORE_NATIVE_SYSROOT is not escaped, thus it is expanded to an empty string. This happens to work because we have ${datadir} which in this context is relocated to the buildtools sysroot after installation of buildtools. If the $ before OECORE_NATIVE_SYSROOT is escaped, it will be saved to file.sh as intended, but MAGIC will point to the wrong location because both OECORE_NATIVE_SYSROOT and datadir resolve to sysroot which doubles the path like so: /path/to/buildtools/sysroots/x86_64-xesdk-linux/path/to/buildtools/sysroots/x86_64-xesdk-linux/usr/share/misc/magic.mgc which does not exist. So, removing reference to OECORE_NATIVE_SYSROOT. (From OE-Core rev: c6206249683876670602888e78ecaf719753a317) Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: Fix 32 bit architecture segfaults with 64 bit timeRichard Purdie2023-07-262-0/+70
| | | | | | | | | | | | | | After including time64.inc, createrepo-c was segfaulting on 32 bit architectures when creating repo indexes (even for an empty repo). Add a patch from Khem to fix this and some other compiler warnings related to 64 bit time on 32 bit. [YOCTO #15170] (From OE-Core rev: a5137a5c5c03a728faf57fd335ca8378f4f4cb91) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyyaml: upgrade 6.0 -> 6.0.1Tim Orling2023-07-251-1/+1
| | | | | | | | | | | | | | | | No changelog provided; new commits are: c42fa3b (tag: 6.0.1, origin/release/6.0) 6.0.1 release ae08bdc block Cython 3.0+ as a build dep (#702) f873cfe Add python 3.11 support (#663) https://github.com/yaml/pyyaml/compare/6.0...6.0.1 (From OE-Core rev: 3480d13959652908b34b929158f1cf4e56c014bf) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.81.2 -> 6.82.0Tim Orling2023-07-251-1/+1
| | | | | | | | | | | | | | | | https://hypothesis.readthedocs.io/en/latest/changes.html#v6-82-0 6.82.0 - 2023-07-20 * from_regex() now supports the atomic grouping ((?>...)) and possessive quantifier (*+, ++, ?+, {m,n}+) syntax added in Python 3.11. Thanks to Cheuk Ting Ho for implementing this! (From OE-Core rev: 4d41717cf4c0a71d0c220e9f3633d07af0184472) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-urllib3: upgrade 2.0.3 -> 2.0.4Tim Orling2023-07-251-1/+1
| | | | | | | | | | | | | | | | | | | https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#204-2023-07-19 2.0.4 (2023-07-19) * Added support for union operators to HTTPHeaderDict (#2254) * Added BaseHTTPResponse to urllib3.__all__ (#3078) * Fixed urllib3.connection.HTTPConnection to raise the http.client.connect audit event to have the same behavior as the standard library HTTP client (#2757) * Relied on the standard library for checking hostnames in supported PyPy releases (#3087) (From OE-Core rev: 3513a31db197fcaf78a68a48be448b45b60defbf) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade 2.39.3 -> 2.41.0Trevor Gamblin2023-07-251-2/+1
| | | | | | | | | | | | | | | Changelog for 2.41.0: https://github.com/git/git/blob/master/Documentation/RelNotes/2.41.0.txt Changelog for 2.40.0: https://github.com/git/git/blob/master/Documentation/RelNotes/2.40.0.txt git-add--interactive was removed in 2.40.0 in favor of git add -i, which caused the AUH upgrade failure as that PERLTOOLS entry was no longer relevant. (From OE-Core rev: 60ff9714328ada93029bde6623f64977178a2de0) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: return wrapper to fix builds when file is in buildtools-tarballOleksandr Hnatiuk2023-07-251-0/+1
| | | | | | | | | | | | | | | | | | | Wrapper that adds proper path to magic file was removed in 47db876d09d9a4394048579c21d0b394450ce681 in favor of environment-setup.d/file.sh which now contains `MAGIC` environment variable. This breaks builds that rely on external buildtools with `file` included in buildtools-tarball (e.g. via TOOLCHAIN_HOST_TASK) because do_populate_sysroot task invokes `file` via `subprocess.check_output` (in is_elf function) and doesn't use variables from files in environment-setup.d. To address this use case, we need to preserve the wrapper, but also have environment-setup.d/file.sh for the purposes described in 47db876d09d9a4394048579c21d0b394450ce681. (From OE-Core rev: e76b059cf4ba9a79150032d68d012b233dd79a65) Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: add python3-dtc to RDEPENDSTrevor Gamblin2023-07-251-1/+6
| | | | | | | | | | Also reorder the RDEPENDS to be alphabetical. (From OE-Core rev: a185536b2a38f362a7f0e883f9010f6b34547ca9) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtc: add from meta-virtualizationTrevor Gamblin2023-07-252-0/+158
| | | | | | | | | | | This provides pylibfdt, which is a runtime dependency for the dtschema module that we already carry in oe-core. (From OE-Core rev: 123077ecd9f3c1839da0d7b1474d689e5c6a689c) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2023.4 -> 2023.6.1Trevor Gamblin2023-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No changelog provided. Diff between versions: 08ab41a (tag: v2023.06.1, origin/master) Fix undocumented compatible check 90ce246 (tag: v2023.06) Revert "Partially Revert "dtschema: add nanoamp unit"" a4fe59b schemas: Allow 'fail' value for 'status' 1ea798a schemas: Allow 'status' for node names 2945ab5 schemas: Allow node names starting with number 33cbf96 schemas: Allow '/' in compatible strings 470b522 fixups: Handle 'multipleOf' keyword in schemas 6fc2e30 meta-schemas: Ensure "enum" contains only strings or integers bd525a4 meta-schemas: Disallow 'binding' or 'schema' in schema 'title' 822ce6a schemas: cpu: Add some missing common properties e3dfc1e schemas: Use 'oneOf' rather than if/then for *-supply properties 26b0e53 dtschema: Use format strings for printing bc164f9 Split DTValidator class into 2 classes 4ddf315 meta-schemas: Ensure DT property names contain either an object or boolean 3db9af1 meta-schemas: add $defs schema checking 85e967f schemas: iio: add label 31cc52a dtschema: Move fixups to separate file 9e4dd3b dtschema: Drop unnecessary quote checking 41e1192 dtb: Drop unused pprint import (From OE-Core rev: d8a5ba078f027f1d60d97513fe10dcc149ef8d1c) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve_check: convert CVE_CHECK_IGNORE to CVE_STATUSAndrej Valek2023-07-2110-46/+18
| | | | | | | | | | | | | - Try to add convert and apply statuses for old CVEs - Drop some obsolete ignores, while they are not relevant for current version (From OE-Core rev: 1634ed4048cf56788cd5c2c1bdc979b70afcdcd7) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Reviewed-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: ensure ptest regression captureTrevor Gamblin2023-07-211-1/+1
| | | | | | | | | | | | Add a conditional echo statement to make sure that there is a FAIL emitted when python3 ptests regress in a way sed doesn't catch. (From OE-Core rev: 2100c588863b9da64ea8f2eb6be4ff445e26b5f0) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix CVE-2023-31486Soumya2023-07-213-0/+255
| | | | | | | | | | | | | | | | | | | HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and available standalone on CPAN, has an insecure default TLS configuration where users must opt in to verify certificates. References: https://nvd.nist.gov/vuln/detail/CVE-2023-31486 Upstream patches: https://github.com/chansen/p5-http-tiny/commit/77f557ef84698efeb6eed04e4a9704eaf85b741d https://github.com/chansen/p5-http-tiny/commit/a22785783b17cbaa28afaee4a024d81a1903701d (From OE-Core rev: e021fcc420b15d96b32f77f2b38324651dbd454c) Signed-off-by: Soumya <soumya.sambu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* repo: upgrade 2.34.1 -> 2.35Wang Mingyu2023-07-211-1/+1
| | | | | | | | | | | | | | | Changelog: ========== Fixed a couple of bugs in ExitEvent logging: - log exitcode 130 on KeyboardInterrupt - log exitcode 1 on unhandled Exception - log errorevent with specific reason for exit (From OE-Core rev: da4a177be88b476ff15c26bc29215a9cdb7308eb) 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-numpy: upgrade 1.25.0 -> 1.25.1Wang Mingyu2023-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | A total of 14 pull requests were merged for this release. ======================================================== #23968: MAINT: prepare 1.25.x for further development #24036: BLD: Port long double identification to C for meson #24037: BUG: Fix reduction return NULL to be goto fail #24038: BUG: Avoid undefined behavior in array.astype() #24039: BUG: Ensure __array_ufunc__ works without any kwargs passed #24117: MAINT: Pin urllib3 to avoid anaconda-client bug. #24118: TST: Pin pydantic<2 in Pyodide workflow #24119: MAINT: Bump pypa/cibuildwheel from 2.13.0 to 2.13.1 #24120: MAINT: Bump actions/checkout from 3.5.2 to 3.5.3 #24122: BUG: Multiply or Divides using SIMD without a full vector can... #24127: MAINT: testing for IS_MUSL closes #24074 #24128: BUG: Only replace dtype temporarily if dimensions changed #24129: MAINT: Bump actions/setup-node from 3.6.0 to 3.7.0 #24134: BUG: Fix private procedures in f2py modules (From OE-Core rev: 7371f2513d30bf6a17620271df8abbdaeafaae6b) 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-git: upgrade 3.1.31 -> 3.1.32Wang Mingyu2023-07-211-1/+1
| | | | | | | | | | | | | | | | | Changelog: =========== -Block insecure non-multi options in clone/clone_from -Don't rely on __del__ -fix pypi long description -Name top-level exceptions as private variables -commit trailers should be a list instead of a dictionary -Fix up the commit trailers functionality (From OE-Core rev: 8320d23b1d90f8e7454573c59d8fd360565acf48) 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-editables: upgrade 0.3 -> 0.4Wang Mingyu2023-07-211-1/+1
| | | | | | | | | | | | | | | | Changelog: =========== Add a new add_to_subpackage method. Add type annotations. Internal admin: Switch to nox for automation Internal admin: Switch to ruff for linting Internal admin: Switch from setuptools to flit_core (From OE-Core rev: dae1a0e62c1c93ae51395feae93d14d7e6f788eb) 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>
* opkg-utils: upgrade 0.5.0 -> 0.6.2Wang Mingyu2023-07-211-1/+1
| | | | | | | | (From OE-Core rev: b0fe9b3dfbe78716c96b70ef098d9cfbf430d5b7) 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>
* opkg: upgrade 0.6.1 -> 0.6.2Wang Mingyu2023-07-213-89/+2
| | | | | | | | | | | | | | | | | | | | | 0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch 0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch removed since they're included in 0.6.2. Changelog: =========== ### Changed - the project's developer documentation to be more correct and current. ### Fixed - a bug in the 'opkg-keys' utility script which caused the script to ignore settings in the '/etc/opkg/gpg/gpg.conf' file. - a compilation error in 'md5.c' when using clang16+ and '-std >= gnu11'. (From OE-Core rev: d7c8a58297e38f6222035aa9135fedf2ca387742) 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-pip: upgrade 23.1.2 -> 23.2Wang Mingyu2023-07-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: Upgrade setuptools to 68.0.0 Upgrade typing_extensions to 4.7.1 Changelog: ========== -Fix pip completion --zsh. (#11417) -Prevent downloading files twice when PEP 658 metadata is present (#11847) -Add permission check before configuration (#11920) -Fix deprecation warnings in Python 3.12 for usage of shutil.rmtree (#11957) -Ignore invalid or unreadable origin.json files in the cache of locally built wheels. (#11985) -Fix installation of packages with PEP658 metadata using non-canonicalized names (#12038) -Correctly parse dist-info-metadata values from JSON-format index data. (#12042) -Fail with an error if the --python option is specified after the subcommand name. (#12067) -Fix slowness when using importlib.metadata (the default way for pip to read metadata in Python 3.11+) and there is a large overlap between already installed and to-be-installed packages. (#12079) -Pass the -r flag to mercurial to be explicit that a revision is passed and protect against hg options injection as part of VCS URLs. Users that do not have control on VCS URLs passed to pip are advised to upgrade. (#12119) (From OE-Core rev: 5bf45f8b29f15dbf1e3880f61a95f326cd32f98f) 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>
* automake: fix buildtest patchJulien Stephan2023-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Add check_PROGRAMS as a dependency of buildtest-TESTS target. This is required because according to the official automake documentation [1]: * TESTS: contains all the tests files * check_PROGRAMS: contains the programs used by the tests * check_PROGRAMS is not automatically added to TESTS So, by using only TESTS as a dependency for buildtest-TESTS we may end up having runtime errors because of missing program required by the tests. [1]: https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html (From OE-Core rev: ee3e2af4f8ed95b4fd0f7cec52ae4e169401b719) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.80.0 -> 6.81.2Tim Orling2023-07-191-1/+1
| | | | | | | | | | | https://hypothesis.readthedocs.io/en/latest/changes.html#v6-81-2 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-81-1 (From OE-Core rev: 95f0610650f5a82e669a8962205f23d097c08516) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.15.0 -> 3.16.2Tim Orling2023-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/jaraco/zipp/blob/v3.16.2/NEWS.rst v3.16.2 * Bugfixes: - In Path.match, Windows path separators are no longer honored. The fact that they were was incidental and never supported. (#92) - Fixed name/suffix/suffixes/stem operations when no filename is present and the Path is not at the root of the zipfile. (#96) - Reworked glob utilizing the namelist directly. (#101) v3.16.1 * Bugfixes: - Replaced the fnmatch.translate with a fresh glob-to-regex translator for more correct matching behavior. (#98) v3.16.0 * Features: - Require Python 3.8 or later. License-Update: removed Copyright (see https://github.com/jaraco/skeleton/issues/78) (From OE-Core rev: 8ffcbf120c7b35187f24e45fb8d35558ac1a697e) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: upgrade 4.9.2 -> 4.9.3Khem Raj2023-07-191-1/+1
| | | | | | | | (From OE-Core rev: 4185814c1072da2cea67eda209395de6306a35d5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: ignore CVE-2023-36632Ross Burton2023-07-191-0/+2
| | | | | | | | | | | This CVE shouldn't have been filed as the "exploit" is described in the documentation as how the library behaves. (From OE-Core rev: c652f094d86c4efb7ff99accba63b8169493ab18) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.20.5 -> 1.20.6Jose Quaresma2023-07-198-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.5..go1.20.6 origin/release-branch.go1.20 2c358ffe97 (tag: go1.20.6, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.6 312920c00a [release-branch.go1.20] net/http: validate Host header before sending 4db13d762b [release-branch.go1.20] runtime: set raceignore to zero when starting a new goroutine 08a58dd8b6 [release-branch.go1.20] runtime: allow for 5 more threads in TestWindowsStackMemory* 65092835c5 [release-branch.go1.20] cmd/go: skip TestScript/gccgo_link_ldflags on aix/ppc64 bca817594c [release-branch.go1.20] crypto/x509: tolerate multiple matching chains in testVerify b8e67d1ddd [release-branch.go1.20] cmd/go/internal/test: don't wait for previous test actions when interrupted 3db4f8146c [release-branch.go1.20] runtime: resolve checkdead panic by refining `startm` lock handling in caller context 6b45fb7b73 [release-branch.go1.20] runtime: fallback to TEB arbitrary pointer when TLS slots are full be30960e58 [release-branch.go1.20] runtime: use 1-byte load for address checking in racecallatomic b59efe6c34 [release-branch.go1.20] net/mail: permit more characters in mail headers c32f1afb41 [release-branch.go1.20] all: make safe for new vet analyzer c7b145655b [release-branch.go1.20] cmd/go: fix tests for new builder environment 03063101a2 [release-branch.go1.20] text/template: set variables correctly in range assignment d51e322a3f [release-branch.go1.20] go/printer: error out of Fprint when it would write a '//line' directive with a multiline file path 49594244d3 [release-branch.go1.20] cmd/cover: error out if a requested source file contains a newline 4719048211 [release-branch.go1.20] cmd/cgo: error out if the source path used in line directives would contain a newline 6c606fc191 [release-branch.go1.20] cmd/go: fix TestScript/build_cwd_newline with CGO_ENABLED=0 63ad2b5811 [release-branch.go1.20] cmd/compile: do not report division by error during typecheck 95f377daad [release-branch.go1.20] cmd/go: retain extra roots to disambiguate imports in 'go mod tidy' a7a48fad7e [release-branch.go1.20] crypto/ecdsa: properly truncate P-521 hashes f5172dcd38 [release-branch.go1.20] go/build: check for invalid import paths again 8b3acefcbe [release-branch.go1.20] cmd/go: omit checksums for go.mod files needed for go version lines more often in pre-1.21 modules 1008486a9f [release-branch.go1.20] cmd/cgo: correct _cgo_flags output [1] https://github.com/golang/go/compare/go1.20.5...go1.20.6 (From OE-Core rev: 8d8216d8c4d37cc0d9508eb644653f94fff8989c) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: Add rust selftestsYash Shinde2023-07-193-0/+2331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch implements Rust testing framework similar to other selftest, specifically the gcc selftest in OE. It uses the client and server based method to test the binaries for cross-target on the image. The test framework is a wrapper around the Rust build system as ./x.py test. It tests many functionalities of Rust distribution like tools, documentation, libraries, packages, tools, Cargo, Crater etc. Please refer the following link for detailed description of Rust testing:- https://rustc-dev-guide.rust-lang.org/tests/intro.html#tool-tests To support the rust tests in oe-core, the following functions were added:- setup_cargo_environment(): Build bootstrap and some early stage tools. do_rust_setup_snapshot(): Install the snapshot version of rust binaries. do_configure(): To generate config.toml do_compile(): To build "remote-test-server" for qemu target image. Approximate Number of Tests Run in the Rust Testsuite :- 18000 Approximate Number of Tests that FAIL in bitbake environment :- 100-150 Normally majority of the testcases are present in major folder "test/" It contributes to more than 80% of the testcases present in Rust test framework. These tests pass as expected on any Rust versions without much fuss. The tests that fail are of less important and contribute to less than 2% of the total testcases. These minor tests are observed to work on some versions and fail on others. They have to be added, ignored or excluded for different versions as per the behavior. These tests have been ignored or excluded in the Rust selftest environment to generate success of completing the testsuite. These tests work in parallel mode even in the skipped test mode as expected. Although the patch to disable tests is large, it is very simple in that it only disables tests. When updating to a newer version of Rust, the patch can usually be ported in a day. Tested for X86, X86-64, ARM, ARM64 and MIPS64 on Ubuntu 22.04. (From OE-Core rev: 7c3346d8fbe85302b605bb3f772b029ea7bfaa6c) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com> Signed-off-by: Yash Shinde <yashinde145@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-editables: add python3-io to RDEPENDSTrevor Gamblin2023-07-191-0/+4
| | | | | | | | | | editables needs the ipaddress module to function, so add python3-io to the RDEPENDS list. (From OE-Core rev: 2d73136998f867663f1be0f28bce93ffbd993258) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.35 -> 0.29.36Trevor Gamblin2023-07-192-1/+1
| | | | | | | | | | | | | | | | | Changelog: https://github.com/cython/cython/blob/master/CHANGES.rst Bugs fixed - Async generators lost their return value in PyPy. (Github issue :issue:`5465`) - The outdated C macro _PyGC_FINALIZED() is no longer used in Py3.9+. - The deprecated Py_OptimizeFlag is no longer used in Python 3.9+. (Github issue :issue:`5343`) - Using the global __debug__ variable but not assertions could lead to compile errors. - The broken HTML template support was removed from Tempita. (Github issue :issue:`3309`) (From OE-Core rev: 8bbb6af6fe28ec950e0805b7aca7125c6cb5c802) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2023.5.24 -> 2023.7.6Trevor Gamblin2023-07-191-1/+1
| | | | | | | | | Changelog: https://github.com/pypa/trove-classifiers/releases (From OE-Core rev: 91ec124f7362985e2b83b475f3082fe652262fca) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography{-vectors}: upgrade 41.0.1 -> 41.0.2Tim Orling2023-07-193-4/+4
| | | | | | | | | | | | | | | | | | | | https://cryptography.io/en/latest/changelog/#v41-0-2 41.0.2 - 2023-07-10 * Fixed bugs in creating and parsing SSH certificates where critical options with values were handled incorrectly. Certificates are now created correctly and parsing accepts correct values as well as the previously generated invalid forms with a warning. In the next release, support for parsing these invalid forms will be removed. Refresh python3-cryptography-crates.inc: - crate://crates.io/proc-macro2/1.0.59 \ + crate://crates.io/proc-macro2/1.0.64 \ (From OE-Core rev: ea836919fc26af1508ccf0c40843109d52e738eb) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.7.0 -> 4.7.1Tim Orling2023-07-191-1/+1
| | | | | | | | | | | | | | | | https://github.com/python/typing_extensions/blob/4.7.1/CHANGELOG.md#release-471-july-2-2023 Release 4.7.1 (July 2, 2023) * Fix support for TypedDict, NamedTuple and is_protocol on PyPy-3.7 and PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are unsupported by the PyPy project. The next feature release of typing-extensions will drop support for PyPy-3.7 and may also drop support for PyPy-3.8. (From OE-Core rev: 265f9be324dcda249c718cc4834a911da97030c1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-testsuite: Fix ppc cpu specificationRichard Purdie2023-07-181-2/+3
| | | | | | | | | | | | | | | After this change in qemu: https://gitlab.com/qemu-project/qemu/-/commit/c7e89de13224c1e6409152602ac760ac91f606b4 there is no 'max' cpu model on ppc. Drop it to clean up ppc gcc testsuite failures. In order for this to work we do need to pull in the alternative cpu option from QEMU_EXTRAOPTIONS on powerpc. (From OE-Core rev: c447f2b21b20fb2b1829d540af2cc0bf8242700c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix typoEtienne Cordonnier2023-07-141-1/+1
| | | | | | | | (From OE-Core rev: 0866acdc566cc1e2f16f6f8a041f6bd67b0abf2a) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 6.7.0 -> 6.8.0Tim Orling2023-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Require Python 3.8 or later. 34fd736 (HEAD, tag: v6.8.0) Finalize 97084d8 Remove reliance on typing-extensions, only required for Python 3.7 compatibility. b74d2b2 Merge pull request #460 from Gryfenfer97/main ec7bca0 Disable tests on pypy due to #463 ee4f84a Remove superfluous includes f862e3f Merge branch '2023-handoff' of https://github.com/jaraco/skeleton 23ed6b1 Merge branch 'collapse' into 2023-handoff c29955f Collapse skeleton history. Workaround for jaraco/skeleton#87. cca49a4 Prefer 3.x for Python version (latest stable). 74ba8ac Leverage pytest-enabler 2.2 for the default config. 8e83c3f Expand 'finalize' to commit and tag the change. f5a5617 Merge https://github.com/jaraco/skeleton 3b7d8a9 Require Python 3.8 or later. 07a87ea Remove tox boilerplate, no longer necessary with later versions of tox. cd145f4 Replace workaround for actions/setup-python#508 with 'allow-prereleases' 5ca761c Merge https://github.com/jaraco/skeleton 45c03bd add typing for simple functions 74b0d39 Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83. 2963377 Merge https://github.com/jaraco/skeleton 241541c Remove inclusion of python version for docs e7cd730 Add badge for Ruff. 6f75480 Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401. (From OE-Core rev: bc820ff2f8d255783bedc28e468ee2e1d7de873b) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 67.6.1 -> 68.0.0Trevor Gamblin2023-07-142-7/+9
| | | | | | | | | | | | | | | AUH upgrade failed because the LICENSE checksum no longer matched. This is because the attribution in the file was removed upstream in v67.8.0. Patch fuzz also needed to be upgraded for 0001-conditionally-do-not-fetch-code-by-easy_install.patch. Changelog: https://setuptools.pypa.io/en/stable/history.html (From OE-Core rev: a248b94dff49b0331bd1e37e594f983fc50b3f0d) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: parallelize ptests, add test_cppext dependenciesTrevor Gamblin2023-07-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on a previous patch from Alex Kanavin (thanks Alex), but it retains our use of sed to parse the test output into a usable form. The intent was to use the test module's --junit-xml feature and parse the resulting log instead of using sed, but various errors were encountered when testing this method, so that will need further investigation before we can consider adopting it. Two missing ptest dependencies on python3-cgitb and python3-zipapp were already merged in a previous patch, so only gcc, g++, and binutils were left to add as ptest RDEPENDS. ptest output and runtime with this change: == Tests result: SUCCESS == 405 tests OK. 29 tests skipped: test_asdl_parser test_check_c_globals test_clinic test_curses test_devpoll test_gdb test_idle test_ioctl test_kqueue test_launcher test_msilib test_ossaudiodev test_readline test_smtpnet test_socketserver test_startfile test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly test_turtle test_urllib2net test_urllibnet test_winconsoleio test_winreg test_winsound test_xmlrpc_net test_zipfile64 Total duration: 5 min 3 sec [YOCTO #13298] (From OE-Core rev: 50a719d3002a4119e8b2be43aec8fe01aa0c2a40) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade 8.0.0 -> 8.0.3Trevor Gamblin2023-07-145-150/+1
| | | | | | | | | | | | | ppc.patch is removed because it is included in 8.0.3: https://github.com/qemu/qemu/commit/864ce70c1c747898063cc2df854920d354b1b78f General changelog for 8.x: https://wiki.qemu.org/ChangeLog/8.0 (From OE-Core rev: bb5c368e48e2222312b1fc4ba4ad609b2530d6bc) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: don't pass --enable-standard-branch-protectionRoss Burton2023-07-141-1/+0
| | | | | | | | | | | | | | | | | | | | By changing the default code generation of GCC we're inadvertently breaking the GCC test suite, which has ~120K+ more failures when run for aarch64 compared to x86-64. This was because the generated code fragments included the BTI instructions, which the test case wasn't expecting. We can't tell the tests globally to run without branch protection, as that will break the tests which also turn it on. Remove the enabling of branch protection by standard in GCC, we'll enable it in the tune files instead. (From OE-Core rev: bb4b9017db6a893ed054a2d2ad4cc671dec09c42) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: only write the log lock to root for native dnfChangqing Li2023-07-101-1/+2
| | | | | | | | | | | | | | | | | | | | | From commit 742a1b7124, log_lock.pid is writen to root, but following file is not changed, which will make it never deleted, and an unexpected file exist in root dir after boot target. $ tail -n 1 etc/tmpfiles.d/dnf.conf r /var/log/log_lock.pid Besides, root dir may be read-only, so it is better still keep the log_lock.pid under /var/log, only write the log lock to root for native dnf for fixing issue mentioned in 742a1b7124 (From OE-Core rev: 5f1471158dfcd9a85fe910e49c5df25cb96ffe69) (From OE-Core rev: 7610f81586bd475f28fd3d89a7350771720c3264) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonpointer: upgrade to 2.4Ross Burton2023-07-102-65/+1
| | | | | | | | | Drop the merged patch. (From OE-Core rev: d4581006a2a05c289280bece02b9a44e409299b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.14.0 -> 2.15.1Tim Orling2023-07-101-2/+2
| | | | | | | | | | | | | | | | * Upstream has dropped setup.py * Inherit python_setuptools_build_meta instead of setuptools3 * Add self as maintainer, as this is a dependency for python3-sphinx Adds some new lexers, updates a few others. A handful of bug fixes. https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L6 https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L18 (From OE-Core rev: 22e2569ae4843071b2b48d026ca4742351baf6d1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add cgitb, zipapp ptest dependenciesTrevor Gamblin2023-07-101-5/+5
| | | | | | | | | | | | Without these, test_cgitb and test_zipapp both fail when running the python3 ptests. Also reorder the ${PN}-misc list to be alphabetical. (From OE-Core rev: 379c5fac766472da7c32937acc6fdf8363bdd935) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix missing comma in get_module_deps3.pyRoss Burton2023-07-101-1/+1
| | | | | | | | | | | | | Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a preplace() call, add it. That said, calling replace() with one argument results in a TypeError, so this is obviously dead code. (From OE-Core rev: 9b2e2c8d809e7ca34451ec9702b029a00dfb410b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>