summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-02-04autoconf: merge bb/incross/autoconfRoss Burton
2021-01-31qemu.inc: Should depend on qemu-system-native, not qemu-nativeRichard Purdie
This looks like it was from before the recipe was split, we'd expect the system qemu mode for running the images so the dependency should be updated. (From OE-Core rev: 3a4fed4ae0e8a0d1bd62ea5fa1ef12925e1f20f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-31image_types: Ensure tar archives are reproducibleRichard Purdie
The tar output seems to vary depending on the version of tar used and distro configuration. Be explict about the output format to avoid this and be determinstic. (From OE-Core rev: c56f3c9febc1732aa1302524c6c4da36f16bd1f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30Revert "sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlap"Richard Purdie
This reverts commit c5a6cc4146402620851e2a1f2b01d69989150ba2. This was accientally added and shouldn't have been, it has a v2 and was then determined not to be required. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30elfutils: add support for ipkDorinda
debuginfod scanner 0.182 could only support/scan RPM and .debs, add support to scan .ipk as well (they're effectively debs). [YOCTO #13807] (From OE-Core rev: d9913c3d7da01d5bbe84728e9cb7701669362e2b) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30elfutils: add PACKAGECONFIG for debuginfodDorinda
Removed the config option that disabled debuginfod and changed it to a PACKAGECONFIG. [YOCTO #13807] (From OE-Core rev: a970ba050db606ee646ca155031d47bcd9a9ab8c) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30elfutils: split libdebuginfod into its own packageDorinda
Added package options for libdebuginfod. Added GPLv2+ | LGPLv3+ license for libdebuginfod with reference to https://sourceware.org/git/?p=elfutils.git;a=blob;f=debuginfod/debuginfod-client.c;h=de26af5bb26e187b51d9ea00d5826e199a96d01a;hb=HEAD [YOCTO #13807] (From OE-Core rev: e679f44f99e1a14027780ebbe47d4f56c90bfca0) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30python3: Use addtask statement instead of task dependenciesTomasz Dziendzielski
The externalsrc class deletes do_patch task which results with: | ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon | non-existent task do_patch in <PATH>/python3_3.8.2.bb Use addtask to define correct order to prevent this error, since addtask mechanism accepts deleted tasks. [YOCTO #14151] (From OE-Core rev: a746d034fa7eaad4f4876fa61c5a8c3c15e211c8) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30kernel.bbclass: fix deployment for initramfs imagesAwais Belal
The do_bundle_initramfs() only processes kernel image types that are found in KERNEL_IMAGETYPE_FOR_MAKE whereas the build system can generate other types that are not directly supported by the kernel build system. In which case when we come to the deploy phase not all the images mentioned in KERNEL_IMAGETYPES would have a respective initramfs bundled image. An example is using vmlinux.gz in KERNEL_IMAGETYPES and enabling initramfs and then we see install: cannot stat 'arch/arm64/boot/vmlinux.gz.initramfs': No such file or directory So we align the deploy phase with bundle initramfs phase and pick up relevant initramfs bundled images using KERNEL_IMAGETYPE_FOR_MAKE instead of KERNEL_IMAGETYPES. (From OE-Core rev: 526bdd88ccd758204452579333ba188e29270bde) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30lib/oe/patch.py: Don't return command stderr from runcmd functionTomasz Dziendzielski
If a function returns any stderr it will be passed to extractPatches and used as path to patch. For example subprocess command output can be: | sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | /tmp/oepatchhuqle8fj/0001-foo.patch | /tmp/oepatchhuqle8fj/0002-bar.patch that will result in: | FileNotFoundError: [Errno 2] No such file or directory: 'sh:' To fix this I separated output, made the function return stdout and print stderr only in case of command error. (From OE-Core rev: 482589e2cc7c3ddeefb0a0fb98d97a9cbb18c9ec) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30cve_check: add CVE_VERSION_SUFFIX to indicate suffix in versioningLee Chee Yang
add CVE_VERSION_SUFFIX to indicate the version suffix type, currently works in two value, "alphabetical" if the version string uses single alphabetical character suffix as incremental release, blank to not consider the unidentified suffixes. This can be expand when more suffix pattern identified. refactor cve_check.Version class to use functools and add parameter to handle suffix condition. Also update testcases to cover new changes. (From OE-Core rev: 5dfd5ad5144708b474ef31eaa89a846c57be8ac0) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlapDorinda
added a sanity check for when PSEUDO_IGNORE_PATHS and ${S} overlap to avoid random failures generated. [YOCTO #14193] (From OE-Core rev: c5a6cc4146402620851e2a1f2b01d69989150ba2) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30ca-certificates: upgrade 20200601 -> 20210119zhengruoqin
0001-certdata2pem.py-use-python3.patch removed since it is included in 20210119 (From OE-Core rev: afd86357e07f69090eaff4c5db2c517867dd4ccf) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30bison: upgrade 3.7.4 -> 3.7.5zhengruoqin
(From OE-Core rev: 77d41c0329290fb33319feffdc504c2b3b4c8568) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30gtk-doc: upgrade 1.33.1 -> 1.33.2Wang Mingyu
(From OE-Core rev: 89506684baf82448136d4ca3e3fb62dc5d4cbba4) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30util-macros: upgrade 1.19.2 -> 1.19.3Wang Mingyu
(From OE-Core rev: 00f136011312d9f42381fcbfa6a58e2675e1acce) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30stress-ng: upgrade 0.12.01 -> 0.12.02Wang Mingyu
(From OE-Core rev: 3244bd2d48bfd993299125856113965056797dc9) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30ltp: upgrade 20200930 -> 20210121Wang Mingyu
0001-ltp-pan-Use-long-long-int-to-print-time_t.patch removed since it is included in 20210121 (From OE-Core rev: b6f49fc60a12ec6c4c1334ca3c266e99c03e81d4) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30libsolv: upgrade 0.7.16 -> 0.7.17Wang Mingyu
(From OE-Core rev: c51a6d1cad733da227ef4f97061238f3caa9f582) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30libjitterentropy: upgrade 3.0.0 -> 3.0.1Wang Mingyu
-License-Update: Copyright year updated to 2021. (From OE-Core rev: bdd6c57497215aeb3c2cddca191a8d1a72e93c8e) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30libcap: upgrade 2.46 -> 2.47Wang Mingyu
(From OE-Core rev: b214bc1a7fda43849895cccfff62dffec26ade0e) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30npm.bbclass: use python3 for npm configVyacheslav Yurkov
python2-native executable is not available in sysroot anymore, which causes compilation of some nodejs modules to fail. Switch to python3 as a default python version. (From OE-Core rev: d21f50ecf8e8683a92b7d234fa8225c2c1470595) Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30cmake: Upgrade 3.19.2 -> 3.19.3Vinícius Ossanes Aquino
(From OE-Core rev: d5d06fa31c81a9e0460edada18e6d3dbecd3d94a) Signed-off-by: Vinícius Ossanes Aquino <voa.aquino@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30wayland: upgrade 1.18.0 -> 1.19.0Denys Dmytriyenko
This release mostly contains bug fixes and minor protocol updates. Related patches were rebased and backported patches dropped. (From OE-Core rev: 353382f6c7f3904a11e0a73a1b17eff4963bdcb9) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30glibc: fix CVE-2020-27618Yi Fan Yu
iconv: Accept redundant shift sequences in IBM1364 Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1893708 (From OE-Core rev: 78a381ec75e48283397a7fe9eaad2afbb070c235) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29lrzsz: Fix to work with autoconf 2.70Richard Purdie
Add the missing gettext version needed for autoconf 2.70. (From OE-Core rev: 6926b690fea5d0737634e39ade1a3555ab603e81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29ruby: Fix to work with autoconf 2.70Richard Purdie
Drop a macro we don't need which was breaking with autoconf 2.70. (From OE-Core rev: 995a0421ab39d62354e56f77eca10e2d176582d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29msmtp: Fix to work with autoconf 2.70Richard Purdie
Add the required gettext version macro to work with the new autoconf version. (From OE-Core rev: e8c0012ea036cb962db25a5941619c22e7218985) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29at: Upgrade 3.1.23 -> 3.2.1Richard Purdie
This fixes flex issues with autoconf 2.70 rather than backporting patches. Patches refreshed. (From OE-Core rev: 3ca412ed7fc5a9d525d4ba7922e7e3e179904380) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29pseudo: Update to include passwd and file renaming fixesRichard Purdie
Pulls in: pseudo_client: Ensure renames update open fd file paths pseudo_client.c: Rebuild passwd paths after chroot which should fix issues seen in apt package index creation, new binutils and other autobuilder race issues in pseudo amongst other issues. (From OE-Core rev: 44d11b56001f40622c055069b0901cc4ae15c76c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29gtk-doc: Disable dependencies in native caseRichard Purdie
Ensure that dependencies like qemu-native aren't added in the native case since we don't want docs generate for native recipes. (From OE-Core rev: c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29meta: Clean up various class-native* RDEPENDS overridesRichard Purdie
With PACKAGES functioning more correctly for native recipes combined with classextend improvements over the years, there are various overrides of RDEPENDS which look unecessary now, clean them up. There some some minor changes in dependencies, specifically: "python3-numpy-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "python3-mako-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "itstool-native.do_populate_sysroot" -> "libxml2-native.do_populate_sysroot" however there are already: XXX-native.do_prepare_recipe_ssysroot -> YYY-native.do_populate_sysroot mappings from DEPENDS so this is effectively a null op. (From OE-Core rev: 2edd826531d79744d7b2114c5f24296966d51781) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29native: Stop clearing PACKAGESRichard Purdie
Native recipes have been special and they don't have packages generated from them. The RDEPENDS/RPROVIDES and other runtime package specific variables can contain important data about dependencies recipes need though and currently it is required to write this information explicitly in the native case. We now delete the packaging tasks for native recipes which removes the need to clear PACKAGES. The next step to improve the metadata is to stop clearing it and ensure any entries in these variables are remapped appropriately. The R* variables were already being processed by the class extension code but the implementation was suboptimal. This patch stops clearing PACKAGES and PACKAGES_DYNAMIC and fixes the places where that caused issues in OE-Core, for example PACKAGES additions in anonymous python without the "-native" suffix and a case where the included classes caused a self reference in DEPENDS which would once have been removed by the previous code. The implementation uses datastore/parser parameters to ensure that the variable overrides are not overwritten when calling setVar which is appropriate for a function as close to the core as this one is. Some now unneeded code in python3-setuptools is dropped, there are further changes like this which can follow. This change was verified with OE-Core by comparing task-depends.dot generated by "bitbake world -g" before and after the change, the files were identical. (From OE-Core rev: fd6a007efa7cb45101a66f294af81d9d33bb3fab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29bitbake.conf/python: Drop setting RDEPENDS/RPROVIDES defaultRichard Purdie
We never recommend setting RDEPENDS or RPROVIDES without a package name against them. The default in bitbake.conf is legacy only, drop it. The python recipe was trying to add to the empty variable in the native case fix that too. (From OE-Core rev: b8bbc1bbe282cce2ea4d0ff293f931f6caf6153b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29package_rpm: Clean up unset runtime package variable handlingRichard Purdie
If the R* runtime package variables are unset it could cause trackbacks. There were some fallbacks already, clean this up to handle consistently. The code was expecting strings but setting defaults of empty lists which silently were converted to strings by the "or" statements which was a nightmare to understand or alter. (From OE-Core rev: 06bf68012302330c2b14f59541f78f48c7389c37) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29nativesdk-buildtools-perl-dummy: Add missing entries for nativesdk-automakeRichard Purdie
This allows the hardcoded nativesdk dependency hacking in the automake recipe to be dropped and matches what autoconf is doing. (From OE-Core rev: c723866a6834b8fa89b036a627f619a0c391a662) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29gobject-introspection: Fix variable override orderRichard Purdie
The DEPENDS variable override ordering here was almostly certainly incorrect and led to weird behaviour when making changes elsewhere. Correct it. (From OE-Core rev: c8f7e92244b3c52c275a457aced69086800351d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29buildhistory.bbclass: avoid exception for empty BUILDHISTORY_FEATURES variablePeter Bergin
An exception is fired when a BuildStarted event is sent to buildhistory bbclass and the variable BUILDHISTORY_FEATURES is not set. ERROR: Execution of event handler 'buildhistory_eventhandler' failed Traceback (most recent call last): File "<...>/meta/classes/buildhistory.bbclass", line 862, in buildhistory_eventhandler(e=<bb.event.BuildStarted object at 0x7f94c3810250>): python buildhistory_eventhandler() { > if e.data.getVar('BUILDHISTORY_FEATURES').strip(): reset = e.data.getVar("BUILDHISTORY_RESET") AttributeError: 'NoneType' object has no attribute 'strip' This can happen in a multiconfig build where the default configuration use the buildhistory class but not the configuration in mc. It should be a rare case that this happens and it was found in a missconfigured build. (From OE-Core rev: a74e30a4de02c8efd3e7102ba7a4fe06df53cc34) Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29shaderc: add spirv-headers as dependencieJose Quaresma
(From OE-Core rev: 32007e42f7174b9ab90ff2c5ae79933e2cb83137) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29spirv-tools: cleanupJose Quaresma
- spirv-headers is provived in a separete receipe, so add it as dependencie - add a new package spirv-tools-lesspipe that needs bash - remove unneeded external sources (From OE-Core rev: 97cab6b9691497841b2ae894e25f83d893c2ee30) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29spirv-headers: Add receipeJose Quaresma
(From OE-Core rev: 0f7aa28a254ab25e3c3f6322d750e765518fb8b5) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29shaderc: fix the build with glslang 11.1.0Jose Quaresma
Drop patches: * 0001-Fix-the-link-order-of-libglslang-and-libHLSL.patch is rejected upstream and is not need when glslang as shared libs. Update pacthes: * 0001-cmake-de-vendor-libs-and-disable-git-versioning.patch renamed and refreshed from 0003-cmake-de-vendor-libs-and-disable-git-versioning.patch. (From OE-Core rev: 496c69d56806a2521bfc51b4de9575637db2ac02) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29shaderc: avoid reproducible issuesJose Quaresma
(From OE-Core rev: 1fb9e706ba83df272ca924d8ea65460bb5675aa8) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29glslang: disable precompiled headerJose Quaresma
- precompiled headers have reproducible issues [1] [1] https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210125-3iawhiyz/packages/diff-html (From OE-Core rev: 94cea2b5f3091de0326c4d7322b45de2ce9fae3b) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29glslang: enable shared libsJose Quaresma
(From OE-Core rev: 3355367f339c36161aced3e9fcbc38bca7915ada) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29glslang: upgrade 8.13.3743 -> 11.1.0Jose Quaresma
License-Update: Add additional licenses - [1] BSD-2-Clause & MIT & Apache-2.0 - [2] GPL-3-with-bison-exception [1] https://github.com/KhronosGroup/glslang/commit/2962be40baff69848fd786c609289666b60741b8 [2] https://github.com/KhronosGroup/glslang/commit/14a2cfbc72f2bb2e060fdfe3fbe6a4d54e3817a8 (From OE-Core rev: 6ddba144e1aa9288645ec4b7271fc4138ef945ba) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29maintainers: update own email addressDenys Dmytriyenko
(From OE-Core rev: 63e5f91d46d76800452ed8a0fade8dd3db1fc88e) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28insane: native-last: Only print classes inherited after native/nativesdkTomasz Dziendzielski
For usability, only print the classes inherited after native/nativesdk which makes it easier for the user to see where the problem is. Realted to [YOCTO #5729]. (From OE-Core rev: 78f7cf59783faab6ef8d4f4fde774754db946519) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28insane: Add missing INSANE_SKIP mechanism for native-last QA checkTomasz Dziendzielski
Ensure that the native-last QA check can be controlled by the INSANE_SKIP variable (realted to [YOCTO #5729]). (From OE-Core rev: 2d95aee64766341bf81f610386bac222e329f1bb) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28linux-yocto*: add features/gpio/mockup.scc to KERNEL_FEATURESSakib Sajal
add features/gpio/mockup.scc to KERNEL_FEATURES when ptest is enabled as it is required for testing libgpiod. (From OE-Core rev: 906cde06bee319e788c76abb8f8295ed9921ccb1) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>