Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268608 - app-editors/{vim,gvim} fail to build with ruby-1.9.1
Summary: app-editors/{vim,gvim} fail to build with ruby-1.9.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
: 287232 299500 (view as bug list)
Depends on:
Blocks: ruby19
  Show dependency tree
 
Reported: 2009-05-04 14:35 UTC by Dror Levin (RETIRED)
Modified: 2012-07-10 15:17 UTC (History)
5 users (show)

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


Attachments
build.log for app-editors/vim-7.2.108 (vim-build.log,41.49 KB, text/plain)
2009-05-04 14:36 UTC, Dror Levin (RETIRED)
Details
build.log for app-editors/gvim-7.2.108 (gvim-build.log,57.72 KB, text/plain)
2009-05-04 14:36 UTC, Dror Levin (RETIRED)
Details
Proposed patch (099_all_vim_7.2-ruby-1.9.patch,5.48 KB, patch)
2009-05-04 19:32 UTC, Alex Legler (RETIRED)
Details | Diff
Proposed patch from VIM ml (vim72-ruby.patch,6.82 KB, patch)
2009-08-03 17:07 UTC, Dror Levin (RETIRED)
Details | Diff
Updated patch from VIM ml (vim7-ruby19.patch,9.32 KB, patch)
2009-11-16 16:23 UTC, Dror Levin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dror Levin (RETIRED) gentoo-dev 2009-05-04 14:35:13 UTC
I have dev-lang/ruby-1.9.1-r99 from the overlay and vim/gvim fail to build with it.

emerge --info:
Portage 2.2_rc32 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-rc4 x86_64)
=================================================================
System uname: Linux-2.6.30-rc4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Sun, 03 May 2009 21:00:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going --jobs=3"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/mozilla /usr/local/portage/layman/java-overlay /usr/local/portage/layman/ruby"
SYNC="rsync://dagobah/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa amd64 amr amrnb amrwb bash-completion berkdb bidi bugzilla bzip2 cairo caps cdr cli cracklib crypt cscope cups cupsddk curl dbus dell dga divx dri dts dvd dvdr dvdread enca encode exif ffmpeg firefox flac fortran gd gdbm gif git glib gpg gpm gstreamer gtk hal iconv icq icu idn ieee1394 ipv6 isdnlog jabber java java5 java6 jpeg jpeg2k juju kde lame latex lyx mad matroska midi mmx mng mozilla mp3 mp4 mpeg mpeg2 mpeg4 mplayer msn mudflap multilib ncurses network networkmanager nls nptl nptlonly nsplugin ntp ogg opengl openmp oscar pam pch pcre pdf plasma png pppd python qt3support qt4 quicktime readline reflection ruby sasl sdl session smp speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 subversion svg symlink sysfs tcpd theora threads tiff tk truetype unicode usb v4l2 vdpau vim-syntax vorbis webdav webkit wifi x264 xcb xcomposite xine xinerama xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dror Levin (RETIRED) gentoo-dev 2009-05-04 14:36:28 UTC
Created attachment 190312 [details]
build.log for app-editors/vim-7.2.108
Comment 2 Dror Levin (RETIRED) gentoo-dev 2009-05-04 14:36:57 UTC
Created attachment 190313 [details]
build.log for app-editors/gvim-7.2.108
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-05-04 17:28:45 UTC
Mhh, let me see if I can come up with a patch.
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-05-04 19:32:11 UTC
Created attachment 190344 [details, diff]
Proposed patch

aaand here it is. 
Vim guys what do ya think? If you don't have any concerns, I can propose it upstream.
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-05-04 21:04:31 UTC
Eh, wait. That patch breaks with ruby 1.8... Will update it tomorrow, sry :/
Comment 6 Dror Levin (RETIRED) gentoo-dev 2009-08-02 08:22:02 UTC
A patch was sent to the VIM mailing-list: http://groups.google.com/group/vim_dev/browse_frm/thread/eaa3732bef994034#
I'll try and test it when I get home.
Comment 7 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-08-02 08:27:01 UTC
(In reply to comment #6)
> A patch was sent to the VIM mailing-list:
> http://groups.google.com/group/vim_dev/browse_frm/thread/eaa3732bef994034#
> I'll try and test it when I get home.
> 

Eh, that patches configure, where it should patch configure.in. I'll move that.
Comment 8 Dror Levin (RETIRED) gentoo-dev 2009-08-03 17:07:59 UTC
Created attachment 200031 [details, diff]
Proposed patch from VIM ml

I modified the patch to use configure.in and successfully built vim-7.2.238 from the tree with it.
Comment 9 Dror Levin (RETIRED) gentoo-dev 2009-08-03 17:13:50 UTC
Forgot to say that I built VIM using the patch with ruby-1.9.1_p129-r1 and the ruby USE flag, of course.
Comment 10 Sebastian Luther (few) 2009-10-01 20:10:42 UTC
*** Bug 287232 has been marked as a duplicate of this bug. ***
Comment 11 Dror Levin (RETIRED) gentoo-dev 2009-11-16 16:23:23 UTC
Created attachment 210427 [details, diff]
Updated patch from VIM ml

An updated patch was submitted some time ago to the VIM ml. This one patches both configure and configure.in
Comment 12 Dror Levin (RETIRED) gentoo-dev 2009-11-16 16:25:30 UTC
Forgot to mention the patch's source: http://groups.google.com/group/vim_dev/browse_frm/thread/699c65598bc6348b
Comment 13 Dror Levin (RETIRED) gentoo-dev 2009-12-10 17:32:20 UTC
I can confirm that with this patch I was able to compile app-editors/{,g}vim-7.2.303 with USE=ruby using dev-lang/ruby-1.9.1_p243.
It is supposed to work just as well with ruby-1.8, but I can't test it.
Comment 14 Dror Levin (RETIRED) gentoo-dev 2010-01-03 18:41:21 UTC
*** Bug 299500 has been marked as a duplicate of this bug. ***
Comment 15 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-29 20:25:33 UTC
(In reply to comment #8)
> Created an attachment (id=200031) [details]
> Proposed patch from VIM ml
> 
> I modified the patch to use configure.in and successfully built vim-7.2.238
> from the tree with it.
> 

Did anyone submit the patch to bugs@vim.org, which is the method described from ":help bugs" ? Bram has accepted my patches within a week usually.
Comment 16 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-02-18 21:27:23 UTC
According to the vim-dev mailing list, vim-7.2.368 has ruby-1.9 support!  The main patch comes in at 7.2.361[1], with a further runtime fix at 7.2.368[2].

I am going to wait a few days for this to settle out before I bump vim, but this will definitely be done soon.

[1] http://groups.google.com/group/vim_dev/t/943614041f238ce3
[2] http://groups.google.com/group/vim_dev/t/8d6a64fdd09ef12e
Comment 17 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-02-24 17:00:50 UTC
Okay, I think it's ready!  Give [g]vim-7.2.376 a try, and it should build properly against ruby-1.9 (and 1.8 too, apparently).
Comment 18 onip 2012-07-10 15:17:06 UTC
if this is realy resolved and fixed, why the current ebuild (the vim.eclass for saying the truth) still requires =dev-lang/ruby-1.8* if the useflag ruby is enabled?

is there some other relevant bug I wasn't able to find?

thanks