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

To reply to this bug, email your comments to 49240 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49240; Package guix. (Sun, 27 Jun 2021 09:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 藍挺瑋 <lantw44 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 27 Jun 2021 09:41:02 GMT) Full text and rfc822 format available.

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 2 years and 275 days ago.

Previous Next


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