git: 968e6d3855ef - main - Makefile.inc1: attempt to fix pkgbase building
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Jun 2025 11:23:37 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=968e6d3855ef8bba37075677c0ea8123862d4524
commit 968e6d3855ef8bba37075677c0ea8123862d4524
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-06-16 11:20:47 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-06-16 11:20:47 +0000
Makefile.inc1: attempt to fix pkgbase building
After b44147bb12450bdf851a519d1cdc85402f89ed1f there is no dependence
relationshop between create-packages and real-update-packages, which
results on the package building cluster in a race condition
real-update-packages tries to open a package which is being created by
the create-packages target and make the whole build fail.
Ensure create-packages and real-update-packages is sequential
---
Makefile.inc1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc1 b/Makefile.inc1
index 97bd81f3263f..cff150668083 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2048,7 +2048,7 @@ package-pkg: .PHONY
real-packages: stage-packages create-packages sign-packages .PHONY
-real-update-packages: .PHONY
+real-update-packages: .PHONY create-packages
.if defined(PKG_VERSION_FROM_DIR)
@echo "==> Checking for new packages (comparing ${PKG_VERSION} to ${PKG_VERSION_FROM})"
@for pkg in ${PKG_VERSION_FROM_DIR}/${PKG_NAME_PREFIX}-*; do \