diff --git a/SPECS-EXTENDED/buildah/0001-fix-copier-arguments.patch b/SPECS-EXTENDED/buildah/0001-fix-copier-arguments.patch new file mode 100644 index 00000000000..88ef792fb08 --- /dev/null +++ b/SPECS-EXTENDED/buildah/0001-fix-copier-arguments.patch @@ -0,0 +1,43 @@ +From 940a6f11f5ac92907753a8c97f94ce702ac0b57e Mon Sep 17 00:00:00 2001 +From: SumitJenaHCL +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 + diff --git a/SPECS-EXTENDED/buildah/buildah.signatures.json b/SPECS-EXTENDED/buildah/buildah.signatures.json index e7062c529f5..60bda8cc895 100644 --- a/SPECS-EXTENDED/buildah/buildah.signatures.json +++ b/SPECS-EXTENDED/buildah/buildah.signatures.json @@ -1,5 +1,5 @@ { "Signatures": { - "buildah-1.41.4.tar.gz": "70803ee34350d9cce905b9b6af9300231145885a20bb21f08daa764af914139d" + "buildah-1.43.0.tar.gz": "24c31fcacd707892d4f745b5fd5a631753bee49bf6c048cd65c42a5791986b67" } -} +} \ No newline at end of file diff --git a/SPECS-EXTENDED/buildah/buildah.spec b/SPECS-EXTENDED/buildah/buildah.spec index 41d8b521fd7..a73771fda30 100644 --- a/SPECS-EXTENDED/buildah/buildah.spec +++ b/SPECS-EXTENDED/buildah/buildah.spec @@ -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 @@ -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} @@ -173,6 +174,10 @@ make test-unit %{_datadir}/%{name}/test %changelog +* Wed Mar 18 2026 Sumit Jena - 1.43.0-1 +- Upgrade to version 1.43.0 +- fixed ptests failures + * Thu Jan 22 2026 Kanishk Bansal - 0:1.41.4-6 - Bump to rebuild with updated glibc diff --git a/cgmanifest.json b/cgmanifest.json index e21048575e8..23837840d1c 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -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" } } },