Skip to content

Zlib.crc32 calculates CRC checksum for string and initial CRC value FAILED #932

@voxik

Description

@voxik

Today for the first time, the Ruby build on Fedora failed with the following error

1)
Zlib.crc32 calculates CRC checksum for string and initial CRC value FAILED
Expected 72057589981397915 == 4046865307
to be truthy but was false
/builddir/build/BUILD/ruby-3.1.2/spec/ruby/library/zlib/crc32_spec.rb:27:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.1.2/spec/ruby/library/zlib/crc32_spec.rb:4:in `<top (required)>'

It seems that one of the changes is the zlib update from 1.2.11-31.fc36 to 1.2.12-1.fc37.

The same issue can be seen in Ruby CI:

https://rubyci.org/logs/rubyci.s3.amazonaws.com/funtoo/ruby-2.7/log/20220427T080138Z.diff.html.gz

and the diff also indicates change from zlib 1.2.11 to 1.2.12. So it seems the test should be probably somehow adapted, unless there is bug in zlib 1.2.12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions