Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions SPECS-EXTENDED/buildah/0001-fix-copier-arguments.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 940a6f11f5ac92907753a8c97f94ce702ac0b57e Mon Sep 17 00:00:00 2001
From: SumitJenaHCL <v-sumitjena@microsoft.com>
Date: Wed, 18 Mar 2026 19:12:00 +0530
Subject: [PATCH] fix copier arguments

---
copier/copier.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/copier/copier.go b/copier/copier.go
index 9aa662c..3b430ba 100644
--- a/copier/copier.go
+++ b/copier/copier.go
@@ -1168,7 +1168,7 @@ func copierHandlerStat(req request, pm *fileutils.PatternMatcher, idMappings *id
hostPair := idtools.IDPair{UID: uid, GID: gid}
uid, gid, err = idMappings.ToContainer(hostPair)
if err != nil {
- return errorResponse("copier: stat: mapping host filesystem owners %#v to container filesystem owners: %w", hostPair, err)
+ return errorResponse("copier: stat: mapping host filesystem owners %#v to container filesystem owners: %v", hostPair, err)
}
}
result.UID, result.GID = int64(uid), int64(gid)
@@ -2227,7 +2227,7 @@ func copierHandlerMkdir(req request, idMappings *idtools.IDMappings) (*response,
return errorResponse("copier: mkdir: error setting owner of %q to %d:%d: %v", path, dirUID, dirGID, err)
}
if err = chmod(path, dirMode); err != nil {
- return errorResponse("copier: mkdir: error setting permissions on %q to 0%o: %v", path, dirMode)
+ return errorResponse("copier: mkdir: error setting permissions on %q to 0%o: %v", path, dirMode, err)
}
created = append(created, path)
} else {
@@ -2409,7 +2409,7 @@ func copierHandlerEnsure(req request, idMappings *idtools.IDMappings) *response
return errorResponse("copier: ensure: error setting owner of %q to %d:%d: %v", leaf, uid, gid, err)
}
if err = chmod(filepath.Join(req.Root, leaf), mode); err != nil {
- return errorResponse("copier: ensure: error setting permissions on %q to 0%o: %v", leaf, mode)
+ return errorResponse("copier: ensure: error setting permissions on %q to 0%o: %v", leaf, mode, err)
}
if item.ModTime != nil {
if err := os.Chtimes(filepath.Join(req.Root, leaf), *item.ModTime, *item.ModTime); err != nil {
--
2.45.4

4 changes: 2 additions & 2 deletions SPECS-EXTENDED/buildah/buildah.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"buildah-1.41.4.tar.gz": "70803ee34350d9cce905b9b6af9300231145885a20bb21f08daa764af914139d"
"buildah-1.43.0.tar.gz": "24c31fcacd707892d4f745b5fd5a631753bee49bf6c048cd65c42a5791986b67"
}
}
}
11 changes: 8 additions & 3 deletions SPECS-EXTENDED/buildah/buildah.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Epoch: 0
# If that's what you're reading, Version must be 0, and will be updated by Packit for
# copr and koji builds.
# If you're reading this on dist-git, the version is automatically filled in by Packit.
Version: 1.41.4
Version: 1.43.0
# The `AND` needs to be uppercase in the License for SPDX compatibility
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
Release: 6%{?dist}
Release: 1%{?dist}
Vendor: Microsoft Corporation
Distribution: Azure Linux
ExclusiveArch: aarch64 ppc64le s390x x86_64
Expand All @@ -39,9 +39,10 @@ URL: https://%{name}.io
# Tarball fetched from upstream
Source: %{git0}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: 0001-Run-selective-tests.patch
Patch1: 0001-fix-copier-arguments.patch
BuildRequires: device-mapper-devel
BuildRequires: git-core
BuildRequires: golang >= 1.16.6
BuildRequires: golang >= 1.25.0
BuildRequires: glib2-devel
BuildRequires: glibc-static >= 2.38-18%{?dist}
%if !%{defined gobuild}
Expand Down Expand Up @@ -173,6 +174,10 @@ make test-unit
%{_datadir}/%{name}/test

%changelog
* Wed Mar 18 2026 Sumit Jena <v-sumitjena@microsoft.com> - 1.43.0-1
- Upgrade to version 1.43.0
- fixed ptests failures

* Thu Jan 22 2026 Kanishk Bansal <kanbansal@microsoft.com> - 0:1.41.4-6
- Bump to rebuild with updated glibc

Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1307,8 +1307,8 @@
"type": "other",
"other": {
"name": "buildah",
"version": "1.41.4",
"downloadUrl": "https://github.com/containers/buildah/archive/v1.41.4.tar.gz"
"version": "1.43.0",
"downloadUrl": "https://github.com/containers/buildah/archive/v1.43.0.tar.gz"
}
}
},
Expand Down
Loading