[bug-notifications] [ruby 0003445]: Missing rb_hash_foreach
Mantis Bug Tracker
noreply at opencsw.org
Sun Feb 22 14:23:49 CET 2009
A NOTE has been added to this issue.
======================================================================
http://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 14:23 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://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://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.
----------------------------------------------------------------------
(0005561) bwalton (manager) - 2009-02-22 14:23
http://opencsw.org/bugtrack/view.php?id=3445#c5561
----------------------------------------------------------------------
Modified the GAR build to allow libruby-static.a to be bundled. Have
verified the problem is resolved after including this file. I'll have
packages in testing/ by days end.
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
2009-02-22 14:23 bwalton Note Added: 0005561
======================================================================
More information about the bug-notifications
mailing list