Guix 1.3.0 tests/guix-environment.sh fails with Guile 2.2.7

  • Open
  • quality assurance status badge
Details
One participant
  • ???
Owner
unassigned
Submitted by
???
Severity
normal
?
(address . bug-guix@gnu.org)
ea9ed67f3504bce3f3158dad456767cae59c93ff.camel@gmail.com
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/44985because the
commit mentioned above is an attempt to fix the issue.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 49240@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 49240
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch