[bug-notifications] [ruby 0003445]: Missing rb_hash_foreach

Mantis Bug Tracker noreply at opencsw.org
Sun Feb 22 03:29:26 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=3445 
====================================================================== 
Reported By:                mswatters
Assigned To:                bwalton
====================================================================== 
Project:                    ruby
Issue ID:                   3445
Category:                   regular use
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     confirmed
====================================================================== 
Date Submitted:             2009-02-21 22:31 CET
Last Modified:              2009-02-22 03:29 CET
====================================================================== 
Summary:                    Missing rb_hash_foreach
Description: 
Configure scripts check if rb_hash_foreach function exists
using the following command.  if it does not exist, it is assumed the
release level is prior to 1.8.2.  

$ /opt/csw/bin/ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [sparc-solaris2.8]

$ /opt/csw/bin/ruby -r mkmf -e 'have_func("rb_hash_foreach")'
checking for rb_hash_foreach()... no

====================================================================== 

---------------------------------------------------------------------- 
 (0005558) bwalton (manager) - 2009-02-22 01:15
 http://www.opencsw.org/bugtrack/view.php?id=3445#c5558 
---------------------------------------------------------------------- 
The have_func feature of mkmf is a header test.  The function is defined in
/opt/csw/lib/ruby/1.8/$arch-solaris2.8/intern.h.  I'll determine why the
test is failing to find this function.

Confirmed on solaris 10 x86 (other platforms not tested yet).

-Ben 

---------------------------------------------------------------------- 
 (0005559) bwalton (manager) - 2009-02-22 03:29
 http://www.opencsw.org/bugtrack/view.php?id=3445#c5559 
---------------------------------------------------------------------- 
have_func builds a small c extension that requires the rb_hash_foreach
symbol.  This is linked against ruby-static.  The ruby-static library isn't
included with the package.  I'll resolve this asap. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-21 22:31 mswatters      New Issue                                    
2009-02-22 01:15 bwalton        Note Added: 0005558                          
2009-02-22 01:15 bwalton        Assigned To               => bwalton         
2009-02-22 01:15 bwalton        Status                   new => confirmed    
2009-02-22 03:29 bwalton        Note Added: 0005559                          
======================================================================




More information about the bug-notifications mailing list