From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id F34B980474 for ; Tue, 27 Oct 2026 20:32:33 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69RKVBj0000861; Tue, 27 Oct 2026 23:31:12 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69RKVBj0000861 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="WHbdbQUG" Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69RKVAWt000857 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Tue, 27 Oct 2026 23:31:10 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69RKVAWt000857 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-4a359c7f47bso1807105e9.2 for ; Tue, 27 Oct 2026 13:31:10 -0700 (PDT) X-Gm-Message-State: AFq9FYJcEoFDRSVuhDixjXJHlfTjyWhOcATPIDNaZX9KdldEJcmqdTmu +XrVNKoA4kytb0u6ITPF/k20epbgWFDOwD+KUPgPIGqfobxM8C/U3g3MExVHz7WfIdoE34wflA9 zuWoTvtaIp92YifnHE4jrYjkJ84PGFabQMQ5KGSK1eGDbpkIQ9EoO2Q== X-Gm-Gg: AYBFou1Hf5EfnE9wjcHtwSciQ6i4WwwjND4+fgkLVy9jyLl7m8Iu5m8QXFkJiexC2Do nh+PkvEuGh+hKYfqRTcnFux3GHwN69LtP4cjX6S4AmXZwjcZxknKeeKl5O+teHGi7qvJjlcGpjf BdE2dwv2uV+YyLC+5fkMzgiuI3ZcwVSlOtLjoI/gRG9AyK5uluDNfNjqebqXTl3fULkuIqDtr1H rbmf1AzXqaJTddqXJKyQQgbk8RxPd2slgdDT/qDcHciSvEmtU6TFsYIrlG7gIkNG9vUSAZ2Zq9c qtwMfcUpb6n+uiOPRnqbMIrDPS+opxu0ONag1C4xCU5NCtRSh2qpdYV4+Y0ymDYfYNhmGmiLW5H KqDi+Vz7dpZvilHZlTM0bjXFj X-Received: by 2002:a05:600c:8707:b0:4a2:a9:ed87 with SMTP id 5b1f17b1804b1-4a966b4aff2mr1308205e9.19.1793133070132; Tue, 27 Oct 2026 13:31:10 -0700 (PDT) X-Received: by 2002:a05:600c:8707:b0:4a2:a9:ed87 with SMTP id 5b1f17b1804b1-4a966b4aff2mr1307665e9.19.1793133069635; Tue, 27 Oct 2026 13:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1793133069; cv=none; d=google.com; s=arc-20260327; b=lnSdoUHgJ2KVR2oN0nAvRIcQ4zNvFRgvbbVYJVcKOMe1SxzR8lP+gCfWroa0FRS4vh LSnXuV3RpTAhidD1fSFgUa08RX864Yvg3Cx3jRJagjqsgo/n9jApVSHNEa9Z0jLJXtA6 urxDRPUrlQQuorvPH+nWXUnZy0LGGeqAcwTBMPCHve8334V8vHkv7pWoaFjpeqv9UpOP yXud82ioUV4ooim1STSS0Dsqk1/jZpvZqixvnkur3Fd/AQUORC5OYvKoEWtXxmhE2Q7G Vce3/b7QIVP4j71XjyTKv7l9yMiLT/qObkJT+tOpwhooHhIMn9UpImeyY0mayuFcDeyS 3LBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=QOsMZYTSLHFEeKZnItVeuyA1WK962iSuDMpNy2QgYCE=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=THI6Pnam86Rp1/9VZlZSKWEYn/BnFJrRXZ4B//AvMWdaH05YqHVsGx2UwEurIXjxY2 e5a8KO0LWToEQpdDAx83MBiW6OGPxE3eBGzBpur++GOSmoT0lmzFig7LUwFCZw/Xojm0 Zdr/4TSsNLujL2sBetTbfCM+RIpyeuSXE0pPnzQFFFLBasntyNnBG6yH/SJgkUGbUJPg 72UH9UFzkOfkizaqYtfLlE2UoTLocd5wUGVNp06gsDNrf3FXsgtoAJwPWtHtA11FpioN NxjJ5hFXZ4c7M5+NfBY4N7leTvB1bc9oBTPmXuFJf0Z3m8L+OzDB3UXyHuOWWQ7/Yye1 kD3g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=WHbdbQUG; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id 5b1f17b1804b1-4a952decd13si4459075e9.9.2026.10.27.13.31.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2026 13:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=WHbdbQUG; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=QOsMZYTSLHFEeKZnItVeuyA1WK962iSuDMpNy2QgYCE=; b=WHbdbQUGXGvC IZHt0POkMS8OmlqkycU38EMNpGpq4WugPnGsITHjGs4fOtCQ46UDcexYWHAqeCA8JqhMmWFWMtObP k99NdQeWWCJLl7iBQ5DlJBu/1A5LpBju7Ayu0q7m5hq/zPuALVwASGB4wY0fwMHCKzieUjcYWwAqk z+8DhkjSTnwocbSod8LtN1shCubTTXOtBJUIo2tQFyTpYPMkP+/FdNPLNfLVR87SF4EiPaxv+80+D a4CRy2TVjQcvi1ROvS49RizeBByDn4cH+VWf1VkJ89N8NYj3cn78LRX1kdFMQPpdAtGbnf2v+hWlt lHYliLlnCYrQDTekxKbmfQ==; Received: from ch-vpn.virtuozzo.com ([130.117.225.6] helo=LekKit-T14) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xLnlL-004TP8-3B; Tue, 27 Oct 2026 21:30:58 +0100 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Tue, 27 Oct 2026 22:31:04 +0200 Message-ID: <20261027203107.1306754-1-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.1] selftests/cgroup: make the lib directory an order-only prerequisite X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org cgroup_util.o depends on the directory it is written to, and a directory's mtime moves whenever a file is created in it. The kvm selftests write their own library objects to the same lib/ directory, so it can end up newer than cgroup_util.o, and the next make rebuilds cgroup_util.o and relinks every test that uses it. That next make may run with other flags than the build: the kernel package builds the selftests without the hardening flags and installs them with them, and there the relink fails and the kvm tests are left out of kernel-selftests-internal. Make the directory an order-only prerequisite: it is still created before the object, but its mtime no longer makes the object stale. Fixes: 2c754a84ff16 ("cgroup: selftests: Move cgroup_util into its own library") https://virtuozzo.atlassian.net/browse/VSTOR-152057 Feature: fix selftests Signed-off-by: Eva Kurchatova --- tools/testing/selftests/cgroup/lib/libcgroup.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/cgroup/lib/libcgroup.mk b/tools/testing/selftests/cgroup/lib/libcgroup.mk index 7a73007204c3..bcf6fe251622 100644 --- a/tools/testing/selftests/cgroup/lib/libcgroup.mk +++ b/tools/testing/selftests/cgroup/lib/libcgroup.mk @@ -13,7 +13,7 @@ EXTRA_HDRS := $(selfdir)/clone3/clone3_selftests.h $(LIBCGROUP_O_DIRS): mkdir -p $@ -$(LIBCGROUP_O): $(OUTPUT)/%.o : $(CGROUP_DIR)/%.c $(EXTRA_HDRS) $(LIBCGROUP_O_DIRS) +$(LIBCGROUP_O): $(OUTPUT)/%.o : $(CGROUP_DIR)/%.c $(EXTRA_HDRS) | $(LIBCGROUP_O_DIRS) $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@ EXTRA_CLEAN += $(LIBCGROUP_O) -- 2.56.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel