Skip to content
7 changes: 6 additions & 1 deletion SPECS-EXTENDED/389-ds-base/389-ds-base.spec
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ExcludeArch: i686
Summary: 389 Directory Server (%{variant})
Name: 389-ds-base
Version: 3.1.1
Release: 7%{?dist}
Release: 8%{?dist}
License: GPL-3.0-or-later AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT) AND (CC-BY-4.0 AND MIT) AND (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (MIT OR CC0-1.0) AND (MIT OR Unlicense) AND 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT AND ISC AND MPL-2.0 AND PSF-2.0
URL: https://www.port389.org
Vendor: Microsoft Corporation
Expand All @@ -83,6 +83,7 @@ Source4: 389-ds-base.sysusers
Source5: https://fedorapeople.org/groups/389ds/libdb-5.3.28-59.tar.bz2
%endif

Patch0: rust-1.90-fixes.patch
Provides: ldif2ldbm >= 0

# Attach the buildrequires to the top level package:
Expand Down Expand Up @@ -732,6 +733,10 @@ exit 0
%endif

%changelog
* Wed Oct 15 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 3.1.1-8
- Bump release to rebuild with rust
- Add patch add explicit lifetime for ValueArrayRef iterator

* Fri Aug 08 2025 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 3.1.1-7
- Bump release to rebuild with rust

Expand Down
25 changes: 25 additions & 0 deletions SPECS-EXTENDED/389-ds-base/rust-1.90-fixes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 3a0d6ff3272c4a3d5f2d552a436e4f0fe0756a0a Mon Sep 17 00:00:00 2001
From: Kavya Sree Kaitepalli <kkaitepalli@microsoft.com>
Date: Wed, 29 Oct 2025 06:38:08 +0000
Subject: [PATCH] Add explicit lifetime for ValueArrayRef iterator for Rust 1.90

---
src/slapi_r_plugin/src/value.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slapi_r_plugin/src/value.rs b/src/slapi_r_plugin/src/value.rs
index 2fd35c8..fec74ac 100644
--- a/src/slapi_r_plugin/src/value.rs
+++ b/src/slapi_r_plugin/src/value.rs
@@ -61,7 +61,7 @@ impl ValueArrayRef {
ValueArrayRef { raw_slapi_val }
}

- pub fn iter(&self) -> ValueArrayRefIter {
+ pub fn iter(&self) -> ValueArrayRefIter<'_> {
ValueArrayRefIter {
idx: 0,
va_ref: &self,
--
2.45.4

5 changes: 4 additions & 1 deletion SPECS-EXTENDED/ripgrep/ripgrep.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Name: ripgrep
Version: 13.0.0
Release: 10%{?dist}
Release: 11%{?dist}
Summary: A search tool that combines ag with grep
License: MIT AND Unlicense
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -104,6 +104,9 @@ install -Dm 644 complete/_rg %{buildroot}%{_datadir}/zsh/site-functions/_rg
%{_datadir}/zsh

%changelog
* Wed Oct 15 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 13.0.0-11
- Bump release to rebuild with rust

* Fri Aug 08 2025 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 13.0.0-10
- Bump release to rebuild with rust

Expand Down
5 changes: 4 additions & 1 deletion SPECS-EXTENDED/rust-cbindgen/rust-cbindgen.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Summary: Tool for generating C bindings to Rust code
Name: rust-cbindgen
Version: 0.24.3
Release: 6%{?dist}
Release: 7%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -96,6 +96,9 @@ RUSTFLAGS=%{rustflags} cargo test --release
%endif

%changelog
* Wed Oct 15 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 0.24.3-7
- Bump release to rebuild with rust

* Fri Aug 08 2025 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 0.24.3-6
- Bump release to rebuild with rust

Expand Down
5 changes: 4 additions & 1 deletion SPECS-EXTENDED/tardev-snapshotter/tardev-snapshotter.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Summary: Tardev Snapshotter for containerd
Name: tardev-snapshotter
Version: 3.2.0.tardev1
Release: 4%{?dist}
Release: 5%{?dist}
License: ASL 2.0
Group: Tools/Container
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -67,6 +67,9 @@ fi
%config(noreplace) %{_unitdir}/%{name}.service

%changelog
* Wed Oct 15 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 3.2.0.tardev1-5
- Bump release to rebuild with rust

* Fri Aug 08 2025 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 3.2.0.tardev1-4
- Bump release to rebuild with rust

Expand Down
5 changes: 4 additions & 1 deletion SPECS/cloud-hypervisor/cloud-hypervisor.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name: cloud-hypervisor
Summary: Cloud Hypervisor is an open source Virtual Machine Monitor (VMM) that runs on top of the KVM hypervisor and the Microsoft Hypervisor (MSHV).
Version: 41.0.139
Release: 1%{?dist}
Release: 3%{?dist}
License: ASL 2.0 OR BSD-3-clause
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -137,6 +137,9 @@ cargo build --release --target=%{rust_musl_target} %{cargo_pkg_feature_opts} %{c
%license LICENSES/CC-BY-4.0.txt

%changelog
* Wed Oct 15 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 41.0.139-3
- Bump release to rebuild with rust

* Thu Oct 09 2025 Saul Paredes <saulparedes@microsoft.com> - 41.0.139-2
- Enable build on aarch64

Expand Down
8 changes: 6 additions & 2 deletions SPECS/kata-containers-cc/kata-containers-cc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

Name: kata-containers-cc
Version: 3.15.0.aks0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Kata Confidential Containers package developed for Confidential Containers on AKS
License: ASL 2.0
URL: https://github.com/microsoft/kata-containers
Vendor: Microsoft Corporation
Distribution: Azure Linux
Source0: https://github.com/microsoft/kata-containers/archive/refs/tags/%{version}.tar.gz#/%{sourceName}-%{version}.tar.gz
Source1: %{sourceName}-%{version}-cargo.tar.gz

Patch0: rust-1.90-fixes.patch
ExclusiveArch: x86_64

BuildRequires: azurelinux-release
Expand Down Expand Up @@ -150,6 +150,10 @@ fi
%{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service

%changelog
* Wed Oct 15 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 3.15.0-aks0-6
- Bump release to rebuild with rust
- Add patch to suppress dead_code warnings and add explicit lifetime for U32Set iterator

* Fri Aug 08 2025 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 3.15.0-aks0-5
- Bump release to rebuild with rust

Expand Down
51 changes: 51 additions & 0 deletions SPECS/kata-containers-cc/rust-1.90-fixes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
From 40df9e0f016e4ce67e90e3e7f5b0ec87c5cb0a32 Mon Sep 17 00:00:00 2001
From: Kavya Sree Kaitepalli <kkaitepalli@microsoft.com>
Date: Tue, 28 Oct 2025 17:39:43 +0000
Subject: [PATCH] Suppress dead_code warnings and add explicit lifetime for U32Set iterator for Rust 1.90

---
src/agent/src/device/block_device_handler.rs | 1 +
src/agent/src/storage/block_handler.rs | 1 +
src/libs/kata-types/src/utils/u32_set.rs | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/agent/src/device/block_device_handler.rs b/src/agent/src/device/block_device_handler.rs
index d518f9d..8607751 100644
--- a/src/agent/src/device/block_device_handler.rs
+++ b/src/agent/src/device/block_device_handler.rs
@@ -29,6 +29,7 @@ use tracing::instrument;
pub struct VirtioBlkPciDeviceHandler {}

#[derive(Debug)]
+#[allow(dead_code)]
pub struct VirtioBlkCcwDeviceHandler {}

#[derive(Debug)]
diff --git a/src/agent/src/storage/block_handler.rs b/src/agent/src/storage/block_handler.rs
index 251a4df..074efc3 100644
--- a/src/agent/src/storage/block_handler.rs
+++ b/src/agent/src/storage/block_handler.rs
@@ -94,6 +94,7 @@ impl StorageHandler for VirtioBlkPciHandler {
}

#[derive(Debug)]
+#[allow(dead_code)]
pub struct VirtioBlkCcwHandler {}

#[async_trait::async_trait]
diff --git a/src/libs/kata-types/src/utils/u32_set.rs b/src/libs/kata-types/src/utils/u32_set.rs
index 44c55a1..837e7a0 100644
--- a/src/libs/kata-types/src/utils/u32_set.rs
+++ b/src/libs/kata-types/src/utils/u32_set.rs
@@ -47,7 +47,7 @@ impl U32Set {
}

/// Get an iterator over the CPU set.
- pub fn iter(&self) -> Iter<u32> {
+ pub fn iter(&self) -> Iter<'_, u32> {
self.0.iter()
}
}
--
2.45.4

7 changes: 6 additions & 1 deletion SPECS/kata-containers/kata-containers.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

Name: kata-containers
Version: 3.19.1.kata2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Kata Containers package developed for Pod Sandboxing on AKS
License: ASL 2.0
URL: https://github.com/microsoft/kata-containers
Vendor: Microsoft Corporation
Distribution: Azure Linux
Source0: https://github.com/microsoft/kata-containers/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}-%{version}-cargo.tar.gz
Patch0: rust-1.90-fixes.patch

BuildRequires: azurelinux-release
BuildRequires: golang
Expand Down Expand Up @@ -113,6 +114,10 @@ popd
%{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service

%changelog
* Wed Oct 15 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 3.19.1.kata2-3
- Bump release to rebuild with rust
- Add patch to suppress dead_code warnings and add explicit lifetime for U32Set iterator

* Thu Oct 09 2025 Saul Paredes <saulparedes@microsoft.com> - 3.19.1.kata2-2
- Enable build on aarch64

Expand Down
51 changes: 51 additions & 0 deletions SPECS/kata-containers/rust-1.90-fixes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
From 40df9e0f016e4ce67e90e3e7f5b0ec87c5cb0a32 Mon Sep 17 00:00:00 2001
From: Kavya Sree Kaitepalli <kkaitepalli@microsoft.com>
Date: Tue, 28 Oct 2025 17:39:43 +0000
Subject: [PATCH] Suppress dead_code warnings and add explicit lifetime for U32Set iterator for Rust 1.90

---
src/agent/src/device/block_device_handler.rs | 1 +
src/agent/src/storage/block_handler.rs | 1 +
src/libs/kata-types/src/utils/u32_set.rs | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/agent/src/device/block_device_handler.rs b/src/agent/src/device/block_device_handler.rs
index d518f9d..8607751 100644
--- a/src/agent/src/device/block_device_handler.rs
+++ b/src/agent/src/device/block_device_handler.rs
@@ -29,6 +29,7 @@ use tracing::instrument;
pub struct VirtioBlkPciDeviceHandler {}

#[derive(Debug)]
+#[allow(dead_code)]
pub struct VirtioBlkCcwDeviceHandler {}

#[derive(Debug)]
diff --git a/src/agent/src/storage/block_handler.rs b/src/agent/src/storage/block_handler.rs
index 251a4df..074efc3 100644
--- a/src/agent/src/storage/block_handler.rs
+++ b/src/agent/src/storage/block_handler.rs
@@ -94,6 +94,7 @@ impl StorageHandler for VirtioBlkPciHandler {
}

#[derive(Debug)]
+#[allow(dead_code)]
pub struct VirtioBlkCcwHandler {}

#[async_trait::async_trait]
diff --git a/src/libs/kata-types/src/utils/u32_set.rs b/src/libs/kata-types/src/utils/u32_set.rs
index 44c55a1..837e7a0 100644
--- a/src/libs/kata-types/src/utils/u32_set.rs
+++ b/src/libs/kata-types/src/utils/u32_set.rs
@@ -47,7 +47,7 @@ impl U32Set {
}

/// Get an iterator over the CPU set.
- pub fn iter(&self) -> Iter<u32> {
+ pub fn iter(&self) -> Iter<'_, u32> {
self.0.iter()
}
}
--
2.45.4

Loading
Loading