Bug 204083 - devel/rubygem-json_pure: fails to finish installation due to error
Summary: devel/rubygem-json_pure: fails to finish installation due to error
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ruby (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-10-28 05:08 UTC by O. Hartmann
Modified: 2016-12-07 19:38 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2015-10-28 05:08:20 UTC
The port compiles so far but fails the final state of installing its documentation.

[...]
Successfully installed json_pure-1.8.3
Installing ri documentation for json_pure-1.8.3
Installing darkfish documentation for json_pure-1.8.3
ERROR:  While executing gem ... (RDoc::Error)
    error generating /usr/ports/devel/rubygem-json_pure/work/stage/usr/local/lib/ruby/gems/2.1/doc/json_pure-1.8.3/rdoc/Rakefile.html: Error while evaluating /usr/local/lib/ruby/gems/2.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/page.rhtml: undefined method `chomp' for nil:NilClass (RDoc::Error)
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/rubygem-json_pure

===>>> make stage failed for devel/rubygem-json_pure
===>>> Aborting update
Comment 1 Michael Moll freebsd_committer freebsd_triage 2015-11-02 09:55:40 UTC
I fail to reproduce this. Did it work for json_pure-1.8.2? Are you using any patches to your ports tree? What are the options you're using for lang/ruby21 and devel/ruby-gems?
Comment 2 mose 2015-11-21 01:54:57 UTC
I found a way to reproduce it. It only happens with rdoc 3.12.2 that is in devel/rubygem-rdoc3/

If you don't have that port installed, there is no problem (by default it uses the rdoc bundled in ruby which is on rdoc 4.1.0 version).
Comment 3 O. Hartmann 2016-01-05 06:51:12 UTC
devel/rubygem-rdoc3 seems to be required by www/redmine, which gets installed by some ports.
Comment 4 Steve Wills freebsd_committer freebsd_triage 2016-12-07 19:38:13 UTC
Indeed, this is because the rubygem-rdoc3 port is installed. Uninstall it is the only solution. Redmine no longer requires rdoc3 and now that rails3 is deprecated, nothing should be pulling in rdoc3 so it can go away soon too. Closing issue.