Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79724 - [ruby-stackprof] Fails check with with mocha 2+

Attached to Project: Arch Linux
Opened by loqs (loqs) - Sunday, 17 September 2023, 20:31 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Schleifer (Segaja)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
ruby-stackprof fails check with mocha 2 or newer [1]. Not an upstream issue as the Gemfile contains "'mocha', '~> 0.14'" [2]. The PKGBUILD changes that to "'mocha', '>= 0.14'" [3]. Upstream removed use of mocha in [4].
Fixed by replacing "require 'mocha/setup'" with "require 'mocha/minitest'" in test/test_middleware.rb. See [5].

Additional info:
* ruby-stackprof 0.2.22-1
* ruby-mocha 2.1.0-1
[1] ruby-stackprof-0.2.22-1-x86_64-check.log
[2] https://github.com/tmm1/stackprof/blob/v0.2.22/stackprof.gemspec#L32
[3] https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-stackprof/-/blob/b3f7121868e2bceeacf989ec2ca7690df910b001/PKGBUILD#L22
[4] https://github.com/tmm1/stackprof/commit/bb92978cfc7d1f3ccddb62ae59c67c93c1d3de8b
[5] PKGBUILD.diff

Steps to reproduce:
$ pkgctl repo clone --protocol=https ruby-stackprof
$ cd ruby-stackprof/
$ pkgctl build
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:19 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/ruby-stackprof/issues/ 1

Loading...