public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/folly-rpm-macros] f44: Require git, which getdeps needs to apply a manifest's patchfile
@ 2026-10-08 13:34 Michel Lind
0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-10-08 13:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/folly-rpm-macros
Branch : f44
Commit : d4dc7959f13588cde7e55a82e786afbb809bbd3d
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2026-10-07T19:32:23+01:00
Stats : +6/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/folly-rpm-macros/c/d4dc7959f13588cde7e55a82e786afbb809bbd3d?branch=f44
Log:
Require git, which getdeps needs to apply a manifest's patchfile
- Requires: git-core, so the buildroot has it wherever these macros run
getdeps' builder applies a project's patchfile with `git apply`, so any
build that builds a project carrying one needs git. Fedora buildroots
happen to have it, and on Fedora the projects with patchfiles come from
system packages anyway, so this never showed there. On EPEL 10 the vendored
glog has a patchfile and the buildroot has no git: all three architectures
of the cachelib scratch build died with
FileNotFoundError: [Errno 2] No such file or directory: 'git'
before compiling anything (koji task 151003941).
Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/AGENTS.md b/AGENTS.md
index fb15998..3f0e78d 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -51,7 +51,7 @@ folly-rpm-macros' Version is the Fedora release number current when it was
last touched (46 today), not a version of its own, so a macro change usually
only moves the *release*: 46-2, 46-3. A dependent that needs the new
behaviour must therefore require the release too, `BuildRequires:
-folly-rpm-macros >= 46-10`, which cachelib and mcrouter both do. Ask
+folly-rpm-macros >= 46-11`, which cachelib and mcrouter both do. Ask
`fedpkg verrel` for the number rather than counting builds: rpmautospec
counts the commits since the last version change, one release each, so
commits that were never built still raise it. On a clean tree it reports
diff --git a/folly-rpm-macros.spec b/folly-rpm-macros.spec
index 6788854..4d5d982 100644
--- a/folly-rpm-macros.spec
+++ b/folly-rpm-macros.spec
@@ -17,6 +17,11 @@ Requires: rpm
Requires: python3
# %%getdeps_install runs %%{__cmake}
Requires: cmake-rpm-macros
+# getdeps applies a manifest's patchfile with `git apply`, so a build needs
+# git whenever it builds a project that has one. Fedora buildroots happen to
+# have it; EPEL 10's do not, and there the vendored glog (which carries a
+# patchfile) made the build fail with FileNotFoundError: 'git'.
+Requires: git-core
# the %%getdeps_vendor_license_* macros wrap go_vendor_license and licensecheck
Requires: go-vendor-tools
# licensecheck is Fedora-only (no EPEL build of it); without it the check
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 13:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 13:34 [rpms/folly-rpm-macros] f44: Require git, which getdeps needs to apply a manifest's patchfile Michel Lind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox