GNU bug report logs - #49240
Guix 1.3.0 tests/guix-environment.sh fails with Guile 2.2.7

Previous Next

Package: guix;

Reported by: 藍挺瑋 <lantw44 <at> gmail.com>

Date: Sun, 27 Jun 2021 09:41:01 UTC

Severity: normal

Full log


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

From: 藍挺瑋 <lantw44 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Guix 1.3.0 tests/guix-environment.sh fails with Guile 2.2.7
Date: Sun, 27 Jun 2021 17:40:19 +0800
The commit d613c1771a1986d3c0f1e034155fde41f32f9b8e seems to break tests/guix-
environment.sh test for Guix 1.3.0 on Guile 2.2.7.

The line which causes the test to fail is:

  (when (zero? (modulo (round (* 100. (/ transferred size))) 10))

When Guile 2.2.7 runs this line, it fails with the error:

  Wrong type (expecting exact integer): 2.0

The error comes from the call to 'zero?'.

This issue can be related to https://issues.guix.gnu.org/issue/44985 because the
commit mentioned above is an attempt to fix the issue.




This bug report was last modified 3 years and 352 days ago.

Previous Next


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