Bug 712927
Summary: | The latest rubygems makes problem to install Builder | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> |
Component: | rubygem-builder | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | ftbfs, mastahnke, mtasaka, vanmeeuwen+fedora, vondruch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-11-25 14:48:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 716048 |
Description
Vít Ondruch
2011-06-13 15:59:07 UTC
Apparently this is a bug in builder. Note that even with rubygems 1.3.7, installing builder causes rdoc generation error: http://koji.fedoraproject.org/koji/buildinfo?buildID=225308 http://kojipkgs.fedoraproject.org/packages/rubygem-builder/2.1.2/5.fc15/data/logs/noarch/build.log --------------------------------------------------------------- ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="<!-- HI -->" ... RDOC args: --ri --op /builddir/build/BUILDROOT/rubygem-builder-2.1.2-5.fc15.noarch/usr/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title Builder -- Easy XML Building --main README --line-numbers --quiet lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation --------------------------------------------------------------- However old rubygems had a _bug_ that rdoc generation failure did not cause installation abort, which were fixed in 1.7.2 and 1.8.5. By the way, I always recommend to use "gem install -V" to check what is actually occuring and what actually failed. You can workaround rdoc generation failure by adding "--no-ri" option, however anyway builder should be fixed. By the way the latest builder is 3.0.0, not 2.1.2. As I noted, I know there is documentation problem, but it is not so severe to break the installation IMO. Actually the gem is installed, just the return code states opposite. But since this would be probably better to discuss with upstream, don't you know, by a chance, some issue number or commit which changes the behavior? I have reported error upstream: https://github.com/rubygems/rubygems/issues/135 BTW the installation works with latest RDoc gem installed. *** Bug 716048 has been marked as a duplicate of this bug. *** For now, I am just going to ignore the gem return value. The result will be same as it always was (at least from FC8) and the package will build again. There was other options like include rubygem-rdoc, or do not generate RI documentation etc, but this was the most straight forward. Hopefully Builder >= 3 will fix this issues, but there is not yet the right time to push it forward, since it is Rails 3.0 dependency. |