summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* yocto-check-layer: Avoid bug when iterating and autoadding dependenciesRichard Purdie2021-04-241-0/+3
| | | | | | | | | | | | | | | | If iterating a layer with multiple components and auto-adding dependencies the tests can break since layers are never removed and order isn't guaranteed to account for that. Fix this by resetting the layer list back to the original list each time before auto-adding the dependencies in each case. This fixes scanning of meta-openembedded in particular where the sublayers may not be added in order of minimal dependency. (From OE-Core rev: bf1b467dacf345379cd5d84a1c9b3b0d844d5c91) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libssh2: fix build failure with option no-ecdsaStefan Ghinea2021-04-242-0/+113
| | | | | | | | | | | | | | | | | | | libssh2 fails at do_compile if DEPRECATED_CRYPTO_FLAGS = "no-ecdsa" is set in recipe: ../src/.libs/libssh2.so: undefined reference to `LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY' References: https://github.com/libssh2/libssh2/issues/549 Upstream patches: https://github.com/libssh2/libssh2/commit/1f76151c92e1b52e9c24ebf06adc77fbd6c062bc (From OE-Core rev: 2bb146e7315f8080cb49a95212231ccb76a4a822) Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pyyaml: Add missing HOMEPAGERichard Purdie2021-04-241-0/+1
| | | | | | | | Add a HOMEPAGE to the new recipe to avoid sanity test failures. (From OE-Core rev: 23be2a27e16d711f928561d96f901a25f5f29998) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyyaml: Add recipeKhem Raj2021-04-242-0/+19
| | | | | | | | | | This is migrated from meta-python (From OE-Core rev: 0a8600f9cec0a88b90693302554c82cfe28152ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jinja2: Enable ptestsKhem Raj2021-04-241-2/+2
| | | | | | | | | | Needed dependencies on toml and pytest and unixadmin are in core now (From OE-Core rev: c983359eae9d7e3d729af36755612916dabe32d6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: Enable ptestsKhem Raj2021-04-241-1/+1
| | | | | | | | | pytest is now in OE-Core (From OE-Core rev: 48c83fc1141ff22c9ede0c82acec896937d61357) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-docutils: Upgrade to 0.17.1Khem Raj2021-04-242-17/+11
| | | | | | | | | | | | | | | | This was in meta-python for a while so merge the changes here and upgrade, once applied, delete from meta-python License-Change: Deleted legacy stylesheets from LICENSE [1] Updated URI for BSD-2 [2] [1] https://sourceforge.net/p/docutils/code/8487/ [2] https://sourceforge.net/p/docutils/code/8554/ (From OE-Core rev: 757d87f676d542f49760ef4ed8bea238719af159) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcr: fix one parallel build failureChangqing Li2021-04-242-0/+39
| | | | | | | | | | | | | | | | | ui/gcr-live-search.c includes gcr/gcr-marshal.h. Because missing dependency, following error occurred intermittently during doing parallel build: -o ui/libgcr-ui-3.so.1.0.0.p/gcr-live-search.c.o -c ../gcr-3.38.1/ui/gcr-live-search.c ../gcr-3.38.1/ui/gcr-live-search.c:32:10: fatal error: gcr/gcr-marshal.h: No such file or directory 32 | #include "gcr/gcr-marshal.h" | ^~~~~~~~~~~~~~~~~~~ compilation terminated. (From OE-Core rev: a6690c22952a315e6c6734a5936d9eb18e1b3004) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unzip: use optimization from bitbakeMikko Rapeli2021-04-242-0/+128
| | | | | | | | | | | | | Build with bitbake default optimizations, e.g. O2, instead of custom O3. Reduces unzip binary package size from 304401 to 283921 bytes, and enables building with Os to even further reduce binary size if needed and configured for the whole system. (From OE-Core rev: 1330ac1902360cc5e01b69a6065963bf7b92d4bb) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-20257Sakib Sajal2021-04-242-0/+56
| | | | | | | (From OE-Core rev: 547ac986a74cfcae39b691ebb92aadc8436443ea) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3416Sakib Sajal2021-04-2411-0/+582
| | | | | | | (From OE-Core rev: e2b5bc11d1b26b73b62e1a63cb75572793282dcb) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3409Sakib Sajal2021-04-247-0/+493
| | | | | | | (From OE-Core rev: e2fb8c15a64e1f5db678e8e95924da8c88a188c0) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-20221Sakib Sajal2021-04-242-0/+71
| | | | | | | (From OE-Core rev: 59a44f8c70d4a026ae74e44b9d70100029c691b5) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2020-29443Sakib Sajal2021-04-242-0/+108
| | | | | | | (From OE-Core rev: 481e012de865ee232fa5a233e9f1d4fc7a2232ab) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-20181Sakib Sajal2021-04-242-0/+82
| | | | | | | (From OE-Core rev: c2f79065ef0684f2c0bdb92f1b03e690ab730b8c) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkoutKai Kang2021-04-241-1/+1
| | | | | | | | | | | | | It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it removes ${S} when it still resides in ${S}. It may fail to run the task do_kernel_checkout when bitbake is called by third-part wrapper script. So chdir to ${WORKDIR} by default for do_kernel_checkout. And it will chdir to ${S} afterwards in task do_kernel_checkout. (From OE-Core rev: cf0e3397d3f86c7ea1f3c66c50a44d6205f5921b) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake.bbclass: remove ${B} before cmake_do_configureKai Kang2021-04-241-5/+3
| | | | | | | | | | | | It is fallible to remove ${B} in directory ${B} itself. And it does fail when call bitbake by third-party wrapper script. Use flag 'cleandirs' to remove ${B} first if build out of source tree. (From OE-Core rev: 0fb6280432a36985590d9a714a5f11164aaebb51) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: use CFLAGS from bitbakeMikko Rapeli2021-04-241-1/+1
| | | | | | | | | | | Currently lz4 uses it's own defaults which include O3 optimization. Switch from O3 to bitbake default O2 reduces binary package size from 467056 to 331888 bytes. Enables also building with Os if needed. (From OE-Core rev: abaaf8c6bcd368728d298937a9406eb2aebc7a7d) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix startperl configuration option for perl-nativePaulo Cesar Zaneti2021-04-241-2/+3
| | | | | | | | | | | | | | | | Unlike vanilla Perl "Configure" script, perl-cross "configure" does not derive "startperl" from "bin". It instead derives from "perlpath". This patch aims to fix "startperl" configuration option for perl-native by correctly setting "perlpath" on perl-cross "configure" script. It also changes do_install_append_class-native task to comply with cpan_do_install task. (From OE-Core rev: f2d1523b19cb066a4a06609f036822fe4a8b43f0) Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECKTrevor Gamblin2021-04-231-1/+5
| | | | | | | | | | | | | | See [YOCTO #13921] Add details to the SERIAL_CONSOLES_CHECK entry to clarify that it doesn't work with read-only rootfs. (From yocto-docs rev: cefd66301a40f9048499879674e467543f704c44) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* manuals: code insertion simplification over two linesMichael Opdenacker2021-04-2338-1949/+974
| | | | | | | | | | | | | | | This simplifies paragraphs ending with a colon and followed by code insertion. Automatically substituted through the command: sed -i -z "s/:\n\s*::/::/g" file.rst This generates identical HTML output. (From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* manuals: simplify code insertionMichael Opdenacker2021-04-2315-155/+155
| | | | | | | | | | This replaces instances of ": ::" by "::", which generates identical HTML output (From yocto-docs rev: 1f410dfc7c16c09af612de659f8574ef6cff4636) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: fix code insertionMichael Opdenacker2021-04-231-1/+1
| | | | | | | | | | | Fix a misaligned code insertion statement, causing the code block to be misaligned compared to the other ones in subsequent paragraphs (From yocto-docs rev: bc03d122a35ac027d0aab5bfd70b366933fd7356) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Adding dunfell 3.1.7 to the switcher and release list.Vineela Tummalapalli2021-04-232-1/+2
| | | | | | | (From yocto-docs rev: bed221137de77340280d71b4a8b0f2f60addc566) Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: layerindex: Add --fetchdir parameter to layerindex-fetchDiego Sueiro2021-04-231-4/+11
| | | | | | | | | | | | Introduce --fetchdir parameter to layerindex-fetch enabling users to choose the directory to fetch the layers different from BBLAYERS_FETCH_DIR. [YOCTO #14347] (Bitbake rev: 784a904faffac723ddf58ba765b9dd11ac068de5) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: layerindex: Fix bitbake-layers layerindex-show-depends commandDiego Sueiro2021-04-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Running 'bitbake-layers layerindex-show-depends meta-filesystems' fails with: ``` Traceback (most recent call last): File "<...>/poky/bitbake/bin/bitbake-layers", line 93, in <module> ret = main() File "<...>/poky/bitbake/bin/bitbake-layers", line 86, in main return args.func(args) File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 209, in do_layerindex_show_depends self.do_layerindex_fetch(args) File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 182, in do_layerindex_fetch args.shallow) AttributeError: 'Namespace' object has no attribute 'shallow' ``` Initialize the shallow attribute to fix it. (Bitbake rev: 71f095c147fe6aa7b5e6272002e0498cf9494256) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: Upgrade to LLVM 12 releaseKhem Raj2021-04-233-31/+4
| | | | | | | | | Drop backported patch (From OE-Core rev: ca72375a3bbebcb9a7af4dce3c06716ac2c0f5fc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpebackend-fdo: upgrade 1.8.2 -> 1.8.3wangmy2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 3aa145d326cf22aa423940e8b09f609fe9c27cbe) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: upgrade 1.75.0 -> 1.76.0wangmy2021-04-232-1/+1
| | | | | | | (From OE-Core rev: 14b597845ad7b97e84c652ce56e137dc4b9d23b9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: upgrade 4.2.0 -> 4.3.0wangmy2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 702c5c7973c77c51d5ce8de11e73c708c55927a3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.22 -> 0.29.23wangmy2021-04-232-1/+1
| | | | | | | (From OE-Core rev: 7f0482bf6709277f2506e71d828f6bed3ab72263) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: upgrade 4.0.26 -> 4.0.27wangmy2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 86777da8f46e6ddf9b04a80fa1ecbcf41faff21c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: upgrade 8.5p1 -> 8.6p1wangmy2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 5fd4497e7ad156fa426bb1913846c2b65a9fbd1b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: upgrade 0.7.18 -> 0.7.19zhengruoqin2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 74355aff39b4bbed9dc3ecb403e679d1aa0edbb5) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libical: upgrade 3.0.9 -> 3.0.10zhengruoqin2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 8f67f233c77ef03572aee8b8c484b634f42b668b) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libhandy: upgrade 1.2.0 -> 1.2.1zhengruoqin2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 089d75b47d4d1a7b2c68b8b310cddf40b4b83199) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libedit: upgrade 20210216-3.1 -> 20210419-3.1zhengruoqin2021-04-231-1/+1
| | | | | | | (From OE-Core rev: be628ddfbc401242e0884916ccf4abea336c4ad9) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2021-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changelog [1] * aad50fcd fix regression in dl_iterate_phdr reporting of modules with no TLS * 0ea78a64 nscd: fall back gracefully on kernels without AF_UNIX support * 95a540e1 mallocng/aligned_alloc: check for malloc failure * 2c00f95c make epoll_[p]wait a cancellation point * 521b4d27 fix dl_iterate_phdr dlpi_tls_data reporting to match spec * 122002f0 remove no-longer-needed special case handling in popen * 8ef9d46f use internal malloc for posix_spawn file actions objects * cfdfd5ea don't fail to map library/executable with zero-length segment maps * e48e99c1 suppress isascii() macro for C++ * b129cd86 guard against compilers failing to handle setjmp specially by default * 3309e2d7 aarch64/bits/mman.h: add PROT_MTE from linux v5.10 * 44331150 aarch64/bits/hwcap.h: add HWCAP2_MTE from linux v5.10 * 42aa19a0 add aarch64/bits/mman.h with PROT_BTI from linux v5.8 * b7554b5e aarch64/bits/hwcap.h: add HWCAP2_BTI from linux v5.8 * 87b8f148 signal.h: add MTE specific SIGSEGV codes from linux v5.10 * 19239cde sys/prctl.h: add MTE related constants from linux v5.10 * 8b29f023 elf.h: add NT_ARM_TAGGED_ADDR_CTRL from linux v5.10 * d7210f0c sys/mman.h: add MAP_HUGE_16KB from linux v5.10 * a7456524 sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10 * 54ca1cc7 sys/membarrier.h: add new constants from linux v5.10 * fd285f9d bits/syscall.h: add process_madvise from linux v5.10 * 49b6df3d fix error return value for cuserid * cc577d0e fix misuse of getpwuid_r in cuserid * a75283d7 cuserid: don't return truncated results * ef137da6 cuserid: support invocation with a null pointer argument [1] https://git.musl-libc.org/cgit/musl/log/\?qt\=range\&q\=e5d2823631bbfebacf48e1a34ed28f28d7cb2570..aad50fcd791e009961621ddfbe3d4c245fd689a3 (From OE-Core rev: 601d8e87a7c796bd9d91d1ffa090d3b1afcf2a2d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Enable drd/tests/bar_bad* ptestYi Fan Yu2021-04-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | Revert some of 7f7d2fa18267090891754d976cbc3e628324d3dd Was not able to reproduce the reported non-deterministic failure. (ran 20 times on qemux86-64 on a relatively isolated machine) it might be related to the AB-INT issues, but it seems to only affect ARM builders now. Also no action taken by upstream valgrind to fix https://bugs.kde.org/show_bug.cgi?id=430321 Let it run on AB to see if failure was fixed by uprev to 3.17.0. if not, we can gather more data from the AB failure. [YOCTO #14051] (From OE-Core rev: c0ea23832a96352d8eeda5cebc9d37a22c5d5439) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* re2c: Upgrade 2.0.3 -> 2.1.1Yi Fan Yu2021-04-231-1/+1
| | | | | | | (From OE-Core rev: 09bfe5cbd68f2e837c99c9d7554e9fadd009ad65) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Use dl.google.com for SRC_URIKhem Raj2021-04-231-1/+1
| | | | | | | | | golang.org/dl is resolving to this anyway (From OE-Core rev: 8470e38ac1d9f9bb6d8a4ee43724af452d080057) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix linking failures when using dwarf-5Khem Raj2021-04-232-0/+184
| | | | | | | | | | Since GCC 11 will switch to dwarf-5 as default, this patch will be required soon (From OE-Core rev: 9dc9bf85f53c6712dd047df5fd718e9895946fd5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/lib/oeqa/core/tests/cases/timeout.py: add a testcase for the previous fixAlexander Kanavin2021-04-232-0/+19
| | | | | | | | | | | | | | | | | | This is the sequence that didn't properly operate: - a test case that skips and isn't executed - a second test case that is skipped via a dependency decorator, and sets a timeout - a third test case that takes longer than the timeout from the second test case Without the fix, the timeout is not cleared, and the third test case is erroneously aborted. With the fix, the timeout is cleared and the third test case is able to complete. (From OE-Core rev: 54ef07a9aa1af8f41cfb9a4802929c918efc43c8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa: tear down oeqa decorators if one of them raises an exception in setupAlexander Kanavin2021-04-232-4/+10
| | | | | | | | | | | | | | | | Some of the decorators need proper cleanup, such as OETimeout which sets a signal handler that needs to be cleared via teardown. If this is not done then the signal gets called later with unpredictable effects. This can be seen if there's a test that is skipped via a decorator and sets a timeout at the same time: the timeout isn't cleared, and is invoked later in a completely unrelated context. The test case for this is added in the next commit. (From OE-Core rev: f42a08e1aabf1ca57e0c09d69fb69cc717c7f156) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: fix build failure due to race conditionChen Qi2021-04-232-0/+33
| | | | | | | | | | | The wayland.c actually include 'xdg-shell-client-protocol.h' instead of the server one, so fix it. Otherwise, it's possible to get build failure due to race condition. (From OE-Core rev: bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Upgrade to 4.16.1.3Mingli Yu2021-04-232-5/+5
| | | | | | | | | | | | | Fixes some security vulnerabilities such as CVE-2021-3421 and CVE-2021-20271. Rebase 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch to avoid fuzz warnings. (From OE-Core rev: 5dcd9c673502dab276b4fb4e6b4c7c1d1d9425ef) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: prevent using bundled ell headers and fix build with ell-0.39Martin Jansa2021-04-232-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * -I../ofono-1.31 is included when building drivers/mbimmodem/mbim.c and then ell.h will happily include ell/util.h from there: # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 1 3 4 # 23 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 3 4 # 1 "../ofono-1.31/ell/util.h" 1 3 4 # 26 "../ofono-1.31/ell/util.h" 3 4 # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 1 3 4 # 26 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 3 4 # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/bits/libc-header-start.h" 1 3 4 # 27 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 2 3 4 * and it gets more interesting because unlikely() macro was dropped from ell/util.h in: https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=2a682421b06e41c45098217a686157f576847021 and ofono builds from git (which doesn't bundle ell) were failing with: drivers/mbimmodem/mbim-message.c: In function 'message_iter_next_entry_valist': drivers/mbimmodem/mbim-message.c:504:8: warning: implicit declaration of function 'unlikely' [-Wimplicit-function-declaration] 504 | if (unlikely(indent > MAX_NESTING)) | ^~~~~~~~ ... x86_64-webos-linux-libtool: link: x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/dbus-1.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/glib-2.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/glib-2.0/include -DOFONO_PLUGIN_BUILTIN -DPLUGINDIR=\"/usr/lib/ofono/plugins\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o unit/test-mbim unit/test-mbim.o drivers/mbimmodem/mbim-message.o drivers/mbimmodem/mbim.o -lell drivers/mbimmodem/mbim-message.c:1389: error: undefined reference to 'unlikely' drivers/mbimmodem/mbim-message.c:1255: error: undefined reference to 'unlikely' drivers/mbimmodem/mbim-message.c:514: error: undefined reference to 'unlikely' drivers/mbimmodem/mbim-message.c:504: error: undefined reference to 'unlikely' collect2: error: ld returned 1 exit status while build from 1.31 tarball was passing OK, because using this older bundled ell/util.h delete bundled ell as we always enable external ell to make sure this doesn't happen again and fix mbimmodem to build with ell-0.39 (From OE-Core rev: 25f44ce327aff94c956d431c3cdf92adc39b2eeb) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-dependsDiego Sueiro2021-04-231-0/+5
| | | | | | | (From OE-Core rev: 80090c31164d62a169431ab71c4aaee5475b6f40) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars.inc: add debuginfod to default DISTRO_FEATURESAlexander Kanavin2021-04-234-4/+4
| | | | | | | | | | | | | | | Obtaining debug information by having it served automatically via http is far more pleasant than messing about with debugfs and gdbserver or transferring and installing -dbg packages by hand. I believe we should follow the desktop distros and have it enabled out of the box. Please see the following commit for the description of how it works. (From OE-Core rev: 024c88c82791a113b614abf61ffd82e097bf21d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Make 64bit time_t fix genericKhem Raj2021-04-232-12/+24
| | | | | | | | | Apply it always since more than x32 needs it (From OE-Core rev: faf5034876c319aa51d6b3e21265d0984566bb9e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>