Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#44599 - [ruby-gtk2] Missing dependency: ruby-pkgconfig
Attached to Project:
Community Packages
Opened by Balló György (City-busz) - Wednesday, 15 April 2015, 19:32 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 15 April 2015, 20:06 GMT
Opened by Balló György (City-busz) - Wednesday, 15 April 2015, 19:32 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 15 April 2015, 20:06 GMT
|
DetailsIt looks like ruby-pkgconfig is a missing dependency.
Steps to reproduce: 1. Install ruby-gtk2 and make sure that ruby-pkgconfig is not installed. 2. Run the attached helloworld.rb. 3. Get the following error: /usr/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'pkg-config' (>= 0) among 21 total gem(s) (Gem::LoadError) Checked in 'GEM_PATH=/home/user/.gem/ruby/2.2.0:/usr/lib/ruby/gems/2.2.0', execute `gem env` for more information from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1311:in `block in activate_dependencies' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `each' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `activate_dependencies' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1282:in `activate' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1314:in `block in activate_dependencies' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `each' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `activate_dependencies' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1282:in `activate' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1314:in `block in activate_dependencies' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `each' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `activate_dependencies' from /usr/lib/ruby/2.2.0/rubygems/specification.rb:1282:in `activate' from /usr/lib/ruby/2.2.0/rubygems.rb:198:in `rescue in try_activate' from /usr/lib/ruby/2.2.0/rubygems.rb:195:in `try_activate' from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require' from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require' from /home/user/Asztal/helloworld.rb:11:in `<main>' Installing ruby-pkgconfig solves the problem. So I think that ruby-pkgconfig should be moved from makedepends to depends in the following packages: - ruby-atk - ruby-cairo - ruby-gdk_pixbuf2 - ruby-glib2 - ruby-gtk2 - ruby-pango |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Wednesday, 15 April 2015, 20:06 GMT
Reason for closing: Implemented
Wednesday, 15 April 2015, 20:06 GMT
Reason for closing: Implemented
Comment by Anatol Pomozov (anatolik) -
Wednesday, 15 April 2015, 19:47 GMT
According to rubygems only ruby-glib2 and ruby-cairo depend on pkgconfig. Other packages will get pkgconfig through transient dependencies.
Comment by Anatol Pomozov (anatolik) -
Wednesday, 15 April 2015, 19:51 GMT
New ruby-glib2 and ruby-cairo just pushed to testing repository. Please check if it works as expected.
Comment by Balló György (City-busz) -
Wednesday, 15 April 2015, 19:51 GMT
Okay, then it's fine to add ruby-pkgconfig to these two packages, and remove from makedepends in other packages.
Comment by Balló György (City-busz) -
Wednesday, 15 April 2015, 20:05 GMT
Yes, the packages work as expected from the testing repository.
helloworld.rb