GNU bug report logs - #67532
“make check” requires network

Previous Next

Package: guix;

Reported by: Simon Tournier <zimon.toutoune <at> gmail.com>

Date: Wed, 29 Nov 2023 19:15:02 UTC

Severity: normal

Full log


Message #8 received at 67532 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 67532 <at> debbugs.gnu.org
Subject: Re: bug#67532: “make check” requires network
Date: Mon, 11 Dec 2023 22:42:30 +0100
[Message part 1 (text/plain, inline)]
Hi,

Simon Tournier <zimon.toutoune <at> 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:

[Message part 2 (text/x-patch, inline)]
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
[Message part 3 (text/plain, inline)]
(And not going back to ‘--pure’ because as we know it depends too much
of the goodwill of the user’s shell.)

WDYT?

Ludo’.

This bug report was last modified 1 year and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.