Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104957 - rubygems-0.8.10 fails to install
Summary: rubygems-0.8.10 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-05 15:10 UTC by Michael Labhard
Modified: 2006-01-02 14:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Labhard 2005-09-05 15:10:09 UTC
install version.rb
/var/tmp/portage/rubygems-0.8.10/image/usr/lib/ruby/site_ruby/1.6/rubygems
install gem_commands.rb
/var/tmp/portage/rubygems-0.8.10/image/usr/lib/ruby/site_ruby/1.6/rubygems
install dependency_list.rb
/var/tmp/portage/rubygems-0.8.10/image/usr/lib/ruby/site_ruby/1.6/rubygems
<--- lib/rubygems
<--- lib
hook /var/tmp/portage/rubygems-0.8.10/work/rubygems-0.8.10/./post-install.rb failed:
wrong # of arguments(2 for 1)
Try 'ruby setup.rb --help' for detailed usage.

As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.

!!! ERROR: dev-ruby/rubygems-0.8.10 failed.
!!! Function ruby_einstall, Line 127, Exitcode 1
!!! setup.rb install failed

goliath ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r4 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr//lib/mozilla/defaults/pref
/usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fPIC"
DISTDIR="/opt/no_archive/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo
http://gentoo.ccccom.com http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/opt/no_archive/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa arts avi berkdb bitmap-fonts cdr crypt cups curl doc eds
encode esd fam flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer
gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww
log4cpp lzw lzw-tiff mad mikmod motif mozilla mp3 mpeg multilib mysql nas
ncurses nls ogg opengl pam pdflib perl plotutils png postgres python qt
quicktime readline ruby sdl slang spell ssl svg tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts usb userlocales vorbis wxwindows xine xinerama xml2
xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-09-22 19:02:30 UTC
please see if 0.8.11 works for you.
Comment 2 Michael Labhard 2005-09-22 20:39:28 UTC
Sorry.  No go:

install gem_commands.rb
/var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems
install dependency_list.rb
/var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems
install security.rb
/var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems
install gem_openssl.rb
/var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems
<--- lib/rubygems
<--- lib
hook /var/tmp/portage/rubygems-0.8.11/work/rubygems-0.8.11/./post-install.rb failed:
wrong # of arguments(2 for 1)
Try 'ruby setup.rb --help' for detailed usage.

As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.

!!! ERROR: dev-ruby/rubygems-0.8.11 failed.
!!! Function ruby_einstall, Line 127, Exitcode 1
!!! setup.rb install failed
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-09-22 21:09:35 UTC
hmm, I don't see what's going on here.
Comment 4 Tim Haynes 2005-12-08 10:18:59 UTC
How many versions of ruby does the reporter have installed? Try checking
epm -qaG| grep ruby
and if you've got both 1.6.8 and 1.8.x installed, lose the 1.6.8 stuff.

(I had this, and other similar problems, installing rubygems; transpires I was living in 1.6.8-land.)
Comment 5 Michael Labhard 2005-12-08 17:05:02 UTC
Yes, that worked.  Thank you.  Removing the old version of ruby did the trick. 
Now if we could just get the ebuild to take care of this matter ...
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-01-02 14:37:44 UTC
updated the 0.8.11 ebuild to only install against ruby 1.8