From nobody Mon Dec 29 22:10:53 2025 X-Original-To: dev-commits-src-all@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 4dg9RR4qDvz6MPvP; Mon, 29 Dec 2025 22:11:31 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp052.goneo.de [85.220.129.60]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4dg9RR2V3dz3x6n; Mon, 29 Dec 2025 22:11:31 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub2.goneo.de (hub2.goneo.de [85.220.129.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 3A8B9240C49; Mon, 29 Dec 2025 23:11:29 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 646FD240027; Mon, 29 Dec 2025 23:11:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1767046287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nCave6ImA+YG6olzMb3JPPpfpsIcCfCnkSie4MP24U4=; b=bLyozxHwXXrszToUBDYA7VHc2Uj8luqT/XlUJH2nBRIvBBKb2z7/LZms7ZfY38rm7GQW+9 AH2yrW4xso3bXp7g+ymmcyf53ksjriL3dh899H5lFluWEU4zwJiEVVPpbz0FXnzWx26V5L GnO+OlNWwTcypfG9WMX9tTQzHyq7zLG2ezo+dhpEODy9jgk/u5VJVncLKEUZGLk5IpT+he xTLZh3gPi+pUxivJPrNVEgq0lgA+fuyjY/c0VVigWTfRc3iMxWa3owoaVeVV40l68sLgoQ 0g/9fePOhAwcVXTDvokmGEiLmt6G4zxHETXpnr1fO21xQOqa6TAaID9846xc5g== Received: from thor.sb211.local (dynamic-2a02-3100-22bf-3c02-021b-21ff-fe4e-8f4d.310.pool.telefonica.de [IPv6:2a02:3100:22bf:3c02:21b:21ff:fe4e:8f4d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 0DE9A240024; Mon, 29 Dec 2025 23:11:27 +0100 (CET) Date: Mon, 29 Dec 2025 23:10:53 +0100 From: A FreeBSD User To: Dimitry Andric Cc: Warner Losh , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Subject: Re: git: faeaa25f5624 - main - kernel: MK_REPRODUCIBLE_PATHS for full paths vs /usr/src Message-ID: <20251229231120.5019f897@thor.sb211.local> In-Reply-To: <86EF92B6-B19D-477E-8BBF-2B25190C781C@FreeBSD.org> References: <6950e7a3.3b044.1eb2b705@gitrepo.freebsd.org> <86EF92B6-B19D-477E-8BBF-2B25190C781C@FreeBSD.org> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd16.0) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1pR50pAJhkCK_3w/Jdk0fYr"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: 8a964d X-Rspamd-UID: 1ad3dc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dg9RR2V3dz3x6n --Sig_/1pR50pAJhkCK_3w/Jdk0fYr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Tage des Herren Mon, 29 Dec 2025 16:09:24 +0100 Dimitry Andric schrieb: > On 28 Dec 2025, at 09:17, Warner Losh wrote: > >=20 > > The branch main has been updated by imp: > >=20 > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfaeaa25f562493370a5da84b= 429ab0a117c3213a > >=20 > > commit faeaa25f562493370a5da84b429ab0a117c3213a > > Author: Warner Losh > > AuthorDate: 2025-12-28 07:31:05 +0000 > > Commit: Warner Losh > > CommitDate: 2025-12-28 08:16:39 +0000 > >=20 > > kernel: MK_REPRODUCIBLE_PATHS for full paths vs /usr/src > >=20 > > There are many environments that you do not want the paths to be > > canonicalized. For example, if I always build a product from a speci= fic > > path in a jail that's dependent on the product version, I don't want > > that to be sanitized to /usr/src because when I have profiling tools= run > > against multiple kernels, I can't do A/B testing and results process= ing > > if everything points to /usr/src (sadly, the profiling tools cannot > > remap back to the original like gdb can). Since we need both active = at > > the same time, symbloic link fallbacks don't work. > >=20 > > We do want the rest of the build to be reproducible, however. We'll = get > > the same binaries if we rebuild later since we always rebuild with t= he > > same path. > >=20 > > Turn them both on for maximum reproduction for environments where th= at > > cannot be guaranteed. > >=20 > > Sponsored by: Netflix > > Input from: emaste, ivy > > Differential Revision: https://reviews.freebsd.org/D52959 =20 >=20 > This breaks at least the devel/libsysinfo port, which error out with: >=20 > =3D=3D=3D> Building for libsysinfo-0.0.3_3 =20 > make: /usr/share/mk/bsd.debug.mk:19: Variable "MK_REPRODUCIBLE_PATHS" is = undefined > in /usr/share/mk/bsd.lib.mk:525 > in /wrkdirs/usr/ports/devel/libsysinfo/work/libsysinfo-0.0.3/Makefile:16 > make: Fatal errors encountered -- cannot continue > make: stopped making "all" in /wrkdirs/usr/ports/devel/libsysinfo/work/li= bsysinfo-0.0.3 > *** Error code 1 >=20 > I think bsd.debug.mk should now include src.opts.mk, not only bsd.opts.mk? >=20 > Either that, or MK_REPRODUCIBLE_PATHS should be moved to bsd.opts.mk. >=20 > -Dimitry >=20 >=20 ... same with x11/nvidia-driver, see PR 292005 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292005) --=20 A FreeBSD user --Sig_/1pR50pAJhkCK_3w/Jdk0fYr Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaVL8iAAKCRCxzvs8Oqok r22rAP96+jjYaOKGZnTwt4l1xTc8kZg4dtVx3P0z8Q/oHgOdTQD+MZijui9xYq4r DSPZ5bA2Cv63SwnYdFMtpndDYBmEEA8= =Eepy -----END PGP SIGNATURE----- --Sig_/1pR50pAJhkCK_3w/Jdk0fYr--