ports/102978: lang/ruby18 won't install

Jacob Atzen jacob at jacobatzen.dk
Thu Sep 7 13:40:50 UTC 2006


>Number:         102978
>Category:       ports
>Synopsis:       lang/ruby18 won't install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 07 13:40:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jacob Atzen
>Release:        RELENG_6
>Organization:
>Environment:
FreeBSD metheny.relationshuset.dk 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Sep  4 15:01:59 CEST 2006     root at metheny.relationshuset.dk:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Trying to install ruby-1.8.4 and ruby-1.8.5 from ports gives the following error message when in the install part:

Generating RI...
/usr/ports/lang/ruby18/work/ruby-1.8.4/lib/yaml.rb:9:in `require': no such file to load -- stringio (LoadError)
        from /usr/ports/lang/ruby18/work/ruby-1.8.4/lib/yaml.rb:9
        from /usr/ports/lang/ruby18/work/ruby-1.8.4/lib/rdoc/ri/ri_descriptions.rb:1
        from /usr/ports/lang/ruby18/work/ruby-1.8.4/lib/rdoc/ri/ri_reader.rb:1
        from /usr/ports/lang/ruby18/work/ruby-1.8.4/lib/rdoc/generators/ri_generator.rb:46
        from /usr/ports/lang/ruby18/work/ruby-1.8.4/lib/rdoc/rdoc.rb:250:in `document'
        from ./bin/rdoc:63
*** Error code 1

Stop in /usr/ports/lang/ruby18/work/ruby-1.8.4.
*** Error code 1

Stop in /usr/ports/lang/ruby18.

This happens after most of ruby have been copied to the correct places.


>How-To-Repeat:
cd /usr/ports/lang/ruby18 && make install
>Fix:
A workaround is to enter work/ruby-1.8.4/ext/stringio and do a "make install" in that directory and then continue the install from the port base directory.

Beware that the syck extension suffers from the same problem, with the same 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list