Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33774 - dev-ruby/ruby-libart2-0.8.0 emerge fails using ruby-1.8.1_pre2-r1
Summary: dev-ruby/ruby-libart2-0.8.0 emerge fails using ruby-1.8.1_pre2-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 11:48 UTC by Howard B. Golden
Modified: 2003-12-05 00:05 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 Howard B. Golden 2003-11-18 11:48:51 UTC
Trying to emerge dev-ruby/ruby-libart2, I get a version mismatch with
ruby-1.8.1_pre2-r1. See messages below.

Reproducible: Always
Steps to Reproduce:
1. emerge -uv ruby-libart2
Actual Results:  
>>> Unpacking ruby-gnome2-all-0.8.0.tar.gz to
/var/tmp/portage/ruby-libart2-0.8.0/work
>>> Source unpacked.
ruby-gnome2
/usr/lib/ruby/1.8/i686-linux-gnu/rbconfig.rb:7: ruby lib version (1.8.1) doesn't
match executable version (1.8.0) (RuntimeError)
        from /usr/lib/ruby/1.8/mkmf.rb:4:in `require'
        from /usr/lib/ruby/1.8/mkmf.rb:4
        from
/var/tmp/portage/ruby-libart2-0.8.0/work/ruby-gnome2-all-0.8.0/glib/src/lib/mkmf-gnome2.rb:1:in
`require'
        from
/var/tmp/portage/ruby-libart2-0.8.0/work/ruby-gnome2-all-0.8.0/glib/src/lib/mkmf-gnome2.rb:1
        from extconf.rb:7:in `require'
        from extconf.rb:7

!!! ERROR: dev-ruby/ruby-libart2-0.8.0 failed.
!!! Function ruby-gnome2_src_compile, Line 40, Exitcode 1
!!! extconf.rb failed

Expected Results:  
Should have emerged ruby-libart2

Portage 2.0.49-r16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9-gentoo)
=================================================================
System uname: 2.6.0-test9-gentoo i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /opt/tomcat/conf
/usr/kde/3.2/share/config /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/xdvi/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox usersandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/
http://gentoo.seren.com/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile
ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr 3dnow acl acpi
acpi4linux amd antlr apache2 dnd doc dvd ethereal evo fbcon fbdev
foreign-package foreign-sysvinit freetds gb gd gd-external ginac gnomedb
gstreamer gtk2 imap innodb ipv6 jikes junit kerberos libgda maildir mbox mdb mmx
moznoirc moznomail nptl oci8 odbc ofx pda pg-hier pic plotutils radeon samba
sasl slp snmp sse tiff type1 usb wmf wxwindows Xaw3d xml zeo"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-11-19 08:58:26 UTC
It looks you didn't emerge ruby-1.8.1_pre2 successfully.
What does `epm -q ruby`, `ls -l /usr/bin/ruby*` and `ruby -v` say?
(in case you haven't used epm, it's in app-portage/epm)
Comment 2 Howard B. Golden 2003-11-19 09:55:01 UTC
Re Comment #1: Here is the information you requested:

bash-2.05b$ epm -q ruby
ruby-1.8.0
ruby-1.8.1_pre2-r1
bash-2.05b$ ls -l /usr/bin/ruby*
-rwxr-xr-x    1 root     root         5748 Oct  9 21:42 /usr/bin/ruby
-rwxr-xr-x    1 root     root         2751 Nov 16 12:11 /usr/bin/ruby-config
-rwxr-xr-x    1 root     root         2362 Oct 31 08:21 /usr/bin/ruby-glade-create-template
-rwxr-xr-x    1 root     root         6168 Nov 16 12:11 /usr/bin/ruby18
bash-2.05b$ ruby -v
ruby 1.8.0 (2003-08-04) [i686-linux-gnu]
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-11-19 13:56:18 UTC
Howard, please do the following:

epm -e ruby-1.8.0
ln -sfn ruby18 /usr/bin/ruby

then try emerging ruby-libart2 again.  I think it should work.
Comment 4 Howard B. Golden 2003-11-19 15:16:45 UTC
Aron, it worked! Thanks!
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-12-05 00:05:40 UTC
alternatives.eclass now forces symlinking to new binary (it didn't
make symlinks if there were binaries with the same name, so we got
wrong binary left behind), so I consider it fixed.