Robert Schweikert (rjschwei@suse.com) wrote:
When I try to install the opennebula package which through the dependency chain pull ins rubygem-sinatra I get the message:
You are more likely to receive useful help if you provide steps to reproduce. How did you install? Which repo did you use - SP2, 12.1, 12.2, or Factory? Although in this case the problem is already clear:
Nothing provides rubygem(1.9.1:rack) >= 1.3.6 needed by rubygem-sinatra
Yes, that's correct: https://build.opensuse.org/package/binary?arch=x86_64&filename=rubygem-sinatra-1.3.3-5.1.x86_64.rpm&package=rubygem-sinatra&project=Cloud%3AOpenNebula&repository=openSUSE_12.2 clearly shows that Sinatra requires rack ~> 1.3.6, but your project does not provide this, since its version of rubygem-rack-1_3 is only 1.3.5.
I have linked rubygem-rack from d:l:r:e and thus rubygem-sinatra should depend on the rubygem-rack package from the openNebula repo. rubygem-rack built successfully. Therefore, adding Cloud:OpenNebula as a repo should be sufiicient, but it is not.
Nope, because it doesn't satisfy the version requirements as above.
The spec file for sinatra also does not have an explicit "Requires:..." for rubygem-rack for version 1.3.6 or greater.
Correct, it's an automatically generated dependency: https://build.opensuse.org/package/binary?arch=x86_64&filename=rubygem-sinatra-1.3.3-5.1.x86_64.rpm&package=rubygem-sinatra&project=Cloud%3AOpenNebula&repository=openSUSE_12.2 I spent a lot of effort recently documenting how this works: http://en.opensuse.org/openSUSE:Packaging_Ruby#How_gem_dependencies_are_auto... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org