Fails check with with mocha 2+
Task Info (Flyspray) | |
---|---|
Opened By | loqs (loqs) |
Task ID | 79721 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-09-17 15:15:18 UTC |
Status | Assigned |
Assignee | David Runge (dvzrv) |
Details
Description: ruby-i18n fails check with mocha 2 or newer [1]. Not an upstream issue as the Gemfile contains "gem 'mocha', '~> 1.7.0'" [2]. The PKGBUILD removes the Gemfile [3] Fixed by replacing "require 'mocha/setup'" with "require 'mocha/minitest'" in test/test_helper.rb. Proposed fix in PKGBUILD.diff [4].
Additional info:
- ruby-i18n 1.12.0-1
- ruby-mocha 2.1.0-1 [1] ruby-i18n-1.12.0-1-x86_64-check.log [2] https://github.com/ruby-i18n/i18n/blob/v1.12.0/Gemfile#L5 [3] https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-i18n/-/blob/86b8efcb5096bf69e3f3388d8312fcd95a1ba284/PKGBUILD#L26 [4] PKGBUILD.diff
Steps to reproduce: $ pkgctl repo clone --protocol=https ruby-i18n $ cd ruby-i18n $ pkgctl build