unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 52505@debbugs.gnu.org
Cc: Julien Lepiller <julien@lepiller.eu>,
	Ryan Prior <rprior@protonmail.com>,
	Guix Together <jgart@dismail.de>,
	Blake Shaw <blake@nonconstructivism.com>
Subject: [bug#52505] [PATCH 1/2] doc: Explain the use of make clean-go when an ABI mismatch occurs.
Date: Wed, 15 Dec 2021 06:20:41 -0500	[thread overview]
Message-ID: <20211215112040.25851-1-jgart@dismail.de> (raw)
In-Reply-To: <20211215061623.GB25522@gac.attlocal.net>

From: Guix Together <jgart@dismail.de>

* doc/contributing.texi (Building from Git): Adds section on using
make clean-go.

Co-authored-by: jgart <jgart@dismail.de>
Co-authored-by: Julien Lepiller <julien@lepiller.eu>
Co-authored-by: Ryan Prior <rprior@protonmail.com>
Co-authored-by: Blake Shaw <blake@nonconstructivism.com>
---
 doc/contributing.texi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index db1c4c6921..1bcb550aac 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -157,6 +157,18 @@ You are advised to run @command{make authenticate} after every
 changes to the repository.
 @end quotation
 
+After updating the repository, @command{make} might fail with an error
+similar to the following example:
+
+@example
+error: failed to load 'gnu/packages/dunst.scm':
+ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <origin>>: record ABI mismatch; recompilation needed
+@end example
+
+This means that one of the record types that Guix defines (in this
+example, the @code{origin} record) has changed, and all of guix needs
+to be recompiled to take that change into account. To do so, run
+@command{make clean-go} followed by @command{make}.
 
 @node Running Guix Before It Is Installed
 @section Running Guix Before It Is Installed
-- 
2.34.0





  reply	other threads:[~2021-12-15 11:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 11:16 [bug#52505] [PATCH 1/2] Guix Documentation Meetup Patches jgart via Guix-patches via
2021-12-15 11:20 ` jgart via Guix-patches via [this message]
2021-12-15 11:20   ` [bug#52505] [PATCH 2/2] doc: Mention how to remedy "source file ... newer than compiled error" jgart via Guix-patches via
2021-12-15 12:39     ` zimoun
2021-12-15 13:14     ` Nicolas Goaziou
2021-12-15 13:08   ` [bug#52505] [PATCH 1/2] doc: Explain the use of make clean-go when an ABI mismatch occurs Nicolas Goaziou
2021-12-15 22:34 ` [bug#52505] [PATCH v2 " jgart via Guix-patches via
2021-12-15 22:34   ` [bug#52505] [PATCH v2 2/2] doc: Mention how to remedy "source file ... newer than compiled error" jgart via Guix-patches via
2021-12-16  6:46 ` [bug#52505] [PATCH v3 1/2] doc: Explain the use of make clean-go when an ABI mismatch occurs jgart via Guix-patches via
2021-12-16  6:46   ` [bug#52505] [PATCH v3 2/2] doc: Mention how to remedy "source file ... newer than compiled error" jgart via Guix-patches via
2022-01-28  9:16 ` bug#52505: [PATCH 1/2] Guix Documentation Meetup Patches Nicolas Goaziou
2022-02-03  0:43   ` [bug#52505] " jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211215112040.25851-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=52505@debbugs.gnu.org \
    --cc=blake@nonconstructivism.com \
    --cc=jgart@dismail.de \
    --cc=julien@lepiller.eu \
    --cc=rprior@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).