[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67532: “make check” requires network
From: |
Ludovic Courtès |
Subject: |
bug#67532: “make check” requires network |
Date: |
Mon, 11 Dec 2023 22:42:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Simon Tournier <zimon.toutoune@gmail.com> skribis:
> Running ’make check’ without network leads to errors, for instance.
[...]
> $ cat tests/derivations.log
> substitute: guix substitute: warning: ACL for archive imports seems to be
> uninitialized, substitutes may be unavailable
> substitute: guix substitute: warning: authentication and authorization of
> substitutes disabled!
> building path(s)
> `/home/simon/src/guix/guix/test-tmp/store/qkg9bx9adcv98n9z40dvw68mip3vg1dg-bash'
>
> Starting download of
> /home/simon/src/guix/guix/test-tmp/store/qkg9bx9adcv98n9z40dvw68mip3vg1dg-bash
>>From
>>https://git.savannah.gnu.org/cgit/guix.git/plain/gnu/packages/bootstrap/i686-linux/bash?id=44f07d1dc6806e97c4e9ee3e6be883cc59dc666e...
> In procedure getaddrinfo: Name or service not known
I had come to forget about that because for the ‘guix’ package
(obviously built in a network-less environment), we “pre-seed” the store
with the 4 or 5 files needed to run the test suite.
So I propose:
diff --git a/doc/contributing.texi b/doc/contributing.texi
index 0833b5d32c..0072e5d42d 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -76,13 +76,13 @@ Building from Git
hack on Guix:
@example
-guix shell -D guix -CPW
+guix shell -D guix -CPWN
@end example
or even, from within a Git worktree for Guix:
@example
-guix shell -CPW
+guix shell -CPWN
@end example
If @option{-C} (short for @option{--container}) is not supported on your
(And not going back to ‘--pure’ because as we know it depends too much
of the goodwill of the user’s shell.)
WDYT?
Ludo’.
- bug#67532: “make check” requires network,
Ludovic Courtès <=