Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20658 - Vim-6.2_pre3 fails to do final linking with ruby-1.8
Summary: Vim-6.2_pre3 fails to do final linking with ruby-1.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-08 18:00 UTC by Robin Johnson
Modified: 2003-05-25 15:39 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-08 18:00:40 UTC
Vim 6.2_pre3 has a problem when linking with ruby-1.8.0, either bad input to 
configure or something bad in the configure file.

Note the actual error line:
"gcc: /usr/lib/ruby/1.8/i686-linux-gnu/-lruby-static: No such file or directory"

This is not the current format for a gcc option.

Reproducible: Always
Steps to Reproduce:
1. USE="ruby" emerge vim
2.
3.

Actual Results:  
make[2]: Leaving directory `/var/tmp/portage/vim-6.2_pre3/work/vim62c/src/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -mcpu=athlon-xp -march=athlon-xp -O3 -
pipe -fomit-frame-pointer   -DPERL5 -fno-strict-aliasing -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.0/i686-linux/CORE  -
I/usr/include/python2.2 -pthread  -I/usr/lib/ruby/1.8/i686-linux-gnu  -o 
objects/if_perl.o auto/if_perl.c
make[2]: Leaving directory `/var/tmp/portage/vim-6.2_pre3/work/vim62c/src/xxd'
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -mcpu=athlon-xp -march=athlon-xp -O3 -
pipe -fomit-frame-pointer   -DPERL5 -fno-strict-aliasing -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.0/i686-linux/CORE  -
I/usr/include/python2.2 -pthread  -I/usr/lib/ruby/1.8/i686-linux-gnu  
version.c -o objects/version.o
  gcc   -rdynamic  -rdynamic   -L/usr/local/lib  -o vim objects/buffer.o 
objects/charset.o objects/diff.o objects/digraph.o objects/edit.o 
objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o 
objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o 
objects/getchar.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o 
objects/mark.o objects/memfile.o objects/memline.o objects/menu.o 
objects/message.o objects/misc1.o objects/misc2.o objects/move.o 
objects/mbyte.o objects/normal.o objects/ops.o objects/option.o 
objects/os_unix.o objects/pathdef.o objects/quickfix.o objects/regexp.o 
objects/screen.o objects/search.o objects/syntax.o  objects/tag.o 
objects/term.o objects/ui.o objects/undo.o objects/window.o  objects/if_perl.o 
objects/if_perlsfio.o objects/if_python.o objects/py_config.o  
objects/if_ruby.o     objects/version.o       -lelf   -lncurses -lacl -lattr -
lgpm -ldl  -rdynamic  -L/usr/local/lib /usr/lib/perl5/5.8.0/i686-
linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/i686-linux/CORE -
lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -L/usr/lib/python2.2/config -
lpython2.2 -ldl -lpthread -lutil -lm -Xlinker -export-
dynamic  /usr/lib/ruby/1.8/i686-linux-gnu/-lruby-static -ldl -lcrypt -lm
gcc: /usr/lib/ruby/1.8/i686-linux-gnu/-lruby-static: No such file or directory
make[1]: *** [vim] Error 1
make[1]: Leaving directory `/var/tmp/portage/vim-6.2_pre3/work/vim62c/src'
make: *** [first] Error 2

!!! ERROR: app-editors/vim-6.2_pre3 failed.
!!! Function src_compile, Line 185, Exitcode 2
!!! emake failed



Portage 2.0.48_pre5 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS=" ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/co
nfig/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/gentoo-cvs/gentoo-x86:/usr/local/portage"
USE="x86 tcpd -3dfx -alsa -arts -bonobo -canna -cjk -freewnn -gb -gnome -gps -
gtk2 -kde -kerberos -leim -libg++ -libgda -matrox -mbox -mule -nas -oci8 -
opengl -oss -pcmcia -postgres -voodoo3 -xface -xfs -zero 3dnow X aalib acl acpi 
activefilter -afs apache2 apm avi berkdb cdr crypt cups curl dga directfb dnd 
doc dvd encode esd ethereal expat fbcon flash gd gdbm ggi gif gpm gtk gtkhtml 
guile imap imlib innodb ipv6 java jikes jpeg junit lame lcms ldap libwww 
maildir mikmod mmx motif mozaccess mozcalendar mozilla mozinterfaceinfo mozp3p 
mozsvg mozxmlterm mpeg mysql ncurses nls nptl oav odbc oggvorbis pam pcap 
pdflib perl pic plotutils png pnp python qt quicktime readline ruby samba sasl 
sdl slang slp snmp socks5 spell sse ssl svga tcltk tetex tiff truetype ungif 
vscan wmf xml xml2 xv zlib -bonobo -gnome -xmms"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://209.87.56.3/gentoo-portage"
FEATURES="digest sandbox ccache buildpkg userpriv usersandbox"
Comment 1 Tom Payne (RETIRED) gentoo-dev 2003-05-09 04:50:12 UTC
Ruby-1.8.0 is still under development, and includes a number of low-level API changes. It is most likely that VIM has never been tested with Ruby 1.8.0 (most Ruby packages haven't either, yet!). Note the ruby-1.8.0_pre2 ebuild is marked unstable in CVS.

I use USE="-ruby" emerge vim for the moment (I'm using the latest Ruby CVS).

I recommend this should be filed as a VIM problem not a Gentoo problem.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-05-14 21:50:50 UTC
This is why the vim eclass has

   ruby? ( =dev-lang/ruby-1.6* )

I would like to fix this in vim eventually, but considering ruby-1.8 is still in development, and the ebuild already flags the dependency...  This can't be considered a blocker.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-05-25 15:39:45 UTC
This is fixed as of vim-6.2_pre4 with a Vim patch that I've sent to Bram for consideration.