From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2AaXOYEnzGHLJgAAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 10:16:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CL+bM4EnzGFPzQAAG6o9tA (envelope-from ) for ; Wed, 29 Dec 2021 10:16:49 +0100 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 50CBA17487 for ; Wed, 29 Dec 2021 10:16:49 +0100 (CET) Received: from localhost ([::1]:40296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2V4i-0005Lf-1S for larch@yhetil.org; Wed, 29 Dec 2021 04:16:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2V4Z-0005LJ-1Q for help-guix@gnu.org; Wed, 29 Dec 2021 04:16:39 -0500 Received: from [2a00:1450:4864:20::42d] (port=34771 helo=mail-wr1-x42d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2V4X-0003e8-DG for help-guix@gnu.org; Wed, 29 Dec 2021 04:16:38 -0500 Received: by mail-wr1-x42d.google.com with SMTP id s1so43278554wrg.1 for ; Wed, 29 Dec 2021 01:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=74EM0R1mNTKbHj7f19iHVPB3Iq8GEYt9ITRX+iNtgfI=; b=ATN9eT+TYu2trKE/rlGSkna2zLNyv7Su7nPQiE5Wgng2Je3s2MrRJWJ20HwJ+qdcbZ ZSDpHucn2kwUYvYUWt+q8W4jpnj3zd9LtvTXx4aAkbRhPrnOIvpTP2qYNu5YXpiVOhrt JDpYb6g4LICmH49kP1KsMzJE8mNLMNyDF+PV6fAcqIzlezO7kB+wns6TAIALtNc8IeGs TxKdKimxQXhoraBF7CPdIrTTlO2nCELH6BswD2aBH5RXrHYB8Z7IeRJJBSITc8PejPsZ hrJKZ2J/w7dCo1a1H+oIELMqTetk7xa7+MyW/15t/MyfwesJ5rD/VN5Kh1yXrCRnst/m 7HpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=74EM0R1mNTKbHj7f19iHVPB3Iq8GEYt9ITRX+iNtgfI=; b=hBHRx974WT1SBUhTcXhNKo+1+Z6o+jzVtEpLOEtXOa1pZOnmzX1gJ46TKuSmcvBUW2 8+r0yYhjrfZDc+7ExiUmEx1BN4kAP8EgjTguxrXVaXXZsmqIKj4X6XFROtfB+jk8rO+D A3o4QjX3Pj6/Hbj7/wHM1RAs517zX5spktGCwDB72HFFklJZOJB1Mf/VjGSnUMvgRDyF itfqeuTSQxpBtHaGI0Zc5zXfzxDH2Dw9BN7IoRmWG0+lgLKTF+8yTBiwjVSmz35VXc1L nVr1ux7V8KXqk4l29RLvdOXYNht/TD1aY8h8INmZaWb5WwPHMa5iany7TAQYiyIuYjUb Gx7Q== X-Gm-Message-State: AOAM532vXEG3gxfwBgia694Gp9bUwNzcOY9+WUMdbM4hZKzISQ+h0DOf muSHXiWD1fyiXW1wgfADQvxcxYz5Klo= X-Google-Smtp-Source: ABdhPJy845IulbzxUqLeYxgrclJYgvIl91RKZMtoZ3Ru7FUdCJtqCjt8VBI1D2t8joxRuEHDB+0RjA== X-Received: by 2002:a5d:590e:: with SMTP id v14mr19842884wrd.208.1640769395028; Wed, 29 Dec 2021 01:16:35 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n1sm21514084wri.46.2021.12.29.01.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 01:16:34 -0800 (PST) From: zimoun To: David Lecompte , Matthew Brooks , "help-guix@gnu.org" Subject: Re: Avoiding rebuilds (e.g. of mariadb, the entire Rust chain, etc.)? In-Reply-To: References: <20211226234130.5ad3d9f2@mailbox.org> Date: Wed, 29 Dec 2021 10:12:27 +0100 Message-ID: <86o84zkc5g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640769409; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=74EM0R1mNTKbHj7f19iHVPB3Iq8GEYt9ITRX+iNtgfI=; b=cS1PjTOlWe4jQTfRyIiX/ZRhHbGeF2BFnEFzFO1D/f1oWNoJXlA+vMd/qSe4j60LtXbRRv AGwTqNhDxPFG79ksx/hzl3TUcdOKYI027scBmsSVVLPGmwqcubJcJhgefUOFPmM3QpATeB 6lv9hWC9KOTPryIfCgE8a9Zi7ydInB4O9mogKI45In483KEKhXbkmnn72EOLuSORuFfMZL AOHbQL8mWknpE9pKLfW4l6+k+14AH0dJvu+26ig3MMnhwb3VPGC93iRknFTkX8ImA6cJZQ 8vda2HXW/+6UJjM36idQJt1aVcHB1DFvtzPhu37S1fza35vBY2SPp9IX7eyTSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640769409; a=rsa-sha256; cv=none; b=K8hY7X+zKO58kh19VP3Dwoh0l/uzkm1f15+ZHquSBwlH2baPQwpNLanXNECcR8UgjOfub3 nSCGj7b6WmpFWs8tqGWzKlMkN8Lrgrmw7yM5OCyarKnglLpxrrsvs0kzE4Fwb2DJvZbDwc mb+pPfPzRA/B03BJXKM87b+L1jSBTMjhCzYdns6QCTZmfm9WbOGZKlL8UHr24xd0r2ocqR oFaIhM7P7GfpSeKmJQaPjjwgUnMhCdE4mO9Zq571lkdEMPvsqFlo063O7d0L8NPoHKa54H thgFDNzS75TEVtJgjUSYRl0Fby8MTbuS/hIhrcmekzObn6uoowd5h8ABX7W6Sw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ATN9eT+T; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ATN9eT+T; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 50CBA17487 X-Spam-Score: -8.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: wBWmzOoaieFa Hi, On Mon, 27 Dec 2021 at 09:23, David Lecompte via wrote: > Le dimanche 26 d=C3=A9cembre 2021 =C3=A0 23:41 -0600, Matthew Brooks a = =C3=A9crit=C2=A0: >> Is there any way to avoid rebuilding stuff like mariadb, the entire >> Rust chain, etc. unless one of those packages *actually* changes? It >> seems like every few days every single package needs to rebuild for >> some reason, including many packages that spend unbelievably long >> times running tests that will never actually be of use to me, so I'm >> usually only able to update every couple of weeks since so much >> constantly needs to be rebuilt and everything takes so long. >>=20 > > I don't have a solution, just similar experience but with a different > setup. > > I use Guix on Trisquel on my X200, I have substitues enabled,=C2=A0my > installed packages are glibc-locales, fontconfig, font-adobe-source- > han-sans, gajim, gajim-omemo, gajim-openpgp, nheko, syncthing, > darktable, and ungoogled-chromium. > > Often, "guix pull" and "guix package update" take between 1h and 2h. > This is not due to the download time. Apparently, even with substitues, > some CPU-heavy work is needed. Maybe I miss something with your requirements. To avoid such disagreements, I do 3 things: 1) enable =E2=80=99channel-with-substitutes-available=E2=80=99 [1] 2) split profiles: essentials under ~/.guix-profile (nss-certs, git, recutils, glibc-locales, tree, etc.); emacs under ~/.config/guix/profiles/emacs, python under ~/.config/guix/profiles/python, etc. All the profiles managed using manifest.scm [2] 3) run =E2=80=9Cguix weather -m manifest.scm=E2=80=9D before updating Basically, most of the time, I do not need the very last version and I can wait that the build farm has it. The only annoyance is security fixes and substitutes not ready yet. In this case, in the meantime, I run the package with =E2=80=9Cguix shell -C=E2=80=9D which is a weak mitiga= tion or =E2=80=9Cguix system vm=E2=80=9D if I am in paranoid mode. :-) 1: 2: Cheers, simon