summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* gcc: Add patch to improve testsuite failures, particularly mipsRichard Purdie2023-08-152-0/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable loongson-mmi runtine, qemu doesn't appear to fully support them even if some of the instruction decoding is there. Also disable MSA mips runtime extensions. For some reason qemu appears to accept the test code when it shouldn't. Our selected MIPS cpu for QEMU doesn't support them. MIPS is unusual in the gcc testsuite as it uses EFFECTIVE_TARGETS and loops multiple times through the vector testsuite. In the case of the two above, we can compile/link them but not run them. Even with the runtime disabled, if the code marks it as a runtime test, it will elevate itself to that. Setting the default target to compile therefore isn't enough. Therefore add code to downgrade runtime tests to link tests if the hardware support isn't there to run them. This avoids thousands of test failures. To do this we have to hook downgrade code into the main test runner. Enable that downgrading for other cases where hardware to run vector extensions is unavailable to remove test failures on other architectures too. Also, for gcc.target tests, add checks on wheter loongson or msa code can be run before trying that, allowing downgrading of tests there to work too. Parts of the patch may be able to be split off and acceptable to upstream with discussion. Need to investigate why qemu-user passes the 'bad' instructions'. For now, this should at least remove hundreds of test failures and improve test failures on non-mips too now a root cause of some was identified. (From OE-Core rev: bdb744edfec77d3fb000da0fe432689089b20d02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-testsuite: Pass TUNE_LDARGS to testsRichard Purdie2023-08-151-0/+2
| | | | | | | | | | In some cases we need to pass the linker arguments to the linker, particularly when the default in LD differs to that which gcc and our compiler flags are using (mips defaults to 32 bit). Ensure these are passed in. (From OE-Core rev: 0243af31f404f0b9187cebef192e626e290ead49) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-testsuite: Set qemu options for mips correctlyRichard Purdie2023-08-151-2/+6
| | | | | | | | | MIPS sets QEMU CPU values similarly to ppc and doens't support 'max'. Allow this to filter through correctly to the toolchain testing. (From OE-Core rev: 8c939780228d1440190a87cc24abd72d26aade74) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-testsuite: Fix qemu binary filtering code logic errorRichard Purdie2023-08-151-2/+2
| | | | | | | | | | This code doesn't do what it first might appear to, it would for example remove 'm' characters from the left side of qemu-mips leaving 'ips'. Fix it to stop anyone else being confused by the subtle logic error. (From OE-Core rev: 888a7edf1c611eaf99eaf10a072ecc82cb386735) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyparsing: upgrade 3.1.0 -> 3.1.1Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | | | | | | | Changelog: ============ - Fixed regression in Word(min) - Fixed bug in bad exception messages raised by Forward expressions. - Fixed regression in SkipTo, where ignored expressions were not checked when looking for the target expression. - Fixed type annotation for enable_packrat - Some general internal code cleanup. (From OE-Core rev: 6671d50bb053060813d34692d50a9360da767dcc) 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.2 -> 23.2.1Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | Changelog: Disable PEP 658 metadata fetching with the legacy resolver. (From OE-Core rev: 38d6687b9ca10aeea6167067d3c80827be98e4de) 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-pathspec: upgrade 0.11.1 -> 0.11.2Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | | | | | Changelog: ========= - Issue #80: match_files with negated path spec. pathspec.PathSpec.match_*() now have a negate parameter to make using .gitignore logic easier and more efficient. - Pull #76: Add edge case: patterns that end with an escaped space - Issue #77/Pull #78: Negate with caret symbol as with the exclamation mark. (From OE-Core rev: 2b36eb04ad71f01da5a8495a6e00fcb2bc89fa3b) 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-markdown: upgrade 3.4.3 -> 3.4.4Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | | | | Changelog: ========== Add a special case for initial 's to smarty extension (#1305). Unescape any backslash escaped inline raw HTML (#1358). Unescape backslash escaped TOC token names (#1360). (From OE-Core rev: cd32e3cfbfc95cf34b29c44f1b7bcbadcda56c92) 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.4 -> 0.5Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | Changelog: Fix a bug that broke importlib.invalidate_caches (From OE-Core rev: 22b19db8011c73793a07c4f2ca677a0bfcaa02d1) 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>
* file: upgrade 5.44 -> 5.45Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | | | | | | | | Changelog: ========== -PR/465: psrok1: Avoid muslc asctime_r crash -add SIMH tape format support -bump the max size of the elf section notes to be read to 128K and make it configurable -PR/415: Fix decompression with program returning empty -PR/408: fix -p with seccomp -PR/412: fix MinGW compilation (From OE-Core rev: facef006da35e22394a4cbb13243769586d10f31) 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>
* btrfs-tools: upgrade 6.3.1 -> 6.3.3Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * mkfs: option -R deprecated, options unified in -O (-R still works) * mkfs: fix potential race with udev leading to EBUSY due to repeatedly opened file descriptors * block-group-tree is out of experimental mode * available as 'mkfs.btrfs -O block-group-tree' * btrfstune can do in-place conversion to/from (use with care) * balance: fix recognizing old and new syntax * subvol snapshot: specific error if a failure is caused by an active swapfile * tree-stats: rephrase warning when run on a mounted filesystem * completion: 'filesystem du' also completes files * check: fix docs, help text and warning that --force + --repair works on a mounted filesystem * build: fix static build when static libudev is available * documentation: * more updates from wiki, developer docs, changelogs * reformatting * updates and fixes * other: * test updates and fixes * CI cleanups and old files removed * integration with Github actions (From OE-Core rev: bda3ba69154ac8eb58e60da09ecfee20f72253d4) 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>
* tcf-agent: Update to 1.8.0 releaseMark Hatle2023-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | New 1.8 release of tcf-agent. Implements DWARF 5 support and various bug fixes. Changelog since last SRCREV: Releng: Upversion TCF to 1.8 Fixed possible SEGFAULT after error message queue overflow Fixed misspelling in a comment TCF Agent: update breakpoint error message Fixed regression: possible segfault in run_safe_events() Bug 581978 - TCF agent wrong handle the call frame debug info generated by LLVM 16 for RISC-V DWARF: a bit faster implementation of dio_ReadAddressX() Bug 581971 - Failed to handle loclist for DWARF 5 Fixed handling of situation when a context resumed or exited during breakpoint evaluation Bug 581799 - when loads .debug_info section from dwarf 5 file, the content of some part are zero Updated examples/daytime/readme.txt (From OE-Core rev: 0c2c7c910fa933bc46f69207f1f7641c1e7b77e0) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.20.6 -> 1.20.7Sakib Sajal2023-08-108-4/+4
| | | | | | | | | | | | | | | | | | | Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.6..go1.20.7 origin/release-branch.go1.20 adb775e309 (tag: go1.20.7, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.7 659f2a2207 [release-branch.go1.20] crypto/tls: restrict RSA keys in certificates to <= 8192 bits 10d85fa0f6 [release-branch.go1.20] cmd/asm, cmd/internal/obj: generate proper atomic ops for riscv64 bd3a1f24e7 [release-branch.go1.20] net: tolerate permission errors in interface tests 6211a024b4 [release-branch.go1.20] cmd/compile: on PPC64, fix sign/zero extension when masking [1] https://github.com/golang/go/compare/go1.20.6...go1.20.7 (From OE-Core rev: 039324d917ed124228a14ac1effdd66b27d9e82b) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-crosssdk: ignore MULTILIB_VARIANTS in signature computationChen Qi2023-08-101-0/+2
| | | | | | | | | | | | | | | | | | | The gcc_multilib_setup function is a function that is run at the do_configure step, so it's counted into the signature computation. The MULTILIB_VARIANTS this function uses is also extracted to be taken into consideration. After the change of setting MULTILIB_VARIANTS explictly vardeps on MULTILIBS, the change of MULTILIBS changes the signature, thus causing rebuilding. However, in case of gcc-crosssdk, the setting of multilib should have no effect on it, as it's used to build nativesdk packages, not the target packages. So ignore MULTILIB_VARIANTS in signature computation. This fixes oe-selftest case sstatetests.SStateHashSameSigs2.test_sstate_nativesdk_samesigs_multilib. (From OE-Core rev: 537c71162a711dec32a63a657c4b101269a3e267) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography{-vectors}: upgrade -> 41.0.3Tim Orling2023-08-102-2/+2
| | | | | | | | | | | | | | https://cryptography.io/en/latest/changelog/#v41-0-3 * Fixed performance regression loading DH public keys. * Fixed a memory leak when using ChaCha20Poly1305. * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.2. (From OE-Core rev: 51f540260e858e77031c569721eb01dba24365c9) 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-chardet: upgrade 5.1.0 -> 5.2.0Tim Orling2023-08-101-1/+1
| | | | | | | | | | | | | https://github.com/chardet/chardet/compare/5.1.0...5.2.0 * Adds support for running chardet CLI via python -m chardet (0e9b7bc, @dan-blanchard) (From OE-Core rev: 68a80de82010757524c71b4a8399bd879425320d) 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: add additional timing-related test skipsTrevor Gamblin2023-08-101-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | The following tests have been seen failing intermittently on the autobuilder: test.test_multiprocessing_forkserver.WithManagerTestBarrier.test_timeout test.test_time.TimeTestCase.test_thread_time Since these could be affected by AB systems under heavy load, disable them. New test outputs: test_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier.test_timeout) SKIP: Test wait(timeout) 'timing related test, dependent on load' ... SKIP: test_thread_time (test.test_time.TimeTestCase.test_thread_time) 'timing related test, dependent on load' [YOCTO # 15131] [YOCTO # 15177] (From OE-Core rev: 4da3b653e0fad52e7af97328b49e40d5179ddfe5) 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>
* recipes: remove unused AUTHOR variableMichael Opdenacker2023-08-102-2/+0
| | | | | | | | | | | | No longer used in generating packages Also creates a possible confusion with the recipe maintainer name. (From OE-Core rev: 9d5edd124b7dddb995ceddd79f8a7fc8cf44badf) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Upgrade to 2.41 releaseKhem Raj2023-08-0424-2769/+1459
| | | | | | | | | | | | | | Fix build on 32bit arches with 64bit off_t defaults Detailed changes [1] [1] https://sourceware.org/pipermail/binutils/2023-July/128719.html (From OE-Core rev: c19fd803220f5b701dee077f7e7bfbb5ba2f22e3) 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>
* patchelf: add 3 fixes to optimize and fix uninativeMartin Jansa2023-08-014-1/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * uninative-3.10 and 4.0 doesn't work on e.g. ubuntu-18.04, because patchelf-uninative makes the binaries unusable and e.g. mkfs.ext4 segfaults in loader, see: https://github.com/NixOS/patchelf/issues/492 * mke2fs.real, mkfs.ext2.real, mkfs.ext3.real, mkfs.ext4.real are indentical binary with multiple hardlinks and we end calling patchelf-uninative 4 times even when the interpreter is already set correctly from the build The issue was reported upstream with mkfs.ext4.real as possible reproducer: https://github.com/NixOS/patchelf/issues/492#issuecomment-1602862272 To fix uninative we need to first release new uninative tarball and then upgrade it in master, mickledore, kirkstone, dunfell * originally reported in: https://lists.openembedded.org/g/openembedded-core/message/182862 with temporary work around (applicable locally without waiting for new uninative release): https://lists.openembedded.org/g/openembedded-core/message/183314 (From OE-Core rev: f0499b58d1dd149300a349dde8f6664679df13e6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.40.0 -> 0.41.0Tim Orling2023-08-011-1/+1
| | | | | | | | | | | | | | | | | https://wheel.readthedocs.io/en/stable/news.html 0.41.0 (2023-07-22) * Added full support of the build tag syntax to wheel tags (you can now set a build tag like 123mytag) * Fixed warning on Python 3.12 about onerror deprecation. (PR by Henry Schreiner) * Support testing on Python 3.12 betas (PR by Ewout ter Hoeven) (From OE-Core rev: 81e7e3b9059840fd749b5b50fc75588d7c4b7593) 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-more-itertools: upgrade 9.1.0 -> 10.0.0Tim Orling2023-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://more-itertools.readthedocs.io/en/stable/versions.html 10.0.0 * Potentially breaking changes - Python 3.7 support was dropped, since it went EOL on 2023-06-27 - batched() no longer issues a DeprecationWarning; it is now an alias for itertools.batched for Python 3.12+ - batched() and matmul() now yield tuples instead of lists * New functions - combination_with_replacement_index() (thanks to Schoyen) - nth_combination_with_replacement() (thanks to Schoyen) - polynomial_eval() (from the Python itertools docs) - polynomial_derivative() (from the Python itertools docs) - sum_of_squares() (from the Python itertools docs) * Changes to existing functions - seekable() now has relative_seek method (thanks to karlb) - chunked_even() was optimized (thanks to elliotwutingfeng) - numeric_range() was optimized (thanks to eltoder) - duplicates_justseen(), pairwise(), partial_product(), and partition() were updated and optimized (thanks to pochmann) - unique_in_window() had its implementation updated (thanks to elliotwutingfeng) - iterate() now breaks when its func argument raises StopIteration (thanks to jrebiffe) * Other changes - Some documentation and testing issues were fixed (thanks to lonnen and XuehaiPan) (From OE-Core rev: 9351489f3fd9a01f1e74b4f209df01aeffe55c8f) 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-certifi: upgrade 2023.5.7 -> 2023.7.22Tim Orling2023-08-011-1/+1
| | | | | | | | | | | | | | | No changelog provided. Commits: 8fb96ed (tag: 2023.07.22) 2023.07.22 afe7722 Bump actions/setup-python from 4.6.1 to 4.7.0 (#230) 2038739 Bump dessant/lock-threads from 3.0.0 to 4.0.1 (#229) 44df761 Hash pin Actions and enable dependabot (#228) (From OE-Core rev: fdd9e8fe947479994be02b61862e4b1604f44f2d) 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-sphinx: upgrade 7.0.1 -> 7.1.1Tim Orling2023-08-011-4/+1
| | | | | | | | | | | | | | No longer need to set PYPI_PACKAGE, download is now sphinx-${PV}.tar.gz not Sphinx-${PV}.tar.gz. https://www.sphinx-doc.org/en/master/changes.html#release-7-1-1-released-jul-27-2023 https://www.sphinx-doc.org/en/master/changes.html#release-7-1-0-released-jul-24-2023 (From OE-Core rev: e1b7dbb0c397f6ab0b8059d39a182f9fb271ef4e) 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>
* strace: upgrade 6.3 -> 6.4Alexander Kanavin2023-07-304-407/+1
| | | | | | | | (From OE-Core rev: d6afd089818df82e966930b18fb48600da67575e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* jquery: upgrade 3.6.3 -> 3.7.0Alexander Kanavin2023-07-301-4/+4
| | | | | | | | | | License-Update: needed lines shifted upwards (From OE-Core rev: 9cd564df491cadf79d2932c9d648dee2624d3110) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>