summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-12-30oeqa/runtime/ptest: fix detection of failed testsAndré Draszik
Since commit d6065f136f6d ("oeqa/logparser: Various misc cleanups"), 7b17274c30c6 in poky, the ptest OEQA is unable to detect failures in any of the test results. The reason is that the test result string changed from 'fail' to 'FAILED', because the original mapping has been removed as part of that commit, but the code in here is still trying to match against the old string, resulting in no matches, i.e. everything is treated as successful, even if it shouldn't be. Update the OEQA ptest test to actually work again and report failure if there was a failure. Note that the ptest test is marked as @expectedfail, so even though this test now again starts to fail, the overall OEQA test result is not affected - but at least the overall OEQA test summary reflects the correct status again. In other words: RESULTS: RESULTS - ping.PingTest.test_ping: PASSED (0.26s) RESULTS - ptest.PtestRunnerTest.test_ptestrunner: PASSED (4.05s) RESULTS - ssh.SSHTest.test_ssh: PASSED (0.60s) SUMMARY: image-debug () - Ran 3 tests in 4.937s correctly changes to: AssertionError: Failed ptests: {'dummytest': ['check_True_is_True', 'test_basic']} RESULTS: RESULTS - ping.PingTest.test_ping: PASSED (0.24s) RESULTS - ssh.SSHTest.test_ssh: PASSED (0.56s) RESULTS - ptest.PtestRunnerTest.test_ptestrunner: EXPECTEDFAIL (4.13s) SUMMARY: image-debug () - Ran 3 tests in 4.937s instead and we see a summary of the ptest subtests that failed. (From OE-Core rev: 08ff4b9195a9de91b8090173c5bd03a5ff263616) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30kexec-tools: update to 2.0.20Alexander Kanavin
Add a patch that restores missing declarations for 32 bit x86 builds. (From OE-Core rev: 3c18dad4035b1f4ba36f4a618f2fee2efe2e8895) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30libxml-parser-perl: update to 2.46Alexander Kanavin
License-Update: readme no longer carries a copyright notice, so take it from a source file (From OE-Core rev: 30fa7e5edb91512a0f5c00db6259f1dcaea4fb2d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30prelink: upgrade to latest revision (in the cross_prelink branch)Alexander Kanavin
(From OE-Core rev: 9cb9e9146506cc24916add986eac8b05db934546) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30diffstat: update to 1.63Alexander Kanavin
(From OE-Core rev: cd4787c324c92a9a9cd82a83fc449bb23c15fb1a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30ptest-packagelists: drop python 2.xAlexander Kanavin
With python 2.x reaching EOL and leaving oe-core soon, there is no need to keep it in ptest lists. (From OE-Core rev: dcdd618e8393f1344165970d486ff2db557fb729) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30cmake: Add a knob for cmake VERBOSE settingsKhem Raj
Setting VERBOSE always, while is fine on one hand for debugging, its coming at an expense of creating lots and lots of logs, e.g. qtwebkit compile logs alone with VERBOSE is 163MB, there are many other large packages which use cmake e.g. WPE, webkitgtk etc which are in same range with out this option on, the logs reduce to 861K and also speeds up build a notch If user needs to disable these logs for a recipe or globally CMAKE_VERBOSE = "" in recipe or in global metadata e.g. local.conf (From OE-Core rev: f8d2cd0025f97819898da26041f353d527a27952) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@intel.com> Cc: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30python3-pygments: update to 2.5.2Alexander Kanavin
(From OE-Core rev: 6e2d926a428530343bb4358d6e42a505c0f663ac) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30llvm: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 2fa183c59c79b594f68a3a8d6db3e9198b779b13) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30boost: upgrade 1.71.0 -> 1.72.0Alexander Kanavin
(From OE-Core rev: 773a22ea3996cab70ccc0e44db1d2fbd1be11a60) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30epiphany: upgrade 3.34.1 -> 3.34.2Alexander Kanavin
(From OE-Core rev: ba791a4964a0534d5dfed4833722eb1135d51681) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30btrfs-tools: upgrade 5.3.1 -> 5.4Alexander Kanavin
(From OE-Core rev: 521ff7d0636b153ff46aff4cb09ec54403855dc8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30librepo: upgrade 1.11.0 -> 1.11.1Alexander Kanavin
(From OE-Core rev: 927bdf266a993180d8c700195f80ea9f61199c93) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30createrepo-c: upgrade 0.15.1 -> 0.15.4Alexander Kanavin
(From OE-Core rev: b04aeb0c1e17916e473616e97d541f92304c7144) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30libcomps: upgrade 0.1.12 -> 0.1.14Alexander Kanavin
(From OE-Core rev: 01b2ef2292824b67f77058131e4657f7608f9efe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30bash-completion: upgrade 2.9 -> 2.10Alexander Kanavin
(From OE-Core rev: 2348e90141fd10a19974de7f0eb7125e0fe164f3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30vala: upgrade 0.46.4 -> 0.46.5Alexander Kanavin
(From OE-Core rev: 61217a961f0478f24138ac784a549a1297d8bb6e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30meson: update 0.52.0 -> 0.52.1Alexander Kanavin
(From OE-Core rev: e589fc6d758689f7889b3ae50e800e51204a02c1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30core-image-testmaster: use Python 3Alexander Kanavin
(From OE-Core rev: c488f67efeefa00e3d1e925a50c9ab764f39f0a7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30recipetool: always use python 3 in recipe creationAlexander Kanavin
(From OE-Core rev: 59e63a2d22988ef11fe36200692b967b67ca8641) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30strace: Upgrade to 5.4Khem Raj
Remove a patch already present upstream Add a patch to fix build with upcoming glibc 2.31 where __ptrace_syscall_info definition is added (From OE-Core rev: f6670f9c89c7b7a93557f0b6aeffbf88033f0791) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30busybox: Replace obsolete stime API with clock_settimeKhem Raj
(From OE-Core rev: 4200e8de991d2cd98a2d0eae0b915a91d31af46f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30qemu: Replace stime() API with clock_settimeKhem Raj
(From OE-Core rev: 2cca75155baec8358939e2aae822e256bed4cfe0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30gcc-sanitizers: Fix build with glibc 2.31Khem Raj
Backport a patch from latest gcc-9-branch to fix an API change in glibc 2.31, this patch wont be needed when upgrading to 9.3 or 10.x (From OE-Core rev: d089f84d64b90776623e0e43d237ac3fcc6a0d7d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30gcc-sanitizers: Add missing dep on libcryptKhem Raj
(From OE-Core rev: fa1968884fd46568fcfcdb62f3bd6c52ea30df53) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30kbd: fix ptest can NOT run issueKai Kang
After kbd updated to 2.2.0, it fails to run ptest: | make: *** No rule to make target 'libkbdfile-test01.c', needed by 'libkbdfile-test01'. Update sed expression to fix such kind of issues. And also make target dumpkeys-bkeymap and dumpkeys-bkeymap which are required by ptest. (From OE-Core rev: 2fb86f46baed43316086ce10de635c326e073c2d) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30valgrind: Fix build with -fno-commonKhem Raj
(From OE-Core rev: 14f14eccf176539493fbfe710b66704feb7710da) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30libdnf: Include mising <stdexcept>Khem Raj
This header is needed for runtime_error element (From OE-Core rev: 856c26f50fe0d11a22aae9adf9bf12edc6ea9e5e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30cpio: remove unused CVE patchChangqing Li
According to the home page, https://www.gnu.org/software/cpio/, CVE-2015-1197 have been fix in version 2.13, so removed this patch get from SUSE (From OE-Core rev: 6e37b0cba0d59e020ed031659aa050ce4e7c4ccd) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30kernel: Make symbol link to vmlinux.64 in boot directoryVasyl Gomonovych
Some mips 64 bit platforms use vmlinux.64 image name Make a symbol link to vmlinux.64 in arch/mips/boot/ (From OE-Core rev: 70626b52e5e61c80018e9f1f85bc169d0434b986) Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30libva-utils: upgrade 2.5.0 -> 2.6.0Naveen Saini
Release details can be found here: https://github.com/intel/libva-utils/releases/tag/2.6.0 Removed the patch which is not required anymore. Also switched to meson. (From OE-Core rev: 93c11e6e7ec3f0315d60f02e3b7aa67cf2b03b7b) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30libva: upgrade 2.5.0 -> 2.6.0Naveen Saini
Release details can be found here: https://github.com/intel/libva/releases/tag/2.6.0 Also switched to meson. (From OE-Core rev: d88764864f670c0d67114f140944aa8857f0b2d5) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30pseudo: Make realpath() remove trailing slashesRobert Yang
Linux system's realpath() remove trailing slashes, but pseudo's doesn't, need make them identical. E.g., the following code (rel.c) prints '/tmp' with system's realpath, but pseudo's realpath prints '/tmp/': #include <stdio.h> #include <limits.h> #include <stdlib.h> int main() { char out[PATH_MAX]; printf("%s\n", realpath("/tmp/", out)); return 0; } $ bitbake base-passwd -cdevshell # For pseudo env $ gcc rel.c $ ./a.out /tmp/ (but should be /tmp) This patch fixes the problem. (From OE-Core rev: 319bbf66e03377adf2db7efa93ef578e3460eb38) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30syslogkd: fix parallel compile failed problemChangqing Li
Parallel compile maybe failed with error: error: ../lib/strlcat.o: No such file or directory Makefile:619: recipe for target 'syslogd' failed (From OE-Core rev: 197007bac2ad8cba59fa2c68c51bd95e9b66de92) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30libsdl2: fix failure appeared in bitbake libsdl2-nativeYanfei Xu
When you bitbake libsdl2-native and your host had installed fcitx or ibus, it may cause you bitbake failed in do_compile. Disable fcitx and ibus check with EXTRA_OECONF in bb file. -------------snip--------------------- CC build/SDL_sysfilesystem.lo CC build/SDL_syshaptic.lo CC build/SDL_systimer.lo /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:52:5: error: unknown type name ‘SDL_DBusContext’ SDL_DBusContext *dbus; ^~~~~~~~~~~~~~~ /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:121:8: error: unknown type name ‘DBusHandlerResult’ static DBusHandlerResult ^~~~~~~~~~~~~~~~~ /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:122:20: error: unknown type name ‘DBusConnection’; ------------snip---------------------- (From OE-Core rev: eb286172e413e9d6449dc13ccec1b78c04481eb5) Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30base.bbclass: clean up dead symlink when handling hosttoolsChen Qi
When some hosttool is a dead symlink, bitbake any recipe will fail with error like below. FileExistsError: [Errno 17] File exists: '/usr/bin/chrpath' -> '/path/to/builddir/tmp-glibc/hosttools/chrpath' So we remove dead symlink under hostools/ directory to avoid such error. (From OE-Core rev: b03577cf85784fc052b89083054d911816f8c6e1) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-29chrpath: Cleanup and fix previous patchRoss Burton
Ensure self.data isn't accessed without assignment. Also clean up old style popen use and replace with modern/simpler subprocess. (From OE-Core rev: 39825cba4761a6b4b2473825705975f9f421ec8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28meson: map the system property in the cross fileRoss Burton
We can't just use HOST_OS, as in meta-mingw SDKs that is 'mingw32' but Meson expects 'windows'. (From OE-Core rev: f408bbb1cc72b84905b22d100f52c0a9f54ff3fe) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28pixman: port to mesonRoss Burton
Disable libpng as that's only used in the tests and demos, that we don't build. Drop iwmmxt disabling, we can add this back again if it fails. Loongsoon remains disabled as the build fails for edgerouter. Drop the Neon/VFP2 mojo, this is a micro-optimisation. If the size improvement is significant then this can be added back. (From OE-Core rev: dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28pixman: don't use xorg-lib-commonRoss Burton
(From OE-Core rev: a0ae7bb293c6417795c07378f7e0ae7199df5c4b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28qemu: Add PACKAGECONFIG for glusterfsshohei.maruyama@cybertrust.co.jp
This commit adds PACKAGECONFIG for glusterfs. glusterfs is not required f- or runqemu, so it should be optional to reduce build time. (From OE-Core rev: f5ffd6ce6e7431b17a291980843752e2d2fb0b44) Signed-off-by: Shohei Maruyama <shohei.maruyama@cybertrust.co.jp> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28shadow: update 4.6 -> 4.8Alexander Kanavin
Drop two backports. Remove 0001-useradd.c-create-parent-directories-when-necessary.patch as upstream has addressed the issue: https://github.com/shadow-maint/shadow/commit/b3b6d9d77c1d18b98670b97157777bb74092cd69 Rebase the rest of the paches. Add a patch to remove the check for validity of login shells which does not work in our environment. Disable sssd cache support as that needs Fedora-specific tooling. (From OE-Core rev: fee6c063dfb80425caa7080083c61d1544d929c6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28recipeutils: set SRCPV for devupstream variantAlexander Kanavin
Otherwise bitbake is unable to expand it if the main variant is not using a SCM fetcher. (From OE-Core rev: 24e59094de42b4b0bed3584ca8571c4c19080428) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28externalsrc: always set SRCPVAlexander Kanavin
If devupstream is in use by the recipe, then that variant has SRCPV, but the main variant may not, in which case bitbake throws an expansion error. (From OE-Core rev: 740e3f5e1d4a8abb07c7a4e4aedd804d679c7562) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28lttng-modules: update to 2.11.0Alexander Kanavin
License-Update: formatting, dropped the gpl texts, as they're not anymore in source tree, and the main file is specific enough. (From OE-Core rev: 15ca6acb87299ffc770d35b075024f0ccaace61f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28lttng-ust: update to 2.11.0Alexander Kanavin
Remove patch as issue addressed upstream. (From OE-Core rev: 0d35cf40fd0e80513036a1d741a744f40a399bc0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28lttng-tools: update to 2.11.0Alexander Kanavin
Remove 0001-Skip-when-testapp-is-not-present.patch as it is unclear whether it needs to be rebased, and difficult to rebase. Remove 0001-check-for-gettid-API-during-configure.patch as it is no longer needed. Ptests still seem to run ok, however they are rather slow, so I did not wait for their completion. (From OE-Core rev: 015aea5d93614676decd18578a8ae2d68417cfc5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28cups: update to 2.3.1Alexander Kanavin
License-Update: license changed to Apache 2.0 Remove no longer recognized configure options. Refresh all patches. (From OE-Core rev: 7ed28276e9fa6fc9b572bdf1ad566967964d9623) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28nfs-utils: update to 2.4.2Alexander Kanavin
Drop backports, and a musl patch that is no longer needed. (From OE-Core rev: 91ab8c4ba830136116e2e9486898e683e32513d8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28debianutils: update to 4.9.1Alexander Kanavin
(From OE-Core rev: d1d913faf649660a18225bf1d411ace2419c6d26) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>