Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2005 18:13:56 GMT
From:      Nick Triantos <nick-freebsd@triantos.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/84557: devel/ruby-gems can't build because some necessary libs are not built as part of ruby18 anymore
Message-ID:  <200508041813.j74IDuL1043169@www.freebsd.org>
Resent-Message-ID: <200508041820.j74IKEdv020970@freefall.freebsd.org>

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

>Number:         84557
>Category:       ports
>Synopsis:       devel/ruby-gems can't build because some necessary libs are not built as part of ruby18 anymore
>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 Aug 04 18:20:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nick Triantos
>Release:        5.4 w/ cvsup ports tree
>Organization:
>Environment:
FreeBSD bsd.triantos.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Port devel/ruby-gems fails to build (see error below) because library zlib cannot be found.  In looking at the Makefile for lang/ruby18, zlib is listed as an "OBSOLETED_MODULE".  I can't browse the change history through http://www.freebsd.org/cgi/pds.cgi?ports/lang/ruby18, so I'm not sure why/when this change went in.

error output:
..
install security.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install gem_openssl.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
<--- lib/rubygems
<--- lib

As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
..done.
No library stubs found.

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': No such file to load -- zlib (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:9
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in `manage_gems'
         ... 7 levels...
        from setup.rb:887:in `exec_install'
        from setup.rb:705:in `invoke'
        from setup.rb:674:in `invoke'
        from setup.rb:1352
*** Error code 1

Stop in /usr/ports/devel/ruby-gems.

>How-To-Repeat:
cvsup your ports tree (I update all of ports)

cd /usr/ports/lang/ruby18
make package

cd /usr/ports/devel/ruby-gems
make package
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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