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

Debbugs page

藍挺瑋 wrote 4 years ago
(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
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help