diff options
7 files changed, 98 insertions, 9 deletions
diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb index 38fa8b439e..219735acd1 100644 --- a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb +++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb | |||
@@ -34,11 +34,11 @@ do_install_ptest() { | |||
34 | rm -rf "${D}${PTEST_PATH}/*" | 34 | rm -rf "${D}${PTEST_PATH}/*" |
35 | cp -r ../build "${D}${PTEST_PATH}" | 35 | cp -r ../build "${D}${PTEST_PATH}" |
36 | cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build" | 36 | cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build" |
37 | cp -r "${S}" "${D}${PTEST_PATH}" | 37 | cp -r "${UNPACKDIR}" "${D}${PTEST_PATH}/" |
38 | rm -rf ${D}${PTEST_PATH}/build/config.log \ | 38 | rm -rf ${D}${PTEST_PATH}/build/config.log \ |
39 | ${D}${PTEST_PATH}/build/autom4te.cache \ | 39 | ${D}${PTEST_PATH}/build/autom4te.cache \ |
40 | ${D}${PTEST_PATH}/*/.git ${D}${PTEST_PATH}/*/.github \ | 40 | ${D}${PTEST_PATH}/*/*/.git ${D}${PTEST_PATH}/*/*/.github \ |
41 | ${D}${PTEST_PATH}/*/autom4te.cache | 41 | ${D}${PTEST_PATH}/*/*/autom4te.cache |
42 | sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status | 42 | sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status |
43 | } | 43 | } |
44 | 44 | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb index 10d5806e77..33526630d1 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb +++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb | |||
@@ -27,7 +27,4 @@ do_install() { | |||
27 | } | 27 | } |
28 | 28 | ||
29 | SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}" | 29 | SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}" |
30 | # GCC-15 segfaults see - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 | ||
31 | # TUNE_CCARGS:remove:aarch64 = "cortex-a57+crc+nocrypto" | ||
32 | TUNE_CCARGS:append:aarch64 = " -march=armv8-a" | ||
33 | LTO = "" | 30 | LTO = "" |
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch new file mode 100644 index 0000000000..fd94526686 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch | |||
@@ -0,0 +1,81 @@ | |||
1 | From 4253e25b7f31d207c69b9997f403b6e4e560e258 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tamir Duberstein <tamird@gmail.com> | ||
3 | Date: Thu, 20 Mar 2025 11:45:08 -0400 | ||
4 | Subject: [PATCH] musl: enable `getrandom` on all musl platforms | ||
5 | |||
6 | The existing bindings were added in #1399 and limited to targets where | ||
7 | rustc used musl version >= 1.1.20 which was not all musl targets at that | ||
8 | time. Since https://github.com/rust-lang/rust/pull/107129 all musl | ||
9 | targets use musl 1.2.3. Hence, move the binding to the module root so it | ||
10 | is available for all musl targets. | ||
11 | |||
12 | Upstream-Status: Backport [https://github.com/rust-lang/libc/pull/4346] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | src/unix/linux_like/linux/musl/b32/arm/mod.rs | 4 ---- | ||
16 | src/unix/linux_like/linux/musl/b32/powerpc.rs | 4 ---- | ||
17 | src/unix/linux_like/linux/musl/b32/x86/mod.rs | 4 ---- | ||
18 | src/unix/linux_like/linux/musl/b64/mod.rs | 4 ---- | ||
19 | src/unix/linux_like/linux/musl/mod.rs | 2 ++ | ||
20 | 5 files changed, 2 insertions(+), 16 deletions(-) | ||
21 | |||
22 | --- a/src/unix/linux_like/linux/musl/b32/arm/mod.rs | ||
23 | +++ b/src/unix/linux_like/linux/musl/b32/arm/mod.rs | ||
24 | @@ -841,10 +841,6 @@ pub const SYS_process_mrelease: ::c_long | ||
25 | pub const SYS_futex_waitv: ::c_long = 449; | ||
26 | pub const SYS_set_mempolicy_home_node: ::c_long = 450; | ||
27 | |||
28 | -extern "C" { | ||
29 | - pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; | ||
30 | -} | ||
31 | - | ||
32 | cfg_if! { | ||
33 | if #[cfg(libc_align)] { | ||
34 | mod align; | ||
35 | --- a/src/unix/linux_like/linux/musl/b32/powerpc.rs | ||
36 | +++ b/src/unix/linux_like/linux/musl/b32/powerpc.rs | ||
37 | @@ -796,7 +796,3 @@ pub const SYS_memfd_secret: ::c_long = 4 | ||
38 | pub const SYS_process_mrelease: ::c_long = 448; | ||
39 | pub const SYS_futex_waitv: ::c_long = 449; | ||
40 | pub const SYS_set_mempolicy_home_node: ::c_long = 450; | ||
41 | - | ||
42 | -extern "C" { | ||
43 | - pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; | ||
44 | -} | ||
45 | --- a/src/unix/linux_like/linux/musl/b32/x86/mod.rs | ||
46 | +++ b/src/unix/linux_like/linux/musl/b32/x86/mod.rs | ||
47 | @@ -956,10 +956,6 @@ pub const EFL: ::c_int = 14; | ||
48 | pub const UESP: ::c_int = 15; | ||
49 | pub const SS: ::c_int = 16; | ||
50 | |||
51 | -extern "C" { | ||
52 | - pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; | ||
53 | -} | ||
54 | - | ||
55 | cfg_if! { | ||
56 | if #[cfg(libc_align)] { | ||
57 | mod align; | ||
58 | --- a/src/unix/linux_like/linux/musl/b64/mod.rs | ||
59 | +++ b/src/unix/linux_like/linux/musl/b64/mod.rs | ||
60 | @@ -134,10 +134,6 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usi | ||
61 | pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 40; | ||
62 | pub const __SIZEOF_PTHREAD_BARRIER_T: usize = 32; | ||
63 | |||
64 | -extern "C" { | ||
65 | - pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; | ||
66 | -} | ||
67 | - | ||
68 | cfg_if! { | ||
69 | if #[cfg(target_arch = "aarch64")] { | ||
70 | mod aarch64; | ||
71 | --- a/src/unix/linux_like/linux/musl/mod.rs | ||
72 | +++ b/src/unix/linux_like/linux/musl/mod.rs | ||
73 | @@ -885,6 +885,8 @@ extern "C" { | ||
74 | |||
75 | pub fn dirname(path: *mut ::c_char) -> *mut ::c_char; | ||
76 | pub fn basename(path: *mut ::c_char) -> *mut ::c_char; | ||
77 | + // Addded in `musl` 1.1.20 | ||
78 | + pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; | ||
79 | } | ||
80 | |||
81 | // Alias <foo> to <foo>64 to mimic glibc's LFS64 support | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.35.2.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.35.2.bb index 1d0d1f477b..788cbd2ceb 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.35.2.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.35.2.bb | |||
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" | |||
11 | require ${BPN}-crates.inc | 11 | require ${BPN}-crates.inc |
12 | 12 | ||
13 | SRC_URI += "file://0001-Upgrade-radium-to-1.0.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/bitvec-1.0.1/" | 13 | SRC_URI += "file://0001-Upgrade-radium-to-1.0.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/bitvec-1.0.1/" |
14 | SRC_URI += "file://0001-musl-enable-getrandom-on-all-musl-platforms.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.155/" | ||
14 | SRC_URI += "file://0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch" | 15 | SRC_URI += "file://0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch" |
15 | SRC_URI[sha256sum] = "e010b13ff0d6375ee83f7478fbda42e1fbf55f1b2feef76b673c40861ffd31e6" | 16 | SRC_URI[sha256sum] = "e010b13ff0d6375ee83f7478fbda42e1fbf55f1b2feef76b673c40861ffd31e6" |
16 | 17 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch b/meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch index 87b8c5dc20..794ebdbbc7 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch +++ b/meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch | |||
@@ -12,8 +12,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
12 | pyproject.toml | 2 +- | 12 | pyproject.toml | 2 +- |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/pyproject.toml b/pyproject.toml | ||
16 | index f44eca72f..ecc004ff0 100644 | ||
17 | --- a/pyproject.toml | 15 | --- a/pyproject.toml |
18 | +++ b/pyproject.toml | 16 | +++ b/pyproject.toml |
19 | @@ -48,7 +48,7 @@ dependencies = [ | 17 | @@ -48,7 +48,7 @@ dependencies = [ |
@@ -25,3 +23,14 @@ index f44eca72f..ecc004ff0 100644 | |||
25 | 'typing-inspection>=0.4.0', | 23 | 'typing-inspection>=0.4.0', |
26 | ] | 24 | ] |
27 | dynamic = ['version', 'readme'] | 25 | dynamic = ['version', 'readme'] |
26 | --- a/pydantic/version.py | ||
27 | +++ b/pydantic/version.py | ||
28 | @@ -66,7 +66,7 @@ def version_info() -> str: | ||
29 | def check_pydantic_core_version() -> bool: | ||
30 | """Check that the installed `pydantic-core` dependency is compatible.""" | ||
31 | # Keep this in sync with the version constraint in the `pyproject.toml` dependencies: | ||
32 | - return __pydantic_core_version__ == '2.35.1' | ||
33 | + return __pydantic_core_version__ == '2.35.2' | ||
34 | |||
35 | |||
36 | def parse_mypy_version(version: str) -> tuple[int, int, int]: | ||
diff --git a/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb b/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb index 1aa713ccc3..10b7b856bc 100644 --- a/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb +++ b/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "Twitter for Python" | |||
2 | DESCRIPTION = "Python module to support twitter API" | 2 | DESCRIPTION = "Python module to support twitter API" |
3 | 3 | ||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=9;endline=9;md5=77d9066068d13ffd309659977e9909c9" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48c84b17f84a9a623754604ab73f28fe" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "1d95cbdc50bf6353a387f881f2584eaf60d14e00dbbdd8872a73de79c66878e3" | 7 | SRC_URI[sha256sum] = "1d95cbdc50bf6353a387f881f2584eaf60d14e00dbbdd8872a73de79c66878e3" |
8 | 8 | ||
diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb index 83dc52ca19..812288881d 100644 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb +++ b/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb | |||
@@ -18,6 +18,7 @@ RDEPENDS:${PN}-ptest += " \ | |||
18 | python3-typing-extensions \ | 18 | python3-typing-extensions \ |
19 | python3-unixadmin \ | 19 | python3-unixadmin \ |
20 | python3-mypy \ | 20 | python3-mypy \ |
21 | python3-pathspec \ | ||
21 | " | 22 | " |
22 | 23 | ||
23 | DEPENDS += "\ | 24 | DEPENDS += "\ |