#996297 ruby-ice-nine: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: Failure/Error: expect(subject.end).to be_frozen #996297
- Package:
- src:ruby-ice-nine
- Source:
- ruby-ice-nine
- Submitter:
- Antonio Terceiro
- Date:
- 2022-02-26 19:48:05 UTC
- Severity:
- serious
- Tags:
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-ice-nine was found to fail to build in that situation. To reproduce this locally, you need to install ruby-all-dev from experimental on an unstable system or build chroot. Relevant part (hopefully): The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-ice-nine/ruby-ice-nine_0.11.2-1+rebuild1633383280_amd64.build.txt
The problem is caused by Ruby 3 freezing Ranges by default [1,2]. Thus the tests try to handle already frozen objects and some code is not working as well. I've forwarded the problem to upstream, but they have been inactive for some time. [1] https://bugs.ruby-lang.org/issues/15504 [2] https://github.com/ruby/ruby/pull/3583/files
Dear Maintainer, I've tried to build your package in a sid chroot environment and no issues were spotted. Build on reprodicible-builds also succeeds [1] (both have ruby-all-dev/1:3.0) Kind Regards [1] https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-ice-nine.html