You are not logged in.
I have always compiled vim myself from the PKGBUILD using the ABS. I like to use it in a terminal but with the clipboard enabled. The latest update does not compile on either of my two systems and I don't know why - I bumped the version number in the PKGBUIL and it fails. I deleted the whole folder and ran asp checkout vim and started from scratch and I get the same failure. Has anyone else encountered this with the latest bump and found a solution?
My PKGBUILD contents:
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: Thomas Dziedzic <gostrc@gmail.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: tobias [ tobias at archlinux org ]
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
pkgbase=vim
pkgname=('vim' 'gvim' 'vim-runtime')
pkgver=8.1.1906
_versiondir=81
pkgrel=1
pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor'
url='https://www.vim.org'
arch=('x86_64')
license=('custom:vim')
makedepends=('glibc' 'libgcrypt' 'gpm' 'python2' 'python' 'ruby' 'libxt' 'gtk3' 'lua'
'gawk' 'tcl' 'pcre' 'zlib' 'libffi' 'libcanberra')
source=(https://github.com/vim/vim/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz
vimrc
archlinux.vim
vimdoc.hook)
sha256sums=('cf96c6bac4a27e9769b6a28080837535addbb00d1d50c9576a63a442e0b4daa4'
'b16e85e457397ab2043a7ee0a3c84307c6b4eac157fd0b721694761f25b3ed5b'
'cc3d931129854c298eb22e993ec14c2ad86cc1e70a08a64496f5e06559289972'
'7095cafac21df7aa42749d6864d1c0549fe65771d8edda3102c931c60782b6b9')
sha512sums=('9ce0f0e0d6569a6c28b38514feaeffa471e2993911e1748af789354da9bb30eb4c57856b168cce676e3b1e4e8a5415d4c191c03a510929fa5ac39cd24f287458'
'4b5bed0813f22af9e158ea9aa56a4a9862dd786ba2d201f20159ccf652da6190164aaed0b6b7217d578f7b25c33a8adcc307bfcf3caa8d173a7ff29e2a00fee7'
'fe091d289d876f45319c898f6021ef86d6a238b540c225a279c46efc5c36fa7d868cd0cee73a111811c4be90df160f85340bb251be3a437727dbe5c699950363'
'1e06e981691b17662fd0fddac5c00c87c920d1b4a1cbb6191c42d57cc40b00af12710e26b22fcfc0901bb8142b15f6a04aa65cec2d9b3bb9d5a06cb650d3ab9c')
prepare() {
(cd vim-${pkgver}/src
# define the place for the global (g)vimrc file (set to /etc/vimrc)
sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*"\) .*$|\1|' feature.h
sed -i 's|^.*\(#define VIMRC_FILE.*"\) .*$|\1|' feature.h
autoconf
)
cp -a vim-${pkgver} gvim-${pkgver}
}
build() {
msg2 "Building vim..."
(cd vim-${pkgver}
./configure \
--prefix=/usr \
--localstatedir=/var/lib/vim \
--with-features=huge \
--with-compiledby='Arch Linux' \
--enable-gpm \
--enable-acl \
--with-x=yes \
--disable-gui \
--enable-multibyte \
--enable-cscope \
--enable-netbeans \
--enable-perlinterp=dynamic \
--enable-pythoninterp=dynamic \
--enable-python3interp=dynamic \
--enable-rubyinterp=dynamic \
--enable-luainterp=dynamic \
--enable-tclinterp=dynamic \
--disable-canberra
make
)
msg2 "Building gvim..."
(cd gvim-${pkgver}
./configure \
--prefix=/usr \
--localstatedir=/var/lib/vim \
--with-features=huge \
--with-compiledby='Arch Linux' \
--enable-gpm \
--enable-acl \
--with-x=yes \
--enable-gui=gtk3 \
--enable-multibyte \
--enable-cscope \
--enable-netbeans \
--enable-perlinterp=dynamic \
--enable-pythoninterp=dynamic \
--enable-python3interp=dynamic \
--enable-rubyinterp=dynamic \
--enable-luainterp=dynamic \
--enable-tclinterp=dynamic \
--enable-canberra
make
)
}
check() {
cd vim-${pkgver}
TERM=xterm make -j1 test
}
package_vim-runtime() {
pkgdesc+=' (shared runtime)'
optdepends=('sh: support for some tools and macros'
'python: demoserver example tool'
'gawk: mve tools upport')
backup=('etc/vimrc')
cd vim-${pkgver}
make -j1 VIMRCLOC=/etc DESTDIR="${pkgdir}" install
# man and bin files belong to 'vim'
rm -r "${pkgdir}"/usr/share/man/ "${pkgdir}"/usr/bin/
# Don't forget logtalk.dict
install -Dm 644 runtime/ftplugin/logtalk.dict \
"${pkgdir}"/usr/share/vim/vim${_versiondir}/ftplugin/logtalk.dict
# rc files
install -Dm 644 "${srcdir}"/vimrc "${pkgdir}"/etc/vimrc
install -Dm 644 "${srcdir}"/archlinux.vim \
"${pkgdir}"/usr/share/vim/vimfiles/archlinux.vim
# rgb.txt file
install -Dm 644 runtime/rgb.txt \
"${pkgdir}"/usr/share/vim/vim${_versiondir}/rgb.txt
# no desktop files and icons
rm -r "${pkgdir}"/usr/share/{applications,icons}
# license
install -dm 755 "${pkgdir}"/usr/share/licenses/vim-runtime
ln -s /usr/share/vim/vim${_versiondir}/doc/uganda.txt \
"${pkgdir}"/usr/share/licenses/vim-runtime/license.txt
# pacman hook for documentation helptags
install -Dm 644 "${srcdir}"/vimdoc.hook "${pkgdir}"/usr/share/libalpm/hooks/vimdoc.hook
}
package_vim() {
depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm' 'acl' 'glibc' 'libgcrypt' 'pcre'
'zlib' 'libffi')
optdepends=('python2: Python 2 language support'
'python: Python 3 language support'
'ruby: Ruby language support'
'lua: Lua language support'
'perl: Perl language support'
'tcl: Tcl language support')
conflicts=('gvim' 'vim-minimal' 'vim-python3')
provides=('xxd' 'vim-minimal' 'vim-python3')
replaces=('vim-python3' 'vim-minimal')
cd vim-${pkgver}
make -j1 VIMRCLOC=/etc DESTDIR="${pkgdir}" install
# provided by (n)vi in core
rm "${pkgdir}"/usr/bin/{ex,view}
# delete some manpages
find "${pkgdir}"/usr/share/man -type d -name 'man1' 2>/dev/null | \
while read _mandir; do
cd "${_mandir}"
rm -f ex.1 view.1 # provided by (n)vi
rm -f evim.1 # this does not make sense if we have no GUI
done
# Runtime provided by runtime package
rm -r "${pkgdir}"/usr/share/vim
# remove gvim.desktop as not included
rm "${pkgdir}"/usr/share/applications/gvim.desktop
# license
install -Dm 644 runtime/doc/uganda.txt \
"${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
}
package_gvim() {
pkgdesc+=' (with advanced features, such as a GUI)'
depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm' 'libxt' 'gtk3' 'glibc' 'libgcrypt' 'pcre'
'zlib' 'libffi' 'libcanberra')
optdepends=('python2: Python 2 language support'
'python: Python 3 language support'
'ruby: Ruby language support'
'lua: Lua language support'
'perl: Perl language support'
'tcl: Tcl language support')
provides=("vim=${pkgver}-${pkgrel}" "xxd")
conflicts=('vim-minimal' 'vim')
replaces=('gvim-python3')
cd gvim-${pkgver}
make -j1 VIMRCLOC=/etc DESTDIR="${pkgdir}" install
# provided by (n)vi in core
rm "${pkgdir}"/usr/bin/{ex,view}
# delete some manpages
find "${pkgdir}"/usr/share/man -type d -name 'man1' 2>/dev/null | \
while read _mandir; do
cd "${_mandir}"
rm -f ex.1 view.1 # provided by (n)vi
done
# need to remove since this is provided by vim-runtime
rm -r "${pkgdir}"/usr/share/vim
# license
install -Dm 644 runtime/doc/uganda.txt \
"${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
}
# vim: ts=2 sw=2 et:
and the error message I get:
xecuted: 2217 Tests
Skipped: 18 Tests
FAILED: 1 Tests
Failures:
From test_popupwin.vim:
Found errors in Test_previewpopup():
Run 1:
function RunTheTest[40]..Test_previewpopup[53]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_previewpopup_5.dump", "testdir/dumps/Test_popupwin_previewpopup_5.dump"); difference in line 6: "|s+0#0000000#ffffff0|i|x| @28|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 7: "|s+0#0000000#ffffff0|e|v|e|n| @26|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 8: "|f+0#0000000#ffffff0|i|n|d| |t|h|e|w|o|r|d| |s|o|m|e|w|h|e|r|e| @9|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0|║+0#0000001#ffd7ff255"; difference in line 9: "|n+0#0000000#ffffff0|i|n|e| @27|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 14: "| +0#0000000&@56|1@1|,|3|9| @8|A|l@1| "
Run 2:
function RunTheTest[40]..Test_previewpopup[53]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_previewpopup_5.dump", "testdir/dumps/Test_popupwin_previewpopup_5.dump"); difference in line 6: "|s+0#0000000#ffffff0|i|x| @28|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 7: "|s+0#0000000#ffffff0|e|v|e|n| @26|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 8: "|f+0#0000000#ffffff0|i|n|d| |t|h|e|w|o|r|d| |s|o|m|e|w|h|e|r|e| @9|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0|║+0#0000001#ffd7ff255"; difference in line 9: "|n+0#0000000#ffffff0|i|n|e| @27|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 14: "| +0#0000000&@56|1@1|,|3|9| @8|A|l@1| "
Flaky test failed too often, giving up
TEST FAILURE
make[2]: *** [Makefile:58: report] Error 1
make[2]: Leaving directory '/home/nicolas/abs/vim/trunk/src/vim-8.1.1906/src/testdir'
make[1]: *** [Makefile:2174: scripttests] Error 2
make[1]: Leaving directory '/home/nicolas/abs/vim/trunk/src/vim-8.1.1906/src'
make: *** [Makefile:39: test] Error 2
==> ERROR: A failure occurred in check().
Aborting...
xecuted: 2217 Tests
Skipped: 18 Tests
FAILED: 1 Tests
Failures:
From test_popupwin.vim:
Found errors in Test_previewpopup():
Run 1:
function RunTheTest[40]..Test_previewpopup[53]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_previewpopup_5.dump", "testdir/dumps/Test_popupwin_previewpopup_5.dump"); difference in line 6: "|s+0#0000000#ffffff0|i|x| @28|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 7: "|s+0#0000000#ffffff0|e|v|e|n| @26|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 8: "|f+0#0000000#ffffff0|i|n|d| |t|h|e|w|o|r|d| |s|o|m|e|w|h|e|r|e| @9|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0|║+0#0000001#ffd7ff255"; difference in line 9: "|n+0#0000000#ffffff0|i|n|e| @27|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 14: "| +0#0000000&@56|1@1|,|3|9| @8|A|l@1| "
Run 2:
function RunTheTest[40]..Test_previewpopup[53]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_previewpopup_5.dump", "testdir/dumps/Test_popupwin_previewpopup_5.dump"); difference in line 6: "|s+0#0000000#ffffff0|i|x| @28|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 7: "|s+0#0000000#ffffff0|e|v|e|n| @26|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 8: "|f+0#0000000#ffffff0|i|n|d| |t|h|e|w|o|r|d| |s|o|m|e|w|h|e|r|e| @9|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0|║+0#0000001#ffd7ff255"; difference in line 9: "|n+0#0000000#ffffff0|i|n|e| @27|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@39| +0&#a8a8a8255|║+0#0000001#ffd7ff255"; difference in line 14: "| +0#0000000&@56|1@1|,|3|9| @8|A|l@1| "
Flaky test failed too often, giving up
TEST FAILURE
make[2]: *** [Makefile:58: report] Error 1
make[2]: Leaving directory '/home/nicolas/abs/vim/trunk/src/vim-8.1.1906/src/testdir'
make[1]: *** [Makefile:2174: scripttests] Error 2
make[1]: Leaving directory '/home/nicolas/abs/vim/trunk/src/vim-8.1.1906/src'
make: *** [Makefile:39: test] Error 2
==> ERROR: A failure occurred in check().
Aborting...
Offline
Not a solution but a suggestion:
Can you comment-out check function in PKGBUILD an try to build it again.
check() {
cd vim-${pkgver}
# TERM=xterm make -j1 test
}
https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
That certainly allows it to build - I realised my terminal is termite not xterm. Would that make a difference?
~S
Offline
Both your PKGBUILD and the PKGBUILD in the repository pass check successfully using extra-x86_64-build producing the same summary
Test results:
Skipped:
test_balloon_gui.vim: only works in the GUI
Test_job_start_windows(): only works on MS-Windows
Test_no_hang_windows(): only works on MS-Windows
test_clientserver.vim: clientserver feature missing
test_cscope.vim: cscope program not executable
test_gui.vim: cannot start the GUI
test_gui_init.vim: cannot start the GUI
Test_ins_completeslash(): only works on MS-Windows
Test_normal30_changecase(): Turkish locale not available
Test_normal35_g_cmd4(): output of g< can't be tested currently
Test_normal47_autocmd(): not possible to test cursorhold autocmd while waiting for input in normal_cmd
Test_paste_clipboard(): clipboard_working feature missing
Test_popup_select(): clipboard_working feature missing
test_quotestar.vim: clipboard_working feature missing
Test_restricted_mzscheme(): MzScheme is not supported
test_shortpathname.vim: only works on MS-Windows
test_sound.vim: sound feature not available
Test_swap_group(): need at least two groups, got ['builduser']
Test_term_mouse_middle_click(): clipboard_working feature missing
Test_term_gettitle(): can't get/set title
Test_zz1_terminal_in_gui(): cannot start the GUI
Test_zz2_terminal_guioptions_bang(): only works in the GUI
test_windows_home.vim: only works on MS-Windows
Test_timer_peek_and_get_char(): only works in the GUI
-------------------------------
Executed: 2216 Tests
Skipped: 24 Tests
Failed: 0 Tests
The --nocheck option to makepkg will prevent the check function from being run.
Offline