Bug 1203321 - vim is compiled without lua
Summary: vim is compiled without lua
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 22
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1221430
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-18 15:07 UTC by RudraB
Modified: 2015-09-23 00:23 UTC (History)
14 users (show)

Fixed In Version: 7.4.827-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-22 08:30:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description RudraB 2015-03-18 15:07:48 UTC
Description of problem:
vim should be compiled with lua

Version-Release number of selected component (if applicable):
vim-X11-7.4.640

How reproducible:
Always


Additional info:
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar  2 2015 08:37:50)
Included patches: 1-207, 209-640
Modified by <bugzilla>
Compiled by <bugzilla>
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         +gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
-clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   +perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python/dyn      +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             +rightleft       +windows
+diff            +menu            +ruby/dyn        +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        +mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -pipe -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags  -Wl,-z,relro  -L/usr/local/lib -Wl,--as-needed -o vim        -lm -lnsl  -lselinux  -lncurses -lacl -lattr -lgpm -ldl   -Wl,--enable-new-dtags  -fstack-protector -L/usr/local/lib  -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc

Comment 1 Jason Tibbitts 2015-04-25 01:30:31 UTC
I get "+lua/dyn" on current F21.  Checking the spec, %withlua switched from 1 to 0 in commit e84b07d:

Commit:     Karsten Hopp <karsten>
CommitDate: Wed Jan 21 16:50:26 2015 +0100

    disable lua for now

Comment 2 Jason Tibbitts 2015-04-25 01:55:58 UTC
*** Bug 1206822 has been marked as a duplicate of this bug. ***

Comment 3 RudraB 2015-04-28 20:03:37 UTC
Is there any specific reason of this?

Comment 4 Ankur Sinha (FranciscoD) 2015-05-21 08:03:52 UTC
It'll be nice to have lua support, quite a few plugins depend on it. I get this, for example:

neocomplete does not work this version of Vim.
It requires "if_lua" enabled Vim(7.3.885 or above).
Press ENTER or type command to continue

Increasing severity - affects users quite a bit.

Comment 5 Ankur Sinha (FranciscoD) 2015-05-27 15:16:06 UTC
Ping? Fedora 22 was released recently and more users are hitting this issue now.

Comment 6 RudraB 2015-05-27 16:09:36 UTC
Ankur, Thanks for increasing the priority and severity. Any idea why it was dropped?

Comment 7 Ankur Sinha (FranciscoD) 2015-05-28 10:11:47 UTC
Not really. We'll have to wait for the maintainer to tell us.

Comment 8 Mamoru TASAKA 2015-06-04 14:06:08 UTC
I am not a maintainer of lua, but the reason was simple, on January 2015,
vim didn't compile with lua 5.3.

See:
https://code.google.com/p/vim/issues/detail?id=329

The above says this is fixed in 7.4.638, so I think vim support
can be enabled now.

Comment 9 Mamoru TASAKA 2015-06-04 14:08:03 UTC
(In reply to Mamoru TASAKA from comment #8)

> 
> The above says this is fixed in 7.4.638, so I think vim support
> can be enabled now.

Of course I meant "lua support can be enabled now"

Comment 10 Ankur Sinha (FranciscoD) 2015-06-08 14:05:51 UTC
I did a scratch build turning the flag to 1, but that didn't fix it for me either. The --version does say +lua/dyn but running something like 

:echo has("lua") still gives me 0. 

Trying to use the lua interpreter:

:lua print('Hello') 

gives another "could not load library function lua_replace" error.

Comment 11 Mamoru TASAKA 2015-06-09 01:00:56 UTC
(In reply to Ankur Sinha (FranciscoD) from comment #10)
> I did a scratch build turning the flag to 1, but that didn't fix it for me
> either. The --version does say +lua/dyn but running something like 
> 
> :echo has("lua") still gives me 0. 
> 
> Trying to use the lua interpreter:
> 
> :lua print('Hello') 
> 
> gives another "could not load library function lua_replace" error.

This is https://bugzilla.redhat.com/show_bug.cgi?id=1221430#c1

Comment 12 Luke Meyer 2015-07-19 11:40:54 UTC
*** Bug 1240300 has been marked as a duplicate of this bug. ***

Comment 13 RudraB 2015-08-27 08:38:20 UTC
Updated to 7.4.827 and now lua is enabled.
REF:https://bugzilla.redhat.com/show_bug.cgi?id=1221430#c11

Comment 14 Karsten Hopp 2015-09-22 08:30:30 UTC
closing per comment#13

Comment 15 Fedora Update System 2015-09-23 00:22:09 UTC
vim-7.4.827-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.