Hi Praveen,

On Thu, 21 Nov 2019 20:51:44 +0530 Pirate Praveen
<[email protected]> wrote:
> Package: ruby-benchmark-suite
> Version: 1.0.0+git.20130122.5bded6-2
> Severity: important
>
> This package fails to build with ruby-benchmark-ips 2.7 in experimental
> and blocking its upload to unstable.
>
> /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner
>
>
┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.5 from debian/ruby-tests.rb │
>
└──────────────────────────────────────────────────────────────────────────────┘
>
>
RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-benchmark-suite/usr/lib/ruby/vendor_ruby:.

>
GEM_PATH=/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0

> ruby2.5 debian/ruby-tests.rb
> /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
> `require': cannot load such file -- benchmark/helpers (LoadError)

This happens because upstream of benchmark-ips removed
benchmark/helpers; see here[1].
For the very same, I'm attaching the patch to fix this :)

Furthermore, I've pushed the fix and the changes to the salsa repo,
which could be found here[2].
NOTE: Since there's no gemspec present (either in debian or
upstream[3]), I've left it as is. This also means the autopkgtest would
*not* be able to parse the dependencies and wouldn't proceed.
I'll leave that to you and for the maintainer of this package to decide :)

That said, ruby-benchmark-suite *now* works with ruby-benchmark-ips 2.7
in experimental.


Best,
Utkarsh
---
[1]:
https://salsa.debian.org/ruby-team/ruby-benchmark-ips/commit/48eb77c13e731c30e4441ea55f954e6913695e57#e9d3ebbdb8340b26424c10e5a55e7d6ef26e1ce0
[2]: https://salsa.debian.org/ruby-team/ruby-benchmark-suite
[3]: https://github.com/evanphx/benchmark_suite

Description: Remove "requirement" of benchmark/helpers.
 This file is no longer provided by the upstream.
Author: Utkarsh Gupta <[email protected]>
Bug-Debian: https://bugs.debian.org/945232
Last-Update: 2019-11-21

--- a/lib/benchmark_suite.rb
+++ b/lib/benchmark_suite.rb
@@ -1,6 +1,5 @@
 require 'benchmark/suite'
 require 'benchmark/ips'
-require 'benchmark/helpers'
 
 class BenchmarkSuite
   VERSION = '1.0.0'

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to