Commit Graph

10316 Commits

Author SHA1 Message Date
Ross Burton
758350b71c python3-poetry-core: remove python3-pathlib2 dependency
Poetry 1.1.0 removed pathlib2 from the dependencies entirely, and before
then it was only needed with Python 2.

(From OE-Core rev: 6b981b6fe196b6ea4a4b966149f2954ddd047903)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
bb8fd7415f python3-setuptools: RDEPEND on python3-unixadmin
setuptools/command/register.py uses the getpass module.

(From OE-Core rev: dad84da56ab3e7342dcdb497375212bb4d1dc131)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
d4f05aaff5 python3-jsonschema: rename nongpl PACKAGECONFIG
To make it clear that this is an alternative to the format PACKAGECONFIG,
rename it to format-nongpl.

(From OE-Core rev: 56eaa1c074282774c5cf7dc2f8a4b3c4eac4179c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
14e487aad9 python3: add dependency on -compression to -core
importlib.metadata is part of -core, but that will import zipfile which
is part of -compression.

Obviously this shows that our packaging of the Python modules is not
optimal.  I plan to follow up with a redesign of the splitting which
focuses on simply pulling out the larger or esoteric modules and
having a more featureful core.

(From OE-Core rev: 0f8d985b290def1fbb356aede152a10424c9d2f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Richard Purdie
1665084fc4 pseudo: Fix to work with glibc 2.40
glibc 2.40 renames some internal header variables. Update our hack to
work with the new version. These kinds of problems illustrate we need to
address the issue properly.

(From OE-Core rev: 35021d650de3eecc3f42000181b39a5db5a8eaa0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 09:34:26 +01:00
Ross Burton
09efffa6a9 Revert "python3: drop deterministic_imports.patch"
There are still issues with importlib.metadata and empty directories,
which surface when doing builds with existing build trees.

I've raised this on the upstream ticket that Alex Kanavin has already
filed[1] so hopefully we can have a resolution soon.

This reverts commit 058c3a6e2b.

[1] https://github.com/python/importlib_metadata/issues/489

(From OE-Core rev: 020c9438fa4d90824dcf7068ccf3722b3b7b8ccf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 12:45:22 +01:00
Deepthi Hemraj
1824704054 binutils: stable 2.42 branch updates
Below commits on binutils-2.42 stable branch are updated.
29ae8b8ea71 x86-64: Skip -z mark-plt tests on MUSL
92cc764e58f hppa: Fix handling of relocations that apply to data
c439c1e1f56 elf: Add glibc version dependency only if needed
68ae8e2a849 ld: pass -g for ld-elf tests
a1e3cb45c67 aarch64: Enable +cssc for armv8.9-a

(From OE-Core rev: f857a88f7b3c3e50d0c3135bc461beae8ebf5e5c)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:17:11 +01:00
Guðni Már Gilbert
4e4715175e python3-attrs: drop python3-ctypes from RDEPENDS
python3-ctypes was dropped as a dependency in v19.2.0

(From OE-Core rev: 8d06116caf2382ad4782b9b2da50534d076a736d)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Ross Burton
bea8a284b1 ruby: upgrade 3.3.0 -> 3.3.4
3.3.4:

This release fixes a regression in Ruby 3.3.3 that dependencies are missing in
the gemspec of some bundled gems: net-pop, net-ftp, net-imap, and prime [Bug
like Heroku. If your bundle install runs correctly now, you may not have this
issue.

3.3.3:

This release includes:

RubyGems 3.5.11
Bundler 2.5.11
REXML 3.2.8
strscan 3.0.9
--dump=prism_parsetree is replaced by --parser=prism --dump=parsetree
Invalid encoding symbols raise SyntaxError instead of EncodingError
Memory leak fix in Ripper parsing
Bugfixes for YJIT, **{}, Ripper.tokenize, RubyVM::InstructionSequence#to_binary,
--with-gmp, and some build environments

3.3.2:

This release includes many bug-fixes. See the GitHub releases for further details.

3.3.1:

This release includes security fixes. Please check the topics below for details.

CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search
CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc
CVE-2024-27280: Buffer overread vulnerability in StringIO

(From OE-Core rev: 498ee932187b9c09d14892783eb92ae03fbfd533)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Richard Purdie
46e30464b4 qemu: Drop mips workaround
In local testing this appears to not be needed any more. Since the bash dependency
is painful in many different ways, particularly being injected at do_package time,
drop it all.

(From OE-Core rev: b30c1e5805b3f108a2d0a30259b50b9e7db0f6cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Trevor Gamblin
18225f0bae python3-setuptools: upgrade 69.5.1 -> 70.3.0
Refactor 0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
to apply on the latest codebase.

Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst

(From OE-Core rev: 8af6ba2a0a10f8d8995aab322d9f4cfbf1880228)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Denys Dmytriyenko
89e184da6c nativesdk-libtool: sanitize the script, remove buildpaths
Use the same sed command to sanitize libtool script for target recipe
and nativesdk one. Otherwise fails with buildpaths QA error:

ERROR: nativesdk-libtool-2.5.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/libtool in package nativesdk-libtool contains reference to TMPDIR [buildpaths]

(From OE-Core rev: f08df9adf290fb6cbebff24df6bbbbe8e5ce95e0)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Denys Dmytriyenko
d42166b0de llvm: extend llvm-config reproducibility fix to nativesdk class
It's not limited to "target", but also happens to nativesdk:

ERROR: nativesdk-llvm-18.1.8-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-config in package nativesdk-llvm contains reference to TMPDIR [buildpaths]

(From OE-Core rev: 714a99a9ba1aff458c1743ad8be9b38ee106b58f)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Khem Raj
c11d1b5b8f gcc-14: Mark CVE-2023-4039 as fixed in GCC14+
(From OE-Core rev: 47b838eea7e3684d6b00bb7196313f0bfa519aba)

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>
2024-07-18 17:21:39 +01:00
Peter Marko
49497a9e46 libstd-rs,rust-cross-canadian: set CVE_PRODUCT to rust
These recipes come from rust sources and CVEs are reported for them
under rust-lang:rust vendor:product touple.
Especially libstd-rs needs correct CVE_PRODUCT as is it installed on
target devices (being statically linked to rust compiled binaries).

before:
cargo: CVE_PRODUCT="cargo"
cargo-c-native: CVE_PRODUCT="cargo-c"
libstd-rs: CVE_PRODUCT="libstd-rs"
rust: CVE_PRODUCT="rust"
rust-cross-canadian: CVE_PRODUCT="rust-cross-canadian-<arch>"
rust-llvm: CVE_PRODUCT="rust-llvm"

after:
cargo: CVE_PRODUCT="cargo"
cargo-c-native: CVE_PRODUCT="cargo-c"
libstd-rs: CVE_PRODUCT="rust"
rust: CVE_PRODUCT="rust"
rust-cross-canadian-x86-64: CVE_PRODUCT="rust"
rust-llvm: CVE_PRODUCT="rust-llvm"

Product for rust-llvm is uncertain and, should be handled in another
commit if it is desired to align it, too.

sqlite> select vendor, product, count(product) from products where vendor="rust-lang" group by product;
rust-lang|async-h1|2
rust-lang|cargo|5
rust-lang|future-utils|2
rust-lang|futures-task|2
rust-lang|mdbook|1
rust-lang|regex|2
rust-lang|rsa|2
rust-lang|rust|45
rust-lang|socket2|1

(From OE-Core rev: e8cf1df16a6ec2785cacaf608bec5cd8496103af)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Trevor Gamblin
15110d50d4 python3-hypothesis: upgrade 6.103.2 -> 6.105.1
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.105.1 - 2024-07-07
- This patch iterates on our experimental support for alternative backends (Alternative backends for Hypothesis). See pull request #4029 for details.

6.105.0 - 2024-07-04
- This release improves support for Django 5.0, and drops support for end-of-life Django versions (< 4.2).
- Thanks to Joshua Munn for this contribution.

6.104.4 - 2024-07-04
- Clean up internal cache implementation.

6.104.3 - 2024-07-04
- This patch updates our autoformatting tools, improving our code style without any API changes.

6.104.2 - 2024-06-29
- This patch fixes an issue when realizing symbolics with our experimental backend setting.

6.104.1 - 2024-06-25
- Improves internal test coverage.

6.104.0 - 2024-06-24
- This release adds strategies for Django’s ModelChoiceField and ModelMultipleChoiceField (issue #4010).
- Thanks to Joshua Munn for this contribution.

6.103.5 - 2024-06-24
- Fixes and reinstates full coverage of internal tests, which was accidentally disabled in pull request #3935.
- Closes issue #4003.

6.103.4 - 2024-06-24
- This release prevents a race condition inside internal cache implementation.

6.103.3 - 2024-06-24
- This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy.

(From OE-Core rev: 9b0e9fbf23e5ac53f8eda76ca2f9af904f6fa1cd)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Wang Mingyu
b138d9dde3 repo: upgrade 2.45 -> 2.46
Changelog:
==========
- project: ignore more curl failure modes
- logging: Fix log formatting with colored output
- upload: add a --topic option for setting topic explicitly
- sync: Abort rebase in progress if force-checkout is set
- ssh: Set git protocol version 2 on SSH ControlMaster
- upload: drop check for uncommitted local changes
- git: raise hard version to 1.9.1
- release: update-hooks: helper for automatically syncing hooks
- gitc: delete a few more dead references
- man: regenerate man pages
- Remove platform_utils.realpath
- Fix drive mounted directory on Windows
- git_command: unify soft/hard versions with requirements.json

(From OE-Core rev: 62457b7e3039780fbf6c7822baad96a37c1d224a)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
eb9e4d53b5 python3-trove-classifiers: upgrade 2024.5.22 -> 2024.7.2
Changelog:
 Add CUDA 12.3-12.5 classifiers

(From OE-Core rev: aa628d35d0d4cd6520df422d6623dfe79f7180cf)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
6450cfa9a9 python3-pycairo: upgrade 1.26.0 -> 1.26.1
Changelog:
==========
- Fix Surface.set_mime_data() with Python 3.13
- Fix the test suite with Python 3.13b2.
- Update vendored Windows wheel dependencies

(From OE-Core rev: 26daeaa17a77ff6931126c340fce867f8340cca9)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
18870e2cb3 python3-maturin: upgrade 1.6.0 -> 1.7.0
Changelog:
============
- Initial iOS support
- Remove old import hook in #2105, use maturin-import-hook instead
- Bump MSRV to 1.74.0
- Add support for overriding wheel tag with _PYTHON_HOST_PLATFORM
- Don't add files to an archive more than once
- Only use base python executable when MATURIN_PEP517_USE_BASE_PYTHON is set

(From OE-Core rev: d0c4ce388721a47608abc4d908e266ea969a0161)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
2ffb86f409 python3-importlib-metadata: upgrade 7.1.0 -> 8.0.0
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 6976b87b6eeb8ac406731782170f923c8835b446)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
93412df5b7 python3-hatchling: upgrade 1.24.2 -> 1.25.0
Changelog:
==========
- The macos-max-compat option for the wheel target is now disabled by default
  and will be removed in a future release
- Artifacts for the wheel and sdist targets now have their permission bits
  normalized
- Ignore manylinux/musllinux tags for the wheel target artifact name when
  enabling the infer_tag build data
- The wheel target build data infer_tag when enabled now respects the
  MACOSX_DEPLOYMENT_TARGET environment variable

(From OE-Core rev: 280afa3e5e3157429f8f33f89045cc934bb5e655)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
e5a21719a7 python3-certifi: upgrade 2024.6.2 -> 2024.7.4
Changelog:
==========
- Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
- Bump actions/checkout from 4.1.6 to 4.1.7
- Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0

(From OE-Core rev: c572b0afd889ea22b5d229a2d7efca9cef9b0926)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
119bf8d1e7 opkg-utils: upgrade 0.6.3 -> 0.7.0
0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch
removed since it's included in 0.7.0

(From OE-Core rev: 66b8bb37242c0c1038b9d92a4120ba50ed3ea6af)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
507cc5f96a opkg: upgrade 0.6.3 -> 0.7.0
0001-libopkg-Use-libgen.h-to-provide-basename-API.patch
removed since it's included in 0.7.0

0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch
refreshed for 0.7.0

(From OE-Core rev: ce1ec6ea48df3592a8251bf0c25525a400bb8d23)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
92560651bb libdnf: upgrade 0.73.1 -> 0.73.2
Changelog:
==========
- context: use rpmtsAddReinstallElement() when doing a reinstall
- MergedTransaction: Fix invalid memory access when dropping items
- ConfigParser: fix use-out-of-scope leaks
- Since we use rpmtsAddReinstallElement rpm also uninstalls the package
- Fix countme bucket calculation

(From OE-Core rev: 9cf8330068503a5721640763309c4c74f293a94d)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
792be07a02 dnf: upgrade 4.20.0 -> 4.21.0
0005-Do-not-prepend-installroot-to-logdir.patch
refreshed for 4.21.0

Changelog:
===========
- Add detection for ostree-based systems and warn users about losing changes
- Fix: No traceback when Python interpreter is running with -P, allow -P in shebang lines
- man: Improve upgrade-minimal command docs (RHEL-6417)
- Limit queries to nevra forms when provided by command
- Update the man page entry for the countme option
- Drop collect file for ABRT

(From OE-Core rev: f289b8ef7a59016f630347b184b5507762d4586f)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
84bacef9a8 createrepo-c: upgrade 1.1.2 -> 1.1.3
Changelog:
 spec: Package Python examples

(From OE-Core rev: 67c01a42ecc7f42fa9c6d2e074a92897ade5daa1)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
3238119af4 ccache: upgrade 4.10 -> 4.10.1
License-Update: Bundle Fmt again

Changelog:
===========
- Fixed prefix command lookup from PATH.
- Fixed detection and usage of system blake3.
- Find CppHttplib named libhttplib.so as well.
- Removed Xcode assembly workaround for zstd.
- Added bundled subset of Fmt again for convenience.
- Removed no longer needed workaround when building downloaded Zstd.
- Documentation improvements
- Clarified that --set-config writes to the configuration file.

(From OE-Core rev: 7f93f95b524f0651c783cfd9487c8962390b372b)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
a2963262b1 btrfs-tools: upgrade 6.8.1 -> 6.9.2
0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
removed since it's included in 6.9.2

Changelog:
==========
* subvol list: fix accidental trimming of subvolume name
* check: revert checking file extent item 'ram_bytes'
* libbtrfsutil:
   * patchlevel version update 1.3.2
   * fix accidentally closing fd passed to subvolume iterator

(From OE-Core rev: c99dc3e11998597b81919f0d634d1548695e1baf)

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>
2024-07-16 11:25:29 +01:00
Khem Raj
66158e79e5 gdb: Upgrade to 15.1 release
Improved python support and needs c++17 std in compiler to build

Detailed Release Notee [1]

[1] https://sourceware.org/pipermail/gdb-announce/2024/000140.html

(From OE-Core rev: 0041bc06f8b34c2344b018a292451dcd00c6586b)

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>
2024-07-16 11:25:29 +01:00
Richard Purdie
ebb0f1e390 meson: Fix native meson config
When the optimization flags were reduced to a single option, a different
and clearly untested codepath was used where the output was unquoted. This
caused errors when testing meson in the SDK.

Use repr() in the single item case as per the multiple item case to correctly
quote the output and fix build failures.

(From OE-Core rev: 7c2b573e6cbe518f54ea5c3539fc91ed63b80ebf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Richard Purdie
1cf0974ad2 bitbake.conf: Further cleanup compiler optimization flags
Move the -pipe option out of the optimization flags and directly into
the flags variables since we always use it now.

Also move the debug prefix mapping there to match the nativesdk case
which already does this.

Fix the documentation and two recipe usages to match the change.

(From OE-Core rev: 9badf68d78d995f7d5d4cf27e045f029fc6d4044)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Trevor Gamblin
ca1ce0ee8b python3-pytest-subtests: upgrade 0.12.1 -> 0.13.0
Changelog (https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst):

- Dropped support for EOL Python 3.7.
- Added support for -x/--exitfirst (#134).
- Hide the traceback inside the SubTests.test() method (#131).

The tarball changed to use an underscore instead of a dash, so use
PYPI_PACKAGE to account for it.

(From OE-Core rev: a02e208d6c4935fe1c0707ec1b79934ef2a3cd30)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Richard Purdie
a1840d0986 python3: Drop generating a static libpython
This currently puts a 60MB binary into the recipe sysroots in the native
case as well as the implications for the target. Since as far as I know,
we don't need/use this, stop generating it by adding a PACKAGECONFIG. It
can be enabled by anyone who does actually need to use it.

(From OE-Core rev: e42abd3b82c7bac93541b2cf87b553c1a31346cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Niko Mauno
0b6ca9beef dnf/mesa: Fix missing leading whitespace with ':append'
Mitigate occurrences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.

(From OE-Core rev: 314041fd126a4800a5a5d9fcd84c525319479256)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-09 14:00:41 +01:00
Jose Quaresma
3bbb1ad1ca go: upgrade 1.22.4 -> 1.22.5
- refresh patches with devtool

Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.4..go1.22.5
8e1fdea831 (tag: go1.22.5, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.5
c2d4f852ce [release-branch.go1.22] cmd/link: handle dynamic import variables on Darwin in plugin mode
3222951439 [release-branch.go1.22] net/http: send body or close connection on expect-100-continue requests
ceaf26ecce [release-branch.go1.22] cmd/compile: mark pointer to noalg type as noalg
dfe4dbf8c0 [release-branch.go1.22] os/exec: on Windows look for extensions in Run if not already done
3560cf0afb [release-branch.go1.22] runtime: always update stack bounds on cgocallback
5159a7193a [release-branch.go1.22] cmd/compile: put constants before variables in initialization order
11b861e459 [release-branch.go1.22] go/types, types2: report error for floating-point iteration variable
81fc616267 [release-branch.go1.22] crypto/tls: don't call tlsrsakex.IncNonDefault with FIPS
14f0251867 [release-branch.go1.22] cmd/cgo/internal/swig: force use of lld for LTO tests on the builders
ab60a7bc18 [release-branch.go1.22] cmd/cgo/internal/testsanitizers: make the libfuzzer tests all short
4c97e883b5 [release-branch.go1.22] cmd/link: put runtime.end in the last section of data segment
179ccb7042 [release-branch.go1.22] cmd/go: fix go list -u -m all with too new retractions dependency
fe9b3c3399 [release-branch.go1.22] net: add GODEBUG=netedns0=0 to disable sending EDNS0 header
b515c5208b [release-branch.go1.22] go/internal/gccgoimporter: recognize "any" as a builtin type

[1] https://github.com/golang/go/compare/go1.22.4...go1.22.5

(From OE-Core rev: 0a1d4a42282bd9f0bdc8dd53c7865aa81d4a5821)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-08 09:17:09 +01:00
Richard Purdie
3505bc4881 qemu: Upgrade 9.0.0 -> 9.0.1
(From OE-Core rev: c2be994cbb746ce1b182c68ea7aadff049b6a0d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Konrad Weihmann
746bf5431b python3-docutils: fix interpreter lines
when compiling a non native variant, latest update
introduced package-qa errors like

ERROR: QA Issue: .../docutils/utils/smartquotes.py contained in package
nativesdk-python3-docutils requires /usr/bin/python3, but no providers
found in RDEPENDS:nativesdk-python3-docutils? [file-rdeps]

Fix that by patching the interpreter lines after install

(From OE-Core rev: f0037d2b2a4b72f279f3fe60c82d4b4044cbc6d5)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-03 14:57:50 +01:00
Deepthi Hemraj
f024bb10b3 llvm: Fix CVE-2024-0151
(From OE-Core rev: fe1b86ff78090a0214130112abc2d6ea4736bf80)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Richard Purdie
3c1c56ec07 native/nativesdk: Stop overriding unprefixed *FLAGS variables
We're currently encouraging an "arms race" with the FLAGS variables since
a recipe might want to set a specific flag for all variants but to do so,
+= won't work due to the assignment in the native/nativesdk class files. This
means recipes are using append.

Since the default variables are constructed out of TARGET_XXX variables and
we redefine these, there is no need to re-define the un-prefixed variables. If
we drop that, the += appends and similar work and recipes don't have to resort
to append.

Change the classes and cleanup a number of recipes to adapt to the change. This
change will result in some flags appearing to some native/nativesdk variants
but that is probably what was originally expected anyway.

(From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:58:08 +01:00
Alexander Kanavin
058c3a6e2b python3: drop deterministic_imports.patch
https://github.com/python/importlib_metadata/issues/489

Upstream discussion revealed that:

- the issue was happening due to a bug in setuptools

- the bug was fixed in setuptools 63 (I confirmed this: empty dist-info
directories no longer seem to trigger any issues if the patch is dropped)

- the patch would obscure any further issues of this kind instead of exposing them
for easy fixing, so they suggest we drop it and report if anything else pops up

(From OE-Core rev: 1a4f25abf29b47949782641c68cc7d3e4136988a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:03 +01:00
Guðni Már Gilbert
e2bdb0d529 python3-setuptools: drop python3-2to3 from RDEPENDS
2to3 module was dropped as a dependency in setuptools 58.0

(From OE-Core rev: be952c7b370b064673331e40b4dc0836c9c0b153)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:02 +01:00
Khem Raj
315b4ed66d llvm: Update to 18.1.8
Brings following fixes

* 3b5b5c1ec4a3 [libcxx] Align `__recommend() + 1`  by __endian_factor (#90292)
* 72c9425a79fd [libc++][NFC] Rewrite function call on two lines for clarity (#79141)
* 443e23eed24d Bump version to 18.1.8 (#95458)
* 768118d1ad38 [clang-format] Fix a bug in formatting goto labels in macros (#92494)
* 8c0fe0d65ed8 release/18.x: [clang-format] Don't always break before << between str… (#94091)
* 7e6ece9b4f2d [PPCMergeStringPool] Only replace constant once (#92996)
* 1ce2d26cd2e9 Bump version to 18.1.7 (#93723)

(From OE-Core rev: 85a0ebac400fcba497d86c95e5d4d33bd3e0084f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:35 +01:00
Joshua Watt
d077134b0a binutils-cross-testsuite: Rename to binutils-testsuite
This recipe needs to be renamed because the "-cross-" substring in the
name triggers the cross architecture detection in sstate, but this
recipe is not actually a cross recipe.

(From OE-Core rev: 812c114a8a872ad59b19c7ffb8c1f230fc64c823)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:34 +01:00
Wang Mingyu
f8899b935f btrfs-tools: handle rename of inode_includes() from e2fsprogs 1.47.1
To fix the do_compile error,  use the new prefixed macro and add backward compatibility
that would still use inode_includes().

(From OE-Core rev: f53a68271feb8d14148f8bbc3fa18629d0638d07)

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>
2024-06-26 14:33:42 +01:00
Jan Vermaete
75031624f7 python3-websockets: added python3-zipp as RDEPENDS
Because the Python package 'zipfile' was missing.

root@qemux86-64:~# python3 clTraceback (most recent call last):
  File "/home/root/server.py", line 4, in <module>
    from websockets.server import serve
  File "/usr/lib/python3.12/site-packages/websockets/__init__.py", line 6, in <module>
    from .version import version as __version__  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/websockets/version.py", line 3, in <module>
    import importlib.metadata
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 8, in <module>
    import zipfile
ModuleNotFoundError: No module named 'zipfile'

(From OE-Core rev: 2b70884c4c9406084c690b6090810494e91dca37)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-26 14:33:42 +01:00
Martin Jansa
2346c7ca09 libgfortran.inc: fix nativesdk-libgfortran dependencies
* use virtual/* variables as INHIBIT_DEFAULT_DEPS does to avoid dependency on gcc-cross-
  from nativesdk-libgfortran

* the dependency was added in:
  https://git.openembedded.org/openembedded-core/commit/?id=00fba52c8a6f6383137cf89fc7aa34cc3e2ff45f
  causing:

  build/oe-core $ bitbake -g nativesdk-libgfortran
  NOTE: Resolving any missing task queue dependencies
  ERROR: Nothing PROVIDES 'gcc-cross-x86_64' (but virtual:nativesdk:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/gcc/libgfortran_14.1.bb DEPENDS on or otherwise requires it). Close matches:
  gcc-cross-aarch64
  ...

  with:
  MACHINE=qemuarm64
  FORTRAN:forcevariable = ",fortran"

* after:
  https://git.openembedded.org/openembedded-core/commit/?id=44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3
  nativesdk-libgfortran is pulled as dependency of nativesdk-gcc so this affects
  more people who didn't explicitly use nativesdk-libgfortran before

* the INHIBIT_DEFAULT_DEPS and gcc-runtime was there since gcc-4.8:
  https://git.openembedded.org/openembedded-core/commit/?id=a5e7ee5770b9e0cf719c573efffd874440f74289

(From OE-Core rev: 5ce2e9c66cd2c08e141913ec65386f940353a8c5)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Wang Mingyu
7ec04e5fb1 createrepo-c: upgrade 1.1.1 -> 1.1.2
(From OE-Core rev: 2ab2ea47359553de184e6c8d78974a96b1f10607)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
1e72a99986 git: upgrade 2.45.1 -> 2.45.2
Changeglog:
============
- send-email: drop FakeTerm hack
- send-email: avoid creating more than one Term::ReadLine object
- ci: drop mention of BREW_INSTALL_PACKAGES variable
- ci: avoid bare "gcc" for osx-gcc job
- ci: stop installing "gcc-13" for osx-gcc
- hook: plug a new memory leak
- init: use the correct path of the templates directory again
- Revert "core.hooksPath: add some protection while cloning"
- tests: verify that `clone -c core.hooksPath=/dev/null` works again
- clone: drop the protections where hooks aren't run
- Revert "Add a helper function to compare file contents"
- Revert "fsck: warn about symlink pointing inside a gitdir"

(From OE-Core rev: 21c3494824a66f5c39b5c12add1aef3915b74e91)

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>
2024-06-25 11:50:58 +01:00