From nobody Thu Oct 16 20:08:19 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cnfCR6snMz6D4YF; Thu, 16 Oct 2025 20:08:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cnfCR6JKRz3TvJ; Thu, 16 Oct 2025 20:08:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760645299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HeYy4wp8jc3XgxGDN9uj5QBbbnivsNTqtZRIhJejUNk=; b=oZcE0rAElLaw/qVgxhY1irK8frnE2hhnLi4cLQYARXKIPUgDzoVb6Bl3DBVqXjlfGFoRnb Kw/+m6Fv1yUH7tgPZCqP/OBamnAQs21sLoauaLI6pzxiD1SjAy4cKrOuip9NGvkwnmM4ei eebKNlbgQo4J2b5aKHk+xg5Oz3JLA5tNxwuY8Gd4yMdS/dEPRWCeVpv7ckGzYHaAZPi0gY 2N8me6iNcxt0CQVFVlntFkUHGNoIBrKuPbI2nZGKndUWXMteIUfRCgsVKOU6tN/Sd8mkYb 1EcTkRl6RdCJF8J7CD3OJNGjU4pU5HdxSGj2S3P3P/hG7D27AYQq5iT1sZNpjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760645299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HeYy4wp8jc3XgxGDN9uj5QBbbnivsNTqtZRIhJejUNk=; b=yHzAxd7c99etZqJmEV/otcZhAP+Pmfic7GLhDKEXVTugoR0DLmjjj/PlP8t24YyhF4CKQR aBZnk8R6aN0If5vndxkrRDdxdgQkKNf/xIYQP3zbnflynKT1RIDDW7H9dRmw8FAwr7AJGB vJo9dKAVJSAp2u5zL1q8W3ebfxcKWjNVCk4uR0NRqBQnj051YzlWn67fJ8AnoNIXyD25OX qfl7wT4VW6DrDXTo2CmY15TpiatfRt+U3A81Ehhz1veDhuFlbdRUxELdIbDiXLoV2bXyXQ rHjbmEJDWew0rEhX8YHmV2rHiySvyZOnRqsoHe4QcBfFxcHzEYBr5fWaDqPAXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760645299; a=rsa-sha256; cv=none; b=q2oBsTO635NF5E+v7fVLu+1RpBYRTyWUSuiOIbuPgACDetVwyctdBNOSPBXwivqmu9q5Iy XGdXQMFM5mthKjCv6zBb+9Br6ZnC7Ynp3dTmsB8e4274JSzQSKiNOGDZEdc0m+urG+Fddd kWqniUtgPxs5NmLOALRBTa8AXdnXGAGC7/T8uuPOeePdneeS1I97C8O08xggiGY1BKQRzo sIw6EB5xGgX8sg5cxbVTc1giUlUBzBlcwRGQ81/T7TUKhSu1RidvDjX/MP1ALNPekNF0JF LjqpWZVwC8xDkJJkXKzejXYNZDXG/Mw2lIRmMo6mG4iLJbrtm1S0CRSthju/qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cnfCR597Mz77p; Thu, 16 Oct 2025 20:08:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59GK8JJH018340; Thu, 16 Oct 2025 20:08:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59GK8JEt018337; Thu, 16 Oct 2025 20:08:19 GMT (envelope-from git) Date: Thu, 16 Oct 2025 20:08:19 GMT Message-Id: <202510162008.59GK8JEt018337@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: 6fc227a68bbd - releng/15.0 - Ping: Make build reproducible List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/releng/15.0 X-Git-Reftype: branch X-Git-Commit: 6fc227a68bbd12e070ed92985057dc933f4801b3 Auto-Submitted: auto-generated The branch releng/15.0 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=6fc227a68bbd12e070ed92985057dc933f4801b3 commit 6fc227a68bbd12e070ed92985057dc933f4801b3 Author: Colin Percival AuthorDate: 2025-10-13 15:58:10 +0000 Commit: Colin Percival CommitDate: 2025-10-16 20:08:09 +0000 Ping: Make build reproducible As recently fixed in sockstat (9934558460e4), having tests/Makefile include files from the parent directory with SRCS= ../foo.c results in a race condition as the parent build and the tests build try to produce the same object file but contain different paths. Use .PATH to tell make to find sockstat.c in the parent directory but place the object file in the current object directory. Approved by: re (cperciva) Reviewed by: emaste, jrtc27, kevans MFC after: 3 days Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D53075 (cherry picked from commit 3c9a2f383fc25cdffa80c1348cb5388290e0f283) (cherry picked from commit a7c1d6b72a3e3b979d38ad1ad706cc0d9be927ae) --- sbin/ping/tests/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/ping/tests/Makefile b/sbin/ping/tests/Makefile index 0520b1d634cf..7d3ab02b9a86 100644 --- a/sbin/ping/tests/Makefile +++ b/sbin/ping/tests/Makefile @@ -1,5 +1,6 @@ ATF_TESTS_C+= in_cksum_test -SRCS.in_cksum_test= in_cksum_test.c ../utils.c +.PATH: ${.CURDIR:H} +SRCS.in_cksum_test= in_cksum_test.c utils.c PACKAGE= tests