[DRE-maint] Bug#829175: Missing dependency on ruby-pkg-config

Marc Dequènes (Duck) duck at redhat.com
Fri Jul 1 08:20:52 UTC 2016


Package: ruby-nokogiri
Version: 1.6.8-1
Severity: serious


Quack,

-------------------------------------------------------------
$ vagrant up
Vagrant experienced a version conflict with some installed plugins!
This usually happens if you recently upgraded Vagrant. As part of the
upgrade process, some existing plugins are no longer compatible with
this version of Vagrant. The recommended way to fix this is to remove
your existing plugins and reinstall them one-by-one. To remove all
plugins:

    rm -r ~/.vagrant.d/plugins.json ~/.vagrant.d/gems

Note if you have an alternate VAGRANT_HOME environmental variable
set, the folders above will be in that directory rather than your
user's home directory.

The error message is shown below:

Bundler could not find compatible versions for gem "pkg-config":
  In Gemfile:
    vagrant (= 1.8.4) was resolved to 1.8.4, which depends on
      nokogiri was resolved to 1.6.8, which depends on
        pkg-config (~> 1.1.7)

Could not find gem 'pkg-config (~> 1.1.7)', which is required by gem
'nokogiri', in any of the sources.
-------------------------------------------------------------

Indeed installing ruby-pkg-config solves the problem.

You can see the runtime dep in:

/usr/share/rubygems-integration/2.3.0/specifications/nokogiri-1.6.8.gemspec
but the package lacks it.

\_o<



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