summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2019-06-12python3: fix build on softfloat mipsMatthias Schoepfer via Openembedded-core
This patch originally only meant to correct the python3 build for mips with softfloat, as the original test only checked for mips hardfloat. Replaced custom C Program for triplet detection with autotools triplet detection. (From OE-Core rev: 203336486c84528e8779db93f64cc28e4b372aab) Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12python-nose: python3-nose should be defaultRoss Burton
We have nose recipes for both Py2 and Py3, but they both want to ship the unversioned nosetest binary. As Py2 is approaching EOL, remove the unversioned binary from python-nose (leaving nosetest-2.7) instead of renaming the binary to nosetest3 in python3-nose. (From OE-Core rev: e22111a18a0f67fefd1800f67bd5e45637deaa60) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11json-c: Backport --disable-werror patch to allow compilation under iceccDouglas Royds via Openembedded-core
icecc preprocesses source files locally before shipping them off to be compiled on remote hosts. This preprocessing removes comments, including /* fallthough */ comments in switch statements that normally prevent an implicit-fallthrough warning, see https://github.com/icecc/icecream/issues/419 Rather than turning off -Werror, the upstream project has implemented a configure option, --disable-werror, in response to Ross's https://github.com/json-c/json-c/issues/489 This patch from https://github.com/json-c/json-c/commit/21c886534f8927fdc0fb5f8647394f3e0e0874b8 Upstream-Status: Backport [Not yet released] (From OE-Core rev: c668b467415599cb95d93a231eb51d77137a57e4) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08python3-scons-{native}: add recipe for v3.0.5Tim Orling
SCons has supported python 3 since v3.0.0 https://scons.org/tag/releases.html Fix shebangs in scripts [YOCTO #13381] (From OE-Core rev: 1873f777aeddfbbf3ce06e93df3fa5318decb7b7) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07Remove manual RDEPENDS from PN-ptest to PN packageAdrian Bunk
They are now added automatically by the ptest class. (From OE-Core rev: 25cf1820122bb2b15057aafe1c9e04a733f81bcf) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07gcc: Remove 0006-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patchAdrian Bunk
This was added 9 years ago as a workaround for a problem with gcc 4.5 on mips. Building webkitgtk works for me without it for qemumips. Debian also builds webkitgtk for 32/64 bit big/little endian mips without using this workaround. (From OE-Core rev: 7af322a995a9385f7f452c2988188de98db300c2) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06opkg-utils: fix opkg-list-fields scriptMartin Jansa
(From OE-Core rev: 95c557761de6a89cc31f5a5910be3fced5259de6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04gcc: CVE-2018-12886Zhixiong Chi
Backprot CVE patch from the upstream: https://github.com/gcc-mirror/gcc.git [commit f98495d] https://nvd.nist.gov/vuln/detail/CVE-2018-12886 (From OE-Core rev: 889ad561093c14da5fc161b137e95e46f3f9af3f) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04e2fsprogs: Fix missing ptest dependenciesRichard Purdie
This allows ptests to execute successfully in minimal images. (From OE-Core rev: 895d96fc65fbaab6d94b6e2fe56202f256d86ede) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04perl-rdepends.txt: fix perl-module-data-dumper dependenciesTim Orling
Data::Dumper depends on bytes (From OE-Core rev: f044a8ceedbb6f1e429bbac19281b8ef8ff1a3be) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01libxml-perl: Fix module and ptest dependenciesRichard Purdie
This fixes runtime errors when running the ptest in a minimal image. (From OE-Core rev: 597eddc71a963613edea243c4c320ecbd6149916) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01liburi-perl: Fix module ptest dependenciesRichard Purdie
This fixes runtime errors when running the ptest in a minimal image. (From OE-Core rev: 35ec94fa3c3d3d6c2781f579c74094a271b220f9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01perl: Add missing perl module dependencyRichard Purdie
This fixes runtime errors when using the module (as used by various other perl module ptests). (From OE-Core rev: ba2dff81186c194c5f4b7361f2f9678068d93769) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01libtest-needs-perl: Fix ptest dependenciesRichard Purdie
This fixes runtime errors when running the ptest in a minimal image. (From OE-Core rev: a99204f36afd1b98e6a0aabe70cc4d86d8d18315) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01quilt: Add patch depends for quilt-ptestRichard Purdie
This fixes the ptest to work in minimal images. (From OE-Core rev: 2a74e127cbb1972923d8b35f6f41b6fba6cf96fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01python3-pygments: add a recipeAlexander Kanavin
This is the new source highlighter used by gtk-doc. (From OE-Core rev: 18ac8091728ede09024385cc71acff2b59500017) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01ccache: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 83ad76453a86829c07052d506bc214923e696cf5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01perl: install Config_git.plTim Orling
Config_git.pl is required for Test::Builder and other perl ptest modules. It was packaged before the perl-sanity change, but missed in the refactoring. (From OE-Core rev: a432df483a6b2c44518882b976c73b0d7ad28509) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01perl-rdepends.txt: improve dependencies for perl module ptestsTim Orling
A number of dependencies for Test::Builder and other perl ptest modules were missing, especially Test2::API and its like. Fixes [YOCTO #13200] (From OE-Core rev: bad9856570094792de22c8a857cecfcb57d3555f) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01libxml-parser-perl: fix ptest dependenciesTim Orling
The ptests have additional dependency on: * perl-module-filehandle * perl-module-if * perl-module-test (From OE-Core rev: 278b4fb78cc35338f692c559b4e4c068e8f37c71) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01perl: update to 5.30.0Alexander Kanavin
(From OE-Core rev: 281eff0f37c2d33ad15590ea0a21515f24fc0cb8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31elfutils: fix ptest failuresMingli Yu
* Add missing files which needed by ptest test to fix the ptest failures such as: | sh: ../src/elflint: No such file or directory | FAIL: asm-tst4 * Rework 0001-skip-the-test-when-gcc-not-deployed.patch to skip the tests which depend on gcc * Define INHIBIT_PACKAGE_STRIP_FILES for elfutils to avoid stripping some generated binaries otherwise some of the tests such as test-nlist, run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail * Set EXCLUDE_PACKAGES_FROM_SHLIBS = "${PN}-ptest" to avoid ${PN}-ptest be the shlibs provider to fix below error: Problem 1: package rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed - conflicting requests - nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32 Problem 2: package dnf-4.2.2-r0.core2_32 requires python3-rpm, but none of the providers can be installed - package python3-rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed - conflicting requests - nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32 Problem 3: package ltp-20190115-r0.core2_32 requires iproute2, but none of the providers can be installed - package packagegroup-core-tools-testapps-1.0-r2.qemux86 requires ltp, but none of the providers can be installed - package iproute2-5.1.0-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed - conflicting requests - nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32 Before: -------------------------------------------- Recipe | Passed | Failed | Skipped -------------------------------------------- elfutils | 176 | 23 | 4 -------------------------------------------- After: -------------------------------------------- Recipe | Passed | Failed | Skipped -------------------------------------------- elfutils | 199 | 0 | 4 -------------------------------------------- (From OE-Core rev: 174690b1745eadc6981d83b7c6869712e835b5d0) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31perl: Set build date to SOURCE_DATE_EPOCHJoshua Watt
Perl uses an internal #define called PERL_BUILD_DATE as the string for the date when perl was built. If undefined, it defaults to using __DATE__ and __TIME__, which is not reproducible. If SOURCE_DATE_EPOCH is set at do_configure time, use it to generate a reproducible string for PERL_BUILD_DATE. (From OE-Core rev: 0ab44c72d0fb9b1d110ba975273b520cea5bf29f) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31dpkg: Remove workaround patches for no longer supported host distributionsAdrian Bunk
(From OE-Core rev: 282ddd265d8c63975750a604bc4ac2c1ffbcbd76) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30btrfs-tools: Pass DEBUG_MAP_PREFIX flags to PythonJoshua Watt
The DEBUG_MAP_PREFIX flags need to be passed when building the Python library to prevent these non-reproducible paths from being encoded into the library. The patch that does this was accepted upstream and supersedes part of a previous patch that passed LDFLAGS to the Python library in favor of passing EXTRA_PYTHON_LDFLAGS, so the patch and recipe has been updated to reflect this. (From OE-Core rev: 04bb44c1b97c3183739e4836588a93dc34af8806) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30gdb: Let gdbserver be empty for riscv64Khem Raj
gdbserver does not yet build for riscv64, therefore let the package be empty so we can build core-image-sato-sdk-ptest (From OE-Core rev: 111f65528e3c0b147c1713cfc684958f94c41cd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30strace: Tweak ptest disk space managementRichard Purdie
If the test is successful, remove the log and exp files. This stops strace using around 600MB of disk space and running our ptest images out of space. (From OE-Core rev: ae94bffc6991efd6a6a74b2c129d3743b5fd1cd3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29go: Remove INSANE_SKIP_* textrel that are now handled in go.bbclassAdrian Bunk
(From OE-Core rev: e5b8f83d299db4152d547982650ee7b7f535b023) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29Remove Go 1.11Adrian Bunk
There doesn't seem to be a reason to keep it in addition to 1.12 now. (From OE-Core rev: 03bfbbb1d86f102ce23ee6ac0d4b905fc241f23c) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29perl: Preserve attributes when applying cross filesJoshua Watt
The file attributes (specifically the timestamps) must be preserved when applying the cross files to have reproducible builds. Otherwise, the cross files get the timestamp from when they are copied in the do_unpack task, and the reproducible_build class uses this timestamp since it is the youngest one in the source tree. (From OE-Core rev: b9b8cd3ce9755087d5d89b54287e171ac5effe3b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29gcc: reduce the variables in symtabZhixiong Chi
Backport the patch from upstream: https://github.com/gcc-mirror/gcc.git [commit beb921e] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=269925 Add the premark_used_variables function, meanwhile do not mark not premarked external variables in prune_unused_types_walk. (From OE-Core rev: 5f2119a309096aa8cbae666c37521b0c93da53d0) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29file: update to 5.37Oleksandr Kravchuk
(From OE-Core rev: 127d706d7fe5d29c500ab6f81bc6d97982209bf6) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27binutils: Workaround mips assembler crash on targetKhem Raj
assembler ends up crashing on target sometimes due to segfaults in libbfd, therefore avoid using -O2 for now (From OE-Core rev: a6f9327e79df1bfadb1f613eda799586e60009f2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27qemu: Backport the arm segfault fixAlistair Francis
When we updated to QEMU 4.0 we saw a segfault when running tests on the qemuarm machine. At the time we just reverted the offending patch from QEMU. Now that the fix has been merged into upstream let's remove that revert patch and replace it with the correct backport. (From OE-Core rev: ce0cae5511ce4ba7b9dcc9c6676ec7ea10622cb7) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27m4/tar: Remove remove-gets.patchAdrian Bunk
When the original problem was fixed in gnulib the patches were rebased on top of the upstream fix... (From OE-Core rev: d93ad85d94ea99e3fad7e4c2f6be999088e2f9f9) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27apt: Remove workaround patches for no longer supported host distributionsAdrian Bunk
All still supported host distributions have gcc >= 4.8. (From OE-Core rev: c8eeb487d09cc4bd0f637260dd01d0982745038f) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27squashfs-tools: Mark as incompatible with muslAdrian Bunk
Silently ignoring FNM_EXTMATCH makes fnmatch() behave different from what callers expect. Mark as incompatible with musl instead of risking broken runtime behaviour. The practical consequences should be small since what is used in OE is mainly squashfs-tools-native. (From OE-Core rev: c9aed6a84c0a33fee8a52603b22cc2b78928eb5f) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27python*-setuptools: add separate packages for pkg_resources moduleLuca Boccassi
The pkg_resources Python module is useful by itself, for example for automatic loading of resources shipped in a Python package. Add separate packages for it, so that users can depend on them individually and avoid pulling in the entire setuptools, which include scripts to download other packages, which might not be desired on minimal images. Other distributions like Debian and Ubuntu already split setuptools and pkg-resources in this way. The setuptools packages now depend on the new pkg-resources packages, to avoid regressions for other packages that depend on them already. (From OE-Core rev: 4316d9afe920460e5d2236f217027cce37ed7bf5) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22perl/modules: Add various missing ptest perl module dependenciesRichard Purdie
Whilst not complete, this resolves some module dependency failures being seen by various lib*-perl ptests and in quilt. (From OE-Core rev: 2706b396ef9699c560cded4384cbfc9d79beaa7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22m4: Add coreutils and diffutils dependency for ptestRichard Purdie
The scripts use options not supported by busybox utils such as head and diff so the full coreutils and diffutils utilities are needed. (From OE-Core rev: f3f60e024a2718d18a68897d7f5ca5e4fbb96f61) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22perl-rdepends: Add missing module dependenciesRichard Purdie
Adding these fixes the acl and attr ptests to work within minimal images. (From OE-Core rev: d877a7b819e08c2d308ef544a849169c096ef68b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22btrfs-tools: update to 5.1Alexander Kanavin
(From OE-Core rev: f98a8e4b60f8bafd9921e4f1235fea197ae8a580) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22python3-pbr: upgrade 5.1.3 -> 5.2.0Alexander Kanavin
(From OE-Core rev: 414231e9cd75e4d845997b2c5d17d350034747b3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22pkgconf: upgrade 1.6.0 -> 1.6.1Alexander Kanavin
(From OE-Core rev: 83978add57bd5047109de2c1beb53ebdf4945f8b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22python3-pip: upgrade 19.0.3 -> 19.1.1Alexander Kanavin
(From OE-Core rev: e5d6709f3d2da93dee740fd8ed6102ab80e8cbab) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22go: update 1.12.1->1.12.5Alexander Kanavin
(From OE-Core rev: f9bdc86f5e313f46cca0c1e0d5419bc71672e002) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22python3-mako: upgrade 1.0.9 -> 1.0.10Alexander Kanavin
(From OE-Core rev: d081fd6b04788da7ed8eb46c0bc79e725a9acb2c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22bison: upgrade 3.1 -> 3.3.2Alexander Kanavin
(From OE-Core rev: adda007f4afe0d69fba5c2decf2e70d040d89e6d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22createrepo-c: upgrade 0.12.2 -> 0.14.0Alexander Kanavin
(From OE-Core rev: 1b75de0de748189b00caec12a27f5a9123c5c35e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22libmodulemd: fix erroneous linking against v2 library when v1 was requestedAlexander Kanavin
(From OE-Core rev: f754a9bd0c0b53e449f66d792b5387de6a822865) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>