summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2020-12-18qemu.inc: Add seccomp PACKAGECONFIG optionNathan Rossi
Add the seccomp PACKAGECONFIG option to allow building seccomp features in QEMU. The libseccomp library is available in additional layers (e.g. meta-security). Additionally this serves as a way to disable seccomp by default to avoid the configure of QEMU automatically finding it (via pkg-config) on the build host when building qemu-system-native and auto enabling the feature. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18gcc: Add patch to resolve i*86 tune configuration overridesNathan Rossi
When compiling gcc-runtime for i686 libatomic, libgomp and libitm are compiled with additional '-march' and '-mtune' overrides. This typically does not cause build errors (e.g. core2-32 tune), and results in less optimally tuned outputs. However with specific TUNE_CCARGS (e.g. has '-mfpmath=sse' but not '-msse*'), the build errors with conflicting '-mfpmath' options. This is caused by gcc-runtime specific configure scripts and Makefile options that override by adding additional '-march'/'-mtune' args. OE builds gcc-runtime differently to other build systems, and provides target specific arch/tune options directly. As such, this change adds a patch for gcc to remove the specific cases where the args are added. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15perl: fix installation failure because of shell issueDmitry Baryshkov
On one of my buildservers I noticed perl do_install failing with the following message: | rm: cannot remove '<OEROOT>/tmp-rpb-glibc/work/armv8-2a-linaro-linux/perl/5.32.0-r0/image//usr/lib/perl5/5.32.0/*/CORE/libperl.so': No such file or directory I tracked this down to shell being dash rather than bash not being able to expand this glob in the middle of the filename. So replace the glob expansion with the simpler one which works in all cases. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-setuptools-scm: add python3-toml depTim Orling
Fixes: pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by setuptools-scm Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-setuptools: upgrade 50.3.2 -> 51.0.0Tim Orling
No upstream release notes. Upstream commits since 50.3.2: b6bbe236 Bump version: 50.3.2 → 51.0.0 7f477c52 Merge pull request #2472 from pypa/bugfix/2471-remove-deps 2a0463cb Update changelog. 99bc2c11 Remove tests guaranteeing that (vendored) dependencies can be installed without setuptools. 65441834 Remove conditional skip, no longer relevant. 9365c7ed Merge pull request #2468 from wimglenn/patch-1 43b0b81e Merge pull request #2461 from webknjaz/testing/gha-fix-set-env-usage 43f76003 Merge pull request #2460 from HaraldKorneliussen/master 2065f85d Merge pull request #2444 from zegor/patch-1 e9617599 Merge pull request #2439 from mgedmin/patch-1 475fb309 Update docs/pkg_resources.rst b4de397a fix broken link to entry-points details 4a4d50af Fix all deprecated set-env and add-path uses @ GHA b20d12e1 Fixes syntax issues in quickstart (#2448) 5cf3865f Merge pull request #2457 from webknjaz/testing/gha-broken-setup-python de48cfdb Temporarily allow `set-env` GHA commands ec944a40 Upgrade GHA actions using deprecated env mechanism d7170a28 Update quickstart.rst 0e1fc1c6 s/517/PEP 517/ 544687c3 Merge pull request #2437 from pypa/feature/rtd-2 3ca9e461 Merge pull request #2436 from webknjaz/maintenance/changelog-reconstruction 8ad16115 Merge pull request #2435 from pypa/debt/drop-py35 6597dcb6 Switch to RTD v2 config 7cf674e1 Reconstruct changelog with categories from history 97ee6624 Remove Python 3.5 from Appveyor tests 3dd7313d Bump PPC runs d490709b Merge pull request #2431 from webknjaz/bugfixes/pr-template-docs-links 66ca4205 Use 'virtualenv.python'. Fixes #2434. 419087c4 Merge branch 'master' into debt/drop-py35 38de858e Update changelog 6d33d5dd 📝 Update devguide links in the PR template 898ae046 Merge pull request #2430 from webknjaz/bugfixes/sphinx-failures a94c2c3d 📝 Add change notes e711cb07 🐛📝 Fix "Title level inconsistent" in changelog 9ab7bc54 Clean up syntax on entry_points.console_scripts. Fixes #2429. 2ff24f67 🐛📝 Fix the TOC link to the relocated dev guide a5dbf964 Drop support for Python 3.5. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-pygments: upgrade v2.7.2 -> v2.7.3Tim Orling
Upstream release notes: """ * Updated lexers: - Ada (#1581) - HTML (#1615, #1614) - Java (#1594, #1586) - JavaScript (#1605, #1589, #1588) - JSON (#1569 -- this is a complete rewrite) - Lean (#1601) - LLVM (#1612) - Mason (#1592) - MySQL (#1555, #1551) - Rust (#1608) - Turtle (#1590, #1553) * Deprecated JsonBareObjectLexer, which is now identical to JsonLexer (#1600) * The ImgFormatter now calculates the exact character width, which fixes some issues with overlapping text (#1213, #1611) * Documentation fixes (#1609, #1599, #1598) * Fixed duplicated Juttle language alias (#1604, #1606) * Added support for Kotlin scripts (#1587) * Removed CSS rule which forced margin to 0 """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-importlib-metadata: upgrade 3.1.0 -> 3.1.1Tim Orling
No upstream release notes. Commits since 3.1.0 tag: 155bc48 (HEAD, tag: v3.1.1) Merge branch 'maint/2.x' 83c7dd2 (tag: v2.1.1, origin/maint/2.x) Merge pull request #264 from python/bugfix/261-versionless-egg-info-pre-normalized-fallback 4cb3bd0 Update changelog. Ref #261. 6036a37 Avoid relying on new-style normalization for legacy eggs. 4098b51 Perform exact match on Prepared.normalized, and then add a separate check for an empty self.normalized instead of relying on a degenerate result from startswith. 7bdbb57 Add test to ensure that a prefix isn't matched 595eb5f Compare the name against self.normalized. Fixes #261 but also will cause 'lib' to match 'lib_foo'. fea6e75 Move is_egg into prepared. 313535a Extract method for matching a name in a prepared search. 4335def Add test capturing expectation where versionless metadata exists but hasn't been updated to the new normalization technique. Ref #261. 9aee90b Fix syntax in changelog 55e64a4 Merge pull request #258 from python/feature/skeleton 8721a05 Merge branch 'master' into feature/skeleton ed672ee Consolidate coverage files eabd24d Restore diffcov b29baea Correct syntax for invoking pytest d5a5c90 Bring back perf 67cb123 Run tests to exercise coverage Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-hypothesis: upgrade 5.41.4 -> 5.41.5Tim Orling
Add missing RDEPENDS: - python3-attrs - python3-sortedcontainers Upstream release notes: """ 5.41.5 - 2020-12-05 This patch adds a performance optimisation to avoid saving redundant seeds when using the .fuzz_one_input hook. """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09llvm: sort the lists in generated source reproducibiblyAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09ruby: fix reproducibilityAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09llvm: fix reproducibilityAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09python3-setuptools-scm: fix upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09bison: upgrade 3.7.3 -> 3.7.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09createrepo-c: upgrade 0.16.1 -> 0.16.2Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09elfutils: upgrade 0.181 -> 0.182Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09meson: upgrade 0.55.1 -> 0.56.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09pseudo: Update to print PSEUDO_LOGFILE in abort message on path mismatchesTomasz Dziendzielski
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06qemu: CVE-2020-25624Li Wang
References: https://nvd.nist.gov/vuln/detail/CVE-2020-25624 backport patch from: https://git.qemu.org/?p=qemu.git;a=commit;h=1328fe0c32d5474604105b8105310e944976b058 Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03qemu: CVE-2020-29129 CVE-2020-29130Li Wang
References: https://nvd.nist.gov/vuln/detail/CVE-2020-29129 https://nvd.nist.gov/vuln/detail/CVE-2020-29130 backport patch from: https://git.qemu.org/?p=libslirp.git;a=commit;h=2e1dcbc0c2af64fcb17009eaf2ceedd81be2b27f Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03pseudo: Simplify pseudo_client_ignore_path_chroot()Peter Kjellerstedt
This also plugs a memory leak in pseudo_client_ignore_path_chroot(). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-numpy: Add ptestKhem Raj
Since 1.15, numpy have replaced nose with pytest testing framework it additionally needs hypothesis and sortedcontainers modules Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-numpy: Upgrade to 1.19.4Khem Raj
Unify inc file into single recipe, py2 is gone Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-hypothesis: upgrade 5.41.3 -> 5.41.4Tim Orling
Upstream release notes: """ 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130".lower() -> "i\u0370"). """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-sortedcontainers: move from meta-pythonTim Orling
Sorted Containers is an Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions. * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-hypothesis: move from meta-pythonTim Orling
A library for property-based testing * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pytest: RDEPENDS on python3-tomlTim Orling
The generated requires.txt in pytest-*-py3.9.egg-info shows the requirement. Caught during ptest of python3-wcwidth: Signed-off-byROR collecting tests/test_core.py ______________________ tests/test_core.py:4: in <module> import pkg_resources ../../python3.9/site-packages/pkg_resources/__init__.py:3239: in <module> def _initialize_master_working_set(): ../../python3.9/site-packages/pkg_resources/__init__.py:3222: in _call_aside f(*args, **kwargs) ../../python3.9/site-packages/pkg_resources/__init__.py:3251: in _initialize_master_working_set working_set = WorkingSet._build_master() ../../python3.9/site-packages/pkg_resources/__init__.py:567: in _build_master ws.require(__requires__) ../../python3.9/site-packages/pkg_resources/__init__.py:884: in require needed = self.resolve(parse_requirements(requirements)) ../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-importlib-metadata: upgrade 2.0.0 to 3.1.0Tim Orling
Upstream release notes: " v3.1.0 Merge with 2.1.0. v2.1.0 #253: When querying for package metadata, the lookup now honors package normalization rules. v3.0.0 Require Python 3.6 or later. " Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-more-itertools: upgrade 8.5.0 -> 8.6.0Tim Orling
Upstream release notes: " * New itertools - all_unique (thanks to brianmaissy) - nth_product and nth_permutation (thanks to N8Brooks) * Changes to existing itertools - chunked and sliced now accept a strict parameter (thanks to shlomif and jtwool) * Other changes - Python 3.5 has reached its end of life and is no longer supported. - Python 3.9 is officially supported. - Various documentation fixes (thanks to timgates42) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pytest: move from meta-pythonTim Orling
Simple powerful testing with python Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pluggy: move from meta-pythonTim Orling
Plugin and hook calling mechanisms for python * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-importlib-metadata: move from meta-pythonTim Orling
Read metadata from Python packages * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-zipp: move from meta-pythonTim Orling
Backport of pathlib-compatible object wrapper for zip files * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-wcwidth: move from meta-pythonTim Orling
Library for bulding powerful interactive command lines in Python * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-packaging: move from meta-pythonTim Orling
Core utilities for Python packages * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-setuptools-scm: move from meta-pythonTim Orling
The blessed package to manage your versions by scm tags * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-py: move from meta-pythonTim Orling
Library with cross-pythonpath, ini-parsing, io, code, log facilities * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-toml: move from meta-pythonTim Orling
Python Library for Tom's Obvious, Minimimal Language * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pathlib2: move from meta-pythonTim Orling
Object-oriented filesystem paths * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-more-itertools: move from meta-pythonTim Orling
More routines for operating on iterables, beyond itertools * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-iniconfig: move from meta-pythonTim Orling
A small and simple INI-file parser module * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-attrs: move from meta-pythonTim Orling
Classes Without Boilerplate * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-atomicwrites: move from meta-pythonTim Orling
Powerful Python library for atomic file writes * Part of the dependency chain for python3-pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24e2fsprogs: Fix a ptest permissions determinism issueRichard Purdie
When comparing builds built with different host umasks, this file jumped out. The umask from do_compile was influencing ${D} and as cp was used to add the file it wasn't deterministic. Fix the file mode to ensure determinism. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24binutils: Fix linker errors on chromium/ffmpeg on aarch64Khem Raj
ffmpeg in qtwebengine/chromium fails to build on aarch64 ffmpeg/ffmpeg_internal/videodsp.o: in function `ff_prefetch_aarch64': (.text+0x10): relocation truncated to fit: R_AARCH64_CONDBR19 against symbol `ff_prefetch_aarch64' defined in .text section in obj/third_party/ffmpeg/ffmpeg_internal/videodsp.o Backport an upstream fix to handle this error which is a regrression in binutils 2.35 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24go: Update to 1.15.5Khem Raj
Define CXX_FOR_TARGET and CC_FOR_TARGET for target go since we are cross building it, it helps in defining the compiler for cgo on target backport a patch to fix CGO_LDFLAGS regression like below Fixes | Building std for target, linux/arm. | go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24valgrind: helgrind: Intercept libc functionsStacy Gaikovaia
PTH_FUNC definition needs to be modified in order to intercept posix thread functions in both libc and libpthread. In order to handle this in helgrind, weak alias the pthread functions in glibc. Include a special case for musl. See https://bugs.kde.org/show_bug.cgi?id=428909 for additional discussion. Upstream-Status: Submitted Signed-off-by: Paul Floyd <paulf@free.fr> Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24python3-pycryptodome: upgrade 3.9.8 -> 3.9.9Joshua Watt
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24python3: add CVE-2007-4559 to whitelistRoss Burton
This issue describes expected behaviour, do not use tarfile with untrusted data. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24qemu: fix CVE-2020-24352Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24python3: whitelist CVE-2020-15523Lee Chee Yang
This CVE is issue on _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath. Since it is .dll issue (on windows only), hence whitelist it. https://bugs.python.org/issue29778 Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>