From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8OHhIy+np2VQxQAA62LTzQ:P1 (envelope-from ) for ; Wed, 17 Jan 2024 11:08:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8OHhIy+np2VQxQAA62LTzQ (envelope-from ) for ; Wed, 17 Jan 2024 11:08:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=T2aSpSQ2; dkim=pass header.d=wolfsden.cz header.s=mail header.b=u+JR62rb; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705486127; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h9FGlcePtZHbX+xpFpYAd7RtVAVuX9fB5MS9XhiC6qg=; b=W68Ic9wLd3/wXXfgqzeKGqyPopg9LL0L5cAr2oE7bvePenwtpK63YIaZ4MnRWRYDrGN2Es RKoCavhSiK0KYLJBTLu8Dvapd0vOjpZAd62zWBVfVFQn1uNhemBtORaorvbz2C95um/+2X PCxJ0L23OdsonBwDEthCzVF3r82KWuFT/fxZy5s5MQ9IV6w2Qr+woFkWYIJ4jyTYBw++G+ Ov5a3y7e3F5HeuTVNHZVy7ia27zkejXkk0h5gB50hXkNZ2/3ougP3ARONtLrnoEETrpf+z iNSdE7wkz7AEJ05pDYnHwb5XbcHlUkkqGUc+YpaB5slqiq7cHdMsXBWDnzt+GQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=T2aSpSQ2; dkim=pass header.d=wolfsden.cz header.s=mail header.b=u+JR62rb; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705486127; a=rsa-sha256; cv=none; b=TeeqOt3ZMUE+3Fop+VnBVpb60q9K/mjiEZObbtjOAy5CavaBIUKbTUX2tIoJYT6u74E7BW COVYrn1hRIF7OWl7L1E13Ik4KaXoXcLjGZKpIhn2Wp/s3vbSrrig2eUbJmJ+D+WFfqmvTE qCtkoPZvM0fH5cqQMPHlDFoo8jYqaF1qk5jLfeZH0NtR3ildD1yvt3PkdFfIbqhWQm741/ VhKaSuslE8QSCf7/+uKWiE+15b7yeinE9mEE2YXjjBOa6ngSXEXXHVdjPY2YL3ZWpDTzuK MB8qio249Bz3LchfoWUw8aRCig4/Y2aJ5qWUXWT3c0SMt+lj3mDs6jvQrqfPlg== 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 00FB124C98 for ; Wed, 17 Jan 2024 11:08:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQ2qL-00044I-Sr; Wed, 17 Jan 2024 05:08:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rQ2qI-000443-NR for guix-devel@gnu.org; Wed, 17 Jan 2024 05:08:18 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rQ2qG-000738-JZ for guix-devel@gnu.org; Wed, 17 Jan 2024 05:08:18 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 5DC35257335; Wed, 17 Jan 2024 10:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1705486092; bh=rt2HZ0qlp/mlzxh8ifDGcHOR7VYcKAuFzp4dTNGEeA4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=T2aSpSQ2eca1mRHpYg5KueAnFgbEqZ0lCh1bc1IFxbhMPtTPdr54AZhz7xtK3gbI9 QGxCIQXuY1invCdv5TRJLb8gEjloqULQ86q7kRu5vr47jezFq4HnF2e/YDbWWG7vP3 7rUtmbxz1I1m9X+WLMAmg7MEbhxdI11wBH+fpUnZPaShNLusS909zXtdqF9qMzYSKv mSog8usixSjk8SjYzKLZQo4tvzUpS/wFZ6au1HLN6XcLtTe581wj0aitVJ9GAI5IHT 0RyCT8fCenfO0H6CN2KNaXLF/1rDefyGhPpe6wYryGq16wfID7jrdbT6HVR3TwD5XY FAbiW22AeuB6EpxEZTSXTTKf/LISZlLUSrz/5lA7crzUu8SpufKLWe29rYv31mAMC9 1U7XMn+3pZRF+ypi3BJ943VTFhZrlo+wlzywSLX/GYy3t6wAEl0n+SBcAXljD9ZL9V GQZllNSa3AFel3FKxTY2LJRUJ88ZnJupkhrubGtnNgliaetlHzTbskkf6cg3Q8Eql/ 1OxlTn+EdbPjtLZxSncRN6HDJOgAW0woeOHkreK2xN7BqNV7MeQrbUt1HSTkxs3Tg6 6DSB1KK3+cDTqxCBNmwz5WURRpPzi3qsnBld1CU2r7lYyHWb+9UsBpXTlGCtlnsK+i DkDPOxfcIah2w98ebneCqkHo= Received: from localhost (unknown [193.32.127.154]) by wolfsden.cz (Postfix) with ESMTPSA id D355E256372; Wed, 17 Jan 2024 10:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1705486091; bh=rt2HZ0qlp/mlzxh8ifDGcHOR7VYcKAuFzp4dTNGEeA4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=u+JR62rb9/+SYWfNGzueudUz+MAq9c+n6LoZDd6HOgcjO5YvS0LfgZMrdhHYSvk+l NuXO/E/3uqNXBqTU65zrWFa1qclZgTITU6Vy+Rk1sbwPyKwVHo4iuB8aeVUKEKmiPy waqmYbS0rQE374jhMR03aNjrm4vXOY8p59ZsggcOQDvBpDqa3Ivaw0x+Xb5uunr77w sVPQh5F0OYfHyrIhmec59juq9L5tMbXxjg3k/ytcmZg4rF7czCV+9/MvcRforzpWkN rsCkBYiYiFbs4hOoRv4NxRUjNTzrxljVRlZnPKKLD1Bi1FtbhlotbUeE/eSVXtooi4 mI6HGiHw+qz2fb5ftfdBBHADlDlEZ5zUtlGICLlmayzArskOYI1gZ50QSM3Lwyn9mw rF6/tmVmHJKndvHm+4UU061xIISQhLRuIzRgKYcytCmsdeCgurhPaUZSez4YcMrSnj QEvVp8ubazZ0T7rbZSh1lK+89qIQLZ0+1OmIVLQkkafaz8N9iKZ2YMKgA/VSh/K4pa Xe/3sh18I6VC+ryhkgd6B/K5BvyhJZ+8KS9yAE3kh1V0FhVmHUBtMakpsj5+0dap9b L/i8dnJqz7ggQwS9Mx8L32hKRtncGCu2KWQ9AdmU/RxVvTQoajqV2jqU1YhaB0u05p lnb0yDI+rx17RNGiAlgUWnMk= Date: Wed, 17 Jan 2024 11:08:10 +0100 From: Tomas Volf <~@wolfsden.cz> To: Adam Faiz Cc: tumashu@163.com, guix-devel@gnu.org Subject: Re: How to always keep build tree when run guix build. Message-ID: Mail-Followup-To: Adam Faiz , tumashu@163.com, guix-devel@gnu.org References: <77956f5f-d901-41f0-185e-b79b462c182d@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KcbPDPJfhtJ97ofp" Content-Disposition: inline In-Reply-To: <77956f5f-d901-41f0-185e-b79b462c182d@disroot.org> Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -11.87 X-Spam-Score: -11.87 X-Migadu-Queue-Id: 00FB124C98 X-Migadu-Scanner: mx12.migadu.com X-TUID: q6GwyO6kfgsX --KcbPDPJfhtJ97ofp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024-01-17 16:21:05 +0800, Adam Faiz wrote: > Hello, >=20 > > Hello: > >=20 > > How to always keep build tree when run guix build, at the moment, I= =20 > > use --keep-failed, but it will remove build tree when build success, the > > problem is that build success alway not right build success :-), I need > > go to build tree to check some thing. > >=20 > > Thanks! > >=20 > >=20 > > --=20 >=20 > You can add the `--cache-failures` option when starting the guix-daemon, = which tells it to keep the build failures by default. > It's explained in more detail in the "Invoking guix-daemon" section of th= e Guix manual: > https://guix.gnu.org/en/manual/devel/en/html_node/Invoking-guix_002ddaemo= n.html > I think the question was how to keep all build trees, including the build t= rees =66rom successful builds. Have a nice day, Tomas --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --KcbPDPJfhtJ97ofp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmWnpwoACgkQL7/ufbZ/ waknHQ//TQYJAKv0JZz8evmybMBDkz7vD9JEGEkbnZxrPCTuqgYcEL1S6I/L17e2 dOJBDxnW5JLelfPa3idaLBaXEwMlKltC4a4KBIBoxbtjMDt5Sq0q/OoPAiOnfV1m wKueV24AjJdQ7wUWxHSy80x8iOi585rvQU+t85H4sX/e+oPdJ/NVrxGmPkPs+3se tkycLZX4RFaaq6yn7UJEMnZHvcy586vlbTXYX7IfwjX5brI5yX+xCCUDHA6cjSrC ymiZnrelYVdOMmYO3sZcOEVoRfnurdisZSRxGhhd50Lfh+pCYYg6hCLmi5gA4sMr EWWJ9yrGD9BPnI7NQXUOPq2eBalOnOz4UTevmTA4uBs+t5M0DCkh/Ybf50EA/O0y 6ncjF2TabGHIbDSAp554xbVi+mO8hQjo0dB0DC50gCA6pIirc9XvnxAYiFvLJjZA +91jewc+yvrGMwiPom6dE1evN01Hi5jE2nH5Rc1dRp/vEK+rfZn/WB1A/eX6TpDv QOKscehdx9kmsa8Lyq2xxQ0MT5u4pPtaHOt+MdPsJmVzzl2VsoTq/PuTTGbAlAxS BCt9akHzg66jUHJjYjimL5kq3dSXUa/3lLrYBciEcqCyVZ/MbMZKq4VChFi5i0sQ viGl3yO5DBgsWqJTQqyMeKyBGCYZbebq7tDtUtrz752S+fCx/1E= =otiM -----END PGP SIGNATURE----- --KcbPDPJfhtJ97ofp--