Monday, July 25, 2022

Re: Building in WSL

On 7/25/2022 7:24 AM, 'Suresh Govindachar' via vim_use wrote:
> On 7/24/2022 8:42 AM, 'Suresh Govindachar' via vim_use wrote:

>> Details are provided after the questions pertaining to WSL 2 Ubuntu
>> 20.04 inside Microsot Windows 11:
>>
>>    "git clone; cd vim/src"

make clean
make distclean
./configure --prefix=/usr --enable-gui --enable-gui=gtk3
--with-features=huge
make && make test


Questions:

1) How to get the one unsuccessful test to pass?
3) How to install so that the existing version disappears?

Details:

Executed 118 tests in 0.642854 seconds
../vim -u NONE -U NONE --noplugin --not-a-term -S summarize.vim messages
--cmd 'au SwapExists * let v:swapchoice = "e"' | LC_ALL=C LANG=C
LANGUAGE=C awk '/Executing Test_/{match($0, "Executing
Test_[^\\)]*\\)"); print substr($0, RSTART, RLENGTH) "\r"; fflush()}'

Test results:

Skipped:
test_balloon_gui.vim: only works in the GUI
Test_buffer_scheme(): only works on MS-Windows
Test_job_start_windows(): only works on MS-Windows
Test_job_with_list_args(): only works on MS-Windows
Test_no_hang_windows(): only works on MS-Windows
Test_fuzzy_completion_menu(): only works in the GUI
Test_crypt_sodium(): sodium feature missing
Test_head_only_4(): sodium feature missing
Test_uncrypt_xchacha20(): sodium feature missing
Test_uncrypt_xchacha20_2(): sodium feature missing
Test_uncrypt_xchacha20_3_persistent_undo(): sodium feature missing
Test_uncrypt_xchacha20_invalid(): sodium feature missing
test_cscope.vim: cscope program not executable
Test_edit_shift_bs(): only works on MS-Windows
Test_mac_locale(): osxdarwin feature missing
Test_browse(): browse feature missing
Test_browsedir(): browse feature missing
Test_executable_longname(): only works on MS-Windows
Test_executable_windows_store_apps(): only works on MS-Windows
Test_readdirex_sort(): de_DE collation is not available
Test_resolve_win32(): only works on MS-Windows
Test_gui_lowlevel_keyevent(): only works on MS-Windows
Test_set_guifontset(): xfontset feature missing
Test_iminsert_toggle(): only works in the GUI
Test_ins_completeslash(): only works on MS-Windows
Test_issue_7021(): only works on MS-Windows
test_lua.vim: lua feature missing
Test_mksession_winpos(): only works in the GUI
Test_modeline_fails_always(): luadll option not supported
test_mzscheme.vim: mzscheme feature missing
Test_normal35_g_cmd4(): output of g< can't be tested currently
Test_normal_changecase_turkish(): Turkish locale not available
Test_opt_cdhome(): only works on non-Unix
Test_bind_in_python(): python feature missing
test_perl.vim: perl feature missing
Test_popup_and_preview_autocommand(): python feature missing
test_python2.vim: python feature missing
test_python3.vim: python3 feature missing
test_pyx2.vim: python feature missing
test_pyx3.vim: python3 feature missing
test_ruby.vim: ruby feature missing
Test_shellslash(): shellslash option not supported
test_shortpathname.vim: only works on MS-Windows
test_sound.vim: sound feature missing
Test_win32_symlink_dir(): only works on MS-Windows
Test_system_with_shell_quote(): only works on MS-Windows
Test_tabline_tabmenu(): only works in the GUI
test_tcl.vim: tcl feature missing
Test_term_mouse_middle_click_no_clipboard(): clipboard support
works
Test_terminal_eof_arg_win32_ctrl_z(): only works on MS-Windows
Test_balloon_show(): only works in the GUI
Test_browse(): browse feature missing
Test_debugbreak(): only works on MS-Windows
Test_luaeval(): lua feature missing
Test_mzeval(): mzscheme feature missing
Test_perleval(): perl feature missing
Test_py3eval(): python3 feature missing
Test_pyeval(): python feature missing
Test_pyxeval(): python feature missing
Test_rubyeval(): ruby feature missing
Test_sound_playevent(): sound feature missing
Test_sound_playfile(): sound feature missing
Test_sound_stop(): sound feature missing
Test_test_gui_event(): only works in the GUI
Test_function_python(): python3 feature missing
test_windows_home.vim: only works on MS-Windows
Test_write_file_encoding(): only works on MS-Windows

-------------------------------
Executed: 5168 Tests
Skipped: 67 Tests
FAILED: 1 Tests


Failures:
From test_startup.vim:
Found errors in Test_geometry():
command line..script
/opt/vim/src/testdir/runtest.vim[468]..function
RunTheTest[44]..Test_geometry line 31: Expected '41' but got '-32768'
command line..script
/opt/vim/src/testdir/runtest.vim[468]..function
RunTheTest[44]..Test_geometry line 32: Expected '150' but got '-32768'
command line..script
/opt/vim/src/testdir/runtest.vim[468]..function
RunTheTest[44]..Test_geometry line 33: Expected '[41, 150]' but got
'[-32768, -32768]'

TEST FAILURE
make[1]: *** [Makefile:49: report] Error 1
make[1]: Leaving directory '/opt/vim/src/testdir'
make: *** [Makefile:2234: scripttests] Error 2


Created a softlink: ../gvim -> src/vim*

$ ../gvim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jul 25 2022 08:24:40)
Included patches: 1-63
Compiled by suresh@w11wslxps
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_urxvt -tag_any_white
+arabic +find_in_path +mouse_xterm -tcl
+autocmd +float +multi_byte +termguicolors
+autochdir +folding +multi_lang +terminal
-autoservername -footer -mzscheme +terminfo
+balloon_eval +fork() +netbeans_intg +termresponse
+balloon_eval_term -gettext +num64 +textobjects
+browse -hangul_input +packages +textprop
++builtin_terms +iconv +path_extra +timers
+byte_offset +insert_expand -perl +title
+channel +ipv6 +persistent_undo +toolbar
+cindent +job +popupwin +user_commands
+clientserver +jumplist +postscript +vartabs
+clipboard +keymap +printer +vertsplit
+cmdline_compl +lambda +profile +vim9script
+cmdline_hist +langmap -python +viminfo
+cmdline_info +libcall -python3 +virtualedit
+comments +linebreak +quickfix +visual
+conceal +lispindent +reltime +visualextra
+cryptv +listcmds +rightleft +vreplace
+cscope +localmap -ruby +wildignore
+cursorbind -lua +scrollbind +wildmenu
+cursorshape +menu +signs +windows
+dialog_con_gui +mksession +smartindent +writebackup
+diff +modify_fname -sodium +X11
+digraphs +mouse -sound -xfontset
+dnd +mouseshape +spell +xim
-ebcdic +mouse_dec +startuptime -xpm
+emacs_tags -mouse_gpm +statusline +xsmp_interact
+eval -mouse_jsbterm -sun_workshop +xterm_clipboard
+ex_extra +mouse_netterm +syntax -xterm_save
+extra_search +mouse_sgr +tag_binary
-farsi -mouse_sysmouse -tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread
-I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0
-I/usr/include/gio-unix-2.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -D_REENTRANT
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-3 -lgdk-3
-lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject
-lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE
-lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lselinux -lrt -ldl

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/967f1fe1-2d58-0fbb-e657-56b55ef05af3%40yahoo.com.

No comments:

Post a Comment