GNU bug report logs - #29492
tests/guix-system.sh failure on unbound variable check

Previous Next

Package: guix;

Reported by: Eric Bavier <bavier <at> cray.com>

Date: Tue, 28 Nov 2017 19:26:02 UTC

Severity: normal

Done: Eric Bavier <bavier <at> cray.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Eric Bavier <bavier <at> cray.com>
Cc: 29492 <at> debbugs.gnu.org
Subject: bug#29492: tests/guix-system.sh failure on unbound variable check
Date: Thu, 30 Nov 2017 11:04:25 +0100
[Message part 1 (text/plain, inline)]
Hi Eric,

Eric Bavier <bavier <at> cray.com> skribis:

> Latest guix master (2cdf78df2d3d5d88c7e6908754233cf37cce1e61) fails tests/guix-system.sh for me, on line 128.  This seems to be caused by the fact that the error output contains a multi-character column number:
>
> ```
> /tmp/bavier/tmpfile:9:14: In procedure #<procedure 3aba2820 ()>:
> /tmp/bavier/tmpfile:9:14: GRUB-config: unbound variable
> hint: Did you forget a `use-modules' form?

I suppose that’s with Guile 2.0, right?

So the patch would become:

[Message part 2 (text/x-patch, inline)]
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index 4bb866adf..eaa0c4332 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -125,7 +125,8 @@ else
 	# See <http://bugs.gnu.org/26107>.
 	grep "$tmpfile:[49]:[0-9]: GRUB-config.*[Uu]nbound variable" "$errorfile"
     else
-	grep "$tmpfile:9:[0-9]: GRUB-config.*[Uu]nbound variable" "$errorfile"
+	# With Guile 2.0.14 the error is reported on line 14 (the last line).
+	grep "$tmpfile:9:[0-9]\+: GRUB-config.*[Uu]nbound variable" "$errorfile"
     fi
 fi
 
[Message part 3 (text/plain, inline)]
Please push if it works for you.

Thanks,
Ludo’.

This bug report was last modified 7 years and 173 days ago.

Previous Next


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