From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eEFBGanhumGxTwEAgWs5BA (envelope-from ) for ; Thu, 16 Dec 2021 07:50:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uAQVFanhumHQdgAAB5/wlQ (envelope-from ) for ; Thu, 16 Dec 2021 06:50:17 +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 185B73494E for ; Thu, 16 Dec 2021 07:50:17 +0100 (CET) Received: from localhost ([::1]:42302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxkal-0007Fb-6H for larch@yhetil.org; Thu, 16 Dec 2021 01:50:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxkaY-0007D7-ML for guix-patches@gnu.org; Thu, 16 Dec 2021 01:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxkaY-0005cu-CZ for guix-patches@gnu.org; Thu, 16 Dec 2021 01:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxkaY-0007p4-9L for guix-patches@gnu.org; Thu, 16 Dec 2021 01:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52505] [PATCH v3 2/2] doc: Mention how to remedy "source file ... newer than compiled error". Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Dec 2021 06:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52505@debbugs.gnu.org Cc: Julien Lepiller , Ryan Prior , Guix Together , Blake Shaw Received: via spool by 52505-submit@debbugs.gnu.org id=B52505.163963734929964 (code B ref 52505); Thu, 16 Dec 2021 06:50:02 +0000 Received: (at 52505) by debbugs.gnu.org; 16 Dec 2021 06:49:09 +0000 Received: from localhost ([127.0.0.1]:34321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxkZg-0007nC-FE for submit@debbugs.gnu.org; Thu, 16 Dec 2021 01:49:08 -0500 Received: from mx1.dismail.de ([78.46.223.134]:13590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxkZQ-0007lm-1i for 52505@debbugs.gnu.org; Thu, 16 Dec 2021 01:49:07 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 41e7b56c; Thu, 16 Dec 2021 07:48:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190914; bh=vmK1cxKv7ElUcTiiowWkG tqCXeDZiri2OBR3gXP3iz8=; b=sQXIVCdLGLusup+tC7kr6NE3/+AX6LMANjB/2 UxKY9e1ouRq4iwT9c5B+FMJCo9cobOAJXqNHJteCF7x/ip1E2xmN6HwkWQ7S/WLd MJKfcrVWFqQ8ZsVAF+kMDc8dE5E1/pfXgs6Cr9m6ct+nAqQ/NvMEjB4tUyo9DJKY eWHHNsMIUqf28ND21GqnCfVo4ptGKSpOUi42LRZL7le7dd6Xw4eKBWlwnJhmQ7r1 TmUICL9PWKATn1gIBnLSfL7T/dqMhRwIhms48L0r2ImnpHHmqZayrlW4G0vJob3j /eQyVEnkRvIA44cwyaVQ6Smshjdgagn+xIBY5As7leJoPUU0Q== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2af15453; Thu, 16 Dec 2021 07:48:44 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 425a7545; Thu, 16 Dec 2021 07:48:43 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 7176e206 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 16 Dec 2021 07:48:43 +0100 (CET) Date: Thu, 16 Dec 2021 01:46:50 -0500 Message-Id: <20211216064649.15033-2-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211216064649.15033-1-jgart@dismail.de> References: <20211216064649.15033-1-jgart@dismail.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via 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=1639637417; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nXRa06kkxQne59JGWzGypMzFD5WsphC/G6WuJPrp09U=; b=g5AmJ5NTApNzq6FHI2RC1q5biVsEA5yqcI9U+pD3zeLcJf9IldNggoavks5TBgo4pkBj6/ DNYvKBYLgozVfVd9EjismCBPrHs+s8XUMyBSNe6rSnFkn6f6122PWQF06TZn4g15mvWl99 LgXdFBqX6//4z0BkRUyjpQ9GdECCXO3+nk23N6LB1sWvmbowwjflFyUImCBavwN1Ewhx6C RFjrj26nVpXsd2pgDpE1zy3QvAUS+e18iTvuhMG/2VE0EiQLTgV5XGposaw6bUXeWXsM1/ dF/ua994sZcTxSmzLUZVQsFx4KvErP38H8hPcBKayXHMkw0P7qvwwfUeXohBeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639637417; a=rsa-sha256; cv=none; b=UAPqmMVe6k+f8289emfymAT7fwesaZu3HyvMOk2hZeBPbc5iY7oJQY7sbjovaiahWCKYBO K5ZLR3+zBvgoRCgNgQojVT5Qmq373WhdvzD92RjdjEDlQnJ4bIeWHIDCOnNac3GRpCB2jh 4sEwXEZ7ry6mND8BGMhZyotpVDkySd7W6/whV14K5A/M+bO03SNt76CR0Nc+8qys/Ijlkz cxPy64k8uoaSTET2aLncOaMXtbAeC/XmXPDi7P4pxvSUckkxEbF85Jt/VTiFxAlb9lOT0W LVG2STYJ5tC9UtCLNwsJouTxmLToF+zm/RoL2ueY5yMgXmbSYapPIoABXHijeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=sQXIVCdL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=sQXIVCdL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 185B73494E X-Spam-Score: -3.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: v0TKl/KtlRnz From: Guix Together * doc/contributing.texi (Running Guix Before It Is Installed): Mention how to remedy "source file ... newer than compiled" error by running `make -j`. Co-authored-by: jgart Co-authored-by: Julien Lepiller Co-authored-by: Ryan Prior Co-authored-by: Blake Shaw --- doc/contributing.texi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/contributing.texi b/doc/contributing.texi index 164e353884..f3182b1564 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -243,6 +243,24 @@ local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree. +Sometimes, especially if you have recently updated your repository, +running @command{./pre-inst-env} will print a message similar to the +following example: + +@example +;;; note: source file /home/user/projects/guix/guix/progress.scm +;;; newer than compiled /home/user/projects/guix/guix/progress.go +@end example + +This is only a note and you can safely ignore it. You can get rid of +the message by running @command{make -j4}. Until you do, Guile will run +slightly slower because it will interpret the code instead of using +prepared Guile object (@file{.go}) files. + +You can run @command{make} automatically as you work using +@command{watchexec} from the @code{watchexec} package. For example, +to build again each time you update a package file, you can run +@samp{watchexec -w gnu/packages make -j4}. @node The Perfect Setup @section The Perfect Setup -- 2.34.0