Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13135 closed defect (fixed)

ruby-1.8.6-p110 has a bug in lib/rexml, needs update

Reported by: kimuraw (kimura wataru) Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: pguyot (Paul Guyot)
Port:

Description

ruby-1.8.6-p110 has a bug in lib/rexml which reported at [ruby-dev:32040]. this problem occurs errors on configure rubycocoa/rb-cocoa.

[rubycocoa-deve:1222] http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/2007-November/001194.html

Attachments (1)

ruby-186-p110-rexml.patch (2.2 KB) - added by kimuraw (kimura wataru) 16 years ago.

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by kimuraw (kimura wataru)

Attachment: ruby-186-p110-rexml.patch added

comment:1 Changed 16 years ago by nox@…

Cc: pguyot@… added
Milestone: Port Bugs
Summary: UPDATE:ruby-1.8.6-p110 has a bug in lib/rexmlruby-1.8.6-p110 has a bug in lib/rexml, needs update

comment:2 Changed 16 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: newclosed

I believe this was fixed in 34233 (ruby update to p111).

comment:3 Changed 16 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: closedreopened

Actually, p111 doesn't include this fix.

comment:4 Changed 16 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: reopenedclosed

Fixed in r34429.

comment:5 Changed 16 years ago by febeling (Florian Ebeling)

I still have this problem with the latest ruby p111, so I think the ticket should be reopend.

port install rb-cocoa
--->  Configuring rb-cocoa
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0" && /opt/local/bin/ruby -rvendor-specific install.rb config --install-prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/destroot/opt/local --install-root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/destroot " returned error 1
Command output: create ext/rubycocoa/extconf.rb
create framework/GeneratedConfig.xcconfig
create framework/src/objc/Version.h
create tests/Makefile
---> framework
create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/src/objc/osx_ruby.h ...
create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/src/objc/osx_intern.h ...
BSROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb
Generating BridgeSupport metadata for: CoreFoundation ...
    Collect metadata (24.841432 seconds)
/opt/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private method `gsub' called for true:TrueClass (NoMethodError)
	from /opt/local/lib/ruby/1.8/rexml/element.rb:1082:in `[]='
	from /opt/local/lib/ruby/1.8/rexml/element.rb:586:in `add_attribute'
	from ./gen_bridge_metadata.rb:1435:in `generate_xml_document'
	from ./gen_bridge_metadata.rb:1419:in `each'
	from ./gen_bridge_metadata.rb:1419:in `generate_xml_document'
	from ./gen_bridge_metadata.rb:551:in `xml_document'
	from ./gen_bridge_metadata.rb:1511:in `generate_xml'
	from ./gen_bridge_metadata.rb:1511:in `open'
	from ./gen_bridge_metadata.rb:1511:in `generate_xml'
	from ./gen_bridge_metadata.rb:542:in `write'
	from build.rb:106
	from build.rb:50:in `measure'
	from build.rb:104
	from build.rb:62:in `each'
	from build.rb:62
config failed
hook /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/post-config.rb failed:
'system BSROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb' failed
try 'ruby install.rb --help' for usage

Error: Status 1 encountered during processing.

Version

$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9.2.2]

And the port file:

$ port cat ruby|head
# $Id: Portfile 34556 2008-02-28 07:34:56Z pguyot@kallisys.net $

PortSystem 1.0

name			ruby
version			1.8.6-p111
revision		1

categories		lang ruby
maintainers		pguyot@kallisys.net

comment:6 Changed 16 years ago by kimuraw (kimura wataru)

This problem was fixed RubyCocoa 0.13.0 or later. The ticket #14400 updates rb-cocoa to 0.13.2.

I'll contact the rb-cocoa port maintainer.

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.