Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2006 13:37:47 GMT
From:      Jacob Atzen <jacob@jacobatzen.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/102978: lang/ruby18 won't install
Message-ID:  <200609071337.k87DblYd028593@www.freebsd.org>
Resent-Message-ID: <200609071340.k87DeKC4029394@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609071337.k87DblYd028593>