summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-03-08pip_install_wheel: generate the wheels in directory we control outside of Sross/py3Ross Burton
Set the wheel distribution location, PIP_INSTALL_DIST_PATH, to a directory under WORKDIR to enhance out-of-tree builds. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-scons: remove PIP_INSTALL_DIST_PATHRoss Burton
The default is good now, so remove this. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-pyyaml: use setuptools_build_metaRoss Burton
This project builds with setuptools_build_meta, so use that instead. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-pyrsistent: use setuptools_build_metaRoss Burton
This project builds with setuptools_build_meta, so use that instead. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-markdown: use setuptools_build_metaRoss Burton
This project builds with setuptools_build_meta, so use that instead. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08bmap-tools: remove redundant PYPA_WHEELRoss Burton
The default is good, this doesn't need to be set. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-wheel: clean up PYPA_WHEEL usageRoss Burton
Remove the use of PYPA_WHEEL in the native do_install() as this variable will be disappearing shortly. Remove the bbfatal_log in the native do_install(), if this breaks then something has gone very wrong and the user is not expected to fix it. Also flit_core inherits setuptools3-base, so no need to inherit it again. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-setuptools3: clean up PYPA_WHEEL usageRoss Burton
There's no need to set PYPA_WHEEL as the default is sufficient. Remove the use of PYPA_WHEEL in the native do_install() as this variable will be disappearing shortly. Remove the bbfatal_log in the native do_install(), if this breaks then something has gone very wrong and the user is not expected to fix it. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-pip: clean up PYPA_WHEEL usageRoss Burton
There's no need to set PYPA_WHEEL as the default is sufficient. Remove the use of PYPA_WHEEL in the native do_install() as this variable will be disappearing shortly. Remove the bbfatal_log in the native do_install(), if this breaks then something has gone very wrong and the user is not expected to fix it. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08python3-flit-core: improve recipeRoss Burton
flit_core can bootstrap itself, so the python3-flit-core recipe can just inherit flit_core and set PEP517_SOURCE_PATH to the flit_core submodule. Also setting FILES:${PN} is redundant. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08setuptools_build_meta: add variable to control where pyproject.toml is locatedRoss Burton
The PEP517[1] pyproject.toml doesn't have to be located at the top-level of the source tree (for example, in recipes with multiple components), so add a variable PEP517_SOURCE_PATH to set where the file is. In the future there should be a pep517.bbclass to centralise the common logic, but for now this can be defined in each of the relevant classes. [1] https://www.python.org/dev/peps/pep-0517/ Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08flit_core: add variable to control where pyproject.toml is locatedRoss Burton
The PEP517[1] pyproject.toml doesn't have to be located at the top-level of the source tree (for example, in recipes with multiple components), so add a variable PEP517_SOURCE_PATH to set where the file is. In the future there should be a pep517.bbclass to centralise the common logic, but for now this can be defined in each of the relevant classes. [1] https://www.python.org/dev/peps/pep-0517/ Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08setuptools_build_meta: respect PIP_INSTALL_DIST_PATHRoss Burton
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but this class was writing to the same directory through chance not design. Respect PIP_INSTALL_DIST_PATH as the output directory, and use [cleandirs] to ensure that it exists and is empty. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08setuptools3: respect PIP_INSTALL_DIST_PATHRoss Burton
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but this class was writing to the same directory through chance not design. Respect PIP_INSTALL_DIST_PATH as the output directory. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08flit_core: respect PIP_INSTALL_DIST_PATHRoss Burton
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but this class was writing to the same directory through chance not design. Respect PIP_INSTALL_DIST_PATH as the output directory, and use [cleandirs] to ensure that it exists and is empty. Also call the flit_core.wheel module directly as this is a public entry point to the wheel building logic. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-08bitbake: lib/bb: more verbose error messageMarta Rybczynska
The "Parsing halted due to errors" is shown when user has old-style variables requiring renaming. Make it clear that it isn't an additional error, but a result of earlier errors. (Bitbake rev: e81b6ae61dd8b5d0f77146263d79dfe66c66b060) Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: server/xmlrpcserver: Add missing xmlrpcclient importRichard Purdie
This avoids backtraces when starting toaster or using bitbake in remote mode. (Bitbake rev: bf723f2cb5d288ca730e4f029110b36380420a01) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: monitordisk.py: Deleted redundant word in warning message.leimaohui
(Bitbake rev: 24ce95596e709bccda08fad81c2ebb9f8053618c) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: bitbake-user-manual: add recent release manualsMichael Opdenacker
Add links corresponding to recent releases Align the title of sections with yocto-docs' releases.rst (Bitbake rev: 5700317975e115aa31186c8cd3eddca16ec387fb) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: bitbake-user-manual: update allowed characters in overridesMichael Opdenacker
(Bitbake rev: b12d4fe049c80fa6b042d5cd852b4d602221321d) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: bitbake-user-manual: yet another overrides syntax updateMichael Opdenacker
(Bitbake rev: 9abf9fcd15279cf8c993efcb914a0092f74a814e) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: bitbake-user-manual: add note about the old syntax for OVERRIDESMichael Opdenacker
(Bitbake rev: ad2307823a96e91873d804aa9d8f11c9ff39bec0) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: bitbake-user-manual: stop mentioning the Angstrom distributionMichael Opdenacker
Now defunct. (Bitbake rev: 2c7bff686c1f5eb80c89cb7f9f12287e8bb5770f) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08bitbake: bitbake-user-manual: add "crate" fetcherMichael Opdenacker
(Bitbake rev: cca1533e9a684bef8b27130c42abcd1125332038) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08wic: Use custom kernel path if providedBill Pittman
If the custom kernel path is provided in options, then use that path instead of the default path. (From OE-Core rev: 1068102216a894c467f71f6046fdb37d5577545c) Signed-off-by: Bill Pittman <bill.pittman@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08virglrenderer: Depend on virtual/eglKhem Raj
depending on EGL means it does not have to worry if implementation provides GL/GLES/OpenVG interfaces or not. (From OE-Core rev: e3d3867d677a08b718e347e4d10a986cdd216493) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08gstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in useJose Quaresma
Since all gstreamer modules uses LGPLv2.1 with exceptions for some plugins in bad and ugly modules that has GPLv2+. For the GPLv2+ this patch set this license only for each plugin that is affected by by that, using the new GSTREAMER_GPL. CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com> (From OE-Core rev: 25ea8753e2d1dc4e1aa01b4800da532ca1aecec7) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08setuptools_build_meta: clean up configure/compileRoss Burton
Make do_configure do nothing by default as the base configure isn't useful, and invoke the build API directly instead of writing a script. In the future, this can simply call python3-build. (From OE-Core rev: ccad9d0218ef69bdb8c708029445fcd661f1c490) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08flit_core: clean up configure/compileRoss Burton
Make do_configure do nothing by default as the base configure isn't useful, and invoke the build API directly instead of writing a script. In the future, this can simply call python3-build. (From OE-Core rev: 2d80529a486d25ad96c448499392547e82779de4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08python3-pip: remove obsolete and confusing commentRoss Burton
This comment is very obsolete. (From OE-Core rev: 147875f0bf7b68694c0338b6f212b03bfdca2ea8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08pip_install_wheel: don't lazy assign PIPINSTALLARGSRoss Burton
If we expect users to extend this we should use =, as otherwise a recipe that does += will replace the default value. (From OE-Core rev: fdaf5e0027a52e44f2def0ef240134763660aa00) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08pip_install_wheel: clean upRoss Burton
There's been a lot of work in this class lately, so a little spring cleaning is needed. Remove redundant creation of PYTHON_SITEPACKAGES_DIR, pip will do that. Remove redundant export of PYPA_WHEEL. Simplyify recompile code using "realpath --relative-to". (From OE-Core rev: cb56166eef34ba4937dc487664c57815daeadbe8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08setuptools3.bbclass: clean upRoss Burton
There's been a lot of work in this class lately, so a little spring cleaning is needed. Create wheels verbosely to help debug problems. Remove unused SETUPTOOLS_INSTALL_ARGS, these can't be passed to bdist_wheel. Remove duplicate manipulation of files in bindir as pip_install_wheel does the same. Remove obsolete deletion of easy-install.pth, wheels don't generate that. Remove obsolete ${datadir}/share fixup, pip-installed wheels can't generate that path combination. Remove purging of ${D} references from *.py, these won't be written by standard setuptools, and recipes can do it themselves to work around specific issues if needed. Remove obsolete vardepsexclude of MACHINE on do_install, as that variable isn't referenced. (From OE-Core rev: 57c477ca13e352b6f9b21385abbfaad9778c6398) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08vim: Update to 8.2.4524 for further CVE fixesRichard Purdie
Includes CVE-2022-0696, CVE-2022-0714, CVE-2022-0729. (From OE-Core rev: 0d29988958e48534a0076307bb2393a3c1309e03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07cmake: upgrade 3.22.2 -> 3.22.3wangmy
refresh 0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch Changelog: ========== * The :command:'while' command again ignores errors in condition evaluation as CMake 3.21 and below did. This bug was fixed in 3.22.0, but exposed errors in existing projects. The fix has been reverted to restore compatibility. The fix may be restored in a future version of CMake via a policy. (From OE-Core rev: 146ceceaf81639085a82fd94d30ea84150a75e3a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07python3-hypothesis: upgrade 6.39.0 -> 6.39.2wangmy
Changelog from 6.39.0 to 6.39.2 ============================== - fixes a regression where the bound inner function ("your_test.hypothesis.inner_test") would be invoked with positional arguments rather than passing them by name, which broke pytest-asyncio (issue #3245). - clarifies rare error messages in "builds()" (issue #3225) and "floats()" (issue #3207). (From OE-Core rev: ae25cd186c3e0771ef9a3fe10fe7a75c8bde2f66) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07gstreamer1.0-plugins-packaging: rename variablesJose Quaresma
(From OE-Core rev: f95d1ea7f481a3029267ad3536dbe45ae28c6ed7) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07gstreamer1.0-plugins-base: libgst is already defined on PACKAGES_DYNAMICJose Quaresma
PACKAGES_DYNAMIC in gstreamer1.0-plugins-packaging.inc have libgst since 768d621 (From OE-Core rev: a5908b0cb75c2ff0d0b4edd3adeaf82b2fed19cb) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07libxslt: update to v1.1.35Markus Volk
Security [CVE-2021-30560] Fix use-after-free in xsltApplyTemplates Fix memory leak in xsltDocumentElem (David King) Fix memory leak in xsltCompileIdKeyPattern (David King) Fix double-free with stylesheets containing entity nodes Fixed regressions Fix performance regression with predicates in patterns Fix regression in xsltComputeSortResult Bug fixes Fix conflict resolution for templates with same priority Fix xsl:number generating invalid UTF-8 Support attribute value templates in xsl:sort lang attributes Don't pass first xsl:sort in xsl:apply-templates twice Fix quadratic runtime with text and xsl:message Don't allow empty EXSLT durations Improvements Add xsltproc --huge Argument via libxml XML_PARSE_HUGE (William N. Braswell, Jr.) Tests, code quality, fuzzing Remove .travis.yml Fix some misleading indentation (David King) Use actual types for templates in struct _xsltStylesheet Add CI for CMake on MSVC (Markus Rickert) Check for null pointer before calling freelocale Add CI test for Python 3 Don't set maxDepth in XPath contexts Transfer XPath limits to XPtr context Stop using maxParserDepth XPath limit Make long-to-double cast explicit in date.c Disable LeakSanitizer Run clang CI tests with -Wimplicit-int-conversion Fix implicit-int-conversion warning in exslt/crypto.c Fix clang -Wimplicit-int-conversion warning (David Kilzer) Fix clang -Wconditional-uninitialized warning in libxslt/numbers.c (David Kilzer) Fix -Wshadow warnings in libexslt/dynamic.c (David Kilzer) Also search parent dir for source XML when fuzzing Build system, portability Add CMake build files (Markus Rickert) Initial support for Python 3 (Suleyman Poyraz) Call ANSI versions of WinAPI functions explicitly Remove redundant flags from pkg-config files Suppress automake warning in tests/XSLTMark Fix linking libexslt dynamic library when using MinGW (Vadim Zeitlin) Added platform specific path separators (Dmitriy Korovkin) win32: allow passing *FLAGS on command line Fix export of xsltExtMarker on Windows (David Kilzer) Fix redundant includes already in libexslt.h (David Kilzer) Minor fixes to configure.js Fix variable syntax in Python configuration Add new EXSLT string tests to EXTRA_DIST Fix xml2-config check in configure script win32: Add configuration for profiler (Chun-wei Fan) Check whether 'xml2-config --dynamic' is supported Documentation Add Makefile rule to regenerate xsltproc.html Update links Remove MAINTAINERS Upload documentation to GitLab Pages Add documentation in devhelp format Add --enable-rebuild-docs configure option Fix libexslt header summaries Fix validity of tutorial XML (David King) Use DocBook URL for tutorial DTD (David King) Update libxslt.doap Add missing options to xsltproc man page (From OE-Core rev: 6b5b1486bbd381b2b657645e91a1712332ddcb94) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07curl: Update to 7.82.0Robert Joslyn
Includes bug fixes and feature updates, such as addition of a --json flag and the removal of mesalink support. Changelog available at: https://curl.se/changes.html#7_82_0 LIC_FILES_CHKSUM changed due to copyright year update. Now that the full SPDX license list is supported, refine the license from MIT to MIT-open-group. The curl license contains the additional advertising clause present in the Open Group variant. Use a weak assignment with the RANDOM variable to make changes via bbappend easier. (From OE-Core rev: 5186d399b4e24273a35c9ad8b0c6fac8d626911a) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07sstate: inside the threadedpool don't write to the shared localdataJose Quaresma
When inside the threadedpool we make a copy of the localdata to avoid some race condition, so we need to use this new localdata2 and stop write the shared localdata. (From OE-Core rev: 1fa763b2022822a76fde541724e83e1977833d03) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07license: expand_wildcard_licenses: add AGPL-3.0* wildcardChristian Eggers
The Yocto reference manual suggests also settings AGPL-3.0 in INCOMPATIBLE_LICENSE. https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-INCOMPATIBLE_LICENSE Fixes: 724fc8047cae ("license: Rework INCOMPATIBLE_LICENSE wildcard handling") (From OE-Core rev: 5d5c999ec0a40e3fa14041c35035c8cd4a1da01d) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07kmscube: Fix build when x11 is absent in distro featuresKhem Raj
distros might use openGL but not x11 ( e.g. EGL ), therefore fix build for such combination (From OE-Core rev: 2b3ee9ac02ebeaee20be3460010005a4697ab402) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06build-appliance-image: Update to master head revisionRichard Purdie
(From OE-Core rev: 4caea2d32f177fbbe3887f37b6700b2b4996b2be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06expat: Upgrade 2.4.6 -> 2.4.7Richard Purdie
(From OE-Core rev: 62a797b863c443f35a5ae9483c12108fcf24b606) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06bitbake: knotty: Improve setscene task displayRichard Purdie
There is general agreement the current display of the total setscene and executed full tasks is confusing. Fixing it is tricky to be clear to new users whilst not wasting screen real estate for experienced users and not compromisng features like the progress bar. As a compromise, move the setscene total to the previous line making the status display a two line summary for interactive terminals. This makes it clear what two of the numbers represent (setscene task) whilst separating this out from the other items. Also tweak the non-interactive output to use a comma as a separator, the use of the forward slash was a poor choice. (Bitbake rev: 8055ec360507e6a678ee5c4018ec1ab7f5a9cce5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06bitbake: knotty: Correctly handle multiple line itemsRichard Purdie
Currently the footer code doesn't quite handle multiline items correct. Fix this to do so. (Bitbake rev: 8eeccf73185d986c6abd6426b1d1e72da3a982df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06packagegroup-core-tools-profile: Enable systemtap for riscv64Khem Raj
(From OE-Core rev: 5af78e5fbfd3f47142eb7961f3258fa2a56f0c3d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06systemtap: Enable for riscv64Khem Raj
(From OE-Core rev: a209c05dcb631eb85d67c40727623a4c131071fa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06bitbake: bitbake-user-manual: further override syntax updatesMichael Opdenacker
(Bitbake rev: 1b026644c3312aa3e0a01cfa31758963926b091a) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>