[DRE-maint] Bug#945232: ruby-benchmark-suite fails to build with ruby-benchmark-ips 2.7 in experimental

Utkarsh Gupta guptautkarsh2102 at gmail.com
Thu Nov 21 20:37:15 GMT 2019


Hi Praveen,

On Thu, 21 Nov 2019 20:51:44 +0530 Pirate Praveen
<praveen at onenetbeyond.org> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-helpers.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20191122/5dc5cb57/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20191122/5dc5cb57/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list