summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2021-11-25python3: refactor python-config patchTim Orling
Drop legacy python-config.patch distutils is deprecated in Python 3.10 and will be removed in Python 3.12 (~October 2023). Rather than wholesale import the distutils.sysconfig module, refactor to replicate legacy distutils usage that we need. This merges changes to get_python_inc from 12-distutils-prefix-is-inside-staging-area.patch [YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25dnf: drop python3-disutils dependencyTim Orling
Upstream dropped the now deprecated distutils: 18995d65 Remove distutils which are deprecated in python3.10 (RhBug:1950229) Usage was replaced with sysconfig, which is in pyton3-core [YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25python3-setuptools: do not depend on distutilsTim Orling
No longer depend on python3-distutils, current versions of setuptools vendor as _distutils. [YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25python3-pygobject: setuptools instead of distutilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25btrfs-tools: use setuptools3-base not distutilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25librepo: inherit setuptools3-base not distutilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25createrepo-c: inherit setuptools3-base not distutilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25libcomps: inherit setuptools3-base not distutilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25python3-pip: inherit setuptools3 not distutils3Tim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25python3-dbus: inherit setuptools3-base not distuilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25libdnf: inherit setuptoools3-base not distutilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25dnf: inherit setuptools3-base instead of distutilsTim Orling
[YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25python3-cython: DISTUTILS_* -> SETUPTOOLS_*Tim Orling
Refactor to new SETUPTOOLS_* variables [YOCTO #14610] Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
2021-11-25gcc: Drop no longer needed patchRichard Purdie
This patch was mentioned upstream a long time ago: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256 Changes from gcc 10 onward mean it is no longer needed as mentioned in the above bug report. Drop the patch. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25python3-setuptools: update 58.5.3 -> 59.2.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25python3-packaging: update 21.2 -> 21.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25cmake: update 3.21.4 -> 3.22.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25git: update 2.33.1 -> 2.34.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25gptfdisk: submit patch upstreamAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25elfutils: submit patch upstreamAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25elfutils: update 0.185 -> 0.186Alexander Kanavin
Drop glibc-2.34-fix.patch merged upstream. Rework support for error() on non-glibc targets: upstream now provides its own implementation, so we can drop the patch that adds ours; said implementation isn't build-tested with tests, so ptest has to be disabled on musl. This, in turns, allows dropping 0004-Fix-error-on-musl.patch. License-Update: copyright years Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25dpkg: replace a patch with a tweak to an already existing sed fixupAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25diffstat: remove unneeded patchAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25apt: drop unneeded chunk from a musl patch, submit the rest upstreamAlexander Kanavin
Upstream has inserted guards around the use of offending constant. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24go: upgrade 1.16.8 -> 1.16.10Pavel Zhukov
The release includes fixes for CVE-2021-41771 and CVE-2021-41772 Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23python3-mako: upgrade 1.1.5 -> 1.1.6wangmy
Fixed issue where control statements on multi lines with a backslash would not parse correctly if the template itself contained CR/LF pairs as on Windows. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23python3-scons: upgrade 4.2.0 -> 4.3.0wangmy
NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer supported Changelog: - Default hash algorithm check updated for SCons FIPS compliance. Now checks for hash viability first and then walks the tree to use the first viable hash as the default one. This typically selects SHA1 on FIPS-enabled systems less than Python 3.9 as the new default instead of MD5, unless SHA1 has also been disabled by security policy, at which point SCons selects SHA256 as the default. For systems running Python 3.9 and later, the hashlib bug has been fixed, and SCons will once again default to MD5 as the preferred algorithm. - Fix MSVS tests (vs-N.N-exec.py) for MSVS 6.0, 7.0, and 7.1 (import missing module). - Add support for Visual Studio 2022. - Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when set. - Fix version tests to work with updated scons --version output. (Date format changed) - Fix issue #4021. Change the way subst() is used in Textfile() to not evaluate '$$(' -> '$', but instead it should yield '$('. - Change SCons.Platform.win32.get_architecture() to return platform.platform() when run in an environment where neither: PROCESSOR_ARCHITEW6432 nor PROCESSOR_ARCHITECTURE is set. This should fix platform tests which started failing when HOST_OS/HOST_ARCH changes introduced by Aaron Franke (listed below) were merged. - Further PCH updates. It's now recommended that env['PCH'] should always be a File node. Either via return value from env.PCH() or by explicitly using File('StdAfx.pch'). - Added --no-ignore-skips to runtest.py. Changed default to ignore skips when setting runtest.py's exit status. Previously would exit 2 if any tests were skipped. Now will only exit 2 if user specifies --no-ignore-skips and some tests were skipped. - Small fix to ensure CLVar default value is an empty list. See MongoDB bug report: https://jira.mongodb.org/browse/SERVER-59656 Code contributed by MongoDB. - Ninja - Fixed an issue where if you control-c and/or killed ninja while it was running scons to regenerate build.ninja you would end up with no build.ninja file and have to rerun scons from scratch. Code contributed by MongoDB. - Define HOST_OS and HOST_ARCH in the environment for all platforms. Before this change, these were only defined for Win32 and OS/2. - Fix ninja tool to never use for_sig substitution because ninja does not use signatures. This issue affected CommandGeneratorAction function actions specifically. - Expanded ninja Mkdir to also support Mkdir actions. - Added support for the PCH environment variable to support subst generators. - Fix command line escaping for ninja dollar sign escape. Without escaping ninja properly, the ninja file scons regenerate and callback invocations will lose the $ characters used in the scons command line which ninja uses itself for escaping. For Example: scons BUILD=xyz OTHERVAR=$BUILD Prior to this fix, it would cause ninja to fail to escape the dollar sign, leading to the single dollar sign being used as a ninja escape character in the ninja file. - Added ninja API 'NINJA_FORCE_SCONS_BUILD' to force a node to callback to scons. - Two small Python 3.10 fixes: one more docstring turned into raw because it contained an escape; updated "helpful" syntax error message from 3.10 was not expected by SubstTests.py and test/Subst/Syntax.py - EmitterProxy rich comparison set is completed (checker warning). Added __le__, __gt__, __ge__. - Fix gcc/g++ tool failing if "gcc --version" returns text which fails to_String conversion (i.e., not UTF-8) - failure happens when tool initialization checks version. For gcc, the initial version string is not translated, for the rest, don't convert, just consume raw and discard. - Maintenance and doc: modernize some usage in Scanner package, calling super(), switching some imitialization to comprehensions, and code formatting. Docstring for scanner Base moved from init-method to class-level so it's picked up by Sphinx. Added new sconsign filenames to skip_entry_list in Scanner/Dir.py - Change SCons.Scanner.Base to ScannerBase. Old name kept as an alias but is now unused in SCons itself. - Call Variables option converter consistently - the converter should have access to the env if it needs to (issue #2064). - Fixed the variables Add() method to accept a tuple for the variable name the same way AddVariables() does (issue #3869). - The premade validator PathIsDirCreate for for PathVariable now catches the case where the directory could not be created due to permission problems, allowing a more helpful error to be emitted (issue #2828) - Maintenance: Python thread.setDaemon is deprecated in favor of directly updating daemon attribute - update SCons to do this. - Make sure when subst'ing a callable, the callable is called with the correct for_signature value, previously it would be true even if doing SUBST_RAW (issue #4037) - Update Util/NodeList implementation to get rid of a workaround for early Python 3 slicing issue that is no longer a problem. - Rework some Java tests to skip rather than fail on CI systems, where the working java is > v9, but a 1.8 or 9 was also found. - Java updates: on Windows, detect more default JDK install locations. On all platforms, more Java versions (up to 17.0 now). Add more information on version selection to docs. Update docs on JavaH tool in light of javah command dropped since 10.0. Try to be better about preserving user's passed-in JAVA* construction vars. - Start the deprecation of the qt tool, which refers to Qt3 (usupported since around 2006). There's a deprecation warning added, initially defaulting to disabled. - Fix crash when scons is run from a python environement where a signal is set from outside Python. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23rust-cross: Replace TARGET_ARCH with TUNE_PKGARCHPgowda
rust-cross-* imported from meta-rust has incorrect signatures, depending on MACHINEOVERRIDES making it effectively MACHINE_ARCH as shown by sstate-diff-machines.sh: openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc \ --machines="qemuarm64 qemuarm64copy" --targets=rust-cross-aarch64-glibc \ --analyze === Comparing signatures for task do_configure.sigdata between qemuarm64 and qemuarm64copy === ERROR: gcc-runtime different signature for task do_configure.sigdata between qemuarm64 and qemuarm64copy NOTE: Starting bitbake server... Hash for dependent task gcc/gcc-runtime_11.2.bb:do_prepare_recipe_sysroot changed from da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 to 47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40 Unable to find matching sigdata for openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb: do_prepare_recipe_sysroot with hashes da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 or 47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40 The following patch takes TUNE_PKGARCH into consideration instead of TARGET_ARCH and results in signatures as expected. [YOCTO #14613] RP: Added maintainer.inc corresponding change Signed-off-by: Pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21expect: do not install examples, drop related patchAlexander Kanavin
There is really no reason to install them; this was done in the original recipe submission for unexplained reasons. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21unfs3: add missing Upstream-Status tagAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21autoconf: add missing Upstream-Status to patchesAlexander Kanavin
All of them seem like very old, very oe specific tweaks; please adjust otherwise. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21patches: correct whitespace/spelling for Upstream-Status tagsAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21librstd-rs: submit patches upstreamAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21python3-pyparsing: upgrade 3.0.5 -> 3.0.6Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21python3-hypothesis: upgrade 6.24.2 -> 6.24.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21ccache: upgrade 4.4.2 -> 4.5Alexander Kanavin
License-Update: third party version references updated Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21automake: update 1.16.3 -> 1.16.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21gdb-common: Add --with-liblzma-prefix in xz PACKAGECONFIG.Jim Wilson
This fixes an arch linux gdb configure error with liblzma installed. Without the --with-liblzma-prefix option, when configuring the target gdb, gdb configure may find the native liblzma (on a non-multiarch system) and try to use it, which gives a configure error. We already use --with-libexpat-prefix for expat, we just need to do the same for liblzma. This was reported here: https://github.com/sifive/meta-sifive/issues/34 https://github.com/sifive/freedom-u-sdk/issues/148 Signed-off-by: Jim Wilson <jim.wilson.gcc@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-19gcc: Tweak Upstream-Status formattingRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16python3-more-itertools: upgrade 8.10.0 -> 8.11.0wangmy
8.11.0: New functions The :func:`before_and_after`, :func:`sliding_window`, and :func:`triplewise` recipes from the Python 3.10 docs were added :func:`duplicates_everseen` and :func:`duplicates_justseen` (thanks to OrBin and DavidPratt512) :func:`minmax` (thanks to Ricocotam, MSeifert04, and ruancomelli) :func:`strictly_n` (thanks to hwalinga and NotWearingPants) :func:`unique_in_window` Changes to existing functions :func:`groupby_transform` had its type stub improved (thanks to mjk4 and ruancomelli) :func:`is_sorted` now accepts a strict parameter (thanks to Dutcho and ruancomelli) :func:`zip_broadcast` was updated to fix a bug (thanks to kalekundert) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16python3-jinja2: upgrade 3.0.2 -> 3.0.3wangmy
What's Changed update requirements by @davidism in #1524 test Python 3.10 by @davidism in #1530 test Python 3.11 by @davidism in #1531 Tests: Adapt expected traceback regexes for Python 3.11.0a1 by @hroncok in #1527 simplify CodeType rewriting by @davidism in #1536 native: keep same behavior on Python 3.10 by @mkrizek in #1537 Reduce async overhead due to auto_await by @mohd-akram in #1516 Use object.__hash__ for Node.__hash__ by @klette in #1522 Fix typos by @kianmeng in #1509 rewrite Template class doc by @davidism in #1538 remove reference to macro.defaults by @davidism in #1539 rewrite docs about extending template objects by @davidism in #1540 document chained pow order by @davidism in #1541 PackageLoader works with single module file by @davidism in #1542 release version 3.0.3 by @davidism in #1543 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16python3-importlib-metadata: upgrade 4.8.1 -> 4.8.2wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16lua: Backport fix for CVE-2021-43396Richard Purdie
Backport the fix for CVE-2021-43396 ("C stack overflow with coroutines") from upstream. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16gcc: Dropping mips workaroundRichard Purdie
I've tested without this and the ptest results for mips are the same with and without it so the issue this was fixing in gcc 9 was likely resolved by gcc 11. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16gcc: Fix CVE-2021-35465Pgowda
source : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102035 Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3929bca9ca95de9d35e82ae8828b188029e3eb70] Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=574e7950bd6b34e9e2cacce18c802b45505d1d0a] Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=30461cf8dba3d3adb15a125e4da48800eb2b9b8f] Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=809330ab8450261e05919b472783bf15e4b000f7] Signed-off-by: Pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15python3-numpy: add python3-json to RDEPENDSYi Zhao
Fixes: $ python3 >>> import numpy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.10/site-packages/numpy/__init__.py", line 138, in <module> from ._version import get_versions File "/usr/lib/python3.10/site-packages/numpy/_version.py", line 7, in <module> import json ModuleNotFoundError: No module named 'json' >>> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15python3-numpy: move recipe to python directoryYi Zhao
This recipe had been moved out from python directory since 2016[1] in order to share patches between python2 and python3. But now there is no reason to keep it in its own directory as we only keep python3-nump. Move it back to python directory. [1] https://git.openembedded.org/openembedded-core/commit/?id=9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13python3-pygobject: Improve introspection handlingKhem Raj
meson 0.60 turns unknown options into them hard errors. Do not add -Dintrospection by using the new configuration option. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11qemu: Exclude building on riscv32Khem Raj
Needs syscalls issues addressed. fails currently to build ../qemu-6.1.0/linux-user/syscall.c:659:1: error: use of undeclared identi fier '__NR_nanosleep'; did you mean 'safe_nanosleep'? Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11gcc-common.inc: Remove mirrors that are no longer availablePeter Kjellerstedt
Also switch to https for https://gcc.gnu.org/pub/gcc/releases/ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>