Bug 1565960
Summary: | Missing rpm dependency - rubygem-json | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | ryan |
Component: | rubygem-rdoc | Assignee: | Vít Ondruch <vondruch> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | luisroca, mo, mtasaka, pvalena, s, strzibny, vanmeeuwen+fedora, vondruch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rubygem-rdoc-6.0.3-2.fc28 rubygem-rdoc-5.1.0-3.fc26 rubygem-rdoc-5.1.0-3.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-15 02:39:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ryan
2018-04-11 07:41:23 UTC
Thx for the report. This is interesting issue. Historically, we unbundled json from Ruby into independent package and json was optional package. However, if you install Ruby, it always get installed via transitive dependencies, specifically RDoc depends on it. Unfortunately, while RDoc still depends on json, it seems that RDoc upstream decided to drop the explicit dependency specification and hence it is now missing in the rubygem-rdoc. rubygem-rdoc-6.0.3-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-06bc836386 rubygem-rdoc-5.1.0-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5e9118e82 rubygem-rdoc-5.1.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-49c0409931 rubygem-rdoc-5.1.0-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-49c0409931 rubygem-rdoc-5.1.0-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5e9118e82 rubygem-rdoc-6.0.3-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-06bc836386 Description of problem: rdoc not found while on system when called from command line rubygem-rdoc-5.1.0-3.fc27 How reproducible: Every time Steps to Reproduce: 1. Check that rdoc is installed 2. type `rdoc --help` in command line 3. Actual results: /usr/share/rubygems/rubygems.rb:271:in `find_spec_for_exe': can't find gem rdoc (>= 0.a) (Gem::GemNotFoundException) [lroca@localhost ~]$ from /usr/share/rubygems/rubygems.rb:299:in `activate_bin_path' Expected results: Produce Help docs Additional info: x86_64 rubygem-rdoc-6.0.3-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. (In reply to Luis from comment #8) I am not able to reproduce with "rdoc --help". What are the steps to reproduce? (In reply to Vít Ondruch from comment #10) > (In reply to Luis from comment #8) > I am not able to reproduce with "rdoc --help". What are the steps to > reproduce? In f27, launch terminal, enter `rdoc --help`. Result: "Can't find gem rdoc". I am doing this: ~~~ $ mock -r fedora-27-x86_64 --scrub all $ mock -r fedora-27-x86_64 -i https://kojipkgs.fedoraproject.org//packages/rubygem-rdoc/5.1.0/3.fc27/noarch/rubygem-rdoc-5.1.0-3.fc27.noarch.rpm $ mock -r fedora-27-x86_64 shell --unpriv $ rdoc --help ~~~ And this works just fine. Must be something on your system. Could you please provide "gem list" output? Or executing the rdoc command like this "RUBYOPT=-d rdoc --help" could give us some hint. It was my use of RVM which I have since `imploded` and removed all traces. `rdoc -help` now works as expected. Glad it worked for you. Thx for feedback. rubygem-rdoc-5.1.0-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. rubygem-rdoc-5.1.0-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |