summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-packaging: upgrade 23.0 -> 23.1Wang Mingyu2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | Changelog: =========== Parse raw metadata Import underlying parser functions as an underscored variable Improve error for local version label with unsupported operators Add dedicated error for specifiers with incorrect .* suffix Replace spaces in platform names with underscores Relax typing of _key on _BaseVersion Handle prefix match with zeros at end of prefix correctly (From OE-Core rev: ecd541b4290932d2b547376e8dc04863634f11a7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2023.1 -> 2023.4Wang Mingyu2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Schemas: - Add missing PCI descriptions and properties - Add I2C clock stretching property - Add 'firmware-name' property - Add UEFI chosen properties - Enable cache schema Meta-schemas: - Improve checking non-patterns in patternProperties - Allow 'not' at top-level of schemas - Relax meta-schema checks on referenced schemas Tools: - Handle examples with 'interrupt-controller' node (From OE-Core rev: 997715fcb7fc3c9c8d1a5d886857772098bd511c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-build: add missing run-time dependenciesBartosz Golaszewski2023-04-141-1/+10
| | | | | | | | | | | | python3-build has several run-time dependencies that are missing from the recipe. This makes it impossible to use the module in self-hosted images. Add missing RDEPENDS. (From OE-Core rev: f4a4de1dc3521695c14dfc206fa4cd0e10c250aa) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: add ensurepipBartosz Golaszewski2023-04-141-0/+23
| | | | | | | | | | | Add the pip bootstrapping module from the standard library to the manifest. This module is a run-time requirement of python3-build. (From OE-Core rev: 7013ddda8f249377c00bc4efb40c34dd5fcfe15a) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: add tomllibBartosz Golaszewski2023-04-141-0/+17
| | | | | | | | | | Add the TOML parsing module from the standard library to the manifest. (From OE-Core rev: b6f2ca4713447710f5ce29261d1009c3574af721) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: add missing run-time dependenciesBartosz Golaszewski2023-04-141-0/+1
| | | | | | | | | | python3-profile is required by python3-packaging at run-time. (From OE-Core rev: 5281d5f8a9111413ed8d09360185aca7fe1f23a5) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-hooks: add missing run-time dependenciesBartosz Golaszewski2023-04-141-0/+2
| | | | | | | | | | JSON module is required at run-time by pyproject-hooks. (From OE-Core rev: f886fe227fe91d0d1566e3ddb01856d7e67a8a2d) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes: ensure all recipes have a SUMMARYAlexander Kanavin2023-04-1332-31/+32
| | | | | | | | | | | DESCRIPTION is optional for now; writing good component descriptions is not easy (but appreciated). (From OE-Core rev: 9ce4f9248db3db70732d886a18ea355f321bd49d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 67.6.0 -> 67.6.1Wang Mingyu2023-04-132-2/+2
| | | | | | | | | | | | | Changelog: ========== #3865: Fixed _WouldIgnoreField warnings for scripts and gui_scripts, when entry-points is not listed in dynamic. #3875: Update code generated by validate-pyproject to use v0.12.2. This should fix default license patterns when pyproject.toml is used. (From OE-Core rev: 8c8170871cc2ab770fb52bb5ab08a9d723975d68) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytz: upgrade 2022.7.1 -> 2023.3Wang Mingyu2023-04-131-1/+1
| | | | | | | | (From OE-Core rev: 932612c1034848f9d5da5b264a5859c02257d582) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Upgrade 1.68.1 -> 1.68.2Alex Kiernan2023-04-136-1/+1
| | | | | | | | | | | | | | | | | Changes: * Update the GitHub RSA host key bundled within Cargo. The key was rotated by GitHub on 2023-03-24 after the old one leaked. * Mark the old GitHub RSA host key as revoked. This will prevent Cargo from accepting the leaked key even when trusted by the system. * Add support for @revoked and a better error message for @cert-authority in Cargo’s SSH host key verification (From OE-Core rev: 4563432b41026adc56c54452984b19ab64e7406e) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyopenssl: upgrade 23.0.0 -> 23.1.1Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | Changelog: =========== - Worked around an issue in OpenSSL 3.1.0 which caused X509Extension.get_short_name to raise an exception when no short name was known to OpenSSL. #1204. - cryptography maximum version has been increased to 40.0.x. - Add OpenSSL.SSL.Connection.DTLSv1_get_timeout and OpenSSL.SSL.Connection.DTLSv1_handle_timeout to support DTLS timeouts #1180. (From OE-Core rev: 0015bd07542ceaba8fa533d5179ffab0162259e0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: upgrade 3.42.2 -> 3.44.1Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Fix tests with glib 2.76 !240 Note: PyGObject is in need of more maintainers, please read https://www.bassi.io/articles/2022/12/02/on-pygobject/ Note: This is an unstable release. Drop support for Python 3.6 !184 meson: bump minimum version to 0.53.0 and update subprojects !227 gimodule: fix floating state of python objects created with g_object_new !129 Gtk.Template: Accept PathLike objects as a filename !195 info: Show which type/object callables are bound to !194 IntrospectionModule: handle two threads loading type at same time !149 Port to Py_TRASHCAN_BEGIN !226 Other cleanups/improvements: !181 !173 This release also includes all changes from 3.42.1 and 3.42.2 (From OE-Core rev: d725ef02a36d497e7ed44c61f9b72f9212f0521a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pathspec: upgrade 0.11.0 -> 0.11.1Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========== Bug fixes: ---------- Issue #74: Include directory should override exclude file. Improvements: ------------- Pull #75: Fix partially unknown PathLike type. Convert os.PathLike to a string properly using os.fspath. (From OE-Core rev: cf79bc6c5cec0026ef3f56b6f4eb67499df0c60a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markdown: upgrade 3.4.1 -> 3.4.3Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | Changelog: ========= Restore console script (#1327). Improve standalone * and _ parsing (#1300). Consider <html> HTML tag a block-level element (#1309). Officially support Python 3.11. Switch from setup.py to pyproject.toml. (From OE-Core rev: f0e963faf34e223a8d7b31a792dc00b063910aa6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-installer: upgrade 0.6.0 -> 0.7.0Wang Mingyu2023-04-131-1/+1
| | | | | | | | (From OE-Core rev: 18d511f1f03b5f33e791b1e9c97ef136df3ebf0c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 6.0.0 -> 6.2.0Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | | Changelog: =========== - #384: PackageMetadata now stipulates an additional get method allowing for easy querying of metadata keys that may not be present. - #428: packages_distributions now honors packages and modules with Python modules that not .py sources (e.g. .pyc, .so). - #434: Expand protocol for PackageMetadata.get_all to match the upstream implementation of email.message.Message.get_all in python/typeshed#9620. (From OE-Core rev: e3991141939e5e2393cf36edd02ef3765cacd330) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.68.2 -> 6.71.0Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: c9f5b3557311db4ec0a6aefca5d634c9c1fef996) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.33 -> 0.29.34Wang Mingyu2023-04-132-1/+1
| | | | | | | | | | | | | | | | Bugs fixed ========== - A refence leak of the for-loop list/tuple iterable was resolved if the for-loop's else: branch executes a break for an outer loop. - Some C compile failures in CPython 3.12 were resolved. - Some old usages of the deprecated Python imp module were replaced with importlib. - Some issues with depfile generation were resolved. (From OE-Core rev: 4589082930c86aa4a24003c79cd99d6e414cbf44) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: upgrade 0.56.4 -> 0.56.6Wang Mingyu2023-04-132-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * Regression fix: - vala: Improve initialization of namespace fields with compound literal [#1424] * Bindings: - gio-2.0,glib-2.0,gobject-2.0: Update 2.74 symbols - webkit2gtk-4.*: Update to 2.40.0 - webkitgtk-6.0: Update to 2.40.0 - gtk4: Update to 4.10.1~40b154bf from 0.58 - gtk4: Add sealed to all the final types - gtk+-3.0: Fix ToolPalette.icon_size get-accessor type - webkitgtk-6.0: Update to 2.39.90 * Various improvements and bug fixes: - codegen: + Consistently handle GLib.Error as boxed type [#1418] + Add cast to accessor calls for generic property implementations + Use g_object_class_override_property to implement generic interface properties [#1419] + Add declaration for register call of dynamic DBus interfaces [#1422] - vala: + Correctly handle pre/post-increment expression as index of element access [#1417] + Set proper value-type of unary ref/out expression in initializers [#1421] + Allow assignment of namespace fields with inline allocated arrays - gtkmodule: Improve error messages (From OE-Core rev: e3eb6b4e6477dea953d4d93d2eadc5f430c160b1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.2.1 -> 3.2.2Wang Mingyu2023-04-131-1/+1
| | | | | | | | (From OE-Core rev: b261bc704839b12769118f6f1c4207f3d19fe4fd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: upgrade 4.0.42 -> 4.0.43Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========== - Fix root directory test in mattrib - -b BiosDisk flag for mformat to allow setting physdrive to a user-specified value - Clearer error message in mformat when trying to mformat a disk whose total size is not known - Make recursive copy more consistent - Trailing slash now always implies target should be a directory - Code cleanup (From OE-Core rev: 7f04fd469f9ee989eadd85ea949527300704ca70) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: upgrade 4.7.4 -> 4.8Wang Mingyu2023-04-131-2/+2
| | | | | | | | | | | | | | | License-Update: bump: Upgrade to doctest 2.4.10 chore: Update copyright years Changelog: https://ccache.dev/releasenotes.html#_ccache_4_8 (From OE-Core rev: a0828afd27ba8d7b888bd13743d050cc277cc416) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Fix build on musl/riscvKhem Raj2023-04-132-0/+99
| | | | | | | | | | libc needs fix for defining scope of SOCK_SEQPACKET (From OE-Core rev: 378da16ebe2917f26f9fe8cf654bced09ec6ecfe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: Define 64bit off_t on rv32Khem Raj2023-04-131-0/+1
| | | | | | | | | | | Help configure to build it correctly on rv32 and musl especially, it shoild not ideally poke at _FILE_OFFSET_BITS, its not a portable define (From OE-Core rev: d7909538067843d60b9cb56d79a51e2a240c8b18) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: fix-up -tests runtime dependenciesMark Asselstine2023-04-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | The psutil.tests module makes use of gcc, other tools and a minimal set of headers and build tools. If these are missing you will see ====================================================================== ERROR: psutil.tests.test_process.TestProcess.test_weird_environ ---------------------------------------------------------------------- Traceback (most recent call last): File "./psutil/tests/test_process.py", line 1452, in test_weird_environ create_exe(path, c_code=code) File "./psutil/tests/__init__.py", line 831, in create_exe raise ValueError("gcc is not installed") ValueError: gcc is not installed along with other errors related to the missing tools and headers. Add the missing RDEPENDS for the -tests package such that simply adding the -tests package to an image will be all that is needed. (From OE-Core rev: c50135a3893d8bb7736b0ab34d960026fbbc7012) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt-crates.inc: regenerate with updated bbclassMartin Jansa2023-04-061-49/+49
| | | | | | | | | | | | | | | * it's needed for compatibility with updated fetcher from: https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/ * easiest way to regenerate these is: echo > meta/recipes-devtools/python/python3-bcrypt-crates.inc bitbake -c update_crates python3-bcrypt git commit (From OE-Core rev: ccef8f0b0d6e4e8b099953df3cf092b1545aca20) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-crates.inc: regenerate with updated bbclassMartin Jansa2023-04-061-66/+66
| | | | | | | | | | | | | | | * it's needed for compatibility with updated fetcher from: https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/ * easiest way to regenerate these is: echo > meta/recipes-devtools/python/python3-cryptography-crates.inc bitbake -c update_crates python3-cryptography git commit (From OE-Core rev: bf6a3cd70d13f05f0e2af2b54635214690a68a78) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: rename deprecated --enable-trace-backend configure optionThomas De Schampheleire2023-04-051-1/+1
| | | | | | | | | | | | | | qemu 6.2 deprecated the configure option '--enable-trace-backend' in favor of '--enable-trace-backends' [1] Rename accordingly. [1] https://wiki.qemu.org/ChangeLog/6.2#Build_Information (From OE-Core rev: 9e41fac1c2ee15aaff9926dac3c0233430adff12) Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: retain default trace backend if 'ust' is not enabledThomas De Schampheleire2023-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | The qemu build system enables the 'log' trace backend by default, if no explicit choice was made with '--enable-trace-backend=CHOICE'. However, the qemu recipe uses the following PACKAGECONFIG line: PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust," which means that the 'nop' trace backend will be explicitly selected if the 'ust' feature is not enabled. The 'nop' backend removes almost all trace points at compile time, and thus basically means 'disable tracing'. To retain the default trace backend if 'ust' is not enabled, the above PACKAGECONFIG line should either explicitly fall back to the 'log' backend, or not provide any value for the 'disabled' case. This commit chooses the latter to not make any assumption about the upstream default. (From OE-Core rev: c31396a30dcf17ab23ff4dd5943eef5fba20cba6) Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: make tracetool-generated output reproducibleThomas De Schampheleire2023-04-052-0/+88
| | | | | | | | | | | '#line' directives written by qemu's tracetool makes the 'debug' package not reproducible due to absolute paths. Apply a patch to use a relative path instead. (From OE-Core rev: 85e30c507b63fa9126887dc6435d1ee6e23bd887) Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: depend on gobject-introspectionPetr Kubizňák2023-04-041-1/+1
| | | | | | | | | | When g-i feature is disabled, the gobject-introspection package dependency is not pulled in but pygobject has a hard dependency on it. (From OE-Core rev: 7fae697c6889e17dd47415808a7173670b507047) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: update 1.67.1 -> 1.68.1Alexander Kanavin2023-04-049-78/+64
| | | | | | | | | | | | | Rebase patches; one of the vendored crossbeam versions has been removed upstream, and so crossbeam_atomic.patch is adjusted accordingly. Replace getrandom-open64.patch with a backport. (From OE-Core rev: f5accb4fae49342cbec21718ae7a427615bfcedd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: install llvm item only onceAlexander Kanavin2023-04-041-1/+1
| | | | | | | | | | Otherwise it triggers a rebuild of llvm-dependent rust pieces every time rust_runx is called, lengthening the builds without need. (From OE-Core rev: aca6b29b508175da9f213b1c6dba5d02a15b8287) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: do not run separate build/install stepsAlexander Kanavin2023-04-041-11/+4
| | | | | | | | | | | | | | Upstream does not actually use or test it this way; if the goal is to install items, then install target should be executed directly. In particular, in latest rust release building stage 2 items has regressed altogether (incorrect dependencies between rust-analyze tool and the libs it needs) and no one noticed. (From OE-Core rev: 7d805f9a9f6b5048308a37a2757d08cca40b1ff3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib ↵Wentao Zhang2023-04-032-0/+40
| | | | | | | | | | | | | | | | | | | | | | | by updating test_sysconfig for posix_user purelib Steps to trigger the failed test: Edit local.conf to add something as follows: BASELIB = "lib64" IMAGE_INSTALL:append = " python3-tests". bitbake core-image-sato runqemu qemux86-64 nographic slirp Reproducer: $python3 -m test test_sysconfig sysconfig.py use platlibdir for purelib. Update test_sysconfig.test_user_similar() for the posix_user scheme: "purelib" doesn't use sys.platlibdir. (From OE-Core rev: 755321362e994a6a37a0f554b1aea56823de924e) Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: remove redundant CMake variablesRoss Burton2023-03-312-4/+1
| | | | | | | | | | This recipe uses the cmake class, so there's no need to set the Ninja backend, or tell it where Python is, or that we're cross-compiling. (From OE-Core rev: 2560665cc1e30a6ca969118ade8612393e1eef74) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-postinsts: Set dependency for ldconfig to avoid boot issuesArturo Buzarra2023-03-301-1/+1
| | | | | | | | | | | | | | | | | | If a package with a postsints script requires ldconfig, the package class adds a ldconfig postinst fragment to initialize it before. Systemd has its own ldconfig.service to initialize it and sometimes if both services are running at the same time in the first boot, the first one will work, but the second one will fail with the following error: ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to /etc/ld.so.cache failed: No such file or directory This commit adds a ordering dependency between them to make sure that only one service is running at the same time. (From OE-Core rev: 4e9d812e127dc6743f52f4881e509e8e2e833afe) Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: add crates checksumsFrederic Martinsons2023-03-301-0/+67
| | | | | | | | (From OE-Core rev: 37e5ec204396f59ab5e796ea4a815eaecd12f9b1) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: add crates checksumsFrederic Martinsons2023-03-301-49/+100
| | | | | | | | (From OE-Core rev: 086bdc7c4eab5f026c0c5adf446cb6d1657f086b) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: fix CVE-2023-2453Ross Burton2023-03-282-0/+209
| | | | | | | | | | Backport a security fix, can be removed once we have 1.20.2 onwards. (From OE-Core rev: 06df8350c3bc6f56013a0bff20b64cfdbb81cfca) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: add back find-debuginfo supportChen Qi2023-03-271-3/+5
| | | | | | | | | | | | | | | | | RPM upstream removed find-debuginfo and switched to use debugedit since the following commit. https://github.com/rpm-software-management/rpm/commit/04b0805a756cdd9466fb9dc717846f5bf15518cc According to https://github.com/rpm-software-management/rpm/blob/master/INSTALL, debugedit is needed by rpm. More specifically it's needed by rpmbuild to supporting generating debuginfo package when %debug_package is enabled. (From OE-Core rev: d06c7c0d288cafa75f14a841f9cb31dcd0714644) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* debugedit: add recipeChen Qi2023-03-274-0/+251
| | | | | | | | | | | | | | | | | | | This recipe provides find-debuginfo which is used by rpm, more specifically rpmbuild. RPM upstream removed find-debuginfo and switched to use debugedit in the following commit. https://github.com/rpm-software-management/rpm/commit/04b0805a756cdd9466fb9dc717846f5bf15518cc Without debugedit, rpmbuild fails to generate debuginfo package when %debug_package is added to spec file. (From OE-Core rev: f7ada8b4d003473abce5b589cc38aec1e5e5f18a) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* abi_version/sstate: Handle pkgconfig output changes and bump output versionsRichard Purdie2023-03-262-4/+0
| | | | | | | | | | | | | A recent package.py change has highlighted some corruption issues with -dev pkgconfig package dependencies. Bump the output versions to trigger a rebuild and ensure everything is consistent. Take the opportunity to also drop all HASHEQUIV_HASH_VERSION entries since the main version is changing. (From OE-Core rev: f45ddfbf007de858327eef0ffefd5840ef4c69b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: upgrade to v4.5.2Martin Jansa2023-03-261-1/+1
| | | | | | | | | | | | * fixes: https://github.com/SCons/scons/issues/4321 which caused e.g. iotifity to fail in do_compile (From OE-Core rev: 5b022730053cdf62db57f497014ed85e2f7057b6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-shared-source: do not use ${S}/.. in deploy_source_date_epochPeter Marko2023-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | This function is referencing '${S}/..'. It uses ${S} only as good known directory path to start traversing from, and it does not need it to exist or be populated. If ${S} does not exist yet, the function will fail because it cannot evaluate path .. from non-existing directory. Reproducer (verified in master and kirkstone): bitbake gcc -c deploy_source_date_epoch bitbake gcc -c cleansstate rm -rf build/tmp bitbake gcc -c deploy_source_date_epoch (From OE-Core rev: 42661a59cda164b2d236ffc35b4d8cf43312b677) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: fix non-deterministic ownership in ptest packageRoss Burton2023-03-251-0/+1
| | | | | | | | | | | | | | | | | | | | | The quilt package files are owned by the ptest user, which is provided by the ptest-runner package. The quilt recipe depends on ptest-runner but there have been instances where rebuilds of quilt end up without the right passwd being present, so the files are not owned by ptest. I suspect what's happening is that the re-package is happening without the ptest-runner package being present (reproducible with bitbake quilt; bitbake quilt -cclean; bitbake quilt -Cpackage_write_rpm), so add an explicit dependency on ptest-runner in the packaging dependencies to ensure this doesn't happen. [ YOCTO #15062 ] (From OE-Core rev: 6a7c17065aa1b107a8ff43de7c9097246b1316be) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: fix some linkshared regression introduced in go 1.20Jose Quaresma2023-03-232-0/+91
| | | | | | | | | | | | | | Since go 1.20 some packages fails to link [1][2] and only build staticaly with GO_LINKSHARED = "" [1] https://lists.yoctoproject.org/g/meta-virtualization/topic/97182310 [2] https://github.com/golang/go/issues/58966 (From OE-Core rev: eb40d6c2ef72814336365208722e2dc96322e07d) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: add support for loongarch64Jialing Zhang2023-03-231-0/+1
| | | | | | | | | | | glibc gcc vulkan add support for loongarch64 (From OE-Core rev: 526b9a8ebacf07690dfc5beb1788ab7a5bef8423) Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn> Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix RPM_ETCCONFIGDIR value in SDKChen Qi2023-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The RPM_ETCCONFIGDIR should be some root directory instead of the etc directory as in patch 0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch RPM_ETCCONFIGDIR is used to prefix /etc. The regression was introduced in the following patch. """ nativesdk-rpm: export RPM_ETCCONFIGDIR and MAGIC in environment like RPM_CONFIGDIR """ The patch incorrectly set RPM_ETCCONFIGDIR, maybe because this variable's name is a little misleading. Note that this patch modifies both RPM_ETCCONFIGDIR and RPM_CONFIGDIR. The RPM_CONFIGDIR's value happened to be correct because of the ${libdir}, not $OECORE_NATIVE_SYSROOT. In fact, due to the substitution mechanism, the $OECORE_NATIVE_SYSROOT is empty. (From OE-Core rev: 2c6388e5bbf45a71891aa90047eef980d8a27c9d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>