From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EYLGKlYZfF/mKwAA0tVLHw (envelope-from ) for ; Tue, 06 Oct 2020 07:14:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AEEgJlYZfF9hMgAA1q6Kng (envelope-from ) for ; Tue, 06 Oct 2020 07:14:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 423E89402B4 for ; Tue, 6 Oct 2020 07:14:30 +0000 (UTC) Received: from localhost ([::1]:60744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPhB7-0008N0-81 for larch@yhetil.org; Tue, 06 Oct 2020 03:14:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPhAg-00087f-L8 for bug-guix@gnu.org; Tue, 06 Oct 2020 03:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPhAg-00080R-Bc for bug-guix@gnu.org; Tue, 06 Oct 2020 03:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPhAg-0005n1-7J for bug-guix@gnu.org; Tue, 06 Oct 2020 03:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43810: ripgrep and fd create .crates.toml which reference to build dir. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Oct 2020 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43810 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Zhu Zihao Received: via spool by 43810-submit@debbugs.gnu.org id=B43810.160196842422218 (code B ref 43810); Tue, 06 Oct 2020 07:14:02 +0000 Received: (at 43810) by debbugs.gnu.org; 6 Oct 2020 07:13:44 +0000 Received: from localhost ([127.0.0.1]:51449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPhAO-0005mH-2U for submit@debbugs.gnu.org; Tue, 06 Oct 2020 03:13:44 -0400 Received: from flashner.co.il ([178.62.234.194]:60604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPhAK-0005m2-Ah for 43810@debbugs.gnu.org; Tue, 06 Oct 2020 03:13:43 -0400 Received: from localhost (unknown [31.210.181.177]) by flashner.co.il (Postfix) with ESMTPSA id A09AF40216; Tue, 6 Oct 2020 07:13:33 +0000 (UTC) Date: Tue, 6 Oct 2020 10:12:58 +0300 From: Efraim Flashner Message-ID: <20201006071258.GC21174@E5400> References: <1a426c2b.160d.174f7b9389f.Coremail.all_but_last@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XMCwj5IQnwKtuyBG" Content-Disposition: inline In-Reply-To: <1a426c2b.160d.174f7b9389f.Coremail.all_but_last@163.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43810@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.69 X-TUID: Srx8HvDjF8gU --XMCwj5IQnwKtuyBG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 05, 2020 at 03:45:45PM +0800, Zhu Zihao wrote: > In Guix commit 7cb4440951fa3a91d48c63ac5be123636abfcf82. I found that rip= grep and fd will emit a `.crates.toml` file outside of FHS structure(at the= root of profile). >=20 >=20 > For example, the .crates.toml file from fd looks like. >=20 >=20 >=20 > ``` >=20 > [v1] > "fd-find 8.1.1 (path+file:///tmp/guix-build-fd-8.1.1.drv-0/fd-find-8.1.1)= " =3D ["fd"] > ``` >=20 >=20 > This file records the build directory, I think we'd better to exclude thi= s to improve the determinisitc(If this file doesn't affect the functionalit= y). >=20 >=20 > If we can't exclude it, it's better to place it in a proper place, if we = leave it in the root of profile, .crates.toml from different rust apps will= override each other. It turns out this file seems to exist in other crate packages too. I just checked rust-cbindgen. Luckily the rust bootstrap process doesn't use the cargo-build-system so it's something we can fix on master and not staging. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --XMCwj5IQnwKtuyBG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl98GPYACgkQQarn3Mo9 g1Ev5BAAkhKfhuN2deOVcJ0nYhgyaTn02mTQNafFhlrVcsNldOWUBiydQJM/tEIF qHSEnvNspJAwdhkTE19Vh20T1X0XOln3NwyAaFIMDdvttVYT5332LY/3cZXcsaNG NKJHnxb28ElzHqWcHB1tH2jMK62S2cz7ZU0t7R/Wu2R8xYucfZtCNLuCIKhQRAtP ue6vmPACTl7LwG10Pt2OUUbJA2b7DfnZ/PEP97MuIKLNFqHKwwJy8A+TW5ZrHMN5 ytBktlDaXd44Rr1clgyWXdTx2GMwvmgo3u8pqxKBJHYapxA29Cvmxg0XUYk/uyvg 4bJggw/fC42MOoqJAvSd7KKyqn2hFVdGUy5r2WOd56Wqg2cxXaHfA+RnjdIyQFWX 4JapE4lgooM5R1/Tl9qFcDPdlteBayw5yaDgGRxoVtsQ6Rhk1OIG6y4rrIuWlGZW 8DzuhQUqA1jR7mZpk7SUSDt2M5/9cxWv3pxo4i69aHluvFts35ZiZM20VIFytmhj 4G2Z6Lu+WsnCSXfUE+edwqOcwLPEiCvzOESnkSXSGrPmKCD7aiMth1TetgB+Mv1H ZawHsFKQCcYNgrbDDXpL2Ei0rX1hjUE/kXkhQnBXBBGd8O3Pu1Kf2eHwzqvDCR5S PPLxn3y75XMFSrYikiys5EqM8mT7fONwwbl8KeHTr1CXKGVOvJI= =F0YD -----END PGP SIGNATURE----- --XMCwj5IQnwKtuyBG--