Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#15299 closed defect (duplicate)

rb-rubygems installation fails

Reported by: nipponese@… Owned by: mr_bond@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ian.w.white@…, tim.harding@…
Port:

Description

After installing ruby, I can't install rb-rubygems. This is the error returned everytime.

$ sudo port install rb-rubygems
Password:
--->  Staging rb-rubygems into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/rubygems-1.1.1" && /opt/local/bin/ruby setup.rb install --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot " returned error 1
Command output: install -c -m 0644 rubygems/specification.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems/specification.rb
install -c -m 0644 rubygems/timer.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems/timer.rb
install -c -m 0644 rubygems/uninstaller.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems/uninstaller.rb
install -c -m 0644 rubygems/user_interaction.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems/user_interaction.rb
install -c -m 0644 rubygems/validator.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems/validator.rb
install -c -m 0644 rubygems/version.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems/version.rb
install -c -m 0644 rubygems/version_option.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems/version_option.rb
install -c -m 0644 rubygems.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/rubygems.rb
install -c -m 0644 ubygems.rb /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/ubygems.rb
cp gem /tmp/gem
install -c -m 0755 /tmp/gem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/bin/gem
rm /tmp/gem
./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

Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to mr_bond@…
Priority: HighNormal

Assigning to maintainer.

comment:2 Changed 17 years ago by ian.w.white@…

I'm getting this too, was ruby 1.8.6-p114_0 compiled without socket?

comment:3 Changed 17 years ago by waikurosu@…

I'd just like to add a "me too"

comment:4 Changed 17 years ago by waikurosu@…

Seems to be a dupe of #15254

comment:5 Changed 17 years ago by ian.w.white@…

Cc: ian.w.white@… added

Cc Me!

comment:6 Changed 16 years ago by tim.harding@…

Cc: tim.harding@… added

Cc Me!

comment:7 in reply to:  4 Changed 16 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Replying to waikurosu@gmail.com:

Seems to be a dupe of #15254

I agree.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.