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: signature.asc
Description: PGP signature

  • Heisenbug Development of GNU Guix and the GNU System distribution.

Reply via email to