From: Josselin Poiret <dev@jpoiret.xyz>
To: Felix Lechner <felix.lechner@lease-up.com>, guix-devel@gnu.org
Subject: Re: Heisenbug
Date: Thu, 28 Dec 2023 10:36:08 +0100 [thread overview]
Message-ID: <87r0j6vfcn.fsf@jpoiret.xyz> (raw)
In-Reply-To: <871qbuk17f.fsf@lease-up.com>
[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]
Hi Felix,
Felix Lechner via "Development of GNU Guix and the GNU System
distribution." <guix-devel@gnu.org> writes:
> Hi,
>
> Running 'make' in a hacked Guix, I get this error the first time around:
>
> [ 84%] LOAD gnu/tests/ldap.scm
> [ 84%] LOAD gnu/tests/linux-modules.scm
> [ 84%] LOAD gnu/tests/mail.scm
> [ 84%] LOAD gnu/tests/messaging.scm
> [ 84%] LOAD gnu/tests/networking.scm
> [ 84%] LOAD gnu/tests/package-management.scm
> [ 84%] LOAD gnu/tests/pam.scm
> [ 85%] LOAD gnu/tests/reconfigure.scm
> ice-9/eval.scm:293:34: error: label: unbound variable
> hint: Did you forget a `use-modules' form?
>
> make[2]: *** [Makefile:7104: make-system-go] Error 1
> make[2]: Leaving directory '/lcl/lechner/guix/git'
> make[1]: *** [Makefile:6152: all-recursive] Error 1
> make[1]: Leaving directory '/lcl/lechner/guix/git'
> make: *** [Makefile:4268: all] Error 2
>
> When I run 'make' a second time, the error changes to:
>
> [ 77%] LOAD gnu/artwork.scm
> [ 77%] LOAD gnu/bootloader.scm
> [ 77%] LOAD gnu/bootloader/grub.scm
> [ 77%] LOAD gnu/bootloader/extlinux.scm
> [ 77%] LOAD gnu/bootloader/u-boot.scm
> [ 77%] LOAD gnu/bootloader/depthcharge.scm
> [ 77%] LOAD gnu/ci.scm
> error: profile: source expression failed to match any pattern
>
> make[2]: *** [Makefile:7104: make-system-go] Error 1
> make[2]: Leaving directory '/lcl/lechner/guix/git'
> make[1]: *** [Makefile:6152: all-recursive] Error 1
> make[1]: Leaving directory '/lcl/lechner/guix/git'
> make: *** [Makefile:4268: all] Error 2
>
> What's a good way to debug this, please? Where is my error? Thanks!
Usually, these Heisenbugs come from the lack of dependency tracking in
Guile: module dependencies have changed but their dependents weren't
rebuilt. I would usually suggest `make clean-go` then `make`, and if
the error happens again then you most likely are in front of the
“actual” error.
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
prev parent reply other threads:[~2023-12-28 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-10 6:42 Heisenbug Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-12-10 13:05 ` Heisenbug Attila Lendvai
2023-12-10 15:11 ` Heisenbug Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-12-10 18:00 ` Heisenbug Ricardo Wurmus
2023-12-28 9:36 ` Josselin Poiret [this message]
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=87r0j6vfcn.fsf@jpoiret.xyz \
--to=dev@jpoiret.xyz \
--cc=felix.lechner@lease-up.com \
--cc=guix-devel@gnu.org \
/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).