summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* python3: Add a fix for a make install raceRichard Purdie2021-07-162-0/+24
| | | | | | | | | Add a fix for reproducibility issues where pyc files for python-config.py may not always be generated. (From OE-Core rev: d1c3a87c48b598b6e5624d0affe8bd89320631bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 57.0.0 -> 57.1.0wangmy2021-07-132-43/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | reproducibility.patch deleted since it's been merged upstream. v57.1.0 ------- Changes ^^^^^^^ * #2692: Globs are now sorted in 'license_files' restoring reproducibility by eliminating variance from disk order. * #2714: Update to distutils at pypa/distutils@e2627b7. * #2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * #2604: Revamped the backward/cross tool compatibility section to remove some confusion. Add some examples and the version since when ``entry_points`` are supported in declarative configuration. Tried to make the reading flow a bit leaner, gather some informations that were a bit dispersed. (From OE-Core rev: 9720cce06206895e2e85b171d58a289172bb9092) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: fix race in interp.testRoss Burton2021-07-132-0/+33
| | | | | | | | | There's a timeout race in interp which is exposed when running under load. (From OE-Core rev: bcd792270676beeac73f3900346184dec24d00a1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: clock.test needs a timezone to be setRoss Burton2021-07-131-1/+5
| | | | | | | (From OE-Core rev: 2ee179c78d8904da5c1a28855e3bc4a01a4c3db6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: detect tests that error as well as failRoss Burton2021-07-131-1/+1
| | | | | | | | | | The grep was only looking for tests which explicitly fail, and wasn't catching tests that error. (From OE-Core rev: 25f198e03e2cc3e969d704b7a56e207933fc0ffc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: remove redundant file creationRoss Burton2021-07-131-4/+0
| | | | | | | | | | | | | The creation of compat/fixstrtod.c was done back in 2005[1] with no explanation and has persisted since. I can't seem to break the build without this, so it is presumably long obsolete. [1] https://git.openembedded.org/openembedded/commit/?id=68d6601e8f93243347b58324ce3d4f02eb3a84a9 (From OE-Core rev: ebd76c5d2afdf2da2d2b35946069122545b69ed3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: use AUTOTOOLS_SCRIPT_PATHRoss Burton2021-07-136-75/+26
| | | | | | | | | | | | Inside tcl the configure.ac is inside a unix/ directory. Instead of setting S to BPNPV/unix and having to use ../ to reach files outside of unix, simply set S as usual and use AUTOTOOLS_SCRIPT_PATH to run the correct configure script. (From OE-Core rev: 40516f7db7c29d956038fc74dc7d8c3a7b62325a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: use tcl-core instead of patching out packagesRoss Burton2021-07-132-56/+2
| | | | | | | | | | | Instead of patching out the build of optional packages, we can just use the tcl-core tarball which is identical except it doesn't include the packages. (From OE-Core rev: fed52484e60cbaaa19c30959bdbf70c9bdd4d39b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: mark a patch as upstreamableRoss Burton2021-07-131-4/+1
| | | | | | | | | No reason this shouldn't be fixed upstream. (From OE-Core rev: 9fff7f5fdd4189fb977ea4e299d8bd5c42e5ba02) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: EXTRA_OECONF already passes --libdir, don't do it againRoss Burton2021-07-131-1/+1
| | | | | | | (From OE-Core rev: 1547358bad580dbb3ad4aec9311eccc1eab87f2e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: suffix all Tcl man pages instead of using alternativesRoss Burton2021-07-131-5/+2
| | | | | | | | | | | Both Perl and Tcl want to install Thread.3. Alternatives is a terrible idea for manpages that don't correspond to binaries, instead just tell Tcl to suffix the manpages so this is Thread.3tcl. (From OE-Core rev: 78e9e7c48e673cab8580f00efb08f5d8783b5927) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Update to latest version including statx fixRichard Purdie2021-07-111-1/+1
| | | | | | | | | | | | | | | | | | This updates to the latest pseudo version which includes: Revert "client: Fix some compiler warnings" ports/linux: Always build statx support makewrappers: Handle parameters marked as nonnull client: Fix some compiler warnings wrappers: Avoid -Wcast-function-type warning In particular, this pseudo version always has statx enabled which means we can then remove the need to make pseudo-native host distro specific which fixes an eSDK issue. (From OE-Core rev: 58cc70940ff998be49a9b89e1ad0538242cb7998) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Add uninative configuration sanity checkRichard Purdie2021-07-111-0/+13
| | | | | | | | | | | | When building pseudo-native to work with uninative, we need to ensure the configuration will work on all supported target systems. This means "new clone" semantics, xattr and statvfs support in particular. It is extremely unlikely we'd run on a system without any of these but add a check just to be sure when uninative is enabled. (From OE-Core rev: ea5b208ee25752bea6037cd0f3b28da7d2c9905e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pathlib2: upgrade 2.3.5 -> 2.3.6zhengruoqin2021-07-091-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: file format changed from "ASCII text" to "ASCII text, with CRLF line terminators" Version 2.3.6 ^^^^^^^^^^^^^ - Fix minor unicode bugs in with_name and with_suffix. Many thanks to ppentchev for reporting and for providing a fix. - Fix a few minor bugs. - Allow unicode file paths on systems that support it (note: unicode file paths will not work on Windows due a broken filesystem encoder on Windows on Python 2). - Remove travis and add github actions for regression testing. - Fix mypy warnings. (From OE-Core rev: 8d04a6c01bf367eb1cb88fd34768a024c369216a) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.6.0 -> 4.6.1wangmy2021-07-081-1/+1
| | | | | | | | | | | | | v4.6.1 ====== * #327: Deprecation warnings now honor call stack variance on PyPy. (From OE-Core rev: 5a09610d7b7a631f4cac41ab4325f3ed77c68a50) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: correct libpth and glibpthMingli Yu2021-07-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Previouly there is a logic as below used to set libpth in config.sh. libpth='@LIBDIR@ @BASELIBDIR@' But after the below commits introduced, the above logic is dropped. 52f2828314 perl: add a version that builds the recipe using perl-cross, and update to 5.28.1 68552c3532 perl: remove the previous version of the recipe So correct the value of libpth and glibpth to add the dropped logic back to avoid confusing. Before the patch(on 64bits system): # perl -V:libpth libpth='/usr/lib /lib'; After the patch(on 64bits system): # perl -V:libpth libpth='/usr/lib64 /lib64'; (From OE-Core rev: a494de43c3ccdcf7af988765ae5c3a95bc20c567) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.4.1 -> 3.5.0Tim Orling2021-07-071-2/+1
| | | | | | | | | | | | | | | v3.5.0 Issue 74 and bpo-44095: Added .suffix, .suffixes, and .stem properties. References: https://github.com/jaraco/zipp/issues/74 https://bugs.python.org/issue44095 https://github.com/python/cpython/pull/26129 (From OE-Core rev: 4978f40eb91ec6d76c61d5e0d1e4a98d0d5bb2f7) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.14.0 -> 6.14.1Tim Orling2021-07-071-1/+1
| | | | | | | | | | | 6.14.1 - 2021-07-02 This patch updates some internal type annotations. There is no user-visible change. (From OE-Core rev: 49f5b968989b3c82613922ee0326f2cfdf86b3c3) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 20.9 -> 21.0Tim Orling2021-07-071-1/+1
| | | | | | | | | | | | | | | 21.0 - 2021-07-03 packaging is now only compatible with Python 3.6 and above. Add support for zip files in parse_sdist_filename (:issue:`429`) References: https://github.com/pypa/packaging/issues/429 (From OE-Core rev: c2e51c605afc78574f2f561750c498b96c42bc63) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dwarfsrcfiles: Avoid races over debug-link filesRichard Purdie2021-07-071-3/+10
| | | | | | | | | | | | | | | | | | | | We use dwarfsrcfiles in package.bbclass to list the source files used by a binary. This is done before they're stripped and linked to debug symbols in separate files. It is possible a binary may already have a link to separate debug symbols, e.g. some of the test binaries in lttng-tools ptest. In those cases, the linked binary may be changed by package.bbclass code whilst dwarfsrcfiles is reading it. That would result in a rare SIGBUS race causing the binary to fail. To avoid this, break the debug file search path so no other binaries are found. Also fix a segfault if no binary is specified while here. [YOCTO #14400] (From OE-Core rev: efef732859e265533acf16f2f4da3b29d50e0df4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-iniparse: update 0.4 -> 0.5Alexander Kanavin2021-07-052-557/+2
| | | | | | | | | | | Drop the python3 compatibility patch (upstream is back from the dead and fixed it). (From OE-Core rev: a721edc1faccfdb7fc939fe7284a641485135f2f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perlcross: check the file if patched or notMingli Yu2021-07-052-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the commit(60dcb230f6 perl: split perl-cross into its own recipe) introduced, the source files mainly come from two parts, one is from SRI_URI during do_fetch and the other with below means during do_configure. do_configure_prepend() { cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S} } And the source files will be changed during do_compile with below logic in Makefile. $(CROSSPATCHED): %.applied: %.patch patch -p1 -i $< && touch $@ And there comes build failure with below steps: $ bitbake perl-native Make a change as below $ git diff diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb index b77bbd1fd4..4c5e35ab80 100644 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb @@ -33,6 +33,7 @@ do_compile () { do_install_class-native() { mkdir -p ${D}/${datadir}/perl-cross/ cp -rf ${S}/* ${D}/${datadir}/perl-cross/ + echo "test" > ${D}/${datadir}/perl-cross/testfile } $ bitbake perl-native | NOTE: make -j 48 | make crosspatch | make[1]: Entering directory '/buildarea1/myu2/wr_build/wr1021_20210616_perl/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0' | patch -p1 -i cnf/diffs/perl5-5.34.0/time-hires.patch && touch cnf/diffs/perl5-5.34.0/time-hires.applied | patch -p1 -i cnf/diffs/perl5-5.34.0/xconfig.patch && touch cnf/diffs/perl5-5.34.0/xconfig.applied | patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied | File dist/Time-HiRes/Makefile.PL is read-only; trying to patch anyway | patching file dist/Time-HiRes/Makefile.PL | Reversed (or previously applied) patch detected! Assume -R? [n] | Apply anyway? [n] | Skipping patch. | 4 out of 4 hunks ignored -- saving rejects to file dist/Time-HiRes/Makefile.PL.rej | patch -p1 -i cnf/diffs/perl5-5.34.0/test-commonsense.patch && touch cnf/diffs/perl5-5.34.0/test-commonsense.applied | File perl.h is read-only; trying to patch anyway | patching file perl.h | Reversed (or previously applied) patch detected! Assume -R? [n] | Apply anyway? [n] | Skipping patch. | 1 out of 1 hunk ignored -- saving rejects to file perl.h.rej | make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/time-hires.applied] Error 1 [snip] It's because the source files patched twice, so check the file if patched or not to avoid the source files patched more than one time to fix the build failure as above. (From OE-Core rev: 2a71a1f308b7f97d83bd23b0f8e733543841efad) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.5.0 -> 4.6.0Tim Orling2021-07-021-1/+1
| | | | | | | | | | | | | | | | | | Upstream release notes: v4.6.0 ====== * #326: Performance tests now rely on `pytest-perf <https://pypi.org/project/pytest-perf>`_. To disable these tests, which require network access and a git checkout, pass ``-p no:perf`` to pytest. (From OE-Core rev: 9a487fb10682243c6bbbb6a9918760cbeee06c19) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.9.5 -> 3.9.6zhengruoqin2021-07-022-35/+1
| | | | | | | | | | | 0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch removed since it is included in 3.9.6 (From OE-Core rev: 1a12d978f2046fc5d3abc96db3753e378f29ecae) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.20.4 -> 3.20.5wangmy2021-07-023-1/+1
| | | | | | | | (From OE-Core rev: f3e9b1fedfdc8bf6829db041fd15e3b8216acbf9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip/python3-pbr: Drop obsolete md5sum at upgradeRichard Purdie2021-06-292-2/+0
| | | | | | (From OE-Core rev: c41fbcd484701a909c65ff608d4446236a56e578) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 21.1.2 -> 21.1.3zangrc2021-06-291-2/+2
| | | | | | | | (From OE-Core rev: bb7a13b59abc405c205c127ad46cb9c85efed6d8) Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: upgrade 5.4.4 -> 5.6.0wangmy2021-06-292-5/+5
| | | | | | | | (From OE-Core rev: 9efd32536b7238c843cfeed8374dd89fd37b5cc9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: add multiprocessing to RDEPENDSTrevor Gamblin2021-06-271-0/+1
| | | | | | | | | | Without it, simple invocations like "pip3 list" will fail with a ModuleNotFoundError for multiprocessing. (From OE-Core rev: b030aecdd2e92324caac9a73a1fdcdf013b43d16) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 20.0.2 -> 21.1.2Trevor Gamblin2021-06-272-35/+103
| | | | | | | | | | | | | | | | | | | 21.1.2 contains a fix for CVE-2021-3572 (https://github.com/pypa/pip/commit/e46bdda9711392fec0c45c1175bae6db847cb30b) The LICENSE.txt signature changed due to an update to the copyright dates, but the terms are the same. Also update 0001-change-shebang-to-python3.patch to cover all files in pip's src directory, since we need to ensure compatibility. Finally, fix the ordering of the "inherit" and "SRC_URI" lines so that devtool will correctly identify that there is a new version upstream. (From OE-Core rev: 2135167ca86ff9d112ef3e71f5320c775d075b6c) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Add ARC supportAlexey Brodkin2021-06-272-0/+69
| | | | | | | | | | | | This back-ports ARC support which was added after the most recent tag 1.20.9 was cut. So on the next version bump this change to be reverted. (From OE-Core rev: aa0493af960cac5c2346c81100eb31d757c561a0) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3527Lee Chee Yang2021-06-273-0/+103
| | | | | | | | (From OE-Core rev: 6774efd1e3d0bd5c8c34f84dcf4f698d7eafb36a) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.20.3 -> 1.21.0wangmy2021-06-262-12/+11
| | | | | | | | | | | | | | refresh 0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch License-Updage: Copyright year updated to 2021 (From OE-Core rev: f2ad567dbcb846f39fbdbd8e4e432cd2d1bd0d0a) (From OE-Core rev: 71ca892db9cb863245f9cbf67bb65afb39ef7853) 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: apply test skipping patch unconditionallyAlexander Kanavin2021-06-261-1/+1
| | | | | | | | | | | | | | Testing IMAGE_FEATURES from component recipes cannot possibly work; adjusting the test to soft-fail if needed items are not available is not trivial, so let's just skip unconditionally for now. (From OE-Core rev: 68b816cb90badddd0aafa2a5c6633e000cb21a21) (From OE-Core rev: 01b41f7deed48b33b35c84e32ef55de3e63b9bc1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.17 -> 3.1.18Alexander Kanavin2021-06-261-1/+1
| | | | | | | | | | (From OE-Core rev: a8f8f614c75a1a5ca8759cb0aae8bdf9e8b60083) (From OE-Core rev: 5ca7af1fa2ac2df2fdd72ffbc8222fce94426c6e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: upgrade 4.0.29 -> 4.0.31Alexander Kanavin2021-06-262-4/+4
| | | | | | | | | | (From OE-Core rev: 26c02f5c588cc0b0068d235eacc22ffd058bd923) (From OE-Core rev: fb5ef9d1d3e9fdefc6ae7968da668c8b79c2429f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: upgrade 0.63.0 -> 0.63.1Alexander Kanavin2021-06-261-1/+1
| | | | | | | | | | (From OE-Core rev: 5d989a6255605c37af9813cf1463f32d6db1a46d) (From OE-Core rev: e2e1a35ce3d14baf83621fa5b0d4c8de1bcb2753) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dejagnu: upgrade 1.6.2 -> 1.6.3Alexander Kanavin2021-06-261-2/+1
| | | | | | | | | | (From OE-Core rev: 76427f885836c930f85e7befcbec237f39bc5eb7) (From OE-Core rev: 2662642acc563203afe9cefabbbe38dc3ed0083f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: updatee 4.7.0 -> 4.8.0Alexander Kanavin2021-06-264-83/+5
| | | | | | | | | | | | Remove patches merged upstream. (From OE-Core rev: f647f368899c88b64d9feffb8d1cde7c3f96bdaa) (From OE-Core rev: cd66d0c0b08f2e5a64a67f257350456f0f2cbc02) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: update to latest revisionAlexander Kanavin2021-06-261-2/+2
| | | | | | | | | | (From OE-Core rev: 0ccf1c364c8bf5386896ebd9f00872b096cb268d) (From OE-Core rev: 3d7df8754ab000b32a672f8c8b8a9901b90ea02f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.20.3 -> 3.20.4Alexander Kanavin2021-06-263-1/+1
| | | | | | | | | | (From OE-Core rev: 312b31a71a793851451e0860f162b8a65ec80835) (From OE-Core rev: fca0d1a265a1bb2567cee203e5fea99c13e252b5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Apply multilib fix to ARC as wellAlexey Brodkin2021-06-221-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | W/o that hack target GCC assume existence of per-mcpu folders, which are missing. In particular G++ failed to find "bits/c++config.h": ------------------>8------------------ root@hsdk:~# cat test.cc #include <cstdlib> int myfunc(void) { } root@hsdk:~# g++ -c test.cc -v Using built-in specs. COLLECT_GCC=g++ Target: arc-oe-linux Configured with: ../../../../../../work-shared/gcc-11.1.0-r0/gcc-11.1.0/configure --build=x86_64-linux --host=arc-oe-linux --target=arc-oe-linux --prefix=/usr --exec_prefix=/usr -x Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.1.1 20210523 (GCC) COLLECT_GCC_OPTIONS='-c' '-v' '-shared-libgcc' '-mcpu=hs38_linux' /usr/libexec/gcc/arc-oe-linux/11.1.1/cc1plus -quiet -v -imultilib hs38_linux -D_GNU_SOURCE test.cc -quiet -dumpbase test.cc -dumpbase-ext .cc -mcpu=hs38_linux -version -o /tmp/ccs GNU C++17 (GCC) version 11.1.1 20210523 (arc-oe-linux) compiled by GNU C version 11.1.1 20210523, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129242 ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux/hs38_linux" ignoring nonexistent directory "/usr/lib/arc-oe-linux/11.1.1/include" ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../arc-oe-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1 /usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/backward /usr/lib/gcc/arc-oe-linux/11.1.1/include /usr/lib/gcc/arc-oe-linux/11.1.1/include-fixed /usr/include End of search list. GNU C++17 (GCC) version 11.1.1 20210523 (arc-oe-linux) compiled by GNU C version 11.1.1 20210523, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129242 Compiler executable checksum: 6df2f07a822bfbbb80a61414b712b75d In file included from test.cc:1: /usr/include/c++/11.1.1/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory 41 | #include <bits/c++config.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. ------------------>8------------------ Note "ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux/hs38_linux" message which is being used by GCC due to the fact of implicit "-mcpu=hs38_linux". In fact this header "bits/c++config.h" is located in "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux" on target. (From OE-Core rev: fbdc4422361a520af458468d836a8e4159dc22d6) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: skip tests requiring tools-sdkTim Orling2021-06-212-0/+34
| | | | | | | | | | | | | | | | | | Conditionally skip test_ctypes.test_find unless IMAGE_FEATURES contains 'tools-sdk' as these test cases require full packagegroup-core-buildessential Fixes: AssertionError: Failed ptests: {'python3': ['test_find_library_with_gcc', 'test_find_library_with_ld']} (From OE-Core rev: 70e2fc066a18c35e42610d75eeaa1edd9aab7cf2) (From OE-Core rev: c6567235cba55f50ca77d5db848c887232f3670c) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: include linux/const.h to fix build with 5.12+ headersBruce Ashfield2021-06-212-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | btrfs-tools compile fails with mips, musl and 5.12+ headers. The definition of __ALIGN_KERNEL has moved in 5.12+ kernels, so we add an explicit include of const.h to pickup the macro: | make: *** [Makefile:595: mkfs.btrfs] Error 1 | make: *** Waiting for unfinished jobs.... | libbtrfs.a(volumes.o): in function `dev_extent_search_start': | /usr/src/debug/btrfs-tools/5.12.1-r0/git/kernel-shared/volumes.c:464: undefined reference to `__ALIGN_KERNEL' | collect2: error: ld returned 1 exit status This is safe for older kernels as well, since the header still exists, and is valid to include. (From OE-Core rev: 78eb20ed31e27865c990f96803215139bc99060f) (From OE-Core rev: e81b531939214a1a34f8841a5f0aaf16fbbe4d08) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.23.0 -> 0.23.1zhengruoqin2021-06-171-1/+1
| | | | | | | (From OE-Core rev: 935710772068c44e894978995fcf5d16bcce9ae1) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcomps: upgrade 0.1.16 -> 0.1.17zhengruoqin2021-06-172-6/+6
| | | | | | | | | refresh 0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch (From OE-Core rev: 34afce294aece8c2d411181b9fb372afb5da7375) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: upgrade 0.17.2 -> 0.17.3wangmy2021-06-172-5/+8
| | | | | | | | | refresh 0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch (From OE-Core rev: 0ff4cfe6655853082771878bdcb4578fc08f7f12) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librepo: upgrade 1.14.0 -> 1.14.1wangmy2021-06-172-7/+10
| | | | | | | | | refresh 0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch (From OE-Core rev: 2d3c4ccaf429e64f3cbd41974c5bed1512c9d435) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Add native GDB support for ARCAlexey Brodkin2021-06-175-0/+972
| | | | | | | | | | | | | | | | | | | | This adds support of so-called "native" GDB for ARC processors. It was submitted upstream a bit late for inclusion in v10.x, but already in the upstream "master" branch and will be an essential part of v11.1 whenever it happens. These are the changes from upstream "master": * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=b4e3cd0440109d0a5552d3313ccbd35c8103335b * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=d4af727286e3a9f177ba11677fbd3a012d36558a * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=46023bbe81355230b4e7b76d3084337823d02362 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=04c9f85efcd8df5fc482ce97c0104cc7dd5d19e6 Thanks a bunch to Anton & Shahab who made it possible! (From OE-Core rev: 3429acea0f4a0b59f233947defecdf919c7b1799) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: replace gdb helper install revert with the upstream fixRoss Burton2021-06-173-77/+58
| | | | | | | | | | | A change in the gcc-11 branch broke installation of the GDB helper on bare-metal targets without a shared libstdc++.so. This now fixed upstream so replacce the revert with a backport of the patch. (From OE-Core rev: 5137ca0a295c3ab8d938d67ea292300bb2cbab93) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>