summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* binutils: another way to clear GPROFNG_ALTS for clang and muslKai Kang2022-09-291-4/+5
| | | | | | | | | | | | | | | It disables gprofng for toolchain clang and libc musl, so GPROFNG_ALTS should be cleared for them. But override 'toolchain-clang' is applied before overrides 'TRANSLATED_TARGET_ARCH' such as x86-64, then GPROFNG_ALTS is still set and not cleared. Apply overrides 'toolchain-clang' and 'libc-musl' for GPROFNGS rather than GPROFNG_ALTS to make it work as expected. (From OE-Core rev: 30630b0e61835278a2e06262560de67c7a867ff6) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: update 4.18.0-rc1 -> 4.18.0-releaseAlexander Kanavin2022-09-291-4/+1
| | | | | | | (From OE-Core rev: 0e9594bdd95a70580e5c10d5b362eb149876ed34) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: set the default target archDaniel McGregor2022-09-292-1/+11
| | | | | | | | | | | | | | | | The default x86-64 architecture for target gcc (ie, the one in poky build appliances) is native. Since we have a variety of build systems it will occasionally produce instructions that don't work on all of our development system. Instead, set gcc's default architecture to the one specified in TUNE_CC_ARCH, that guarantees that gcc-runtime and any binaries produced are compatible with the target machine type. (From OE-Core rev: 52b952e474e655f8b4b6501813d57e20c9f02ba2) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add patch to address arm qemu upgrade issuesRichard Purdie2022-09-282-0/+28
| | | | | | | | | | | | | Upgrading qemu to 7.1.0 caused some issues in meta-arm for optee and for zephyr as well: https://github.com/OP-TEE/optee_os/issues/5551 Add in a patch being proposed to address the issue. (From OE-Core rev: ec41bf3cf0d55c84db07069561a6807bc96fa95b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin2022-09-287-28/+19
| | | | | | | | (From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) 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>
* dnf: add dummy packages for testingRoss Burton2022-09-261-0/+6
| | | | | | | | | | | | | | | oeqa/runtime needs packages which are always built, but we don't want to use packages which have large side effects (unlike the current test recipe, run-postinsts). As finding a package that is both of these things isn't easy, for now dnf can generate its own. Moving forward this should be generalised and all of the package manager tests unified. (From OE-Core rev: 061b9cf35a63b38a34356580395c5694579cbb98) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2022-2962Ross Burton2022-09-222-0/+65
| | | | | | | | | Backport the fix for CVE-2022-2962. (From OE-Core rev: 943d28a3395455fd475cb6c84247d106adf5fca3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: re-add the fix for CVE-2022-1050Ross Burton2022-09-222-1/+44
| | | | | | | | | | This patch was accidentally dropped in the 7.1.0 upgrade, so bring it back. (From OE-Core rev: 09bcf6d2a661a3c39fdd13a760f6c26dd79abb69) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: handle symlink files for gprofngKai Kang2022-09-221-0/+18
| | | | | | | | | | | | | | | | It provides gprofng by binutils 2.39 for x86, x86_64 and aarch64 according to configure.ac: https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=configure.ac;h=a5555a9c91b42214afc46a0ab8b629e4c6fedcc0;hb=HEAD#l401 Add them to USE_ALTERNATIVES_FOR the same as others to handle symlink files via update-alternative mechanism. And it disables gprofng for clang and musl in .bb file, so clear GPROFNG_ALTS for them too. (From OE-Core rev: 35bec42c4023a00a0a3639935633051ce9c1c0ba) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils : Fix CVE-2022-38128pgowda2022-09-224-0/+984
| | | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=f07c08e115e27cddf5a0030dc6332bbee1bd9c6a] Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=175b91507b83ad42607d2f6dadaf55b7b511bdbe] Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=695c6dfe7e85006b98c8b746f3fd5f913c94ebff] (From OE-Core rev: b9348a0937185a14dfb5e5be4f4269c965541769) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest.json: Add zoneinfoLeon Anavi2022-09-211-0/+11
| | | | | | | | | | | The zoneinfo module provides a concrete time zone implementation to support the IANA time zone database as originally specified in PEP 615. (From OE-Core rev: 668bb1c3828bb66fcd3ed8d0fc16fb11eef3a45f) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Upgrade 4.17.1 -> 4.18rc1Richard Purdie2022-09-2015-171/+113
| | | | | | | | | | | | | | | | | | rpm is close to release and give our release timings, update to the rc1 of 4.18. Includes fixes for CVE-2021-35937, CVE-2021-35938 and CVE-2021-35939 which can't be easily backported. Add a PACKAGECONFIG option for a new readline dependency and disable it by default since it pulls in GPLv3 and that breaks a number of our test configurations as things stand. Refresh patches and drop the error.h patch as error() no longer used. (From OE-Core rev: 4b31e4f2aea490bd5056c97742b5e25a8dcc8b36) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-idna: migrate to flit-coreKonrad Weihmann2022-09-201-6/+1
| | | | | | | | | | | | setup.py in latest release is broken after move to flit-core was released by the project. This broke the version detection in consuming libs like requests. Remove the not needed egg.info removal as well (From OE-Core rev: 399c324e9a30ab63e0c5d653dba5bf9354ec70f7) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix type mismatches and ptest buildsKhem Raj2022-09-203-0/+93
| | | | | | | | | These issues are found with clang15 (From OE-Core rev: 43ac1ce1df152753d9c92360942d99add81bd4ca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-certifi: upgrade 2022.6.15 -> 2022.9.14Richard Purdie2022-09-201-2/+2
| | | | | | | | License checksum change due to a url change, license itself unchanged. (From OE-Core rev: 6112c30c49da478cd2b3496a7df0211acda1944e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* repo: upgrade 2.29.1 -> 2.29.2Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 9419cacf5f9ba6e7cd04a7c48b487f4d65cda2e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: upgrade 5.9.1 -> 5.9.2Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 9109fd6ae40c23820c66c8f388138bc3da633335) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: upgrade 0.68.0 -> 0.69.0Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: ae3b0b7a234339e04f32a44b7cc68176c40d1f16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.23.2 -> 1.23.3Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 36e6385c394f02edf84011d8beebdf4db8ffa651) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.46.11 -> 6.54.5Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 848fdbd40057913161c53f8ed182c9c3e601c0f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librepo: upgrade 1.14.4 -> 1.14.5Richard Purdie2022-09-172-36/+1
| | | | | | (From OE-Core rev: 4291f53127f0740a1004f0b6fb823b9823562c58) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-idna: upgrade 3.3 -> 3.4Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: daca869a8190a1035ab4aff6e0e8707041a95866) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.63.1 -> 0.63.2Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 1c0900c8bc13ef608938c533949baf92bef28cb1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.8.1 -> 1.9.0Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 3056129c5e8c33096ddf2bca352e9a4eca8387fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcomps: upgrade 0.1.18 -> 0.1.19Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: ba42d07fab41ff04f51453e2f4542d8aa2de0f6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ninja: upgrade 1.11.0 -> 1.11.1Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 4452d8a630697f1ac462ecf39edaf5d71bbc491f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: upgrade 5.42 -> 5.43Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: f8292f559349381d1781df8b1c6ce6b60856785f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade 2.37.2 -> 2.37.3Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 75567ae2f18fc93c7ba554e3d95b85fd320c0166) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.13.0 -> 4.14.0Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 3b221ebd89d74cb5ee6b5eb3c721e35258239689) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.19 -> 5.19.1Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: d2a4562ad5888919dc42f244c796c8fbd39d55cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: upgrade 4.6.2 -> 4.6.3Richard Purdie2022-09-173-58/+2
| | | | | | (From OE-Core rev: 01ff58d9174eb81ae8f774600702bb0cb3b405a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf-archive: upgrade 2022.02.11 -> 2022.09.03Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: 0e041483483ba6434670854701a49d2a72a859d9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: add option for zstd supportEtienne Cordonnier2022-09-171-0/+1
| | | | | | | | | | | This allows the use of zstd for opkg packages by using OPKGBUILDCMD: OPKGBUILDCMD = "opkg-build -Z zstd" (From OE-Core rev: a0892c3209e3892d79b97dcd4ec0e5a89057258c) Signed-off-by: Alex Feinman <afeinman@snap.com> Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add PACKAGECONFIG[editline]Etienne Cordonnier2022-09-171-0/+1
| | | | | | | | | editline is a BSD alternative for readline which is GPLv3. (From OE-Core rev: 33c1dc903a0908dc9796ddf03a90f1e23e5d1405) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Enable ptests on musl targetsKhem Raj2022-09-172-1/+150
| | | | | | | (From OE-Core rev: 554627edbb5db139153b816d24b15422d4d7633d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-canadian: add default plugin linkerSamuli Piippo2022-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix multilib sdk issue where gcc is unable to find linker. Previous fix was in cdd86896c8d29135f937968e9aa07f919cf543d3 using real-ld symlink, but that prevented switching between bfd and gold linkers. Running compiler with debug arguments shows that collect2 tries and fails to find linker using the multilib triples: $ $CC -v -Wl,-debug ... Looking for 'real-ld' Looking for 'collect-ld' Looking for 'mips-oemllib32-linux-ld' Looking for 'mips-oe-linux-mips-oemllib32-linux-ld' ... collect2 version 12.2.0 ld_file_name = not found ... collect2: fatal error: cannot find ‘ld’ Using --with-plugin-ld=ld in gcc-cross-canadian builds to set default linker name for collect2, lets it find the linker correctly: Looking for 'real-ld' Looking for 'collect-ld' Looking for 'ld' ... collect2 version 12.2.0 ld_file_name = /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/libexec/mips-oe-linux/gcc/mips-oe-linux/12.2.0/ld Swith between bfd and gold linker works as expected now: $ $CC -v -Wl,-debug -fuse-ld=gold ... Looking for 'real-ld' Looking for 'collect-ld' Looking for 'ld.gold' ... collect2 version 12.2.0 ld_file_name = /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/libexec/i686-oe-linux/gcc/i686-oe-linux/12.2.0/ld.gold (From OE-Core rev: cf1bb16b7f9f81514feaf1e4ecffd9039387bb89) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "gcc-cross-canadian: Add symlink to real-ld alongside other symlinks"Samuli Piippo2022-09-171-2/+0
| | | | | | | | | | | | This reverts commit cdd86896c8d29135f937968e9aa07f919cf543d3. real-ld is always used if that is found, which means you cannot switch between bfd and gold linkers using -fuse-ld gcc option. (From OE-Core rev: 53ae417c63a4a7ff4a729d3653a31cf1c0758f10) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Ignore CVE-2022-38126 CVE-2022-38127Khem Raj2022-09-131-0/+4
| | | | | | | | | | They are already part of backports to 2_36 branch as noted (From OE-Core rev: 5789c34b3e77937d034817a0cbd73bc1e4dcf451) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-rfc3986-validator: switch from SRC_URI:append to SRC_URI +=Mikko Rapeli2022-09-131-1/+1
| | | | | | | | | | The :append can not be removed via bbappends if needed. Thus it's better for open source layers to use += append if possible. (From OE-Core rev: 1e09be9455fb054b3f74f088b355116828cb4626) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-native: switch from SRC_URI:append to SRC_URI +=Mikko Rapeli2022-09-131-1/+1
| | | | | | | | | The :append can not be removed if needed in other layers. (From OE-Core rev: e129d2f7e3ba312ab5383397eeabf7273d23a529) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Use libc++ runtime when using clang with llvm runtimeKhem Raj2022-09-121-0/+2
| | | | | | | | | | | | | meta-clang has options when it comes to C++ runtime, default is to use gnu runtime, other options are llvm runtime and android runtime. This patch helps when a distro is using llvm runtime for C/C++ runtime. It informs the rust build system about right C++ runtime to configure for when such a setting is used. (From OE-Core rev: 521872ab2cac092c88446730772cb8c4e22b0cdc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: Add recipeKhem Raj2022-09-121-0/+42
| | | | | | | | | | | | | | Import this recipe from meta-python, as it is needed by many recipes from different layers e.g. wireplumber from meta-multimedia, opengl-es-cts and vulkan-cts in meta-oe, yelp-tools in meta-gnome to name a few, the real issue is that newer vulkan-cts has added this dependency which is in meta-oe, and meta-oe can not depend on meta-python (From OE-Core rev: 19e87e03234245c522d63f14365885ab5369a54c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Do not package gprofng.rcKhem Raj2022-09-091-3/+3
| | | | | | | | | | | | | | This file is already packaged via nativesdk-gprofng and can cause populate SDK conflicts Also delete the etc directory if its empty it can still cause packaging QA errors (From OE-Core rev: 4c03a7fd1d87ee0e5509ff23b0785e92b7aca324) 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>
* qemu: Upgrade 7.0.0 -> 7.1.0Richard Purdie2022-09-0911-527/+19
| | | | | | | | | | | | | | | Drop CVE backports and backported patch for pvrdma which was also applied upstream. Refresh cross.patch. Drop vnc-png option removed upstream. Update ptest path manipulations for target. qmp now has consists of multiple files so install them all as a python module. The upgrade contains fixes for virtio block devices which we hope will address vda device tracebacks on the autobuilder from qemu. (From OE-Core rev: e94d182889ca3c02df913c59f0b66b228ffe588c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Use variable to specify extra tools to installKhem Raj2022-09-091-1/+3
| | | | | | | | | | | All architectures may not support same set of tools, therefore use a variable to specify this. E.g. on riscv32 rustfmt is not buildable right now. (From OE-Core rev: 332df9ebbd75a1825ac99abf1311d2e692d398d7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: remove obsolete MinGW patchRoss Burton2022-09-092-27/+0
| | | | | | | | | | | | | | This patch appears to be obsoleted by 217d5be, in GCC 11.1 onwards. libstdc++: Test errno macros directly for all targets [PR 93151] This applies the same changes to the djgpp and mingw versions of error_constants.h as r11-6137 did for the generic version. (From OE-Core rev: e3157da1408b4e6281fdf28825b79c266e93c05e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: remove obsolete poisoned calloc workaroundRoss Burton2022-09-092-57/+0
| | | | | | | | | This was fixed upstream in de6f402a, as part of 12.2. (From OE-Core rev: d5e6768f30579abc8559aab60429a292a4c49f3d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Fix CMAKE_SYSTEM_PROCESSOR setting for SDKTom Hochstein2022-09-091-4/+1
| | | | | | | | | | | | | | When building using an SDK, cmake complains that the target architecture 'cortexa53-crypto' is unknown. The same build in bitbake uses the target architecture 'aarch64'. Set CMAKE_SYSTEM_PROCESSOR the same as for bitbake. (From OE-Core rev: d32a6225eefce2073a1cd401034b5b4c68351bfe) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: upgrade 0.56.2 -> 0.56.3wangmy2022-09-082-3/+3
| | | | | | | | | | | | | | | | | | | | | Changelog: ========== * Various improvements and bug fixes: - vala: Don't unconditionally expect ObjectType of Class [#1341] - vala: Make try-statement parsing more resilient [#1304] - vala: Avoid problems with '\' in #line directives on Windows [#1353] - gidlparser: Set source reference of parameters * Bindings: - atspi-2: Fix a few binding errors - glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 [#1350] - gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute (From OE-Core rev: 29d2f8241312a7f0bda39805d41cd6789d369ce9) 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-pytest: upgrade 7.1.2 -> 7.1.3wangmy2022-09-081-1/+1
| | | | | | | | (From OE-Core rev: 110b739d658bbd69c1307891fe2b2a358b72ac72) 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>