Bug#739125: vim: Please support building with Ruby 2.0
Christian Hofstaedtler
zeha at debian.org
Sat Feb 15 23:18:47 UTC 2014
Source: vim
Version: 2:7.4.161-1
Severity: normal
Dear Maintainer,
A new ruby-defaults package will be uploaded soon, which will change the
default Ruby version to 2.0.
During a test rebuild with the new ruby-defaults, your package failed to
build. Relevant log parts:
--------------------------------------------------
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/ruby-2.0.0 -DRUBY_VERSION=20 -o objects/if_ruby.o if_ruby.c
In file included from /usr/include/ruby-2.0.0/ruby.h:33:0,
from if_ruby.c:99:
/usr/include/ruby-2.0.0/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
#include "ruby/config.h"
^
compilation terminated.
make[1]: *** [objects/if_ruby.o] Error 1
--------------------------------------------------
The full build log can be found at:
http://aws-logs.debian.net/ftbfs-logs/ruby-defaults/failed-logs/vim_7.4.161-1_unstable.log.gz
>From what I've seen in src/auto/configure, it doesn't know about the
2.0-and-newer 'rubyarchhdrdir' RbConfig parameter. (This declares the
path where ruby/config.h is to be found -- in 1.9 this was statically
rubyhdrdir/arch).
For reference:
$ ruby2.0 -r rbconfig -e "print RbConfig::CONFIG['rubyarchhdrdir']"
/usr/include/x86_64-linux-gnu/ruby-2.0.0
$ ls /usr/include/x86_64-linux-gnu/ruby-2.0.0/ruby/config.h
/usr/include/x86_64-linux-gnu/ruby-2.0.0/ruby/config.h
Thank you,
Christian
More information about the pkg-vim-maintainers
mailing list