Hiya, When trying to install bettercap, it throws up the following complaint: * Running prepare phase for ruby20 ... Resolving dependencies... Bundler could not find compatible versions for gem "timers": In Gemfile: bettercap was resolved to 1.5.4, which depends on rubydns (>= 1.0.3, ~> 1.0) was resolved to 1.0.3, which depends on timers (~> 4.0.1) Could not find gem 'timers (~> 4.0.1)', which is required by gem 'rubydns (>= 1.0.3, ~> 1.0)', in any of the sources. due to lines like this in the gemspec: s.add_dependency(%q<timers>.freeze, ["~> 4.0.1"]) It appears that doesn't get checked when installing the rubydns package itself, but then does get checked when bettercap does a ruby dependency check. The rubydns ebuild has: ruby_add_rdepend "... dev-ruby/timers:4" which can be satisfied by timer-4.1.1, whereas 4.1.1 will not satisfy the gemspec (only 4.0.0 to <4.1.0 will). The rdepend line therefore needs to be changed to =dev-ruby/timers-4.0.1 or similar (since there are no other versions in the 4.0 range, this should be suitable).
Nice catch. Any idea why they want 4.0.x specifically? We may need to slot times into :4.0 and 4.1 if there an API change. If not, I would rather patch gemspec instead
https://github.com/celluloid/timers/blob/master/CHANGES.md Based on the changelog, there are 4.0.x and 4.1.x series. So it looks like timers needs to be re-slotted
https://github.com/pentoo/pentoo-overlay/commit/86b193c8e4bb323da2e4f15f19559bbc208354ac ok, I've changed it to =timers-4.0* for now, until bug #582614 is fixed