Ticket #15254 (closed defect: duplicate)

Opened 3 months ago

Last modified 1 month ago

rb-rubygems 1.1.1_0 fails on Staging phase

Reported by: lsproc@exclaim-project.org Assigned to: pguyot@kallisys.net
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: rb-rubygems Cc: mr_bond@macports.org, tim.harding@gmail.com

Description

The port file for rb-rubygems fails to install on my system (Leopard, Xcode Tools from Leopard DVD). This is the error encountered:

./lib/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- socket (LoadError)
	from ./lib/rubygems/custom_require.rb:27:in `require'
	from /opt/local/lib/ruby/1.8/net/protocol.rb:21
	from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
	from ./lib/rubygems/custom_require.rb:27:in `require'
	from /opt/local/lib/ruby/1.8/net/http.rb:28
	from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
	from ./lib/rubygems/custom_require.rb:27:in `require'
	from ./lib/rubygems/remote_fetcher.rb:1
	from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
	from ./lib/rubygems/custom_require.rb:27:in `require'
	from ./lib/rubygems/source_info_cache_entry.rb:3
	from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
	from ./lib/rubygems/custom_require.rb:27:in `require'
	from ./lib/rubygems/source_info_cache.rb:4
	from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
	from ./lib/rubygems/custom_require.rb:27:in `require'
	from setup.rb:206

Change History

2008-05-11 01:27:09 changed by lsproc@exclaim-project.org

  • cc set to lsproc@exclaim-project.org.

Cc Me!

2008-05-11 04:19:56 changed by jmr@macports.org

  • cc changed from lsproc@exclaim-project.org to mr_bond@macports.org.
  • owner changed from macports-tickets@lists.macosforge.org to pguyot@kallisys.net.
  • milestone set to Port Bugs.

Assigning to Paul since there seem to be issues with ruby's socket lib being built. See this ML post.

2008-05-18 10:35:23 changed by nipponese@gmail.com

In the meantime, is there a way to install a previous patch, and easily upgrade later?

2008-05-20 08:27:13 changed by andrew-macports@na-consulting.net

Same problem encountered with Tiger on a Macbook Pro 2.2GHz, latest MacPorts.

2008-05-25 00:11:17 changed by popeast@gmail.com

I got this problem also. I checkout previous Portfile for ruby 1.8.6-p111 and it still meets the same problem, and there's no many difference between p111 and p114's Portfile. I find another ticket #15177 that "When autoconf 2.62 is used, ruby doesn't build all the appropriate standard libraries. such as socket" . I uninstall autoconf and install ruby with system's autoconf, both 1.8.6-p111 and 1.8.6-p114 works fine. So it's autoconf's problem not ruby's. Hope this can help others.

2008-05-27 04:00:47 changed by tim.harding@gmail.com

  • cc changed from mr_bond@macports.org to mr_bond@macports.org, tim.harding@gmail.com.

Cc Me!

2008-05-28 01:31:50 changed by ian.w.white@gmail.com

deactivating autoconf cleaned up the problems for me (OS X 10.5.2), so this is probably a dupe of #15177

2008-06-15 03:18:47 changed by pguyot@kallisys.net

  • status changed from new to closed.
  • resolution set to duplicate.

Definitely a dup of #15177.