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#73525 - ruby-irb - wrong dependencies?
Attached to Project:
Community Packages
Opened by Herbert J. Skuhra (zapata) - Thursday, 27 January 2022, 08:57 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 17 May 2023, 04:27 GMT
Opened by Herbert J. Skuhra (zapata) - Thursday, 27 January 2022, 08:57 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 17 May 2023, 04:27 GMT
|
DetailsDescription:
'pacman -S ruby-irb" does not install ruby-rdoc and without it running irb produces the following error: <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- rdoc (LoadError) from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/irb-1.4.1/lib/irb/input-method.rb:17:in `<top (required)>' from /usr/lib/ruby/gems/3.0.0/gems/irb-1.4.1/lib/irb/context.rb:14:in `require_relative' from /usr/lib/ruby/gems/3.0.0/gems/irb-1.4.1/lib/irb/context.rb:14:in `<top (required)>' from /usr/lib/ruby/gems/3.0.0/gems/irb-1.4.1/lib/irb.rb:16:in `require_relative' from /usr/lib/ruby/gems/3.0.0/gems/irb-1.4.1/lib/irb.rb:16:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/irb-1.4.1/exe/irb:9:in `<top (required)>' from /usr/bin/irb:25:in `load' from /usr/bin/irb:25:in `<main>' I guess the following patch would resolve this issue: index 24b3dbeffd33..0304cd67177c 100644 --- a/ruby-irb/trunk/PKGBUILD +++ b/ruby-irb/trunk/PKGBUILD @@ -8,8 +8,7 @@ pkgdesc="Interactive Ruby command-line tool for REPL (Read Eval Print Loop)." arch=('any') url='https://github.com/ruby/irb' license=('BSD-2') -depends=('ruby' 'ruby-reline') -makedepends=('ruby-rdoc') +depends=('ruby' 'ruby-reline' 'ruby-rdoc') options=('!emptydirs') source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") noextract=("$_gemname-$pkgver.gem") |
This task depends upon
# pacman -R ruby-irb
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing ruby-irb breaks dependency 'ruby-irb' required by ruby
Added ruby-rdoc as a dependency of ruby-irb. Merged it to SVN as rev 1133488. The dependency change will be available with the next package build.