[Bug 1168333] Review Request: vagrant-libvirt - Vagrant provider for libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1168333



--- Comment #3 from Michael Adam <madam@xxxxxxxxxx> ---
I hit a couple of issues:

In order to mock build the package at all, for the time being
I first enable the  [local] in my fedora-rawhide-x86_64 mock config,
because official fedora repos don't have the vagrant package yet.
(Thanks for the hint, Vít.)

I am running "fedora-review -b 1168333 -m fedora-rawhide-x86_64.local".
Now the build fails running %check:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ pushd ./usr/share/vagrant/gems/gems/vagrant-libvirt-0.0.23
+ sed -i '/:git/ s|:git.*$|:path => "/usr/share/vagrant"|' Gemfile
+ sed -i '/rspec/ s|\[\".*\"]|["~> 2.0"]|' vagrant-libvirt.gemspec
+ bundle exec rspec2 spec
Your Gemfile lists the gem vagrant-libvirt (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version
of just one of them later.
/usr/share/gems/gems/bundler-1.7.8/lib/bundler/resolver.rb:357:in `resolve':
Could not find gem 'rake (= 10.1.0) ruby' in the gems available on this
machine. (Bundler::GemNotFound)
        from /usr/share/gems/gems/bundler-1.7.8/lib/bundler/resolver.rb:164:in
`start'
        from /usr/share/gems/gems/bundler-1.7.8/lib/bundler/resolver.rb:129:in
`resolve'
        from
/usr/share/gems/gems/bundler-1.7.8/lib/bundler/definition.rb:193:in `resolve'
        from
/usr/share/gems/gems/bundler-1.7.8/lib/bundler/definition.rb:132:in `specs'
        from
/usr/share/gems/gems/bundler-1.7.8/lib/bundler/definition.rb:177:in `specs_for'
        from
/usr/share/gems/gems/bundler-1.7.8/lib/bundler/definition.rb:166:in
`requested_specs'
        from
/usr/share/gems/gems/bundler-1.7.8/lib/bundler/environment.rb:18:in
`requested_specs'
        from /usr/share/gems/gems/bundler-1.7.8/lib/bundler/runtime.rb:13:in
`setup'
        from /usr/share/gems/gems/bundler-1.7.8/lib/bundler.rb:122:in `setup'
        from /usr/share/gems/gems/bundler-1.7.8/lib/bundler/setup.rb:17:in
`<top (required)>'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in
`require'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in
`require'
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.1BBUt3 (%check)
    Bad exit status from /var/tmp/rpm-tmp.1BBUt3 (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps 
/builddir/build/SPECS/vagrant-libvirt.spec 
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 481, in do
    raise mockbuild.exception.Error("Command failed. See logs for output.\n #
%s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps 
/builddir/build/SPECS/vagrant-libvirt.spec 
LEAVE do --> EXCEPTION RAISED

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

So there is 1 warning:
 - Gemfile lists vagrant-libvirt gem more than once.

And one error:
 - The dependency for rake is wrong.
   Apparently 10.1.0 is hard-wired somewhere, but
   rawhide now sports 10.4.2: rubygem-rake-0:10.4.2-3.fc22.noarch

It exceeds my ruby expertise to fix this quickly.

Michael

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]