summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* pkgconf: update SRC_URIRoss Burton2023-08-011-1/+1
| | | | | | | | | | | | | | dereferenced.org is now longer controlled by the pkgconf maintainers[1], so use the the new hosting location. [1] https://github.com/pkgconf/pkgconf/commit/437c2a3218bfcb1cae7fa38a4ccd0cb29575ff07 (From OE-Core rev: 7b50737b787311216670aa4b83b0a363d9a12aa3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c3df4594513410c7a6352e62aa928c42982eac13) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ruby: Fix CVE-2023-36617Mingli Yu2023-08-013-0/+110
| | | | | | | | | | | | | Backport two patches [1] [2] to fix CVE-2023-36617 [3]. [1] https://github.com/ruby/uri/commit/9010ee2536adda10a0555ae1ed6fe2f5808e6bf1 [2] https://github.com/ruby/uri/commit/9d7bcef1e6ad23c9c6e4932f297fb737888144c8 [3] https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/ (From OE-Core rev: 403a24f02600e2462e8ccfbb42651e15e002bd2e) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3: ignore CVE-2023-36632Peter Marko2023-08-011-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: 3e7f736fa07a132d4fe42a59baaabe565238da21) 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> (cherry picked from commit c652f094d86c4efb7ff99accba63b8169493ab18) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gcc-testsuite: Fix ppc cpu specificationRichard Purdie2023-07-261-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: ea3143b243bb979f9b89f01fc2e7826cac0a7d75) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c447f2b21b20fb2b1829d540af2cc0bf8242700c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gcc: don't pass --enable-standard-branch-protectionRoss Burton2023-07-261-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: 81351d984bc6238e9b901ae83c0de6e3d3463c77) 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> (cherry picked from commit bb4b9017db6a893ed054a2d2ad4cc671dec09c42) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* go: fix CVE-2023-24531Sakib Sajal2023-07-263-0/+315
| | | | | | | | | Backport required commits to fix CVE-2023-24531. (From OE-Core rev: 5d80e920c7ceaf091ccace8a3b6781b720abafbf) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: fix CVE-2023-0330Archana Polampalli2023-07-262-0/+76
| | | | | | | | | | | | | | | | | A vulnerability in the lsi53c895a device affects the latest version of qemu. A DMA-MMIO reentrancy problem may lead to memory corruption bugs like stack overflow or use-after-free. References: https://nvd.nist.gov/vuln/detail/CVE-2023-0330 Upstream patches: https://gitlab.com/qemu-project/qemu/-/commit/b987718bbb1d0eabf95499b976212dd5f0120d75 (From OE-Core rev: 3be283237a9e473112430bcb614b25b7ff7e64b2) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* rust-common.bbclass: move musl-specific linking fix from rust-source.incAlexander Kanavin2023-07-201-5/+0
| | | | | | | | | | | | | This needs to be done for any item that is linked under rustc, and not just rust itself. Latest python-cryptography exposes the issue. (From OE-Core rev: 967d847a9815df43d0c92ca61cc544e1fe5dcc03) 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> (cherry picked from commit d3811228747590ea06e8d68be4785d45ec9c478f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* erofs-utils: fix CVE-2023-33551/CVE-2023-33552Changqing Li2023-07-205-0/+529
| | | | | | | | | | | | * CVE-2023-33551.patch is for fix CVE-2023-33551. * CVE-2023-33552-3.patch is upstream patch for fix CVE-2023-33552, since the patch context is changed, CVE-2023-33552-1.patch and CVE-2023-33552-2.patch is backported. (From OE-Core rev: 77b5c2f68ea0eef45e77936ce3e7caafa7bd3f54) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* dmidecode: fix CVE-2023-30630Yogita Urade2023-07-205-0/+528
| | | | | | | | | | | | | | | | Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. References: https://nvd.nist.gov/vuln/detail/CVE-2023-30630 https://lists.nongnu.org/archive/html/dmidecode-devel/2023-04/msg00016.html https://lists.nongnu.org/archive/html/dmidecode-devel/2023-04/msg00017.html (From OE-Core rev: f92e59a0894145a828dc9ac74bf8c7a9355e0587) Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-requests: fix CVE-2023-32681Chee Yang Lee2023-07-202-0/+63
| | | | | | | (From OE-Core rev: 11b6e64c07df043441824511c931fb0bc9673adc) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* dnf: only write the log lock to root for native dnfChangqing Li2023-07-071-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: 207cc7acef40f92b5de306aa6f035258c0eec828) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-bcrypt: Use BFD linker when building testsKhem Raj2023-07-071-0/+1
| | | | | | | | | | | | | | | | Some of the tests use symbols from libpython3 e.g. PyBytes_FromStringAndSize but does not add it to linker cmdline, its perhaps cargo which should be fixed for that, this however is not something we can fix in OE. So switch to using bfd linker explicitly when building with ptests (From OE-Core rev: 353b9c765218ed631fc14a406fcdfe1c36a8237b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b4392ebb512fa48168a48fbff3e9140a8e1b7ec4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* rpm: write macros under libdirChen Qi2023-07-071-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | If we create a macros file under etc/, the populate_sdk task would fail if 'package-management' is in SDKIMAGE_FEATURES and nativesdk-rpm-build is installed.. The error message is like below: unable to place /.../sdk/image/etc/rpm in final SDK location This is because it's trying to move the etc/rpm dictory into the host sysroot but the <host_sysroot>/etc/rpm has already exists. To solve this problem, avoid creating /etc/rpm/macros for nativesdk-rpm-build, use ${libdir}/macros instead. In this way, the macros file is hold in nativesdk-rpm. As nativesdk-rpm-build depends on nativesdk-rpm, the 'rpmbuild' command inside SDK can still correctly find find-debuginfo binary. (From OE-Core rev: 2a13a671910cad68ab962ce369b9ed60a9bf7eea) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5fde0eadf16d34d88a599009013913fe55d89283) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* strace: Update patches/tests with upstream fixesRichard Purdie2023-07-074-38/+102
| | | | | | | | | | Replace the sockopt disable patch with a fix from upstream (From OE-Core rev: c1beb73526e3ade75bd6dae5f9310107c50f1226) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ac921989991c319ecad01bec37c4ccaa15a7b58f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* strace: Merge two similar patchesRichard Purdie2023-07-073-48/+30
| | | | | | | | | | | Both patches change the same paths to gawk, merge them together as we only need one patch for this. (From OE-Core rev: 6080138fd0c27db7029b5a76e69b8dc241ad8dc3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 79c0b18e29cad337640860f57683f0a170f6daab) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gdb: upgrade 13.1 -> 13.2Alexander Kanavin2023-07-076-313/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: * PR testsuite/30158 (rustc testsuite fails with 13.1, apparently worked before with trunk 20230114 on i686-linux-gnu and powerpc64le-linux-gnu) * PR gdb/30214 (GDB 13.1 does not compile on FreeBSD 13.1) * PR gdb/30240 ((linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed) * PR gdb/30249 ([13 regression] hookpost-extended-remote will not work) * PR exp/30271 (Addresses of static thread_local fields are badly calculated sometimes) * PR symtab/30357 (Segmentation fault for the 'start' command) * PR symtab/30369 ([gdb/symtab] False match issue in skip_prologue_using_linetable) * PR gdb/30423 (Build failures with clang 16) * PR build/30450 (Build failure (linux-low.cc:5393:45: error: expected ':' before ')' token) with musl-1.2.4) (From OE-Core rev: 900379776878c363ff7c802f6b740ee89661ea9c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d10764916624f61d39cb9ea368359837156ad960) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* perl: Fix CVE-2023-31484 & CVE-2023-31486Soumya2023-07-074-0/+279
| | | | | | | | | | | | | | | | | | | | | | | CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. 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-31484 https://nvd.nist.gov/vuln/detail/CVE-2023-31486 Upstream patches: https://github.com/andk/cpanpm/commit/9c98370287f4e709924aee7c58ef21c85289a7f0 https://github.com/chansen/p5-http-tiny/commit/77f557ef84698efeb6eed04e4a9704eaf85b741d https://github.com/chansen/p5-http-tiny/commit/a22785783b17cbaa28afaee4a024d81a1903701d (From OE-Core rev: f4fe9861d6aebd971a3120a0eb43f752c73ce2fb) Signed-off-by: Soumya <soumya.sambu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: a pending patch was submitted and accepted upstreamAlexander Kanavin2023-07-041-1/+1
| | | | | | | | | (From OE-Core rev: 13c9eba31a848450b1502c1677536ce42576ed08) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f59df55d63a8841c834bbc488589209e7f23f803) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-numpy: remove NPY_INLINE, use inline insteadMingli Yu2023-07-042-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | The build fails when DEBUG_BUILD is enabled with GCC-13 as [1] and [2]. Fixes: | numpy/core/src/umath/simd.inc.src:977:20: note: called from here | 977 | @vtype@ zeros = _mm512_setzero_@vsuffix@(); | ^~~~~~~~~~~~~~~~~~~ | numpy/core/src/umath/simd.inc.src:596:1: error: inlining failed in call to ‘always_inline’ ‘avx512_get_full_load_mask_ps’: target specific option mismatch 596 | avx512_get_full_load_mask_ps(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | numpy/core/src/umath/simd.inc.src:976:27: note: called from here 976 | @mask@ load_mask = avx512_get_full_load_mask_@vsuffix@(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | /usr/lib/gcc/x86_64-redhat-linux/13/include/avx512fintrin.h:6499:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_loadu_si512’: target specific option mismatch Reference: https://github.com/numpy/numpy/pull/22674/commits/3947b1a023a07a55522de65b4d302339bac2bad7 [1] https://git.openembedded.org/openembedded-core/commit/?id=8596678667797971559aed962b1c204266032186 [2] http://errors.yoctoproject.org/Errors/Details/689841/ (From OE-Core rev: 77a64a8686b6c9ef3bc6adbce6cdc442096decfd) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* strace: Disable failing testRichard Purdie2023-06-302-0/+38
| | | | | | | | | | | | This test is failing for uncertain reasons. We have reported upstream, disable it until we can work out why this happened. The point it started failing is unclear due to other test framework issues. (From OE-Core rev: ef1b309ec04aa16020c6a8ca3939fb8eccca3edb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e9165a854c7b83f163479e9dbd3cb183a9d71f5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* binutils: move packaging of gprofng static lib into common .incDenys Dmytriyenko2023-06-302-1/+2
| | | | | | | | | | | | | | | Commit f72fd51e0d (binutils: package static libs from gprofng) added corresponding FILES:${PN}-staticdev entry to the main .bb recipe. But binutils-cross-canadian fails with exactly the same QA issue, hence move FILES:${PN}-staticdev to the common shared .inc file. (From OE-Core rev: a4c3f22c93a944aef11bb8f2637f45c1d72d380c) Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 75beddd33e132333c36ad067e2cf90edffeb5bf5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* dpkg: upgrade to v1.21.22Sudip Mukherjee2023-06-301-1/+1
| | | | | | | | | | | | | | | | * Code internals: - libdpkg: Handle missing Version when formatting source:Upstream-Version. Reported by John Scott <email address hidden>. * Localization: - Add Portuguese scripts translations. Thanks to Américo Monteiro <email address hidden>. Closes: #1032562 (From OE-Core rev: eddc394e6ad88679b6cb8db30ccf9c8134ce87bf) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 56bdf69a06be21ea376303fbb4d50e9dd570cdbb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* git: upgrade to 2.39.3Ross Burton2023-06-301-1/+1
| | | | | | | | | | | This minor point release fixes CVE-2023-25652 and CVE-2023-29007. (From OE-Core rev: ebe205b32fd959b3d7281ec95ac7f7cf88e37ed2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 469c28924ab9debe810e3277b27ad936781e7ce5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* pkgconf: upgrade 1.9.4 -> 1.9.5Ross Burton2023-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes from 1.9.4 to 1.9.5: ---------------------------- * Fix incorrect assumptions involving the use of ctype(3) functions. Patch by Taylor R Campbell. * Fix detection of provided functions on autoconf. Patches by Harmen Stoppels. * Fix deletion of tests/meson.build by the autoconf build system. Patch by h30032433. * Fix quoting rules in argvsplit.c. Patch by huyubiao. * Update libpkgconf documentation and documentation building scripts. Patches by Andrew Shadura. * Enforce maximum package count correctly for --modversion. (From OE-Core rev: 046e33769121aee169ffb6c790a880dc420a5a76) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fb9e05592e7c1c61a677d9cb842c9adc84689dde) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* go: Upgrade 1.20.4 -> 1.20.5Sakib Sajal2023-06-308-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to latest 1.20.x release: go.git$ git log --oneline go1.20.4..go1.20.5 e827d41c0a (tag: go1.20.5) [release-branch.go1.20] go1.20.5 c0ed873cd8 [release-branch.go1.20] cmd/go: disallow package directories containing newlines 356a419e2f [release-branch.go1.20] cmd/go: enforce flags with non-optional arguments fa60c381ed [release-branch.go1.20] cmd/go,cmd/cgo: in _cgo_flags use one line per flag 36144ba429 [release-branch.go1.20] runtime: implement SUID/SGID protections 5036ba77eb [release-branch.go1.20] net: skip TestFileFdBlocks if the "unix" network is not supported b249ec5655 [release-branch.go1.20] cmd/go/internal: update documentation of go test and go generate 4b95fc1e6c [release-branch.go1.20] cmd/go: save checksums for go.mod files needed for go version lines 31a1e19a59 [release-branch.go1.20] net, os: net.Conn.File.Fd should return a blocking descriptor 450c8021a5 [release-branch.go1.20] runtime: change fcntl to return two values 22741120ee [release-branch.go1.20] runtime: consistently define fcntl 9270e3be8f [release-branch.go1.20] os: if descriptor is non-blocking, retain that in Fd method 600636e931 [release-branch.go1.20] crypto/rsa: use BoringCrypto for 4096 bit keys afbe101950 [release-branch.go1.20] cmd/compile: fix bswap/load rewrite rules (From OE-Core rev: 1234971eea7b07e89efaf20055ba9580fbe2cb08) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3ea1e9e9d7385c78bdd513e44cea5c36444529b2) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gcc : upgrade to v12.3Sundeep KOKKONDA2023-06-3011-3/+3
| | | | | | | | | | | | gcc stable version upgraded from v12.2 to v12.3 Below is the bug fix list for v12.3 https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=12.3 (From OE-Core rev: 5aacf91e9839f60f5cb933e27a349c2ed7fcddf4) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* binutils: fix CVE-2023-1972Ross Burton2023-06-302-0/+44
| | | | | | | | | | | Backport a patch from upstream to fix CVE-2023-1972. (From OE-Core rev: ebb15853372d28808189fc417409229ed051ad57) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 10d63933e3a30bfac2f6cec896460c22e04baadd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* binutils: stable 2.40 branch updatesDeepthi Hemraj2023-06-241-1/+1
| | | | | | | | | | | Below commits on binutils-2.40 stable branch are updated. 0dc8f96598a Updated Swedish translation for the opcodes directory 85c5365527f New Georgian translation for the bfd sub-directory. (From OE-Core rev: eeed062f7c9b3c615080678e7ad66d4906b01dc2) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libdnf: upgrade 0.70.0 -> 0.70.1Wang Mingyu2023-06-241-1/+1
| | | | | | | | | | | | | | | Changelog: ========== Add repoid to solver errors for RPMs (RhBug:2179413) Avoid using obsolete RPM API and drop redundant calls Remove DNF from list of protected packages (From OE-Core rev: 04bc1d32ee1084f6c13ae20f21efb6c92c1c5e9c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 965f0b5f50c2c1453d6e7d4f32091635c0ec1e49) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ninja: ignore CVE-2021-4336, wrong ninjaRoss Burton2023-06-241-0/+3
| | | | | | | | | (From OE-Core rev: 9201a3d766db1caaf020bd3cb7f4f70429b1a7e1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c2dd2c13ff26c3f046e35a2f6b8afeb099ef422a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: remove unused qemu-7.0.0-glibc-2.36.patchMartin Jansa2023-06-211-46/+0
| | | | | | | | | | | | * it was removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=e94d182889ca3c02df913c59f0b66b228ffe588c (From OE-Core rev: 9bd2cd7673c2c4d2c3c99b2caffff53521c1fc78) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 351c461859df02118e9fadb57320120dfbcd97eb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* rpm: drop unused 0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patchMartin Jansa2023-06-141-81/+0
| | | | | | | | | | | | | | | | | | * it was removed from SRC_URI in oe-core commit: commit 67257ca87c6fa8e6050a20ecea50daf834c7e869 Author: Alexander Kanavin <alex.kanavin@gmail.com> Date: Sat Apr 25 19:28:00 2020 +0200 Subject: rpm: upgrade to 4.15.1 and it's unused since then (From OE-Core rev: c7324d03ebd58c247611a9955b6029bf66f05826) 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> (cherry picked from commit c801a215fb2d53bdec7f4c9a20ff7969e8071e5c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* meta: depend on autoconf-archive-native, not autoconf-archiveRoss Burton2023-06-141-1/+1
| | | | | | | | | | | | | | | | | | | autoconf-archive is a collection of m4 autoconf macros needed at build-time, and autoconf-archive-native is a suitable provider as there is nothing in the recipe that needs to be cross-compiled. Also if we use DEPENDS=autoconf-archive then the recipe's -dev package ends up RDEPENDing on autoconf-archive, which isn't correct. Universally change any DEPENDS on autoconf-archive to the -native form, and add any missing dependencies that were implicit before. (From OE-Core rev: be5534a8ca4a5ab7323039123e680ba1f6ede908) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 571132415ea7fe2d91c62948f2b6aa553eafa83d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* e2fsprogs: Fix error SRCDIR when using usrmerge DISTRO_FEATURESQiu Tingting2023-06-142-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When build e2fsprogs ptest with usrmerge DISTRO_FEATURES, in test_script and test_one scripts, value of SRCDIR has problem. SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test ptest log # ptest-runner e2fsprogs START: ptest-runner 2022-12-17T11:08 BEGIN: /usr/lib/e2fsprogs/ptest ls: cannot access '/usr/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory ./test_script: line 54: /usr/usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory DURATION: 0 END: /usr/lib/e2fsprogs/ptest 2022-12-17T11:08 STOP: ptest-runner TOTAL: 1 FAIL: 0 Reason In Makefile.in, SRCDIR is set by prefix and libdir. @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_one @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_script prefix=/usr libdir=/usr/lib (when usrmerge is set) solution Use PTEST_PATH to fix it. (From OE-Core rev: 0e9cd399f7f5dcd31420cce8e0dc8c25f33bd80b) Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 85e3b4f1d4b8734b0dd427d107a9f736bca9b7f7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* binutils: package static libs from gprofngMartin Jansa2023-06-141-0/+1
| | | | | | | | | | | | | | | | | | | * fixes: ERROR: binutils-2.40-r0 do_package: QA Issue: binutils: Files/directories were installed but not shipped in any package: /usr/lib/gprofng/libgp-collectorAPI.a Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. binutils: 1 installed and not shipped files. [installed-vs-shipped] (From OE-Core rev: ab6ae4b715143364288ba164f8ab5c3cd7f486ae) (From OE-Core rev: 4ed0f0cc0ecc290f1bbb8262afa62b45513e9cc6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 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> (cherry picked from commit f72fd51e0da100e7ed90992225688bf43e2a69b6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* binutils: stable 2.40 branch updatesDeepthi Hemraj2023-06-1416-207/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rebase existing patches - Drop 0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch which is already in - Correct packaging path to libgprofng.so - Below commits on binutils-2.40 stable branch are updated. 4671be001eb Updated Hungarian translation for the gprof directory ded035f913e lto: Don't add indirect symbols for versioned aliases in IR 74cb2ddeabc gas: arm: Change warning message to not reference specific A-class architecture revision 570b9c09bbf gas: arm: Fix a further IT-predicated vcvt issue in the presense of MVE vcvtn bddd62e188c libctf: get the offsets of fields of unnamed structs/unions right 7aa47eafcce libctf: fix assertion failure with no system qsort_r 165accf0752 coff_get_normalized_symtab bfd_release af35798e957 PR30217, dynamic relocations using local dynamic symbols 18bb604f1e1 PR30198, Assertion and segfault when linking x86_64 elf and coff 34a2b4a0e21 PR30155, ld segfault in _bfd_nearby_section 3d0046f39aa PR30046, power cmpi leads to unknown architecture 5c87fb1d59b ppc32 and "LOAD segment with RWX permissions" 11f5c1ebf14 Updated Serbian translations for gold, gprof and opcodes sub-directories 38e455b1d9a Updated translations for the bfd and gprof directories. b2bc62b7b4e gas: correct symbol name comparison in .startof./.sizeof. handling 17294931e3e configure: remove dependencies on gmp and mpfr when gdb is disabled 1fc096a4c59 Regen config files e1815414077 Pass $JANSSON_LIBS and $ZSTD_LIBS to ld-bootstrap/bootrap.exp 3e888977f16 bpf: fix error conversion from long unsigned int to unsigned int [-Werror=overflow] 65dbb942145 Updated Swedish translation for the binutils sub-directory 27f59ec47a1 RISC-V: make C-extension JAL available again for (32-bit) assembly edd36b26f35 gprofng: PR30043 libgprofng.so.* are installed to a wrong location c6e269febbc gprofng: PR29521 [docs] man pages are not in the release tarball bcea253f5fa toplevel: Makefile.def: add install-strip dependency on libsframe (From OE-Core rev: 5d7389770af6613af4ca8a2d30cc79d494a91075) (From OE-Core rev: c4135c692cea9cbeb5df21baa4d76e872d981411) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> 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> (cherry picked from commit dcaf5192599b9474901ab73b66c330a401623fc1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* rpm: update 4.18.0 -> 4.18.1Alexander Kanavin2023-06-146-77/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes from RPM 4.18.0 General bugfixes and enhancements Command line Fix signature reserved space not restored on --delsign (#2382, regression in 4.15.0) Copy original lead on signing instead of recreating (#1326, regression in 4.14.0) Issue a warning when signing created an OpenPGP v3 signature (#2286) Transactions Fix install of block and character special files (#2195, #2275, regression in 4.18.0) Handle downgrade within V-R when epoch goes away (RhBug:1845069) Package building Spec Restore BuildRequires check in rpmbuild -bp (regression in 4.15.0) Fix space handling in %setup (#2335, regression in 4.18.0) Issue a deprecation warning on %patchN syntax Macros Don’t embed CPU count of build system in packages (#2343) Make CPU and thread-related macros available on all platforms (#2265) Fix macro scoping level on re-entry from %[] expression (#2354) Split ___build_pre macro to make mocking rpm build environment easier Buildroot policies Fix xargs use in brp-remove-la-files on macOS (#2332, regression in 4.17.0) Generators Disable debuginfod server lookups in build and dependency generator scripts Exclude kernel modules from ELF dependency generation (regression in 4.17.0) Signatures and keys Fix type confusion bugs in the internal OpenPGP implementation Plugins Make write() non-blocking in fapolicyd plugin (RhBug:2110787) Add a handler for libselinux log messages (RhBug:2123719, RhBug:2050774) API changes N/A Internal improvements and cleanups Fix potential uninitialized variable use on public key import Fix various leaks during package build and install Fix getopt() usage to comply with POSIX Build process Generate Python egg-info from automake builds (#130, #2230) Revise ISANAME for loongarch Documentation Document %_binary_payload and %_source_payload syntax in RPM package format manual Various typo and grammar fixes in reference manuals Minor CONTRIBUTING.md updates Drop: 0001-docs-do-not-build-manpages-requires-pandoc.patch (pandoc is now detected from $PATH) fifofix.patch (upstream fixed the issue) (From OE-Core rev: 0206e2700e290f04cb4c4c2cf50c1e1f1f4ae6ee) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit d8d673b2dc86e04cc278dc111b36d52d60bc25f7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* go: Use -no-pie to build target cgoKhem Raj2023-06-141-1/+1
| | | | | | | | | | | | | | Fixes go: ELF binary /usr/lib/go/pkg/tool/linux_arm64/pprof has relocations in .text go: ELF binary /usr/lib/go/bin/go has relocations in .text [textrel] (From OE-Core rev: 0e9f47eddf786972b409088629d0f62c6bc74448) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a27d39aebd5966ffffb57c20518381cb06ba8373) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* go: Upgrade 1.20.1 -> 1.20.4Khem Raj2023-06-1411-394/+4
| | | | | | | | | | | | | | | | | | - Remove already upstreamed patches - Brings a list of changes [1] [2] [3] [1] https://github.com/golang/go/issues?q=milestone%3AGo1.20.2+label%3ACherryPickApproved [2] https://github.com/golang/go/issues?q=milestone%3AGo1.20.3+label%3ACherryPickApproved [3] https://github.com/golang/go/issues?q=milestone%3AGo1.20.4+label%3ACherryPickApproved (From OE-Core rev: 5847869334dd6687441708e26d1c0ab0a648e7f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e043bfb42156c59c93c6a4816528a63cfdaccc3e) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* e2fsprogs: fix ptest bug for second runningQiu Tingting2023-06-062-0/+4
| | | | | | | | | | | | | | | At second running, there are four new failed case: d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize The test_data.tmp is necessary, but it is deleted by run-ptest. So it should be restored after testing. (From OE-Core rev: d40b69d0a5a3eceff6b7d97601f560846cc2ef36) Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit d0d08dd9a8a179e25b9cfcbac696c1d212a1910c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* git: ignore CVE-2023-25815Archana Polampalli2023-06-061-0/+2
| | | | | | | | | This is specific to Git-for-Windows. (From OE-Core rev: 0bdeec9951e8e2c4f645475be98b7a0176438c9b) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gdb: fix crashes when debugging threads with Arm Pointer Authentication enabledRoss Burton2023-05-312-0/+287
| | | | | | | | | | | (From OE-Core rev: 8057edfcb23004b18ab8cb09b9a359346ed54db9) (From OE-Core rev: c46d0cfe4b18318c00390eb112edcbea8b8d6a7a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit a6120d0c7946842195f0c7624b7c3025e74e7964) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: Add ptest supportChi Xu2023-05-312-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test results: root@qemux86-64:~# ptest-runner expect START: ptest-runner 2023-05-23T05:17 BEGIN: /usr/lib64/expect/ptest via send_stdout PASS: cat-1.1 PASS: expect-1.1 PASS: expect-1.2 PASS: expect-1.3 PASS: expect-1.4 PASS: expect-1.5 PASS: expect-1.6 PASS: expect-1.7 PASS: expect-1.10 PASS: expect-1.11 PASS: expect-1.12 PASS: expect-1.13 PASS: expect-1.8 PASS: expect-1.8b PASS: expect-1.9 PASS: logfile-1.1 PASS: pid-1.2 PASS: pid-1.3 PASS: pid-1.4 PASS: pid-1.5 PASS: send-1.1 PASS: send-1.2 PASS: spawn-1.1 PASS: spawn-1.2 PASS: spawn-1.3 PASS: spawn-1.4 PASS: spawn-1.5 PASS: stty-1.1 PASS: stty-1.2 DURATION: 17 END: /usr/lib64/expect/ptest 2023-05-23T05:17 STOP: ptest-runner TOTAL: 1 FAIL: 0 (From OE-Core rev: e145ddefac0cb65072797c13f6067670d4631bfb) Signed-off-by: Chi Xu <chi.xu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libmodule-build-perl: upgrade 0.4232 -> 0.4234Tim Orling2023-05-311-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Skip t/pod_parser.t ptest since it is for testing documentation and requires Pod::Parser for which we do not have a recipe. Adding one does not make much sense since Pod::Parser was dropped from Perl > 5.31.1 in favor of Pod::Simple https://metacpan.org/pod/Pod::Parser#DESCRIPTION Changes: https://metacpan.org/dist/Module-Build/changes 0.4234 - Fri 28 Apr 2023 10:46:26 CEST - PodParser now respects =encoding directives - Don't use libraries in t/bundled for Build.PL - make_tarball: workaround for broken tar on Darwin - Respect $Config{man1ext}/$Config{man3ext} - Do not require a compiler if c_source is an empty list (From OE-Core rev: ae5f966898c1ca1e308b77c4591dfa499613ad57) 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> (cherry picked from commit c3b97f6d74b67706fbbc8685e8060566b815630d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* perl: patch out build paths from native binariesAlexander Kanavin2023-05-181-0/+4
| | | | | | | | | | (From OE-Core rev: 8f47d5cb79758d5b2a296759bd4806f85f739b90) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9ea0f850928b3e7d7a2eb280b8b3ed0c9f977cd6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* quilt: Fix merge.test race conditionKhem Raj2023-05-182-0/+49
| | | | | | | | | | | | | This is consistently seen with musl and grep from busybox Therefore backport a patch from upstream to fix it (From OE-Core rev: 3be4c38b370fec42a569cb2cd22315efc860227b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 511bcd965af658e6bb0c61d9f2adb1af75af773b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* unfs3: fix symlink time setting issuehen Qi2023-05-182-0/+89
| | | | | | | | | | | | | | | | | | | | | | | Add back the dropped 0001-attr-fix-utime-for-symlink.patch to fix symlink time setting issue on NFS. The problem could be reproduced by runing the following command on nfs booted qemu: ln -s dest src && touch -h src Apart from the rpm operations mentioned in the original patch, 'docker pull' also fails with a 'stale file' error. The common pattern here is extracting files from a bundle and setting times for them. (From OE-Core rev: 221b509b31a44a16ccc0f66293e51b86322c0b5b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fe35a2c11ba6f87735bccae244817016f9c1b5db) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* recipes: Default to https git protocol where possibleRichard Purdie2023-05-186-6/+6
| | | | | | | | | | | | The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 8f3669f81db8a58f8ed2faef76acab3499f59619) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: Whitelist CVE-2023-0664Virendra Thakur2023-05-181-0/+5
| | | | | | | | | | | | | | This CVE is related to Windows. Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664 (From OE-Core rev: 5474b4d8c5df31abb69e1a5be01cd089405d1cce) Signed-off-by: Virendra Thakur <virendrak@kpit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d5ce88c15183c2bf887543c8c31e9c31aaa56a1a) Signed-off-by: Steve Sakoman <steve@sakoman.com>