pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44787: ruby-rails3 does not build with ruby18

>Number:         44787
>Category:       pkg
>Synopsis:       ruby-rails3 does not build with ruby18 because of rdoc 
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 29 10:50:00 +0000 2011
>Originator:     Christoph Badura
>Release:        NetBSD 5.1_STABLE
        bozotic test labs for random software
System: NetBSD limiting-factor 5.1_STABLE NetBSD 5.1_STABLE (nervous-energy) 
#1: Tue Feb 22 11:19:57 UTC 2011 
root@youll-thank-me-later:/m/obj/m/src/sys/arch/i386/compile/nervous-energy i386
Architecture: i386
Machine: i386

Building the ruby-rails3-3.0.5 package fails with:
===> Installing for ruby18-rails-3.0.5
=> Installing gem into installation root
File not found: lib
ERROR:  While generating documentation for rails-3.0.5
... MESSAGE:   exit
... RDOC args: --ri --op /pkg_comp/obj/pkgsrc/www/ruby-rails3/default/.inst/usr/
pkg/lib/ruby/gems/1.8/doc/rails-3.0.5/ri lib --title rails-3.0.5 Documentation -
Successfully installed rails-3.0.5
1 gem installed
Installing ri documentation for rails-3.0.5...
*** Error code 1

rails-3.0.4 did install fine.

echo RUBY_VERSION_DEFAULT=1.8 >>/etc/mk.conf
( cd $PKGSRCDIR/www/ruby-rails3 && make install)

Install rdoc 3.4 or newer and possibly rdoc-data gems.

Maybe these should be installed by default for ruby18.

A short-term fix for the 2011Q1 branch would be to downgrade rails to 3.0.4.


Home | Main Index | Thread Index | Old Index