summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* btrfs-tools: Pass DEBUG_MAP_PREFIX flags to PythonJoshua Watt2019-05-303-15/+53
| | | | | | | | | | | | | | 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>
* gdb: Let gdbserver be empty for riscv64Khem Raj2019-05-301-0/+3
| | | | | | | | | | 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>
* strace: Tweak ptest disk space managementRichard Purdie2019-05-302-0/+20
| | | | | | | | | 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>
* go: Remove INSANE_SKIP_* textrel that are now handled in go.bbclassAdrian Bunk2019-05-291-10/+0
| | | | | | | (From OE-Core rev: e5b8f83d299db4152d547982650ee7b7f535b023) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove Go 1.11Adrian Bunk2019-05-2916-979/+0
| | | | | | | | | 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>
* perl: Preserve attributes when applying cross filesJoshua Watt2019-05-291-1/+1
| | | | | | | | | | | | | 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>
* gcc: reduce the variables in symtabZhixiong Chi2019-05-292-0/+95
| | | | | | | | | | | | | | 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>
* file: update to 5.37Oleksandr Kravchuk2019-05-291-1/+1
| | | | | | | (From OE-Core rev: 127d706d7fe5d29c500ab6f81bc6d97982209bf6) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Workaround mips assembler crash on targetKhem Raj2019-05-271-0/+6
| | | | | | | | | | 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>
* qemu: Backport the arm segfault fixAlistair Francis2019-05-273-494/+67
| | | | | | | | | | | | 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>
* m4/tar: Remove remove-gets.patchAdrian Bunk2019-05-272-25/+0
| | | | | | | | | | 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>
* apt: Remove workaround patches for no longer supported host distributionsAdrian Bunk2019-05-273-119/+0
| | | | | | | | | 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>
* squashfs-tools: Mark as incompatible with muslAdrian Bunk2019-05-272-46/+3
| | | | | | | | | | | | | | | | 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>
* python*-setuptools: add separate packages for pkg_resources moduleLuca Boccassi2019-05-271-0/+11
| | | | | | | | | | | | | | | | | | | | | 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>
* perl/modules: Add various missing ptest perl module dependenciesRichard Purdie2019-05-224-1/+9
| | | | | | | | | 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>
* m4: Add coreutils and diffutils dependency for ptestRichard Purdie2019-05-221-1/+1
| | | | | | | | | 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>
* perl-rdepends: Add missing module dependenciesRichard Purdie2019-05-221-0/+2
| | | | | | | | 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>
* btrfs-tools: update to 5.1Alexander Kanavin2019-05-221-1/+1
| | | | | | | (From OE-Core rev: f98a8e4b60f8bafd9921e4f1235fea197ae8a580) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: upgrade 5.1.3 -> 5.2.0Alexander Kanavin2019-05-222-5/+5
| | | | | | | (From OE-Core rev: 414231e9cd75e4d845997b2c5d17d350034747b3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconf: upgrade 1.6.0 -> 1.6.1Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: 83978add57bd5047109de2c1beb53ebdf4945f8b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 19.0.3 -> 19.1.1Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: e5d6709f3d2da93dee740fd8ed6102ab80e8cbab) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.12.1->1.12.5Alexander Kanavin2019-05-221-3/+3
| | | | | | | (From OE-Core rev: f9bdc86f5e313f46cca0c1e0d5419bc71672e002) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.0.9 -> 1.0.10Alexander Kanavin2019-05-222-2/+2
| | | | | | | (From OE-Core rev: d081fd6b04788da7ed8eb46c0bc79e725a9acb2c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bison: upgrade 3.1 -> 3.3.2Alexander Kanavin2019-05-222-11/+9
| | | | | | | (From OE-Core rev: adda007f4afe0d69fba5c2decf2e70d040d89e6d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: upgrade 0.12.2 -> 0.14.0Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: 1b75de0de748189b00caec12a27f5a9123c5c35e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: fix erroneous linking against v2 library when v1 was requestedAlexander Kanavin2019-05-222-0/+29
| | | | | | | (From OE-Core rev: f754a9bd0c0b53e449f66d792b5387de6a822865) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.2.3 -> 2.4.0Alexander Kanavin2019-05-221-3/+3
| | | | | | | (From OE-Core rev: 23361e76e3c22aff62b2d61fe09858981b19424c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librepo: upgrade 1.9.6 -> 1.10.2Alexander Kanavin2019-05-221-1/+1
| | | | | | | (From OE-Core rev: 35238268a6941322dc6f0fb795b1c74e7c5163ed) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: add a fix for CVE-2019-9948 and CVE-2019-9636Martin Jansa2019-05-215-1/+254
| | | | | | | (From OE-Core rev: 9d23b982fa4e0290761b3d15f6959779fed72ad6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: add 'file' to ptest dependsRandy MacLeod2019-05-211-1/+1
| | | | | | | | | | | | to avoid: ./run_openmp_test: line 12: /usr/bin/file: No such file or directory SKIP: drd/tests/omp_matinv when using core-image-minimal to run valgrind ptests. (From OE-Core rev: f68ba3e49a8a8da7e48cd3fecf1dd3fc39219a40) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Make ptest timestamps copaseticRandy MacLeod2019-05-211-0/+1
| | | | | | | | | | | | | | Avoid ptest failures due to .diffs such as cachegrind/tests/ann1.post.diff: @ Source file 'a.c' is more recent than input file 'cgout-test'. @ Annotations may not be correct. by using: touch a.c -r cgout-test (From OE-Core rev: 531cea018fa440fc408e1e061794978a502ad4ba) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: Update to latest SHAAlistair Francis2019-05-211-2/+2
| | | | | | | (From OE-Core rev: bf9a3459ab7b1d6b4d6588204418b11dd8334cd2) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade from 8.2.1 to 8.3Alistair Francis2019-05-2111-232/+21
| | | | | | | | | | Bump GDB and change the oeqa selftest expression to allow ptests to pass. (From OE-Core rev: f31986ed9f82c48834b2f25979c93697228acbf7) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Avoid installing copy of f2py scriptAlejandro Enedino Hernandez Samaniego2019-05-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Both python-numpy and python3-numpy try to install the file: ${D}/${bindir}/f2py which causes an error during do_rootfs since the package manager complains about that. The numpy packages create basically copies of f2py script with the following names: f2py (on both) f2py2 (on python 2) f2py2.7 (on python 2) f2py3 (on python 3) f2py3.7 (on python 3) Remove the copy of f2py from python-numpy in favor of using the one from python3 to avoid installation issues at do_rootfs(). (From OE-Core rev: a625899c4de4f8ec030ade09686f0c7c0e624a50) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packagesRichard Purdie2019-05-162-1/+3
| | | | | | | | | This solves ptest runtime errors where make was missing causing the ptests to fail. (From OE-Core rev: 2ade2c53388c92d36b8b30dae30670fd96ca4821) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Add TEMP_FAILURE_RETRY from glibcAdrian Bunk2019-05-161-29/+1
| | | | | | | | | | Patch it into musl instead of patching all users (currently elfutils and next ofono). (From OE-Core rev: 0c68c621d3b8690e3a346170006f75b032511a8a) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtest-needs-perl: upgrade 0.002005 -> 0.002006Tim Orling2019-05-161-4/+4
| | | | | | | | | | | | | | | | | | | Change SRC_URI to https://cpan.metacpan.org License-Update: Lines moved further down in README. Upstream release notes: 0.002006 - 2019-04-04 - added additional references to related modules in pod - various internal cleanups - fix backwards compatibility with earlier versions of version.pm - fix output from test script when tests fail - added note about RELEASE_TESTING to test message on forced failures (From OE-Core rev: bec77f5d48055bd30ee69acb43d67c2d05180f7b) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mmc-utils: Fix build with clangKhem Raj2019-05-162-0/+33
| | | | | | | | | clang has more warnings to report, lets fix them (From OE-Core rev: 44b06d940bc3d623c57df0b06092548912a903c2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: fix call/cachegrind ptestsRandy MacLeod2019-05-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Use the *_annotate executables from ${bindir} Actually install cachegrind/tests/a.c since it is used by the call/cachegrind/tests/ann[12].vgtest files. With this change and the previous commits, the ptest results on qemux86-64 when invoked with: runqemu qemux86 kvm nographic slirp qemuparams="-m 2048" are: === Test Summary === TOTAL: 159 PASSED: 149 FAILED: 1 SKIPPED: 9 Only drd/tests/pth_detached3 remains to be fixed. (From OE-Core rev: 7fc21775e62fddd6620d49a6cf00ca914ba6b4ba) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: adjust test filters and expected outputRandy MacLeod2019-05-153-0/+73
| | | | | | | | | | | | | | | | | | Skip two filters in filter_xml_frames since they are intended to filter filesystem paths under '/usr' that vary from platform to platform. In the ptest case for Yocto's valgrind, the ptest executables are placed under: /usr/lib/valgrind/ptest and if these frames are filtered out, then several 'drd' tests fail the comparision between expected and actual output. Also adjust the std_list expected output to agree with that produced when the --yocto-ptest option to vg_regtest is used. (From OE-Core rev: 38cc663b69ec96ae1470f040f7dcb05e816deb2e) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: update the ptest subdirs listRandy MacLeod2019-05-151-1/+11
| | | | | | | | | | | | | Split the list into one directory per line. Sort the list alphabetically. Add the gdbserver_tests directory to get the 'gone' executable which is needed by: memcheck/tests/gone_abrt_xml.vgtest (From OE-Core rev: eb7d907deb09f2658f69d8faa8e56e6a56510fca) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Include debugging symbols in ptestsRichard Purdie2019-05-151-1/+2
| | | | | | | | | | | | About half the ptests will fail if the executables deployed as part of the ptest package are stripped. We therefore need to add a dependency on the dbg symbols package and silence the QA test which would complain about this since we really do want it in this case. (From OE-Core rev: 7d8407583033ea70039dd7e475c325efcf857c18) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: fix vg_regtest return codeRandy MacLeod2019-05-152-0/+28
| | | | | | | (From OE-Core rev: ec7f0ba9bfd8a102e1ca6ab2f93bcb13fd819d95) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: upgrade 1.11.1 -> 1.12.0Hongxu Jia2019-05-124-33/+153
| | | | | | | | | | | | | | | | | | | - Backport a patch to fix build failure while APR 1.7.0 ... checking for apr_int64_t Python/C API format string... configure: error: failed to recognize APR_INT64_T_FMT on this platform ... - Rebase disable_macos.patch and serfmacro.patch License-update: no change, declare two new added file * in build/ac-macros/ax_boost_base.m4 * in build/ac-macros/ax_boost_unit_test_framework.m4 (From OE-Core rev: 68ae5e624642218e7e01805c096da09098a8706f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-postinsts: Fix full execution of scripts at first bootAlejandro Enedino Hernandez Samaniego2019-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | run-postinsts runs a given set of scripts during the first boot of the device, when one of these scripts prints something to stdout (isnt daemonized correctly), since stdout is not available at that time, the script execution immediately returns with an error (exit_group()), this error causes the script to terminate all threads within the process, causing undesired behavior since the script might still had to execute some other code. Replace eval built-in with (), since () executes in a subshell, even if one of the scripts exits, all threads of that process will only be within that session, this ensures other scripts meant to be run are still run afterwards. [YOCTO #13266] (From OE-Core rev: 706410c847ac9c89317d098de5d5c580736edbbb) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: upgrade 3.6 -> 3.7.1Adrian Bunk2019-05-125-122/+8
| | | | | | | | | | Remove backported patches. Switch to new download location. (From OE-Core rev: 6e0f6a3433c314c870791ef75639a78c39a5f164) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-9: Add recipes for gcc 9.1 releaseKhem Raj2019-05-1248-0/+3304
| | | | | | | | | | | Add maintainer entry for gcc-source-9.1.0 Delete entry for gcc-source-7.3.0 (From OE-Core rev: bbf32e24608cd9479cf26f52aa14a42411b418c5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgfortan: Package target gcc include directory to fixKhem Raj2019-05-121-0/+1
| | | | | | | | | | | | ERROR: libgfortran-9.1.0-r0 do_package: QA Issue: libgfortran: Files/directories were installed but not shipped in any package: /usr/lib/gcc/x86_64-poky-linux/9.1.0/include /usr/lib/gcc/x86_64-poky-linux/9.1.0/include/ISO_Fortran_binding.h (From OE-Core rev: 8493fe87e241bb7aeb9075683d2e44dd1e2bc334) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Fix aarch64 build with muslPaul Barker2019-05-092-0/+53
| | | | | | | (From OE-Core rev: f178990495c773b4b36b1be6aafc2da158b76894) Signed-off-by: Paul Barker <paul@betafive.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: update to 5.28.2Alexander Kanavin2019-05-091-5/+5
| | | | | | | (From OE-Core rev: dfa407230a096adb588e9299a452ac1337ca9940) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>